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_inet use virtual HTTP
/FTP filesystems
999 --enable-fs_zip use virtual ZIP filesystems
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C
++ stream classes
1007 --enable-std_string use standard C
++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-textbuf use wxTextBuffer class
1013 --enable-textfile use wxTextFile class
1014 --enable-timer use wxTimer class
1015 --enable-unicode compile wxString with Unicode support
1016 --enable-sound use wxSound class
1017 --enable-mediactrl use wxMediaCtrl class
1018 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1019 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1020 --enable-zipstream use wxZip streams
1021 --enable-url use wxURL class
1022 --enable-variant use wxVariant class
1023 --enable-protocol use wxProtocol class
1024 --enable-protocol-http HTTP support
in wxProtocol
1025 --enable-protocol-ftp FTP support
in wxProtocol
1026 --enable-protocol-file FILE support
in wxProtocol
1027 --enable-threads use threads
1028 --enable-docview use document view architecture
1029 --enable-help use
help subsystem
1030 --enable-mshtmlhelp use MS HTML Help
(win32
)
1031 --enable-html use wxHTML sub
-library
1032 --enable-htmlhelp use wxHTML
-based help
1033 --enable-xrc use XRC resources sub
-library
1034 --enable-aui use AUI docking library
1035 --enable-constraints use layout
-constraints system
1036 --enable-printarch use printing architecture
1037 --enable-mdi use multiple document interface architecture
1038 --enable-mdidoc use docview architecture with MDI
1039 --enable-loggui use standard GUI logger
1040 --enable-logwin use wxLogWindow
1041 --enable-logdialog use wxLogDialog
1042 --enable-webkit use wxWebKitCtrl
(Mac
)
1043 --enable-richtext use wxRichTextCtrl
1044 --enable-graphics_ctx use graphics context
2D drawing API
1045 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1046 --enable-prologio not available
; see contrib
1047 --enable-resources not available
; see contrib
1048 --enable-clipboard use wxClipboard class
1049 --enable-dnd use Drag
'n'Drop classes
1050 --enable-metafile use win32 metafiles
1051 --enable-controls use all usual controls
1052 --enable-accel use accelerators
1053 --enable-animatectrl use wxAnimationCtrl class
1054 --enable-button use wxButton class
1055 --enable-bmpbutton use wxBitmapButton class
1056 --enable-bmpcombobox use wxBitmapComboBox class
1057 --enable-calendar use wxCalendarCtrl class
1058 --enable-caret use wxCaret class
1059 --enable-checkbox use wxCheckBox class
1060 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1061 --enable-choice use wxChoice class
1062 --enable-choicebook use wxChoicebook class
1063 --enable-colourpicker use wxColourPickerCtrl class
1064 --enable-combobox use wxComboBox class
1065 --enable-comboctrl use wxComboCtrl class
1066 --enable-datepick use wxDatePickerCtrl class
1067 --enable-dirpicker use wxDirPickerCtrl class
1068 --enable-display use wxDisplay class
1069 --enable-detect_sm use code to detect X11 session manager
1070 --enable-filepicker use wxFilePickerCtrl class
1071 --enable-fontpicker use wxFontPickerCtrl class
1072 --enable-gauge use wxGauge class
1073 --enable-grid use wxGrid class
1074 --enable-dataviewctrl, use wxDataViewCtrl class
1075 --enable-hyperlink use wxHyperlinkCtrl class
1076 --enable-imaglist use wxImageList class
1077 --enable-listbook use wxListbook class
1078 --enable-listbox use wxListBox class
1079 --enable-listctrl use wxListCtrl class
1080 --enable-notebook use wxNotebook class
1081 --enable-odcombobox use wxOwnerDrawnComboBox class
1082 --enable-radiobox use wxRadioBox class
1083 --enable-radiobtn use wxRadioButton class
1084 --enable-sash use wxSashWindow class
1085 --enable-scrollbar use wxScrollBar class and scrollable windows
1086 --enable-slider use wxSlider class
1087 --enable-spinbtn use wxSpinButton class
1088 --enable-spinctrl use wxSpinCtrl class
1089 --enable-splitter use wxSplitterWindow class
1090 --enable-statbmp use wxStaticBitmap class
1091 --enable-statbox use wxStaticBox class
1092 --enable-statline use wxStaticLine class
1093 --enable-stattext use wxStaticText class
1094 --enable-statusbar use wxStatusBar class
1095 --enable-tabdialog use wxTabControl class
1096 --enable-textctrl use wxTextCtrl class
1097 --enable-togglebtn use wxToggleButton class
1098 --enable-toolbar use wxToolBar class
1099 --enable-tbarnative use native wxToolBar class
1100 --enable-treebook use wxTreebook class
1101 --enable-toolbook use wxToolbook class
1102 --enable-treectrl use wxTreeCtrl class
1103 --enable-tipwindow use wxTipWindow class
1104 --enable-popupwin use wxPopUpWindow class
1105 --enable-commondlg use all common dialogs
1106 --enable-aboutdlg use wxAboutBox
1107 --enable-choicedlg use wxChoiceDialog
1108 --enable-coldlg use wxColourDialog
1109 --enable-filedlg use wxFileDialog
1110 --enable-finddlg use wxFindReplaceDialog
1111 --enable-fontdlg use wxFontDialog
1112 --enable-dirdlg use wxDirDialog
1113 --enable-msgdlg use wxMessageDialog
1114 --enable-numberdlg use wxNumberEntryDialog
1115 --enable-splash use wxSplashScreen
1116 --enable-textdlg use wxTextDialog
1117 --enable-tipdlg use startup tips
1118 --enable-progressdlg use wxProgressDialog
1119 --enable-wizarddlg use wxWizard
1120 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1121 --enable-miniframe use wxMiniFrame class
1122 --enable-tooltips use wxToolTip class
1123 --enable-splines use spline drawing code
1124 --enable-mousewheel use mousewheel
1125 --enable-validators use wxValidator and derived classes
1126 --enable-busyinfo use wxBusyInfo
1127 --enable-joystick use wxJoystick
1128 --enable-metafiles use wxMetaFile
(Win32 only
)
1129 --enable-dragimage use wxDragImage
1130 --enable-accessibility enable accessibility support
1131 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1132 --enable-palette use wxPalette class
1133 --enable-image use wxImage class
1134 --enable-gif use gif images
(GIF
file format
)
1135 --enable-pcx use pcx images
(PCX
file format
)
1136 --enable-iff use iff images
(IFF
file format
)
1137 --enable-pnm use pnm images
(PNM
file format
)
1138 --enable-xpm use xpm images
(XPM
file format
)
1139 --enable-icocur use Windows ICO and CUR formats
1140 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1141 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1142 --disable-largefile omit support
for large files
1143 --disable-gtktest do not try to compile and run a
test GTK
+ program
1144 --disable-gtktest Do not try to compile and run a
test GTK program
1145 --disable-sdltest Do not try to compile and run a
test SDL program
1146 --enable-omf use OMF object format
(OS
/2)
1147 --disable-dependency-tracking
1148 don
't use dependency tracking even if the compiler
1150 --disable-precomp-headers
1151 don't use precompiled headers even
if compiler can
1154 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1155 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1156 --without-subdirs don
't generate makefiles for samples/demos/...
1157 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1158 --with-motif use Motif/Lesstif
1159 --with-mac use Mac OS X
1160 --with-cocoa use Cocoa
1161 --with-wine use Wine
1162 --with-msw use MS-Windows
1163 --with-pm use OS/2 Presentation Manager
1164 --with-mgl use SciTech MGL
1165 --with-directfb use DirectFB
1166 --with-microwin use MicroWindows
1168 --with-libpng use libpng (PNG image format)
1169 --with-libjpeg use libjpeg (JPEG file format)
1170 --with-libtiff use libtiff (TIFF file format)
1171 --with-libxpm use libxpm (XPM file format)
1172 --with-libmspack use libmspack (CHM help files loading)
1173 --with-sdl use SDL for audio on Unix
1174 --with-gnomeprint use GNOME print for printing under GNOME
1175 --with-gnomevfs use GNOME VFS for associating MIME types
1176 --with-hildon use Hildon framework for Nokia 770
1177 --with-opengl use OpenGL (or Mesa)
1178 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1179 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1180 --with-regex enable support for wxRegEx class
1181 --with-zlib use zlib for LZW compression
1182 --with-odbc use the IODBC and wxODBC classes
1183 --with-expat enable XML support using expat parser
1184 --with-flavour=NAME specify a name to identify this build
1185 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1186 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1187 --with-x use the X Window System
1188 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1189 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1190 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1191 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1192 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1194 Some influential environment variables:
1195 CC C compiler command
1196 CFLAGS C compiler flags
1197 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1198 nonstandard directory <lib dir>
1199 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1200 headers in a nonstandard directory <include dir>
1202 CXX C++ compiler command
1203 CXXFLAGS C++ compiler flags
1204 CXXCPP C++ preprocessor
1205 PKG_CONFIG path to pkg-config utility
1207 C compiler flags for DIRECTFB, overriding pkg-config
1209 linker flags for DIRECTFB, overriding pkg-config
1211 C compiler flags for PANGOX, overriding pkg-config
1212 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1214 C compiler flags for PANGOFT2, overriding pkg-config
1216 linker flags for PANGOFT2, overriding pkg-config
1218 C compiler flags for PANGOXFT, overriding pkg-config
1220 linker flags for PANGOXFT, overriding pkg-config
1221 LIBGNOMEPRINTUI_CFLAGS
1222 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1223 LIBGNOMEPRINTUI_LIBS
1224 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 C compiler flags for GNOMEVFS, overriding pkg-config
1228 linker flags for GNOMEVFS, overriding pkg-config
1230 C compiler flags for HILDON, overriding pkg-config
1231 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1233 C compiler flags for CAIRO, overriding pkg-config
1234 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1235 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1236 GST_LIBS linker flags for GST, overriding pkg-config
1238 Use these variables to override the choices made by `configure' or to
help
1239 it to
find libraries and programs with nonstandard names
/locations.
1241 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1245 if test "$ac_init_help" = "recursive"; then
1246 # If there are subdirs, report their specific --help.
1248 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1249 test -d $ac_dir || continue
1252 if test "$ac_dir" != .
; then
1253 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1254 # A "../" for each directory in $ac_dir_suffix.
1255 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1257 ac_dir_suffix
= ac_top_builddir
=
1261 .
) # No --srcdir option. We are building in place.
1263 if test -z "$ac_top_builddir"; then
1266 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1268 [\\/]* | ?
:[\\/]* ) # Absolute path.
1269 ac_srcdir
=$srcdir$ac_dir_suffix;
1270 ac_top_srcdir
=$srcdir ;;
1272 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1273 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1276 # Do not use `cd foo && pwd` to compute absolute paths, because
1277 # the directories may not exist.
1279 .
) ac_abs_builddir
="$ac_dir";;
1282 .
) ac_abs_builddir
=`pwd`;;
1283 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1284 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1287 case $ac_abs_builddir in
1288 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1290 case ${ac_top_builddir}.
in
1291 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1292 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1293 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1296 case $ac_abs_builddir in
1297 .
) ac_abs_srcdir
=$ac_srcdir;;
1300 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1301 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1302 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1305 case $ac_abs_builddir in
1306 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1308 case $ac_top_srcdir in
1309 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1310 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1311 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1316 # Check for guested configure; otherwise get Cygnus style configure.
1317 if test -f $ac_srcdir/configure.gnu
; then
1319 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1320 elif test -f $ac_srcdir/configure
; then
1322 $SHELL $ac_srcdir/configure
--help=recursive
1323 elif test -f $ac_srcdir/configure.ac
||
1324 test -f $ac_srcdir/configure.
in; then
1326 $ac_configure --help
1328 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1334 test -n "$ac_init_help" && exit 0
1335 if $ac_init_version; then
1337 wxWidgets configure
2.7.1
1338 generated by GNU Autoconf
2.59
1340 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1341 This configure
script is free software
; the Free Software Foundation
1342 gives unlimited permission to copy
, distribute and modify it.
1348 This file contains any messages produced by compilers while
1349 running configure, to aid debugging if configure makes a mistake.
1351 It was created by wxWidgets $as_me 2.7.1, which was
1352 generated by GNU Autoconf 2.59. Invocation command line was
1363 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1364 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1365 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1366 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1367 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1369 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1370 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1372 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1373 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1374 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1375 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1376 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1377 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1378 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1386 test -z "$as_dir" && as_dir
=.
1387 echo "PATH: $as_dir"
1402 # Keep a trace of the command line.
1403 # Strip out --no-create and --no-recursion so they do not pile up.
1404 # Strip out --silent because we don't want to record it for future runs.
1405 # Also quote any args containing shell meta-characters.
1406 # Make two passes to allow for proper duplicate-argument suppression.
1411 ac_must_keep_next
=false
1417 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1419 | -silent | --silent | --silen | --sile | --sil)
1421 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1422 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1425 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1427 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1428 if test $ac_must_keep_next = true
; then
1429 ac_must_keep_next
=false
# Got value, back to normal.
1432 *=* | --config-cache | -C | -disable-* | --disable-* \
1433 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1434 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1435 | -with-* | --with-* | -without-* | --without-* | --x)
1436 case "$ac_configure_args0 " in
1437 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1440 -* ) ac_must_keep_next
=true
;;
1443 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1444 # Get rid of the leading space.
1450 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1451 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1453 # When interrupted or exit'd, cleanup temporary files, and complete
1454 # config.log. We remove comments because anyway the quotes in there
1455 # would cause problems or look ugly.
1456 # WARNING: Be sure not to use single quotes in there, as some shells,
1457 # such as our DU 5.0 friend, will then `close' the trap.
1458 trap 'exit_status=$?
1459 # Save into config.log some information that might help in debugging.
1464 ## ---------------- ##
1465 ## Cache variables. ##
1466 ## ---------------- ##
1469 # The following way of writing the cache mishandles newlines in values,
1472 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1475 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1487 ## ----------------- ##
1488 ## Output variables. ##
1489 ## ----------------- ##
1492 for ac_var in $ac_subst_vars
1494 eval ac_val=$`echo $ac_var`
1495 echo "$ac_var='"'"'$ac_val'"'"'"
1499 if test -n "$ac_subst_files"; then
1506 for ac_var in $ac_subst_files
1508 eval ac_val=$`echo $ac_var`
1509 echo "$ac_var='"'"'$ac_val'"'"'"
1514 if test -s confdefs.h; then
1521 sed "/^$/d" confdefs.h | sort
1524 test "$ac_signal" != 0 &&
1525 echo "$as_me: caught signal $ac_signal"
1526 echo "$as_me: exit $exit_status"
1528 rm -f core *.core &&
1529 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1532 for ac_signal
in 1 2 13 15; do
1533 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1538 rm -rf conftest
* confdefs.h
1539 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1542 # Predefined preprocessor variables.
1544 cat >>confdefs.h
<<_ACEOF
1545 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 cat >>confdefs.h
<<_ACEOF
1550 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 cat >>confdefs.h
<<_ACEOF
1555 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 cat >>confdefs.h
<<_ACEOF
1560 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 cat >>confdefs.h
<<_ACEOF
1565 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 # Let the site file select an alternate cache file if it wants to.
1570 # Prefer explicitly selected file to automatically selected ones.
1571 if test -z "$CONFIG_SITE"; then
1572 if test "x$prefix" != xNONE
; then
1573 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1575 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1578 for ac_site_file
in $CONFIG_SITE; do
1579 if test -r "$ac_site_file"; then
1580 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1581 echo "$as_me: loading site script $ac_site_file" >&6;}
1582 sed 's/^/| /' "$ac_site_file" >&5
1587 if test -r "$cache_file"; then
1588 # Some versions of bash will fail to source /dev/null (special
1589 # files actually), so we avoid doing that.
1590 if test -f "$cache_file"; then
1591 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1592 echo "$as_me: loading cache $cache_file" >&6;}
1594 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1595 *) . .
/$cache_file;;
1599 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1600 echo "$as_me: creating cache $cache_file" >&6;}
1604 # Check that the precious variables saved in the cache have kept the same
1606 ac_cache_corrupted
=false
1607 for ac_var
in `(set) 2>&1 |
1608 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1609 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1610 eval ac_new_set
=\
$ac_env_${ac_var}_set
1611 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1612 eval ac_new_val
="\$ac_env_${ac_var}_value"
1613 case $ac_old_set,$ac_new_set in
1615 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1616 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1617 ac_cache_corrupted
=: ;;
1619 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1620 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1621 ac_cache_corrupted
=: ;;
1624 if test "x$ac_old_val" != "x$ac_new_val"; then
1625 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1626 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1627 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1628 echo "$as_me: former value: $ac_old_val" >&2;}
1629 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1630 echo "$as_me: current value: $ac_new_val" >&2;}
1631 ac_cache_corrupted
=:
1634 # Pass precious variables to config.status.
1635 if test "$ac_new_set" = set; then
1637 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1638 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1639 *) ac_arg
=$ac_var=$ac_new_val ;;
1641 case " $ac_configure_args " in
1642 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1643 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1647 if $ac_cache_corrupted; then
1648 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1649 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1650 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1651 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1652 { (exit 1); exit 1; }; }
1656 ac_cpp
='$CPP $CPPFLAGS'
1657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1691 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1692 if test -f $ac_dir/install-sh; then
1694 ac_install_sh
="$ac_aux_dir/install-sh -c"
1696 elif test -f $ac_dir/install.sh
; then
1698 ac_install_sh
="$ac_aux_dir/install.sh -c"
1700 elif test -f $ac_dir/shtool
; then
1702 ac_install_sh
="$ac_aux_dir/shtool install -c"
1706 if test -z "$ac_aux_dir"; then
1707 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1708 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1709 { (exit 1); exit 1; }; }
1711 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1712 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1713 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1715 # Make sure we can run config.sub.
1716 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1717 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1718 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1719 { (exit 1); exit 1; }; }
1721 echo "$as_me:$LINENO: checking build system type" >&5
1722 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1723 if test "${ac_cv_build+set}" = set; then
1724 echo $ECHO_N "(cached) $ECHO_C" >&6
1726 ac_cv_build_alias
=$build_alias
1727 test -z "$ac_cv_build_alias" &&
1728 ac_cv_build_alias
=`$ac_config_guess`
1729 test -z "$ac_cv_build_alias" &&
1730 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1731 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1732 { (exit 1); exit 1; }; }
1733 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1734 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1735 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1736 { (exit 1); exit 1; }; }
1739 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1740 echo "${ECHO_T}$ac_cv_build" >&6
1742 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1743 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1744 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1747 echo "$as_me:$LINENO: checking host system type" >&5
1748 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1749 if test "${ac_cv_host+set}" = set; then
1750 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 ac_cv_host_alias
=$host_alias
1753 test -z "$ac_cv_host_alias" &&
1754 ac_cv_host_alias
=$ac_cv_build_alias
1755 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1756 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1757 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1758 { (exit 1); exit 1; }; }
1761 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1762 echo "${ECHO_T}$ac_cv_host" >&6
1764 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1765 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1766 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1769 echo "$as_me:$LINENO: checking target system type" >&5
1770 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1771 if test "${ac_cv_target+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 ac_cv_target_alias
=$target_alias
1775 test "x$ac_cv_target_alias" = "x" &&
1776 ac_cv_target_alias
=$ac_cv_host_alias
1777 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1778 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1779 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1780 { (exit 1); exit 1; }; }
1783 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1784 echo "${ECHO_T}$ac_cv_target" >&6
1785 target
=$ac_cv_target
1786 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1787 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1788 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1791 # The aliases save the names the user supplied, while $host etc.
1792 # will get canonicalized.
1793 test -n "$target_alias" &&
1794 test "$program_prefix$program_suffix$program_transform_name" = \
1796 program_prefix
=${target_alias}-
1800 wx_major_version_number
=2
1801 wx_minor_version_number
=7
1803 wx_subrelease_number
=3
1805 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1806 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1807 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1809 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1822 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1828 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1834 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1836 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1838 DEFAULT_wxUSE_COCOA
=0
1842 DEFAULT_wxUSE_MICROWIN
=0
1843 DEFAULT_wxUSE_MOTIF
=0
1849 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1850 DEFAULT_DEFAULT_wxUSE_GTK
=0
1851 DEFAULT_DEFAULT_wxUSE_MAC
=0
1852 DEFAULT_DEFAULT_wxUSE_MGL
=0
1853 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1854 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1855 DEFAULT_DEFAULT_wxUSE_MSW
=0
1856 DEFAULT_DEFAULT_wxUSE_PM
=0
1857 DEFAULT_DEFAULT_wxUSE_X11
=0
1858 DEFAULT_DEFAULT_wxUSE_DFB
=0
1863 SAMPLES_RPATH_POSTLINK
=
1865 DEFAULT_STD_FLAG
=yes
1870 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1873 cat >>confdefs.h
<<\_ACEOF
1878 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1882 cat >>confdefs.h
<<\_ACEOF
1887 if test "x$TMP" = "xalpha"; then
1889 cat >>confdefs.h
<<\_ACEOF
1894 DEFAULT_DEFAULT_wxUSE_GTK
=1
1896 *-*-gnu* | *-*-k*bsd
*-gnu )
1899 if test "x$TMP" = "xalpha"; then
1901 cat >>confdefs.h
<<\_ACEOF
1906 DEFAULT_DEFAULT_wxUSE_GTK
=1
1908 *-*-irix5* | *-*-irix6* )
1911 cat >>confdefs.h
<<\_ACEOF
1915 cat >>confdefs.h
<<\_ACEOF
1919 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1925 cat >>confdefs.h
<<\_ACEOF
1929 cat >>confdefs.h
<<\_ACEOF
1930 #define __SOLARIS__ 1
1933 cat >>confdefs.h
<<\_ACEOF
1937 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1938 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1944 cat >>confdefs.h
<<\_ACEOF
1948 cat >>confdefs.h
<<\_ACEOF
1952 cat >>confdefs.h
<<\_ACEOF
1956 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1961 cat >>confdefs.h
<<\_ACEOF
1962 #define __FREEBSD__ 1
1965 cat >>confdefs.h
<<\_ACEOF
1969 DEFAULT_DEFAULT_wxUSE_GTK
=1
1971 *-*-openbsd*|*-*-mirbsd*)
1974 cat >>confdefs.h
<<\_ACEOF
1975 #define __OPENBSD__ 1
1978 cat >>confdefs.h
<<\_ACEOF
1982 DEFAULT_DEFAULT_wxUSE_GTK
=1
1987 cat >>confdefs.h
<<\_ACEOF
1988 #define __NETBSD__ 1
1991 cat >>confdefs.h
<<\_ACEOF
1995 DEFAULT_DEFAULT_wxUSE_GTK
=1
1996 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1998 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2003 cat >>confdefs.h
<<\_ACEOF
2007 cat >>confdefs.h
<<\_ACEOF
2011 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2012 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2017 cat >>confdefs.h
<<\_ACEOF
2021 cat >>confdefs.h
<<\_ACEOF
2025 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2030 cat >>confdefs.h
<<\_ACEOF
2034 cat >>confdefs.h
<<\_ACEOF
2038 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2045 cat >>confdefs.h
<<\_ACEOF
2049 cat >>confdefs.h
<<\_ACEOF
2053 cat >>confdefs.h
<<\_ACEOF
2057 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2064 cat >>confdefs.h
<<\_ACEOF
2065 #define __UNIXWARE__ 1
2070 *-*-cygwin* | *-*-mingw32* )
2073 DEFAULT_DEFAULT_wxUSE_MSW
=1
2079 cat >>confdefs.h
<<\_ACEOF
2084 DEFAULT_DEFAULT_wxUSE_MGL
=1
2087 *-pc-os2_emx | *-pc-os2-emx )
2088 cat >>confdefs.h
<<\_ACEOF
2093 cat >>confdefs.h
<<\_ACEOF
2098 DEFAULT_DEFAULT_wxUSE_PM
=1
2100 LDFLAGS
="$LDFLAGS -Zcrtdll"
2101 ac_executable_extensions
=".exe"
2102 export ac_executable_extensions
2106 for ac_dir
in $PATH; do
2108 if test -z "$ac_TEMP_PATH"; then
2109 ac_TEMP_PATH
="$ac_dir"
2111 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2114 export PATH
="$ac_TEMP_PATH"
2123 cat >>confdefs.h
<<\_ACEOF
2127 cat >>confdefs.h
<<\_ACEOF
2128 #define __DARWIN__ 1
2131 cat >>confdefs.h
<<\_ACEOF
2132 #define TARGET_CARBON 1
2135 DEFAULT_DEFAULT_wxUSE_MAC
=1
2138 powerpc
-apple-macos* )
2140 ac_cv_c_bigendian
=yes
2142 DEFAULT_DEFAULT_wxUSE_MAC
=1
2148 cat >>confdefs.h
<<\_ACEOF
2155 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2156 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2157 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2158 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2160 DEFAULT_DEFAULT_wxUSE_X11
=1
2161 DEFAULT_wxUSE_SHARED
=no
2167 wx_arg_cache_file
="configarg.cache"
2168 echo "loading argument cache $wx_arg_cache_file"
2169 rm -f ${wx_arg_cache_file}.tmp
2170 touch ${wx_arg_cache_file}.tmp
2171 touch ${wx_arg_cache_file}
2175 if test $DEBUG_CONFIGURE = 1; then
2176 DEFAULT_wxUSE_UNIVERSAL
=no
2177 DEFAULT_wxUSE_STL
=no
2179 DEFAULT_wxUSE_NANOX
=no
2181 DEFAULT_wxUSE_THREADS
=yes
2183 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2184 DEFAULT_wxUSE_OPTIMISE
=no
2185 DEFAULT_wxUSE_PROFILE
=no
2186 DEFAULT_wxUSE_NO_DEPS
=no
2187 DEFAULT_wxUSE_NO_RTTI
=no
2188 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2189 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2190 DEFAULT_wxUSE_RPATH
=yes
2191 DEFAULT_wxUSE_PERMISSIVE
=no
2192 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2193 DEFAULT_wxUSE_DEBUG_INFO
=yes
2194 DEFAULT_wxUSE_DEBUG_GDB
=yes
2195 DEFAULT_wxUSE_MEM_TRACING
=no
2196 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2197 DEFAULT_wxUSE_DMALLOC
=no
2198 DEFAULT_wxUSE_APPLE_IEEE
=no
2200 DEFAULT_wxUSE_EXCEPTIONS
=no
2201 DEFAULT_wxUSE_LOG
=yes
2202 DEFAULT_wxUSE_LOGWINDOW
=no
2203 DEFAULT_wxUSE_LOGGUI
=no
2204 DEFAULT_wxUSE_LOGDIALOG
=no
2206 DEFAULT_wxUSE_GUI
=yes
2207 DEFAULT_wxUSE_CONTROLS
=no
2209 DEFAULT_wxUSE_REGEX
=no
2210 DEFAULT_wxUSE_XML
=no
2211 DEFAULT_wxUSE_EXPAT
=no
2212 DEFAULT_wxUSE_ZLIB
=no
2213 DEFAULT_wxUSE_LIBPNG
=no
2214 DEFAULT_wxUSE_LIBJPEG
=no
2215 DEFAULT_wxUSE_LIBTIFF
=no
2216 DEFAULT_wxUSE_LIBXPM
=no
2217 DEFAULT_wxUSE_LIBMSPACK
=no
2218 DEFAULT_wxUSE_LIBSDL
=no
2219 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2220 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2221 DEFAULT_wxUSE_LIBHILDON
=no
2222 DEFAULT_wxUSE_ODBC
=no
2223 DEFAULT_wxUSE_OPENGL
=no
2225 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2226 DEFAULT_wxUSE_STACKWALKER
=no
2227 DEFAULT_wxUSE_DEBUGREPORT
=no
2228 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2229 DEFAULT_wxUSE_STD_IOSTREAM
=no
2230 DEFAULT_wxUSE_STD_STRING
=no
2231 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2232 DEFAULT_wxUSE_DATETIME
=no
2233 DEFAULT_wxUSE_TIMER
=no
2234 DEFAULT_wxUSE_STOPWATCH
=no
2235 DEFAULT_wxUSE_FILE
=no
2236 DEFAULT_wxUSE_FFILE
=no
2237 DEFAULT_wxUSE_STDPATHS
=no
2238 DEFAULT_wxUSE_TEXTBUFFER
=no
2239 DEFAULT_wxUSE_TEXTFILE
=no
2240 DEFAULT_wxUSE_SOUND
=no
2241 DEFAULT_wxUSE_MEDIACTRL
=no
2242 DEFAULT_wxUSE_GSTREAMER8
=no
2243 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2244 DEFAULT_wxUSE_INTL
=no
2245 DEFAULT_wxUSE_CONFIG
=no
2246 DEFAULT_wxUSE_FONTMAP
=no
2247 DEFAULT_wxUSE_STREAMS
=no
2248 DEFAULT_wxUSE_SOCKETS
=no
2249 DEFAULT_wxUSE_OLE
=no
2250 DEFAULT_wxUSE_DATAOBJ
=no
2251 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2252 DEFAULT_wxUSE_JOYSTICK
=no
2253 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2254 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2255 DEFAULT_wxUSE_LONGLONG
=no
2256 DEFAULT_wxUSE_GEOMETRY
=no
2258 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2259 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2260 DEFAULT_wxUSE_POSTSCRIPT
=no
2262 DEFAULT_wxUSE_CLIPBOARD
=no
2263 DEFAULT_wxUSE_TOOLTIPS
=no
2264 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2265 DEFAULT_wxUSE_DRAGIMAGE
=no
2266 DEFAULT_wxUSE_SPLINES
=no
2267 DEFAULT_wxUSE_MOUSEWHEEL
=no
2269 DEFAULT_wxUSE_MDI
=no
2270 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2271 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2272 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2274 DEFAULT_wxUSE_RESOURCES
=no
2275 DEFAULT_wxUSE_CONSTRAINTS
=no
2276 DEFAULT_wxUSE_IPC
=no
2277 DEFAULT_wxUSE_HELP
=no
2278 DEFAULT_wxUSE_MS_HTML_HELP
=no
2279 DEFAULT_wxUSE_WXHTML_HELP
=no
2280 DEFAULT_wxUSE_TREELAYOUT
=no
2281 DEFAULT_wxUSE_METAFILE
=no
2282 DEFAULT_wxUSE_MIMETYPE
=no
2283 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2284 DEFAULT_wxUSE_PROTOCOL
=no
2285 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2286 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2287 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2288 DEFAULT_wxUSE_URL
=no
2289 DEFAULT_wxUSE_VARIANT
=no
2291 DEFAULT_wxUSE_ABOUTDLG
=no
2292 DEFAULT_wxUSE_COMMONDLGS
=no
2293 DEFAULT_wxUSE_CHOICEDLG
=no
2294 DEFAULT_wxUSE_COLOURDLG
=no
2295 DEFAULT_wxUSE_DIRDLG
=no
2296 DEFAULT_wxUSE_FILEDLG
=no
2297 DEFAULT_wxUSE_FINDREPLDLG
=no
2298 DEFAULT_wxUSE_FONTDLG
=no
2299 DEFAULT_wxUSE_MSGDLG
=no
2300 DEFAULT_wxUSE_NUMBERDLG
=no
2301 DEFAULT_wxUSE_TEXTDLG
=no
2302 DEFAULT_wxUSE_SPLASH
=no
2303 DEFAULT_wxUSE_STARTUP_TIPS
=no
2304 DEFAULT_wxUSE_PROGRESSDLG
=no
2305 DEFAULT_wxUSE_WIZARDDLG
=no
2307 DEFAULT_wxUSE_MENUS
=no
2308 DEFAULT_wxUSE_MINIFRAME
=no
2309 DEFAULT_wxUSE_HTML
=no
2310 DEFAULT_wxUSE_RICHTEXT
=no
2311 DEFAULT_wxUSE_XRC
=no
2312 DEFAULT_wxUSE_AUI
=no
2313 DEFAULT_wxUSE_WEBKIT
=no
2314 DEFAULT_wxUSE_FILESYSTEM
=no
2315 DEFAULT_wxUSE_FS_INET
=no
2316 DEFAULT_wxUSE_FS_ZIP
=no
2317 DEFAULT_wxUSE_BUSYINFO
=no
2318 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2319 DEFAULT_wxUSE_ZIPSTREAM
=no
2320 DEFAULT_wxUSE_BACKINGFILE
=no
2321 DEFAULT_wxUSE_VALIDATORS
=no
2323 DEFAULT_wxUSE_ACCEL
=no
2324 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2325 DEFAULT_wxUSE_BUTTON
=no
2326 DEFAULT_wxUSE_BMPBUTTON
=no
2327 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2328 DEFAULT_wxUSE_CALCTRL
=no
2329 DEFAULT_wxUSE_CARET
=no
2330 DEFAULT_wxUSE_CHECKBOX
=no
2331 DEFAULT_wxUSE_CHECKLST
=no
2332 DEFAULT_wxUSE_CHOICE
=no
2333 DEFAULT_wxUSE_CHOICEBOOK
=no
2334 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2335 DEFAULT_wxUSE_COMBOBOX
=no
2336 DEFAULT_wxUSE_COMBOCTRL
=no
2337 DEFAULT_wxUSE_DATEPICKCTRL
=no
2338 DEFAULT_wxUSE_DISPLAY
=no
2339 DEFAULT_wxUSE_DETECT_SM
=no
2340 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2341 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2342 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2343 DEFAULT_wxUSE_GAUGE
=no
2344 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2345 DEFAULT_wxUSE_GRID
=no
2346 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2347 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2348 DEFAULT_wxUSE_IMAGLIST
=no
2349 DEFAULT_wxUSE_LISTBOOK
=no
2350 DEFAULT_wxUSE_LISTBOX
=no
2351 DEFAULT_wxUSE_LISTCTRL
=no
2352 DEFAULT_wxUSE_NOTEBOOK
=no
2353 DEFAULT_wxUSE_ODCOMBOBOX
=no
2354 DEFAULT_wxUSE_RADIOBOX
=no
2355 DEFAULT_wxUSE_RADIOBTN
=no
2356 DEFAULT_wxUSE_SASH
=no
2357 DEFAULT_wxUSE_SCROLLBAR
=no
2358 DEFAULT_wxUSE_SLIDER
=no
2359 DEFAULT_wxUSE_SPINBTN
=no
2360 DEFAULT_wxUSE_SPINCTRL
=no
2361 DEFAULT_wxUSE_SPLITTER
=no
2362 DEFAULT_wxUSE_STATBMP
=no
2363 DEFAULT_wxUSE_STATBOX
=no
2364 DEFAULT_wxUSE_STATLINE
=no
2365 DEFAULT_wxUSE_STATTEXT
=no
2366 DEFAULT_wxUSE_STATUSBAR
=yes
2367 DEFAULT_wxUSE_TAB_DIALOG
=no
2368 DEFAULT_wxUSE_TEXTCTRL
=no
2369 DEFAULT_wxUSE_TOGGLEBTN
=no
2370 DEFAULT_wxUSE_TOOLBAR
=no
2371 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2372 DEFAULT_wxUSE_TREEBOOK
=no
2373 DEFAULT_wxUSE_TOOLBOOK
=no
2374 DEFAULT_wxUSE_TREECTRL
=no
2375 DEFAULT_wxUSE_POPUPWIN
=no
2376 DEFAULT_wxUSE_TIPWINDOW
=no
2378 DEFAULT_wxUSE_UNICODE
=no
2379 DEFAULT_wxUSE_UNICODE_MSLU
=no
2380 DEFAULT_wxUSE_WCSRTOMBS
=no
2382 DEFAULT_wxUSE_PALETTE
=no
2383 DEFAULT_wxUSE_IMAGE
=no
2384 DEFAULT_wxUSE_GIF
=no
2385 DEFAULT_wxUSE_PCX
=no
2386 DEFAULT_wxUSE_PNM
=no
2387 DEFAULT_wxUSE_IFF
=no
2388 DEFAULT_wxUSE_XPM
=no
2389 DEFAULT_wxUSE_ICO_CUR
=no
2390 DEFAULT_wxUSE_ACCESSIBILITY
=no
2392 DEFAULT_wxUSE_MONOLITHIC
=no
2393 DEFAULT_wxUSE_PLUGINS
=no
2394 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2396 DEFAULT_wxUSE_UNIVERSAL
=no
2397 DEFAULT_wxUSE_STL
=no
2399 DEFAULT_wxUSE_NANOX
=no
2401 DEFAULT_wxUSE_THREADS
=yes
2403 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2404 DEFAULT_wxUSE_OPTIMISE
=yes
2405 DEFAULT_wxUSE_PROFILE
=no
2406 DEFAULT_wxUSE_NO_DEPS
=no
2407 DEFAULT_wxUSE_NO_RTTI
=no
2408 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2409 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2410 DEFAULT_wxUSE_RPATH
=yes
2411 DEFAULT_wxUSE_PERMISSIVE
=no
2412 DEFAULT_wxUSE_DEBUG_FLAG
=no
2413 DEFAULT_wxUSE_DEBUG_INFO
=no
2414 DEFAULT_wxUSE_DEBUG_GDB
=no
2415 DEFAULT_wxUSE_MEM_TRACING
=no
2416 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2417 DEFAULT_wxUSE_DMALLOC
=no
2418 DEFAULT_wxUSE_APPLE_IEEE
=yes
2420 DEFAULT_wxUSE_EXCEPTIONS
=yes
2421 DEFAULT_wxUSE_LOG
=yes
2422 DEFAULT_wxUSE_LOGWINDOW
=yes
2423 DEFAULT_wxUSE_LOGGUI
=yes
2424 DEFAULT_wxUSE_LOGDIALOG
=yes
2426 DEFAULT_wxUSE_GUI
=yes
2428 DEFAULT_wxUSE_REGEX
=yes
2429 DEFAULT_wxUSE_XML
=yes
2430 DEFAULT_wxUSE_EXPAT
=yes
2431 DEFAULT_wxUSE_ZLIB
=yes
2432 DEFAULT_wxUSE_LIBPNG
=yes
2433 DEFAULT_wxUSE_LIBJPEG
=yes
2434 DEFAULT_wxUSE_LIBTIFF
=yes
2435 DEFAULT_wxUSE_LIBXPM
=yes
2436 DEFAULT_wxUSE_LIBMSPACK
=yes
2437 DEFAULT_wxUSE_LIBSDL
=no
2438 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2439 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2440 DEFAULT_wxUSE_LIBHILDON
=no
2441 DEFAULT_wxUSE_ODBC
=no
2442 DEFAULT_wxUSE_OPENGL
=no
2444 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2445 DEFAULT_wxUSE_STACKWALKER
=yes
2446 DEFAULT_wxUSE_DEBUGREPORT
=yes
2447 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2448 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2449 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2450 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2451 DEFAULT_wxUSE_DATETIME
=yes
2452 DEFAULT_wxUSE_TIMER
=yes
2453 DEFAULT_wxUSE_STOPWATCH
=yes
2454 DEFAULT_wxUSE_FILE
=yes
2455 DEFAULT_wxUSE_FFILE
=yes
2456 DEFAULT_wxUSE_STDPATHS
=yes
2457 DEFAULT_wxUSE_TEXTBUFFER
=yes
2458 DEFAULT_wxUSE_TEXTFILE
=yes
2459 DEFAULT_wxUSE_SOUND
=yes
2460 DEFAULT_wxUSE_MEDIACTRL
=no
2461 DEFAULT_wxUSE_GSTREAMER8
=no
2462 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2463 DEFAULT_wxUSE_INTL
=yes
2464 DEFAULT_wxUSE_CONFIG
=yes
2465 DEFAULT_wxUSE_FONTMAP
=yes
2466 DEFAULT_wxUSE_STREAMS
=yes
2467 DEFAULT_wxUSE_SOCKETS
=yes
2468 DEFAULT_wxUSE_OLE
=yes
2469 DEFAULT_wxUSE_DATAOBJ
=yes
2470 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2471 DEFAULT_wxUSE_JOYSTICK
=yes
2472 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2473 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2474 DEFAULT_wxUSE_LONGLONG
=yes
2475 DEFAULT_wxUSE_GEOMETRY
=yes
2477 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2478 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2479 DEFAULT_wxUSE_POSTSCRIPT
=yes
2481 DEFAULT_wxUSE_CLIPBOARD
=yes
2482 DEFAULT_wxUSE_TOOLTIPS
=yes
2483 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2484 DEFAULT_wxUSE_DRAGIMAGE
=yes
2485 DEFAULT_wxUSE_SPLINES
=yes
2486 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2488 DEFAULT_wxUSE_MDI
=yes
2489 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2490 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2491 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2493 DEFAULT_wxUSE_RESOURCES
=no
2494 DEFAULT_wxUSE_CONSTRAINTS
=yes
2495 DEFAULT_wxUSE_IPC
=yes
2496 DEFAULT_wxUSE_HELP
=yes
2497 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2498 DEFAULT_wxUSE_WXHTML_HELP
=yes
2499 DEFAULT_wxUSE_TREELAYOUT
=yes
2500 DEFAULT_wxUSE_METAFILE
=yes
2501 DEFAULT_wxUSE_MIMETYPE
=yes
2502 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2503 DEFAULT_wxUSE_PROTOCOL
=yes
2504 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2505 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2506 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2507 DEFAULT_wxUSE_URL
=yes
2508 DEFAULT_wxUSE_VARIANT
=yes
2510 DEFAULT_wxUSE_ABOUTDLG
=yes
2511 DEFAULT_wxUSE_COMMONDLGS
=yes
2512 DEFAULT_wxUSE_CHOICEDLG
=yes
2513 DEFAULT_wxUSE_COLOURDLG
=yes
2514 DEFAULT_wxUSE_DIRDLG
=yes
2515 DEFAULT_wxUSE_FILEDLG
=yes
2516 DEFAULT_wxUSE_FINDREPLDLG
=yes
2517 DEFAULT_wxUSE_FONTDLG
=yes
2518 DEFAULT_wxUSE_MSGDLG
=yes
2519 DEFAULT_wxUSE_NUMBERDLG
=yes
2520 DEFAULT_wxUSE_TEXTDLG
=yes
2521 DEFAULT_wxUSE_SPLASH
=yes
2522 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2523 DEFAULT_wxUSE_PROGRESSDLG
=yes
2524 DEFAULT_wxUSE_WIZARDDLG
=yes
2526 DEFAULT_wxUSE_MENUS
=yes
2527 DEFAULT_wxUSE_MINIFRAME
=yes
2528 DEFAULT_wxUSE_HTML
=yes
2529 DEFAULT_wxUSE_RICHTEXT
=yes
2530 DEFAULT_wxUSE_XRC
=yes
2531 DEFAULT_wxUSE_AUI
=yes
2532 DEFAULT_wxUSE_WEBKIT
=yes
2533 DEFAULT_wxUSE_FILESYSTEM
=yes
2534 DEFAULT_wxUSE_FS_INET
=yes
2535 DEFAULT_wxUSE_FS_ZIP
=yes
2536 DEFAULT_wxUSE_BUSYINFO
=yes
2537 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2538 DEFAULT_wxUSE_ZIPSTREAM
=yes
2539 DEFAULT_wxUSE_BACKINGFILE
=yes
2540 DEFAULT_wxUSE_VALIDATORS
=yes
2542 DEFAULT_wxUSE_ACCEL
=yes
2543 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2544 DEFAULT_wxUSE_BUTTON
=yes
2545 DEFAULT_wxUSE_BMPBUTTON
=yes
2546 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2547 DEFAULT_wxUSE_CALCTRL
=yes
2548 DEFAULT_wxUSE_CARET
=yes
2549 DEFAULT_wxUSE_CHECKBOX
=yes
2550 DEFAULT_wxUSE_CHECKLST
=yes
2551 DEFAULT_wxUSE_CHOICE
=yes
2552 DEFAULT_wxUSE_CHOICEBOOK
=yes
2553 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2554 DEFAULT_wxUSE_COMBOBOX
=yes
2555 DEFAULT_wxUSE_COMBOCTRL
=yes
2556 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2557 DEFAULT_wxUSE_DISPLAY
=yes
2558 DEFAULT_wxUSE_DETECT_SM
=yes
2559 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2560 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2561 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2562 DEFAULT_wxUSE_GAUGE
=yes
2563 DEFAULT_wxUSE_GRID
=yes
2564 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2565 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2566 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2567 DEFAULT_wxUSE_IMAGLIST
=yes
2568 DEFAULT_wxUSE_LISTBOOK
=yes
2569 DEFAULT_wxUSE_LISTBOX
=yes
2570 DEFAULT_wxUSE_LISTCTRL
=yes
2571 DEFAULT_wxUSE_NOTEBOOK
=yes
2572 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2573 DEFAULT_wxUSE_RADIOBOX
=yes
2574 DEFAULT_wxUSE_RADIOBTN
=yes
2575 DEFAULT_wxUSE_SASH
=yes
2576 DEFAULT_wxUSE_SCROLLBAR
=yes
2577 DEFAULT_wxUSE_SLIDER
=yes
2578 DEFAULT_wxUSE_SPINBTN
=yes
2579 DEFAULT_wxUSE_SPINCTRL
=yes
2580 DEFAULT_wxUSE_SPLITTER
=yes
2581 DEFAULT_wxUSE_STATBMP
=yes
2582 DEFAULT_wxUSE_STATBOX
=yes
2583 DEFAULT_wxUSE_STATLINE
=yes
2584 DEFAULT_wxUSE_STATTEXT
=yes
2585 DEFAULT_wxUSE_STATUSBAR
=yes
2586 DEFAULT_wxUSE_TAB_DIALOG
=no
2587 DEFAULT_wxUSE_TEXTCTRL
=yes
2588 DEFAULT_wxUSE_TOGGLEBTN
=yes
2589 DEFAULT_wxUSE_TOOLBAR
=yes
2590 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2591 DEFAULT_wxUSE_TREEBOOK
=yes
2592 DEFAULT_wxUSE_TOOLBOOK
=yes
2593 DEFAULT_wxUSE_TREECTRL
=yes
2594 DEFAULT_wxUSE_POPUPWIN
=yes
2595 DEFAULT_wxUSE_TIPWINDOW
=yes
2597 DEFAULT_wxUSE_UNICODE
=no
2598 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2599 DEFAULT_wxUSE_WCSRTOMBS
=no
2601 DEFAULT_wxUSE_PALETTE
=yes
2602 DEFAULT_wxUSE_IMAGE
=yes
2603 DEFAULT_wxUSE_GIF
=yes
2604 DEFAULT_wxUSE_PCX
=yes
2605 DEFAULT_wxUSE_IFF
=no
2606 DEFAULT_wxUSE_PNM
=yes
2607 DEFAULT_wxUSE_XPM
=yes
2608 DEFAULT_wxUSE_ICO_CUR
=yes
2609 DEFAULT_wxUSE_ACCESSIBILITY
=no
2611 DEFAULT_wxUSE_MONOLITHIC
=no
2612 DEFAULT_wxUSE_PLUGINS
=no
2613 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2615 DEFAULT_wxUSE_GTK2
=yes
2621 for toolkit
in `echo $ALL_TOOLKITS`; do
2622 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2623 if test "x$LINE" != "x" ; then
2624 has_toolkit_in_cache
=1
2625 eval "DEFAULT_$LINE"
2626 eval "CACHE_$toolkit=1"
2628 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2629 if test "x$LINE" != "x" ; then
2630 eval "DEFAULT_$LINE"
2638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2639 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2641 # Check whether --enable-gui or --disable-gui was given.
2642 if test "${enable_gui+set}" = set; then
2643 enableval
="$enable_gui"
2645 if test "$enableval" = yes; then
2646 ac_cv_use_gui
='wxUSE_GUI=yes'
2648 ac_cv_use_gui
='wxUSE_GUI=no'
2653 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x
; then
2655 eval "DEFAULT_$LINE"
2660 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2664 eval "$ac_cv_use_gui"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2669 if test "$wxUSE_GUI" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671 echo "${ECHO_T}yes" >&6
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2680 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2682 # Check whether --enable-monolithic or --disable-monolithic was given.
2683 if test "${enable_monolithic+set}" = set; then
2684 enableval
="$enable_monolithic"
2686 if test "$enableval" = yes; then
2687 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2689 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2694 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2695 if test "x$LINE" != x
; then
2696 eval "DEFAULT_$LINE"
2701 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2705 eval "$ac_cv_use_monolithic"
2706 if test "$no_cache" != 1; then
2707 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2710 if test "$wxUSE_MONOLITHIC" = yes; then
2711 echo "$as_me:$LINENO: result: yes" >&5
2712 echo "${ECHO_T}yes" >&6
2714 echo "$as_me:$LINENO: result: no" >&5
2715 echo "${ECHO_T}no" >&6
2720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2721 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2723 # Check whether --enable-plugins or --disable-plugins was given.
2724 if test "${enable_plugins+set}" = set; then
2725 enableval
="$enable_plugins"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2730 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2735 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2746 eval "$ac_cv_use_plugins"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2751 if test "$wxUSE_PLUGINS" = yes; then
2752 echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2761 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2762 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2765 # Check whether --with-subdirs or --without-subdirs was given.
2766 if test "${with_subdirs+set}" = set; then
2767 withval
="$with_subdirs"
2769 if test "$withval" = yes; then
2770 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2772 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2777 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x
; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2788 eval "$ac_cv_use_subdirs"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2793 if test "$wxWITH_SUBDIRS" = yes; then
2794 echo "$as_me:$LINENO: result: yes" >&5
2795 echo "${ECHO_T}yes" >&6
2797 echo "$as_me:$LINENO: result: no" >&5
2798 echo "${ECHO_T}no" >&6
2802 if test "$wxUSE_GUI" = "yes"; then
2806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2807 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2809 # Check whether --enable-universal or --disable-universal was given.
2810 if test "${enable_universal+set}" = set; then
2811 enableval
="$enable_universal"
2813 if test "$enableval" = yes; then
2814 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2816 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2821 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2822 if test "x$LINE" != x
; then
2823 eval "DEFAULT_$LINE"
2828 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2832 eval "$ac_cv_use_universal"
2833 if test "$no_cache" != 1; then
2834 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2837 if test "$wxUSE_UNIVERSAL" = yes; then
2838 echo "$as_me:$LINENO: result: yes" >&5
2839 echo "${ECHO_T}yes" >&6
2841 echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2846 # Check whether --with-gtk or --without-gtk was given.
2847 if test "${with_gtk+set}" = set; then
2849 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2852 # Check whether --with-motif or --without-motif was given.
2853 if test "${with_motif+set}" = set; then
2854 withval
="$with_motif"
2855 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2858 # Check whether --with-mac or --without-mac was given.
2859 if test "${with_mac+set}" = set; then
2861 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2864 # Check whether --with-cocoa or --without-cocoa was given.
2865 if test "${with_cocoa+set}" = set; then
2866 withval
="$with_cocoa"
2867 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2870 # Check whether --with-wine or --without-wine was given.
2871 if test "${with_wine+set}" = set; then
2872 withval
="$with_wine"
2873 wxUSE_WINE
="$withval" CACHE_WINE
=1
2876 # Check whether --with-msw or --without-msw was given.
2877 if test "${with_msw+set}" = set; then
2879 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2882 # Check whether --with-pm or --without-pm was given.
2883 if test "${with_pm+set}" = set; then
2885 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2888 # Check whether --with-mgl or --without-mgl was given.
2889 if test "${with_mgl+set}" = set; then
2891 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2894 # Check whether --with-directfb or --without-directfb was given.
2895 if test "${with_directfb+set}" = set; then
2896 withval
="$with_directfb"
2897 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2900 # Check whether --with-microwin or --without-microwin was given.
2901 if test "${with_microwin+set}" = set; then
2902 withval
="$with_microwin"
2903 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2906 # Check whether --with-x11 or --without-x11 was given.
2907 if test "${with_x11+set}" = set; then
2909 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2914 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2916 # Check whether --enable-nanox or --disable-nanox was given.
2917 if test "${enable_nanox+set}" = set; then
2918 enableval
="$enable_nanox"
2920 if test "$enableval" = yes; then
2921 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2923 ac_cv_use_nanox
='wxUSE_NANOX=no'
2928 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2929 if test "x$LINE" != x
; then
2930 eval "DEFAULT_$LINE"
2935 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2939 eval "$ac_cv_use_nanox"
2940 if test "$no_cache" != 1; then
2941 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2944 if test "$wxUSE_NANOX" = yes; then
2945 echo "$as_me:$LINENO: result: yes" >&5
2946 echo "${ECHO_T}yes" >&6
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2953 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2954 if test "${enable_gtk2+set}" = set; then
2955 enableval
="$enable_gtk2"
2956 wxUSE_GTK2
="$enableval"
2960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2961 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2963 # Check whether --enable-gpe or --disable-gpe was given.
2964 if test "${enable_gpe+set}" = set; then
2965 enableval
="$enable_gpe"
2967 if test "$enableval" = yes; then
2968 ac_cv_use_gpe
='wxUSE_GPE=yes'
2970 ac_cv_use_gpe
='wxUSE_GPE=no'
2975 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x
; then
2977 eval "DEFAULT_$LINE"
2982 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2986 eval "$ac_cv_use_gpe"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2991 if test "$wxUSE_GPE" = yes; then
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2995 echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6
3001 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3002 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3005 # Check whether --with-libpng or --without-libpng was given.
3006 if test "${with_libpng+set}" = set; then
3007 withval
="$with_libpng"
3009 if test "$withval" = yes; then
3010 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3011 elif test "$withval" = no
; then
3012 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3013 elif test "$withval" = sys
; then
3014 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3015 elif test "$withval" = builtin; then
3016 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3018 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3019 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3020 { (exit 1); exit 1; }; }
3025 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x
; then
3027 eval "DEFAULT_$LINE"
3032 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3036 eval "$ac_cv_use_libpng"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3041 if test "$wxUSE_LIBPNG" = yes; then
3042 echo "$as_me:$LINENO: result: yes" >&5
3043 echo "${ECHO_T}yes" >&6
3044 elif test "$wxUSE_LIBPNG" = no
; then
3045 echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6
3047 elif test "$wxUSE_LIBPNG" = sys
; then
3048 echo "$as_me:$LINENO: result: system version" >&5
3049 echo "${ECHO_T}system version" >&6
3050 elif test "$wxUSE_LIBPNG" = builtin; then
3051 echo "$as_me:$LINENO: result: builtin version" >&5
3052 echo "${ECHO_T}builtin version" >&6
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3055 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3060 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3061 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3064 # Check whether --with-libjpeg or --without-libjpeg was given.
3065 if test "${with_libjpeg+set}" = set; then
3066 withval
="$with_libjpeg"
3068 if test "$withval" = yes; then
3069 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3070 elif test "$withval" = no
; then
3071 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3072 elif test "$withval" = sys
; then
3073 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3074 elif test "$withval" = builtin; then
3075 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3077 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3078 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3079 { (exit 1); exit 1; }; }
3084 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3085 if test "x$LINE" != x
; then
3086 eval "DEFAULT_$LINE"
3091 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3095 eval "$ac_cv_use_libjpeg"
3096 if test "$no_cache" != 1; then
3097 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3100 if test "$wxUSE_LIBJPEG" = yes; then
3101 echo "$as_me:$LINENO: result: yes" >&5
3102 echo "${ECHO_T}yes" >&6
3103 elif test "$wxUSE_LIBJPEG" = no
; then
3104 echo "$as_me:$LINENO: result: no" >&5
3105 echo "${ECHO_T}no" >&6
3106 elif test "$wxUSE_LIBJPEG" = sys
; then
3107 echo "$as_me:$LINENO: result: system version" >&5
3108 echo "${ECHO_T}system version" >&6
3109 elif test "$wxUSE_LIBJPEG" = builtin; then
3110 echo "$as_me:$LINENO: result: builtin version" >&5
3111 echo "${ECHO_T}builtin version" >&6
3113 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3114 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3115 { (exit 1); exit 1; }; }
3119 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3120 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3123 # Check whether --with-libtiff or --without-libtiff was given.
3124 if test "${with_libtiff+set}" = set; then
3125 withval
="$with_libtiff"
3127 if test "$withval" = yes; then
3128 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3129 elif test "$withval" = no
; then
3130 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3131 elif test "$withval" = sys
; then
3132 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3133 elif test "$withval" = builtin; then
3134 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3136 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3137 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3138 { (exit 1); exit 1; }; }
3143 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x
; then
3145 eval "DEFAULT_$LINE"
3150 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3154 eval "$ac_cv_use_libtiff"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3159 if test "$wxUSE_LIBTIFF" = yes; then
3160 echo "$as_me:$LINENO: result: yes" >&5
3161 echo "${ECHO_T}yes" >&6
3162 elif test "$wxUSE_LIBTIFF" = no
; then
3163 echo "$as_me:$LINENO: result: no" >&5
3164 echo "${ECHO_T}no" >&6
3165 elif test "$wxUSE_LIBTIFF" = sys
; then
3166 echo "$as_me:$LINENO: result: system version" >&5
3167 echo "${ECHO_T}system version" >&6
3168 elif test "$wxUSE_LIBTIFF" = builtin; then
3169 echo "$as_me:$LINENO: result: builtin version" >&5
3170 echo "${ECHO_T}builtin version" >&6
3172 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3173 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3174 { (exit 1); exit 1; }; }
3178 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3179 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3182 # Check whether --with-libxpm or --without-libxpm was given.
3183 if test "${with_libxpm+set}" = set; then
3184 withval
="$with_libxpm"
3186 if test "$withval" = yes; then
3187 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3188 elif test "$withval" = no
; then
3189 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3190 elif test "$withval" = sys
; then
3191 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3192 elif test "$withval" = builtin; then
3193 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3195 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3196 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3197 { (exit 1); exit 1; }; }
3202 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x
; then
3204 eval "DEFAULT_$LINE"
3209 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3213 eval "$ac_cv_use_libxpm"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3218 if test "$wxUSE_LIBXPM" = yes; then
3219 echo "$as_me:$LINENO: result: yes" >&5
3220 echo "${ECHO_T}yes" >&6
3221 elif test "$wxUSE_LIBXPM" = no
; then
3222 echo "$as_me:$LINENO: result: no" >&5
3223 echo "${ECHO_T}no" >&6
3224 elif test "$wxUSE_LIBXPM" = sys
; then
3225 echo "$as_me:$LINENO: result: system version" >&5
3226 echo "${ECHO_T}system version" >&6
3227 elif test "$wxUSE_LIBXPM" = builtin; then
3228 echo "$as_me:$LINENO: result: builtin version" >&5
3229 echo "${ECHO_T}builtin version" >&6
3231 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3232 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3233 { (exit 1); exit 1; }; }
3238 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3239 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3242 # Check whether --with-libmspack or --without-libmspack was given.
3243 if test "${with_libmspack+set}" = set; then
3244 withval
="$with_libmspack"
3246 if test "$withval" = yes; then
3247 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3249 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3254 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x
; then
3256 eval "DEFAULT_$LINE"
3261 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3265 eval "$ac_cv_use_libmspack"
3266 if test "$no_cache" != 1; then
3267 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3270 if test "$wxUSE_LIBMSPACK" = yes; then
3271 echo "$as_me:$LINENO: result: yes" >&5
3272 echo "${ECHO_T}yes" >&6
3274 echo "$as_me:$LINENO: result: no" >&5
3275 echo "${ECHO_T}no" >&6
3280 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3281 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3284 # Check whether --with-sdl or --without-sdl was given.
3285 if test "${with_sdl+set}" = set; then
3288 if test "$withval" = yes; then
3289 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3291 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3296 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x
; then
3298 eval "DEFAULT_$LINE"
3303 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3307 eval "$ac_cv_use_sdl"
3308 if test "$no_cache" != 1; then
3309 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3312 if test "$wxUSE_LIBSDL" = yes; then
3313 echo "$as_me:$LINENO: result: yes" >&5
3314 echo "${ECHO_T}yes" >&6
3316 echo "$as_me:$LINENO: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3322 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3323 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3326 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3327 if test "${with_gnomeprint+set}" = set; then
3328 withval
="$with_gnomeprint"
3330 if test "$withval" = yes; then
3331 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3333 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3338 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x
; then
3340 eval "DEFAULT_$LINE"
3345 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3349 eval "$ac_cv_use_gnomeprint"
3350 if test "$no_cache" != 1; then
3351 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3354 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3355 echo "$as_me:$LINENO: result: yes" >&5
3356 echo "${ECHO_T}yes" >&6
3358 echo "$as_me:$LINENO: result: no" >&5
3359 echo "${ECHO_T}no" >&6
3364 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3365 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3368 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3369 if test "${with_gnomevfs+set}" = set; then
3370 withval
="$with_gnomevfs"
3372 if test "$withval" = yes; then
3373 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3375 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3380 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3381 if test "x$LINE" != x
; then
3382 eval "DEFAULT_$LINE"
3387 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3391 eval "$ac_cv_use_gnomevfs"
3392 if test "$no_cache" != 1; then
3393 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3396 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3397 echo "$as_me:$LINENO: result: yes" >&5
3398 echo "${ECHO_T}yes" >&6
3400 echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6
3406 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3407 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3410 # Check whether --with-hildon or --without-hildon was given.
3411 if test "${with_hildon+set}" = set; then
3412 withval
="$with_hildon"
3414 if test "$withval" = yes; then
3415 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3417 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3422 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3423 if test "x$LINE" != x
; then
3424 eval "DEFAULT_$LINE"
3429 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3433 eval "$ac_cv_use_hildon"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_LIBHILDON" = yes; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3442 echo "$as_me:$LINENO: result: no" >&5
3443 echo "${ECHO_T}no" >&6
3448 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3449 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3452 # Check whether --with-opengl or --without-opengl was given.
3453 if test "${with_opengl+set}" = set; then
3454 withval
="$with_opengl"
3456 if test "$withval" = yes; then
3457 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3459 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3464 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3465 if test "x$LINE" != x
; then
3466 eval "DEFAULT_$LINE"
3471 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3475 eval "$ac_cv_use_opengl"
3476 if test "$no_cache" != 1; then
3477 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3480 if test "$wxUSE_OPENGL" = yes; then
3481 echo "$as_me:$LINENO: result: yes" >&5
3482 echo "${ECHO_T}yes" >&6
3484 echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6
3489 if test "$wxUSE_UNIVERSAL" = "yes"; then
3491 # Check whether --with-themes or --without-themes was given.
3492 if test "${with_themes+set}" = set; then
3493 withval
="$with_themes"
3494 wxUNIV_THEMES
="$withval"
3502 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3503 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3506 # Check whether --with-dmalloc or --without-dmalloc was given.
3507 if test "${with_dmalloc+set}" = set; then
3508 withval
="$with_dmalloc"
3510 if test "$withval" = yes; then
3511 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3513 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3518 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x
; then
3520 eval "DEFAULT_$LINE"
3525 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3529 eval "$ac_cv_use_dmalloc"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3534 if test "$wxUSE_DMALLOC" = yes; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3543 echo "$as_me:$LINENO: checking for --with-regex" >&5
3544 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3547 # Check whether --with-regex or --without-regex was given.
3548 if test "${with_regex+set}" = set; then
3549 withval
="$with_regex"
3551 if test "$withval" = yes; then
3552 ac_cv_use_regex
='wxUSE_REGEX=yes'
3553 elif test "$withval" = no
; then
3554 ac_cv_use_regex
='wxUSE_REGEX=no'
3555 elif test "$withval" = sys
; then
3556 ac_cv_use_regex
='wxUSE_REGEX=sys'
3557 elif test "$withval" = builtin; then
3558 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3560 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3561 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3567 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x
; then
3569 eval "DEFAULT_$LINE"
3574 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3578 eval "$ac_cv_use_regex"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_REGEX" = yes; then
3584 echo "$as_me:$LINENO: result: yes" >&5
3585 echo "${ECHO_T}yes" >&6
3586 elif test "$wxUSE_REGEX" = no
; then
3587 echo "$as_me:$LINENO: result: no" >&5
3588 echo "${ECHO_T}no" >&6
3589 elif test "$wxUSE_REGEX" = sys
; then
3590 echo "$as_me:$LINENO: result: system version" >&5
3591 echo "${ECHO_T}system version" >&6
3592 elif test "$wxUSE_REGEX" = builtin; then
3593 echo "$as_me:$LINENO: result: builtin version" >&5
3594 echo "${ECHO_T}builtin version" >&6
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3602 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3603 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3606 # Check whether --with-zlib or --without-zlib was given.
3607 if test "${with_zlib+set}" = set; then
3608 withval
="$with_zlib"
3610 if test "$withval" = yes; then
3611 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3612 elif test "$withval" = no
; then
3613 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3614 elif test "$withval" = sys
; then
3615 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3616 elif test "$withval" = builtin; then
3617 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3619 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3620 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3621 { (exit 1); exit 1; }; }
3626 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3637 eval "$ac_cv_use_zlib"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_ZLIB" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 elif test "$wxUSE_ZLIB" = no
; then
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3648 elif test "$wxUSE_ZLIB" = sys
; then
3649 echo "$as_me:$LINENO: result: system version" >&5
3650 echo "${ECHO_T}system version" >&6
3651 elif test "$wxUSE_ZLIB" = builtin; then
3652 echo "$as_me:$LINENO: result: builtin version" >&5
3653 echo "${ECHO_T}builtin version" >&6
3655 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3656 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3657 { (exit 1); exit 1; }; }
3661 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3662 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3665 # Check whether --with-odbc or --without-odbc was given.
3666 if test "${with_odbc+set}" = set; then
3667 withval
="$with_odbc"
3669 if test "$withval" = yes; then
3670 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3671 elif test "$withval" = no
; then
3672 ac_cv_use_odbc
='wxUSE_ODBC=no'
3673 elif test "$withval" = sys
; then
3674 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3675 elif test "$withval" = builtin; then
3676 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3685 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x
; then
3687 eval "DEFAULT_$LINE"
3692 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3696 eval "$ac_cv_use_odbc"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3701 if test "$wxUSE_ODBC" = yes; then
3702 echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6
3704 elif test "$wxUSE_ODBC" = no
; then
3705 echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6
3707 elif test "$wxUSE_ODBC" = sys
; then
3708 echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6
3710 elif test "$wxUSE_ODBC" = builtin; then
3711 echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3720 echo "$as_me:$LINENO: checking for --with-expat" >&5
3721 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3724 # Check whether --with-expat or --without-expat was given.
3725 if test "${with_expat+set}" = set; then
3726 withval
="$with_expat"
3728 if test "$withval" = yes; then
3729 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3730 elif test "$withval" = no
; then
3731 ac_cv_use_expat
='wxUSE_EXPAT=no'
3732 elif test "$withval" = sys
; then
3733 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3734 elif test "$withval" = builtin; then
3735 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3744 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x
; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3755 eval "$ac_cv_use_expat"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3760 if test "$wxUSE_EXPAT" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3763 elif test "$wxUSE_EXPAT" = no
; then
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3766 elif test "$wxUSE_EXPAT" = sys
; then
3767 echo "$as_me:$LINENO: result: system version" >&5
3768 echo "${ECHO_T}system version" >&6
3769 elif test "$wxUSE_EXPAT" = builtin; then
3770 echo "$as_me:$LINENO: result: builtin version" >&5
3771 echo "${ECHO_T}builtin version" >&6
3773 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3774 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3785 # Check whether --enable-shared or --disable-shared was given.
3786 if test "${enable_shared+set}" = set; then
3787 enableval
="$enable_shared"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_shared
='wxUSE_SHARED=yes'
3792 ac_cv_use_shared
='wxUSE_SHARED=no'
3797 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3808 eval "$ac_cv_use_shared"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_SHARED" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3826 # Check whether --enable-optimise or --disable-optimise was given.
3827 if test "${enable_optimise+set}" = set; then
3828 enableval
="$enable_optimise"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3833 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3838 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3849 eval "$ac_cv_use_optimise"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_OPTIMISE" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3867 # Check whether --enable-debug or --disable-debug was given.
3868 if test "${enable_debug+set}" = set; then
3869 enableval
="$enable_debug"
3871 if test "$enableval" = yes; then
3872 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3874 ac_cv_use_debug
='wxUSE_DEBUG=no'
3879 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x
; then
3881 eval "DEFAULT_$LINE"
3886 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3890 eval "$ac_cv_use_debug"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_DEBUG" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3906 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3908 # Check whether --enable-stl or --disable-stl was given.
3909 if test "${enable_stl+set}" = set; then
3910 enableval
="$enable_stl"
3912 if test "$enableval" = yes; then
3913 ac_cv_use_stl
='wxUSE_STL=yes'
3915 ac_cv_use_stl
='wxUSE_STL=no'
3920 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x
; then
3922 eval "DEFAULT_$LINE"
3927 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3931 eval "$ac_cv_use_stl"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3936 if test "$wxUSE_STL" = yes; then
3937 echo "$as_me:$LINENO: result: yes" >&5
3938 echo "${ECHO_T}yes" >&6
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3944 if test "$USE_OS2" = "1"; then
3945 DEFAULT_wxUSE_OMF
=no
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3949 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3951 # Check whether --enable-omf or --disable-omf was given.
3952 if test "${enable_omf+set}" = set; then
3953 enableval
="$enable_omf"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_omf
='wxUSE_OMF=yes'
3958 ac_cv_use_omf
='wxUSE_OMF=no'
3963 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3974 eval "$ac_cv_use_omf"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3979 if test "$wxUSE_OMF" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3989 if test "$wxUSE_DEBUG" = "yes"; then
3990 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3991 DEFAULT_wxUSE_DEBUG_INFO
=yes
3993 elif test "$wxUSE_DEBUG" = "no"; then
3994 DEFAULT_wxUSE_DEBUG_FLAG
=no
3995 DEFAULT_wxUSE_DEBUG_INFO
=no
4001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4002 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4004 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4005 if test "${enable_debug_flag+set}" = set; then
4006 enableval
="$enable_debug_flag"
4008 if test "$enableval" = yes; then
4009 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4011 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4016 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x
; then
4018 eval "DEFAULT_$LINE"
4023 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4027 eval "$ac_cv_use_debug_flag"
4028 if test "$no_cache" != 1; then
4029 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4032 if test "$wxUSE_DEBUG_FLAG" = yes; then
4033 echo "$as_me:$LINENO: result: yes" >&5
4034 echo "${ECHO_T}yes" >&6
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4043 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4045 # Check whether --enable-debug_info or --disable-debug_info was given.
4046 if test "${enable_debug_info+set}" = set; then
4047 enableval
="$enable_debug_info"
4049 if test "$enableval" = yes; then
4050 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4052 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4057 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4058 if test "x$LINE" != x
; then
4059 eval "DEFAULT_$LINE"
4064 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4068 eval "$ac_cv_use_debug_info"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4073 if test "$wxUSE_DEBUG_INFO" = yes; then
4074 echo "$as_me:$LINENO: result: yes" >&5
4075 echo "${ECHO_T}yes" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4084 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4086 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4087 if test "${enable_debug_gdb+set}" = set; then
4088 enableval
="$enable_debug_gdb"
4090 if test "$enableval" = yes; then
4091 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4093 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4098 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x
; then
4100 eval "DEFAULT_$LINE"
4105 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4109 eval "$ac_cv_use_debug_gdb"
4110 if test "$no_cache" != 1; then
4111 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4114 if test "$wxUSE_DEBUG_GDB" = yes; then
4115 echo "$as_me:$LINENO: result: yes" >&5
4116 echo "${ECHO_T}yes" >&6
4118 echo "$as_me:$LINENO: result: no" >&5
4119 echo "${ECHO_T}no" >&6
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4127 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4128 if test "${enable_debug_cntxt+set}" = set; then
4129 enableval
="$enable_debug_cntxt"
4131 if test "$enableval" = yes; then
4132 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4134 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4139 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x
; then
4141 eval "DEFAULT_$LINE"
4146 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4150 eval "$ac_cv_use_debug_cntxt"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4155 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4168 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4169 if test "${enable_mem_tracing+set}" = set; then
4170 enableval
="$enable_mem_tracing"
4172 if test "$enableval" = yes; then
4173 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4175 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4180 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x
; then
4182 eval "DEFAULT_$LINE"
4187 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4191 eval "$ac_cv_use_mem_tracing"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_MEM_TRACING" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4207 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4209 # Check whether --enable-profile or --disable-profile was given.
4210 if test "${enable_profile+set}" = set; then
4211 enableval
="$enable_profile"
4213 if test "$enableval" = yes; then
4214 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4216 ac_cv_use_profile
='wxUSE_PROFILE=no'
4221 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x
; then
4223 eval "DEFAULT_$LINE"
4228 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4232 eval "$ac_cv_use_profile"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4237 if test "$wxUSE_PROFILE" = yes; then
4238 echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4248 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4250 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4251 if test "${enable_no_rtti+set}" = set; then
4252 enableval
="$enable_no_rtti"
4254 if test "$enableval" = yes; then
4255 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4257 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4262 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x
; then
4264 eval "DEFAULT_$LINE"
4269 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4273 eval "$ac_cv_use_no_rtti"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4278 if test "$wxUSE_NO_RTTI" = yes; then
4279 echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6
4282 echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6
4288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4289 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4291 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4292 if test "${enable_no_exceptions+set}" = set; then
4293 enableval
="$enable_no_exceptions"
4295 if test "$enableval" = yes; then
4296 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4298 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4303 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4304 if test "x$LINE" != x
; then
4305 eval "DEFAULT_$LINE"
4310 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4314 eval "$ac_cv_use_no_exceptions"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4319 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4320 echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6
4323 echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6
4329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4330 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4332 # Check whether --enable-permissive or --disable-permissive was given.
4333 if test "${enable_permissive+set}" = set; then
4334 enableval
="$enable_permissive"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4339 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4344 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4355 eval "$ac_cv_use_permissive"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4360 if test "$wxUSE_PERMISSIVE" = yes; then
4361 echo "$as_me:$LINENO: result: yes" >&5
4362 echo "${ECHO_T}yes" >&6
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4373 # Check whether --enable-no_deps or --disable-no_deps was given.
4374 if test "${enable_no_deps+set}" = set; then
4375 enableval
="$enable_no_deps"
4377 if test "$enableval" = yes; then
4378 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4380 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4385 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4386 if test "x$LINE" != x
; then
4387 eval "DEFAULT_$LINE"
4392 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4396 eval "$ac_cv_use_no_deps"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4401 if test "$wxUSE_NO_DEPS" = yes; then
4402 echo "$as_me:$LINENO: result: yes" >&5
4403 echo "${ECHO_T}yes" >&6
4405 echo "$as_me:$LINENO: result: no" >&5
4406 echo "${ECHO_T}no" >&6
4411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4412 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4414 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4415 if test "${enable_universal_binary+set}" = set; then
4416 enableval
="$enable_universal_binary"
4418 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4422 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4425 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4428 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4433 eval "$wx_cv_use_universal_binary"
4434 if test "$no_cache" != 1; then
4435 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4438 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4439 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4447 # Check whether --enable-compat24 or --disable-compat24 was given.
4448 if test "${enable_compat24+set}" = set; then
4449 enableval
="$enable_compat24"
4451 if test "$enableval" = yes; then
4452 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4454 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4459 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x
; then
4461 eval "DEFAULT_$LINE"
4466 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4470 eval "$ac_cv_use_compat24"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4475 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4476 echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4484 enablestring
=disable
4485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4486 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4488 # Check whether --enable-compat26 or --disable-compat26 was given.
4489 if test "${enable_compat26+set}" = set; then
4490 enableval
="$enable_compat26"
4492 if test "$enableval" = yes; then
4493 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4495 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4500 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x
; then
4502 eval "DEFAULT_$LINE"
4507 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4511 eval "$ac_cv_use_compat26"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4516 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4517 echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4530 # Check whether --enable-rpath or --disable-rpath was given.
4531 if test "${enable_rpath+set}" = set; then
4532 enableval
="$enable_rpath"
4534 if test "$enableval" = yes; then
4535 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4537 ac_cv_use_rpath
='wxUSE_RPATH=no'
4542 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x
; then
4544 eval "DEFAULT_$LINE"
4549 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4553 eval "$ac_cv_use_rpath"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4558 if test "$wxUSE_RPATH" = yes; then
4559 echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6
4562 echo "$as_me:$LINENO: result: no" >&5
4563 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4574 # Check whether --enable-intl or --disable-intl was given.
4575 if test "${enable_intl+set}" = set; then
4576 enableval
="$enable_intl"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_intl
='wxUSE_INTL=yes'
4581 ac_cv_use_intl
='wxUSE_INTL=no'
4586 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4597 eval "$ac_cv_use_intl"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_INTL" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4615 # Check whether --enable-config or --disable-config was given.
4616 if test "${enable_config+set}" = set; then
4617 enableval
="$enable_config"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_config
='wxUSE_CONFIG=yes'
4622 ac_cv_use_config
='wxUSE_CONFIG=no'
4627 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4638 eval "$ac_cv_use_config"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_CONFIG" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4657 # Check whether --enable-protocols or --disable-protocols was given.
4658 if test "${enable_protocols+set}" = set; then
4659 enableval
="$enable_protocols"
4661 if test "$enableval" = yes; then
4662 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4664 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4669 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x
; then
4671 eval "DEFAULT_$LINE"
4676 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4680 eval "$ac_cv_use_protocols"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4685 if test "$wxUSE_PROTOCOL" = yes; then
4686 echo "$as_me:$LINENO: result: yes" >&5
4687 echo "${ECHO_T}yes" >&6
4689 echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6
4695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4698 # Check whether --enable-ftp or --disable-ftp was given.
4699 if test "${enable_ftp+set}" = set; then
4700 enableval
="$enable_ftp"
4702 if test "$enableval" = yes; then
4703 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4705 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4710 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x
; then
4712 eval "DEFAULT_$LINE"
4717 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4721 eval "$ac_cv_use_ftp"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4726 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4727 echo "$as_me:$LINENO: result: yes" >&5
4728 echo "${ECHO_T}yes" >&6
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4739 # Check whether --enable-http or --disable-http was given.
4740 if test "${enable_http+set}" = set; then
4741 enableval
="$enable_http"
4743 if test "$enableval" = yes; then
4744 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4746 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4751 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x
; then
4753 eval "DEFAULT_$LINE"
4758 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4762 eval "$ac_cv_use_http"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4767 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4768 echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6
4771 echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4780 # Check whether --enable-fileproto or --disable-fileproto was given.
4781 if test "${enable_fileproto+set}" = set; then
4782 enableval
="$enable_fileproto"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4787 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4792 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4803 eval "$ac_cv_use_fileproto"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4808 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4821 # Check whether --enable-sockets or --disable-sockets was given.
4822 if test "${enable_sockets+set}" = set; then
4823 enableval
="$enable_sockets"
4825 if test "$enableval" = yes; then
4826 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4828 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4833 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4834 if test "x$LINE" != x
; then
4835 eval "DEFAULT_$LINE"
4840 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4844 eval "$ac_cv_use_sockets"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_SOCKETS" = yes; then
4850 echo "$as_me:$LINENO: result: yes" >&5
4851 echo "${ECHO_T}yes" >&6
4853 echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6
4859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4860 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4862 # Check whether --enable-ole or --disable-ole was given.
4863 if test "${enable_ole+set}" = set; then
4864 enableval
="$enable_ole"
4866 if test "$enableval" = yes; then
4867 ac_cv_use_ole
='wxUSE_OLE=yes'
4869 ac_cv_use_ole
='wxUSE_OLE=no'
4874 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x
; then
4876 eval "DEFAULT_$LINE"
4881 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4885 eval "$ac_cv_use_ole"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4890 if test "$wxUSE_OLE" = yes; then
4891 echo "$as_me:$LINENO: result: yes" >&5
4892 echo "${ECHO_T}yes" >&6
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4901 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4903 # Check whether --enable-dataobj or --disable-dataobj was given.
4904 if test "${enable_dataobj+set}" = set; then
4905 enableval
="$enable_dataobj"
4907 if test "$enableval" = yes; then
4908 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4910 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4915 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4916 if test "x$LINE" != x
; then
4917 eval "DEFAULT_$LINE"
4922 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4926 eval "$ac_cv_use_dataobj"
4927 if test "$no_cache" != 1; then
4928 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4931 if test "$wxUSE_DATAOBJ" = yes; then
4932 echo "$as_me:$LINENO: result: yes" >&5
4933 echo "${ECHO_T}yes" >&6
4935 echo "$as_me:$LINENO: result: no" >&5
4936 echo "${ECHO_T}no" >&6
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4945 # Check whether --enable-ipc or --disable-ipc was given.
4946 if test "${enable_ipc+set}" = set; then
4947 enableval
="$enable_ipc"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_ipc
='wxUSE_IPC=yes'
4952 ac_cv_use_ipc
='wxUSE_IPC=no'
4957 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4968 eval "$ac_cv_use_ipc"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_IPC" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4987 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4988 if test "${enable_apple_ieee+set}" = set; then
4989 enableval
="$enable_apple_ieee"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4994 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4999 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5010 eval "$ac_cv_use_apple_ieee"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_APPLE_IEEE" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5028 # Check whether --enable-arcstream or --disable-arcstream was given.
5029 if test "${enable_arcstream+set}" = set; then
5030 enableval
="$enable_arcstream"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5035 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5040 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5051 eval "$ac_cv_use_arcstream"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backingfile" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-backingfile... $ECHO_C" >&6
5069 # Check whether --enable-backingfile or --disable-backingfile was given.
5070 if test "${enable_backingfile+set}" = set; then
5071 enableval
="$enable_backingfile"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_backingfile
='wxUSE_BACKINGFILE=yes'
5076 ac_cv_use_backingfile
='wxUSE_BACKINGFILE=no'
5081 LINE
=`grep "wxUSE_BACKINGFILE" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_backingfile
='wxUSE_BACKINGFILE='$DEFAULT_wxUSE_BACKINGFILE
5092 eval "$ac_cv_use_backingfile"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_backingfile >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_BACKINGFILE" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5110 # Check whether --enable-backtrace or --disable-backtrace was given.
5111 if test "${enable_backtrace+set}" = set; then
5112 enableval
="$enable_backtrace"
5114 if test "$enableval" = yes; then
5115 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5117 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5122 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x
; then
5124 eval "DEFAULT_$LINE"
5129 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5133 eval "$ac_cv_use_backtrace"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_STACKWALKER" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5151 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5152 if test "${enable_catch_segvs+set}" = set; then
5153 enableval
="$enable_catch_segvs"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5158 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5163 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5174 eval "$ac_cv_use_catch_segvs"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5192 # Check whether --enable-cmdline or --disable-cmdline was given.
5193 if test "${enable_cmdline+set}" = set; then
5194 enableval
="$enable_cmdline"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5199 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5204 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5215 eval "$ac_cv_use_cmdline"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5233 # Check whether --enable-datetime or --disable-datetime was given.
5234 if test "${enable_datetime+set}" = set; then
5235 enableval
="$enable_datetime"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5240 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5245 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5256 eval "$ac_cv_use_datetime"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_DATETIME" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5274 # Check whether --enable-debugreport or --disable-debugreport was given.
5275 if test "${enable_debugreport+set}" = set; then
5276 enableval
="$enable_debugreport"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5281 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5286 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5297 eval "$ac_cv_use_debugreport"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_DEBUGREPORT" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5315 # Check whether --enable-dialupman or --disable-dialupman was given.
5316 if test "${enable_dialupman+set}" = set; then
5317 enableval
="$enable_dialupman"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5322 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5327 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5338 eval "$ac_cv_use_dialupman"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5356 # Check whether --enable-dynlib or --disable-dynlib was given.
5357 if test "${enable_dynlib+set}" = set; then
5358 enableval
="$enable_dynlib"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5363 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5368 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5379 eval "$ac_cv_use_dynlib"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5397 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5398 if test "${enable_dynamicloader+set}" = set; then
5399 enableval
="$enable_dynamicloader"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5404 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5409 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5420 eval "$ac_cv_use_dynamicloader"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5438 # Check whether --enable-exceptions or --disable-exceptions was given.
5439 if test "${enable_exceptions+set}" = set; then
5440 enableval
="$enable_exceptions"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5445 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5450 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5461 eval "$ac_cv_use_exceptions"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_EXCEPTIONS" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5479 # Check whether --enable-ffile or --disable-ffile was given.
5480 if test "${enable_ffile+set}" = set; then
5481 enableval
="$enable_ffile"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5486 ac_cv_use_ffile
='wxUSE_FFILE=no'
5491 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5502 eval "$ac_cv_use_ffile"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_FFILE" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5520 # Check whether --enable-file or --disable-file was given.
5521 if test "${enable_file+set}" = set; then
5522 enableval
="$enable_file"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_file
='wxUSE_FILE=yes'
5527 ac_cv_use_file
='wxUSE_FILE=no'
5532 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5543 eval "$ac_cv_use_file"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_FILE" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5561 # Check whether --enable-filesystem or --disable-filesystem was given.
5562 if test "${enable_filesystem+set}" = set; then
5563 enableval
="$enable_filesystem"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5568 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5573 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5584 eval "$ac_cv_use_filesystem"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_FILESYSTEM" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5602 # Check whether --enable-fontmap or --disable-fontmap was given.
5603 if test "${enable_fontmap+set}" = set; then
5604 enableval
="$enable_fontmap"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5609 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5614 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5625 eval "$ac_cv_use_fontmap"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_FONTMAP" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5643 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5644 if test "${enable_fs_inet+set}" = set; then
5645 enableval
="$enable_fs_inet"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5650 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5655 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5666 eval "$ac_cv_use_fs_inet"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_FS_INET" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5684 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5685 if test "${enable_fs_zip+set}" = set; then
5686 enableval
="$enable_fs_zip"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5691 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5696 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5707 eval "$ac_cv_use_fs_zip"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_FS_ZIP" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5725 # Check whether --enable-geometry or --disable-geometry was given.
5726 if test "${enable_geometry+set}" = set; then
5727 enableval
="$enable_geometry"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5732 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5737 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5748 eval "$ac_cv_use_geometry"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_GEOMETRY" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5766 # Check whether --enable-log or --disable-log was given.
5767 if test "${enable_log+set}" = set; then
5768 enableval
="$enable_log"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_log
='wxUSE_LOG=yes'
5773 ac_cv_use_log
='wxUSE_LOG=no'
5778 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5789 eval "$ac_cv_use_log"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5794 if test "$wxUSE_LOG" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5807 # Check whether --enable-longlong or --disable-longlong was given.
5808 if test "${enable_longlong+set}" = set; then
5809 enableval
="$enable_longlong"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5814 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5819 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5830 eval "$ac_cv_use_longlong"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_LONGLONG" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5848 # Check whether --enable-mimetype or --disable-mimetype was given.
5849 if test "${enable_mimetype+set}" = set; then
5850 enableval
="$enable_mimetype"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5855 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5860 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5871 eval "$ac_cv_use_mimetype"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_MIMETYPE" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5889 # Check whether --enable-mslu or --disable-mslu was given.
5890 if test "${enable_mslu+set}" = set; then
5891 enableval
="$enable_mslu"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5896 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5901 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5912 eval "$ac_cv_use_mslu"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_UNICODE_MSLU" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5930 # Check whether --enable-snglinst or --disable-snglinst was given.
5931 if test "${enable_snglinst+set}" = set; then
5932 enableval
="$enable_snglinst"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5937 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5942 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5953 eval "$ac_cv_use_snglinst"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5958 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5971 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5972 if test "${enable_std_iostreams+set}" = set; then
5973 enableval
="$enable_std_iostreams"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5978 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5983 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5994 eval "$ac_cv_use_std_iostreams"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_STD_IOSTREAM" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6012 # Check whether --enable-std_string or --disable-std_string was given.
6013 if test "${enable_std_string+set}" = set; then
6014 enableval
="$enable_std_string"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6019 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6024 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6035 eval "$ac_cv_use_std_string"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6040 if test "$wxUSE_STD_STRING" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6053 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6054 if test "${enable_stdpaths+set}" = set; then
6055 enableval
="$enable_stdpaths"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6060 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6065 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6076 eval "$ac_cv_use_stdpaths"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_STDPATHS" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6094 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6095 if test "${enable_stopwatch+set}" = set; then
6096 enableval
="$enable_stopwatch"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6101 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6106 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6117 eval "$ac_cv_use_stopwatch"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_STOPWATCH" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6135 # Check whether --enable-streams or --disable-streams was given.
6136 if test "${enable_streams+set}" = set; then
6137 enableval
="$enable_streams"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6142 ac_cv_use_streams
='wxUSE_STREAMS=no'
6147 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6158 eval "$ac_cv_use_streams"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_STREAMS" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6176 # Check whether --enable-system_options or --disable-system_options was given.
6177 if test "${enable_system_options+set}" = set; then
6178 enableval
="$enable_system_options"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6183 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6188 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6199 eval "$ac_cv_use_system_options"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6217 # Check whether --enable-textbuf or --disable-textbuf was given.
6218 if test "${enable_textbuf+set}" = set; then
6219 enableval
="$enable_textbuf"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6224 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6229 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6240 eval "$ac_cv_use_textbuf"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_TEXTBUFFER" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6258 # Check whether --enable-textfile or --disable-textfile was given.
6259 if test "${enable_textfile+set}" = set; then
6260 enableval
="$enable_textfile"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6265 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6270 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6281 eval "$ac_cv_use_textfile"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_TEXTFILE" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6299 # Check whether --enable-timer or --disable-timer was given.
6300 if test "${enable_timer+set}" = set; then
6301 enableval
="$enable_timer"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_timer
='wxUSE_TIMER=yes'
6306 ac_cv_use_timer
='wxUSE_TIMER=no'
6311 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6322 eval "$ac_cv_use_timer"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_TIMER" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6340 # Check whether --enable-unicode or --disable-unicode was given.
6341 if test "${enable_unicode+set}" = set; then
6342 enableval
="$enable_unicode"
6344 if test "$enableval" = yes; then
6345 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6347 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6352 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x
; then
6354 eval "DEFAULT_$LINE"
6359 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6363 eval "$ac_cv_use_unicode"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6368 if test "$wxUSE_UNICODE" = yes; then
6369 echo "$as_me:$LINENO: result: yes" >&5
6370 echo "${ECHO_T}yes" >&6
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6381 # Check whether --enable-sound or --disable-sound was given.
6382 if test "${enable_sound+set}" = set; then
6383 enableval
="$enable_sound"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_sound
='wxUSE_SOUND=yes'
6388 ac_cv_use_sound
='wxUSE_SOUND=no'
6393 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x
; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6404 eval "$ac_cv_use_sound"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_SOUND" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6422 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6423 if test "${enable_mediactrl+set}" = set; then
6424 enableval
="$enable_mediactrl"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6429 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6434 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6445 eval "$ac_cv_use_mediactrl"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_MEDIACTRL" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6463 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6464 if test "${enable_gstreamer8+set}" = set; then
6465 enableval
="$enable_gstreamer8"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6470 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6475 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6486 eval "$ac_cv_use_gstreamer8"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_GSTREAMER8" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6504 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6505 if test "${enable_printfposparam+set}" = set; then
6506 enableval
="$enable_printfposparam"
6508 if test "$enableval" = yes; then
6509 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6511 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6516 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x
; then
6518 eval "DEFAULT_$LINE"
6523 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6527 eval "$ac_cv_use_printfposparam"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6532 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6545 # Check whether --enable-zipstream or --disable-zipstream was given.
6546 if test "${enable_zipstream+set}" = set; then
6547 enableval
="$enable_zipstream"
6549 if test "$enableval" = yes; then
6550 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6552 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6557 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x
; then
6559 eval "DEFAULT_$LINE"
6564 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6568 eval "$ac_cv_use_zipstream"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6573 if test "$wxUSE_ZIPSTREAM" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6587 # Check whether --enable-url or --disable-url was given.
6588 if test "${enable_url+set}" = set; then
6589 enableval
="$enable_url"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_url
='wxUSE_URL=yes'
6594 ac_cv_use_url
='wxUSE_URL=no'
6599 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6610 eval "$ac_cv_use_url"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_URL" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6628 # Check whether --enable-variant or --disable-variant was given.
6629 if test "${enable_variant+set}" = set; then
6630 enableval
="$enable_variant"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6635 ac_cv_use_variant
='wxUSE_VARIANT=no'
6640 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6651 eval "$ac_cv_use_variant"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_VARIANT" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6669 # Check whether --enable-protocol or --disable-protocol was given.
6670 if test "${enable_protocol+set}" = set; then
6671 enableval
="$enable_protocol"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6676 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6681 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6692 eval "$ac_cv_use_protocol"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_PROTOCOL" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6710 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6711 if test "${enable_protocol_http+set}" = set; then
6712 enableval
="$enable_protocol_http"
6714 if test "$enableval" = yes; then
6715 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6717 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6722 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x
; then
6724 eval "DEFAULT_$LINE"
6729 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6733 eval "$ac_cv_use_protocol_http"
6734 if test "$no_cache" != 1; then
6735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6739 echo "$as_me:$LINENO: result: yes" >&5
6740 echo "${ECHO_T}yes" >&6
6742 echo "$as_me:$LINENO: result: no" >&5
6743 echo "${ECHO_T}no" >&6
6748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6749 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6752 if test "${enable_protocol_ftp+set}" = set; then
6753 enableval
="$enable_protocol_ftp"
6755 if test "$enableval" = yes; then
6756 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6758 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6763 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x
; then
6765 eval "DEFAULT_$LINE"
6770 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6774 eval "$ac_cv_use_protocol_ftp"
6775 if test "$no_cache" != 1; then
6776 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6779 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6780 echo "$as_me:$LINENO: result: yes" >&5
6781 echo "${ECHO_T}yes" >&6
6783 echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6
6789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6790 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6792 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6793 if test "${enable_protocol_file+set}" = set; then
6794 enableval
="$enable_protocol_file"
6796 if test "$enableval" = yes; then
6797 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6799 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6804 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x
; then
6806 eval "DEFAULT_$LINE"
6811 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6815 eval "$ac_cv_use_protocol_file"
6816 if test "$no_cache" != 1; then
6817 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6820 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6821 echo "$as_me:$LINENO: result: yes" >&5
6822 echo "${ECHO_T}yes" >&6
6824 echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6
6833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6834 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6836 # Check whether --enable-threads or --disable-threads was given.
6837 if test "${enable_threads+set}" = set; then
6838 enableval
="$enable_threads"
6840 if test "$enableval" = yes; then
6841 ac_cv_use_threads
='wxUSE_THREADS=yes'
6843 ac_cv_use_threads
='wxUSE_THREADS=no'
6848 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6849 if test "x$LINE" != x
; then
6850 eval "DEFAULT_$LINE"
6855 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6859 eval "$ac_cv_use_threads"
6860 if test "$no_cache" != 1; then
6861 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6864 if test "$wxUSE_THREADS" = yes; then
6865 echo "$as_me:$LINENO: result: yes" >&5
6866 echo "${ECHO_T}yes" >&6
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6873 if test "$wxUSE_GUI" = "yes"; then
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6881 # Check whether --enable-docview or --disable-docview was given.
6882 if test "${enable_docview+set}" = set; then
6883 enableval
="$enable_docview"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6888 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6893 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6904 eval "$ac_cv_use_docview"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6909 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6922 # Check whether --enable-help or --disable-help was given.
6923 if test "${enable_help+set}" = set; then
6924 enableval
="$enable_help"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_help
='wxUSE_HELP=yes'
6929 ac_cv_use_help
='wxUSE_HELP=no'
6934 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6945 eval "$ac_cv_use_help"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_HELP" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6963 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6964 if test "${enable_mshtmlhelp+set}" = set; then
6965 enableval
="$enable_mshtmlhelp"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6970 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6975 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6986 eval "$ac_cv_use_mshtmlhelp"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_MS_HTML_HELP" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7004 # Check whether --enable-html or --disable-html was given.
7005 if test "${enable_html+set}" = set; then
7006 enableval
="$enable_html"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_html
='wxUSE_HTML=yes'
7011 ac_cv_use_html
='wxUSE_HTML=no'
7016 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7027 eval "$ac_cv_use_html"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7032 if test "$wxUSE_HTML" = yes; then
7033 echo "$as_me:$LINENO: result: yes" >&5
7034 echo "${ECHO_T}yes" >&6
7036 echo "$as_me:$LINENO: result: no" >&5
7037 echo "${ECHO_T}no" >&6
7042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7045 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7046 if test "${enable_htmlhelp+set}" = set; then
7047 enableval
="$enable_htmlhelp"
7049 if test "$enableval" = yes; then
7050 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7052 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7057 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x
; then
7059 eval "DEFAULT_$LINE"
7064 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7068 eval "$ac_cv_use_htmlhelp"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7073 if test "$wxUSE_WXHTML_HELP" = yes; then
7074 echo "$as_me:$LINENO: result: yes" >&5
7075 echo "${ECHO_T}yes" >&6
7077 echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7084 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7086 # Check whether --enable-xrc or --disable-xrc was given.
7087 if test "${enable_xrc+set}" = set; then
7088 enableval
="$enable_xrc"
7090 if test "$enableval" = yes; then
7091 ac_cv_use_xrc
='wxUSE_XRC=yes'
7093 ac_cv_use_xrc
='wxUSE_XRC=no'
7098 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x
; then
7100 eval "DEFAULT_$LINE"
7105 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7109 eval "$ac_cv_use_xrc"
7110 if test "$no_cache" != 1; then
7111 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7114 if test "$wxUSE_XRC" = yes; then
7115 echo "$as_me:$LINENO: result: yes" >&5
7116 echo "${ECHO_T}yes" >&6
7118 echo "$as_me:$LINENO: result: no" >&5
7119 echo "${ECHO_T}no" >&6
7124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7127 # Check whether --enable-aui or --disable-aui was given.
7128 if test "${enable_aui+set}" = set; then
7129 enableval
="$enable_aui"
7131 if test "$enableval" = yes; then
7132 ac_cv_use_aui
='wxUSE_AUI=yes'
7134 ac_cv_use_aui
='wxUSE_AUI=no'
7139 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x
; then
7141 eval "DEFAULT_$LINE"
7146 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7150 eval "$ac_cv_use_aui"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7155 if test "$wxUSE_AUI" = yes; then
7156 echo "$as_me:$LINENO: result: yes" >&5
7157 echo "${ECHO_T}yes" >&6
7159 echo "$as_me:$LINENO: result: no" >&5
7160 echo "${ECHO_T}no" >&6
7165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7168 # Check whether --enable-constraints or --disable-constraints was given.
7169 if test "${enable_constraints+set}" = set; then
7170 enableval
="$enable_constraints"
7172 if test "$enableval" = yes; then
7173 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7175 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7180 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x
; then
7182 eval "DEFAULT_$LINE"
7187 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7191 eval "$ac_cv_use_constraints"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7196 if test "$wxUSE_CONSTRAINTS" = yes; then
7197 echo "$as_me:$LINENO: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7209 # Check whether --enable-printarch or --disable-printarch was given.
7210 if test "${enable_printarch+set}" = set; then
7211 enableval
="$enable_printarch"
7213 if test "$enableval" = yes; then
7214 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7216 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7221 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7222 if test "x$LINE" != x
; then
7223 eval "DEFAULT_$LINE"
7228 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7232 eval "$ac_cv_use_printarch"
7233 if test "$no_cache" != 1; then
7234 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7237 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7238 echo "$as_me:$LINENO: result: yes" >&5
7239 echo "${ECHO_T}yes" >&6
7241 echo "$as_me:$LINENO: result: no" >&5
7242 echo "${ECHO_T}no" >&6
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7250 # Check whether --enable-mdi or --disable-mdi was given.
7251 if test "${enable_mdi+set}" = set; then
7252 enableval
="$enable_mdi"
7254 if test "$enableval" = yes; then
7255 ac_cv_use_mdi
='wxUSE_MDI=yes'
7257 ac_cv_use_mdi
='wxUSE_MDI=no'
7262 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x
; then
7264 eval "DEFAULT_$LINE"
7269 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7273 eval "$ac_cv_use_mdi"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7278 if test "$wxUSE_MDI" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7291 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7292 if test "${enable_mdidoc+set}" = set; then
7293 enableval
="$enable_mdidoc"
7295 if test "$enableval" = yes; then
7296 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7298 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7303 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x
; then
7305 eval "DEFAULT_$LINE"
7310 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7314 eval "$ac_cv_use_mdidoc"
7315 if test "$no_cache" != 1; then
7316 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7319 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7320 echo "$as_me:$LINENO: result: yes" >&5
7321 echo "${ECHO_T}yes" >&6
7323 echo "$as_me:$LINENO: result: no" >&5
7324 echo "${ECHO_T}no" >&6
7329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7330 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7332 # Check whether --enable-loggui or --disable-loggui was given.
7333 if test "${enable_loggui+set}" = set; then
7334 enableval
="$enable_loggui"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7339 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7344 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x
; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7355 eval "$ac_cv_use_loggui"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7360 if test "$wxUSE_LOGGUI" = yes; then
7361 echo "$as_me:$LINENO: result: yes" >&5
7362 echo "${ECHO_T}yes" >&6
7364 echo "$as_me:$LINENO: result: no" >&5
7365 echo "${ECHO_T}no" >&6
7370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7373 # Check whether --enable-logwin or --disable-logwin was given.
7374 if test "${enable_logwin+set}" = set; then
7375 enableval
="$enable_logwin"
7377 if test "$enableval" = yes; then
7378 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7380 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7385 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x
; then
7387 eval "DEFAULT_$LINE"
7392 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7396 eval "$ac_cv_use_logwin"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7401 if test "$wxUSE_LOGWINDOW" = yes; then
7402 echo "$as_me:$LINENO: result: yes" >&5
7403 echo "${ECHO_T}yes" >&6
7405 echo "$as_me:$LINENO: result: no" >&5
7406 echo "${ECHO_T}no" >&6
7411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7414 # Check whether --enable-logdialog or --disable-logdialog was given.
7415 if test "${enable_logdialog+set}" = set; then
7416 enableval
="$enable_logdialog"
7418 if test "$enableval" = yes; then
7419 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7421 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7426 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7427 if test "x$LINE" != x
; then
7428 eval "DEFAULT_$LINE"
7433 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7437 eval "$ac_cv_use_logdialog"
7438 if test "$no_cache" != 1; then
7439 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7442 if test "$wxUSE_LOGDIALOG" = yes; then
7443 echo "$as_me:$LINENO: result: yes" >&5
7444 echo "${ECHO_T}yes" >&6
7446 echo "$as_me:$LINENO: result: no" >&5
7447 echo "${ECHO_T}no" >&6
7452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7453 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7455 # Check whether --enable-webkit or --disable-webkit was given.
7456 if test "${enable_webkit+set}" = set; then
7457 enableval
="$enable_webkit"
7459 if test "$enableval" = yes; then
7460 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7462 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7467 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7468 if test "x$LINE" != x
; then
7469 eval "DEFAULT_$LINE"
7474 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7478 eval "$ac_cv_use_webkit"
7479 if test "$no_cache" != 1; then
7480 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7483 if test "$wxUSE_WEBKIT" = yes; then
7484 echo "$as_me:$LINENO: result: yes" >&5
7485 echo "${ECHO_T}yes" >&6
7487 echo "$as_me:$LINENO: result: no" >&5
7488 echo "${ECHO_T}no" >&6
7493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7494 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7496 # Check whether --enable-html or --disable-html was given.
7497 if test "${enable_html+set}" = set; then
7498 enableval
="$enable_html"
7500 if test "$enableval" = yes; then
7501 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7503 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7508 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x
; then
7510 eval "DEFAULT_$LINE"
7515 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7519 eval "$ac_cv_use_html"
7520 if test "$no_cache" != 1; then
7521 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7524 if test "$wxUSE_RICHTEXT" = yes; then
7525 echo "$as_me:$LINENO: result: yes" >&5
7526 echo "${ECHO_T}yes" >&6
7528 echo "$as_me:$LINENO: result: no" >&5
7529 echo "${ECHO_T}no" >&6
7534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7537 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7538 if test "${enable_graphics_ctx+set}" = set; then
7539 enableval
="$enable_graphics_ctx"
7541 if test "$enableval" = yes; then
7542 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7544 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7549 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x
; then
7551 eval "DEFAULT_$LINE"
7556 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7560 eval "$ac_cv_use_graphics_ctx"
7561 if test "$no_cache" != 1; then
7562 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7565 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7566 echo "$as_me:$LINENO: result: yes" >&5
7567 echo "${ECHO_T}yes" >&6
7569 echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6
7576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7577 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7579 # Check whether --enable-postscript or --disable-postscript was given.
7580 if test "${enable_postscript+set}" = set; then
7581 enableval
="$enable_postscript"
7583 if test "$enableval" = yes; then
7584 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7586 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7591 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7592 if test "x$LINE" != x
; then
7593 eval "DEFAULT_$LINE"
7598 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7602 eval "$ac_cv_use_postscript"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7607 if test "$wxUSE_POSTSCRIPT" = yes; then
7608 echo "$as_me:$LINENO: result: yes" >&5
7609 echo "${ECHO_T}yes" >&6
7611 echo "$as_me:$LINENO: result: no" >&5
7612 echo "${ECHO_T}no" >&6
7620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7621 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7623 # Check whether --enable-prologio or --disable-prologio was given.
7624 if test "${enable_prologio+set}" = set; then
7625 enableval
="$enable_prologio"
7627 if test "$enableval" = yes; then
7628 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7630 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7635 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7636 if test "x$LINE" != x
; then
7637 eval "DEFAULT_$LINE"
7642 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7646 eval "$ac_cv_use_prologio"
7647 if test "$no_cache" != 1; then
7648 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7651 if test "$wxUSE_PROLOGIO" = yes; then
7652 echo "$as_me:$LINENO: result: yes" >&5
7653 echo "${ECHO_T}yes" >&6
7655 echo "$as_me:$LINENO: result: no" >&5
7656 echo "${ECHO_T}no" >&6
7661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7664 # Check whether --enable-resources or --disable-resources was given.
7665 if test "${enable_resources+set}" = set; then
7666 enableval
="$enable_resources"
7668 if test "$enableval" = yes; then
7669 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7671 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7676 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7677 if test "x$LINE" != x
; then
7678 eval "DEFAULT_$LINE"
7683 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7687 eval "$ac_cv_use_resources"
7688 if test "$no_cache" != 1; then
7689 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7692 if test "$wxUSE_RESOURCES" = yes; then
7693 echo "$as_me:$LINENO: result: yes" >&5
7694 echo "${ECHO_T}yes" >&6
7696 echo "$as_me:$LINENO: result: no" >&5
7697 echo "${ECHO_T}no" >&6
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7707 # Check whether --enable-clipboard or --disable-clipboard was given.
7708 if test "${enable_clipboard+set}" = set; then
7709 enableval
="$enable_clipboard"
7711 if test "$enableval" = yes; then
7712 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7714 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7719 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x
; then
7721 eval "DEFAULT_$LINE"
7726 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7730 eval "$ac_cv_use_clipboard"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7735 if test "$wxUSE_CLIPBOARD" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7748 # Check whether --enable-dnd or --disable-dnd was given.
7749 if test "${enable_dnd+set}" = set; then
7750 enableval
="$enable_dnd"
7752 if test "$enableval" = yes; then
7753 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7755 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7760 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x
; then
7762 eval "DEFAULT_$LINE"
7767 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7771 eval "$ac_cv_use_dnd"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7776 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7789 # Check whether --enable-metafile or --disable-metafile was given.
7790 if test "${enable_metafile+set}" = set; then
7791 enableval
="$enable_metafile"
7793 if test "$enableval" = yes; then
7794 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7796 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7801 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x
; then
7803 eval "DEFAULT_$LINE"
7808 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7812 eval "$ac_cv_use_metafile"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_METAFILE" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7833 # Check whether --enable-controls or --disable-controls was given.
7834 if test "${enable_controls+set}" = set; then
7835 enableval
="$enable_controls"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7840 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7845 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7856 eval "$ac_cv_use_controls"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_CONTROLS" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7870 if test "$wxUSE_CONTROLS" = "yes"; then
7871 DEFAULT_wxUSE_ACCEL
=yes
7872 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7873 DEFAULT_wxUSE_BMPBUTTON
=yes
7874 DEFAULT_wxUSE_BUTTON
=yes
7875 DEFAULT_wxUSE_CALCTRL
=yes
7876 DEFAULT_wxUSE_CARET
=yes
7877 DEFAULT_wxUSE_COMBOBOX
=yes
7878 DEFAULT_wxUSE_CHECKBOX
=yes
7879 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7880 DEFAULT_wxUSE_CHOICE
=yes
7881 DEFAULT_wxUSE_CHOICEBOOK
=yes
7882 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7883 DEFAULT_wxUSE_COMBOBOX
=yes
7884 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7885 DEFAULT_wxUSE_DISPLAY
=yes
7886 DEFAULT_wxUSE_DETECT_SM
=yes
7887 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7888 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7889 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7890 DEFAULT_wxUSE_GAUGE
=yes
7891 DEFAULT_wxUSE_GRID
=yes
7892 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7893 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7894 DEFAULT_wxUSE_IMAGLIST
=yes
7895 DEFAULT_wxUSE_LISTBOOK
=yes
7896 DEFAULT_wxUSE_LISTBOX
=yes
7897 DEFAULT_wxUSE_LISTCTRL
=yes
7898 DEFAULT_wxUSE_NOTEBOOK
=yes
7899 DEFAULT_wxUSE_RADIOBOX
=yes
7900 DEFAULT_wxUSE_RADIOBTN
=yes
7901 DEFAULT_wxUSE_SASH
=yes
7902 DEFAULT_wxUSE_SCROLLBAR
=yes
7903 DEFAULT_wxUSE_SLIDER
=yes
7904 DEFAULT_wxUSE_SPINBTN
=yes
7905 DEFAULT_wxUSE_SPINCTRL
=yes
7906 DEFAULT_wxUSE_SPLITTER
=yes
7907 DEFAULT_wxUSE_STATBMP
=yes
7908 DEFAULT_wxUSE_STATBOX
=yes
7909 DEFAULT_wxUSE_STATLINE
=yes
7910 DEFAULT_wxUSE_STATUSBAR
=yes
7911 DEFAULT_wxUSE_TAB_DIALOG
=yes
7912 DEFAULT_wxUSE_TOGGLEBTN
=yes
7913 DEFAULT_wxUSE_TOOLBAR
=yes
7914 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7915 DEFAULT_wxUSE_TOOLTIPS
=yes
7916 DEFAULT_wxUSE_TREEBOOK
=yes
7917 DEFAULT_wxUSE_TOOLBOOK
=yes
7918 DEFAULT_wxUSE_TREECTRL
=yes
7919 DEFAULT_wxUSE_POPUPWIN
=yes
7920 DEFAULT_wxUSE_TIPWINDOW
=yes
7921 elif test "$wxUSE_CONTROLS" = "no"; then
7922 DEFAULT_wxUSE_ACCEL
=no
7923 DEFAULT_wxUSE_ANIMATIONCTRL
=no
7924 DEFAULT_wxUSE_BMPBUTTON
=no
7925 DEFAULT_wxUSE_BUTTON
=no
7926 DEFAULT_wxUSE_CALCTRL
=no
7927 DEFAULT_wxUSE_CARET
=no
7928 DEFAULT_wxUSE_COMBOBOX
=no
7929 DEFAULT_wxUSE_CHECKBOX
=no
7930 DEFAULT_wxUSE_CHECKLISTBOX
=no
7931 DEFAULT_wxUSE_CHOICE
=no
7932 DEFAULT_wxUSE_CHOICEBOOK
=no
7933 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
7934 DEFAULT_wxUSE_COMBOBOX
=no
7935 DEFAULT_wxUSE_DATEPICKCTRL
=no
7936 DEFAULT_wxUSE_DISPLAY
=no
7937 DEFAULT_wxUSE_DETECT_SM
=no
7938 DEFAULT_wxUSE_DIRPICKERCTRL
=no
7939 DEFAULT_wxUSE_FILEPICKERCTRL
=no
7940 DEFAULT_wxUSE_FONTPICKERCTRL
=no
7941 DEFAULT_wxUSE_GAUGE
=no
7942 DEFAULT_wxUSE_GRID
=no
7943 DEFAULT_wxUSE_HYPERLINKCTRL
=no
7944 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7945 DEFAULT_wxUSE_IMAGLIST
=no
7946 DEFAULT_wxUSE_LISTBOOK
=no
7947 DEFAULT_wxUSE_LISTBOX
=no
7948 DEFAULT_wxUSE_LISTCTRL
=no
7949 DEFAULT_wxUSE_NOTEBOOK
=no
7950 DEFAULT_wxUSE_RADIOBOX
=no
7951 DEFAULT_wxUSE_RADIOBTN
=no
7952 DEFAULT_wxUSE_SASH
=no
7953 DEFAULT_wxUSE_SCROLLBAR
=no
7954 DEFAULT_wxUSE_SLIDER
=no
7955 DEFAULT_wxUSE_SPINBTN
=no
7956 DEFAULT_wxUSE_SPINCTRL
=no
7957 DEFAULT_wxUSE_SPLITTER
=no
7958 DEFAULT_wxUSE_STATBMP
=no
7959 DEFAULT_wxUSE_STATBOX
=no
7960 DEFAULT_wxUSE_STATLINE
=no
7961 DEFAULT_wxUSE_STATUSBAR
=no
7962 DEFAULT_wxUSE_TAB_DIALOG
=no
7963 DEFAULT_wxUSE_TOGGLEBTN
=no
7964 DEFAULT_wxUSE_TOOLBAR
=no
7965 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7966 DEFAULT_wxUSE_TOOLTIPS
=no
7967 DEFAULT_wxUSE_TREEBOOK
=no
7968 DEFAULT_wxUSE_TOOLBOOK
=no
7969 DEFAULT_wxUSE_TREECTRL
=no
7970 DEFAULT_wxUSE_POPUPWIN
=no
7971 DEFAULT_wxUSE_TIPWINDOW
=no
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7979 # Check whether --enable-accel or --disable-accel was given.
7980 if test "${enable_accel+set}" = set; then
7981 enableval
="$enable_accel"
7983 if test "$enableval" = yes; then
7984 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7986 ac_cv_use_accel
='wxUSE_ACCEL=no'
7991 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x
; then
7993 eval "DEFAULT_$LINE"
7998 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8002 eval "$ac_cv_use_accel"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8007 if test "$wxUSE_ACCEL" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8020 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8021 if test "${enable_animatectrl+set}" = set; then
8022 enableval
="$enable_animatectrl"
8024 if test "$enableval" = yes; then
8025 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8027 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8032 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x
; then
8034 eval "DEFAULT_$LINE"
8039 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8043 eval "$ac_cv_use_animatectrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8048 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8061 # Check whether --enable-button or --disable-button was given.
8062 if test "${enable_button+set}" = set; then
8063 enableval
="$enable_button"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_button
='wxUSE_BUTTON=yes'
8068 ac_cv_use_button
='wxUSE_BUTTON=no'
8073 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x
; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8084 eval "$ac_cv_use_button"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8089 if test "$wxUSE_BUTTON" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8102 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8103 if test "${enable_bmpbutton+set}" = set; then
8104 enableval
="$enable_bmpbutton"
8106 if test "$enableval" = yes; then
8107 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8109 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8114 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x
; then
8116 eval "DEFAULT_$LINE"
8121 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8125 eval "$ac_cv_use_bmpbutton"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8130 if test "$wxUSE_BMPBUTTON" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8143 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8144 if test "${enable_bmpcombobox+set}" = set; then
8145 enableval
="$enable_bmpcombobox"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8150 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8155 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x
; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8166 eval "$ac_cv_use_bmpcombobox"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8171 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8184 # Check whether --enable-calendar or --disable-calendar was given.
8185 if test "${enable_calendar+set}" = set; then
8186 enableval
="$enable_calendar"
8188 if test "$enableval" = yes; then
8189 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8191 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8196 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x
; then
8198 eval "DEFAULT_$LINE"
8203 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8207 eval "$ac_cv_use_calendar"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8212 if test "$wxUSE_CALCTRL" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8225 # Check whether --enable-caret or --disable-caret was given.
8226 if test "${enable_caret+set}" = set; then
8227 enableval
="$enable_caret"
8229 if test "$enableval" = yes; then
8230 ac_cv_use_caret
='wxUSE_CARET=yes'
8232 ac_cv_use_caret
='wxUSE_CARET=no'
8237 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x
; then
8239 eval "DEFAULT_$LINE"
8244 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8248 eval "$ac_cv_use_caret"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8253 if test "$wxUSE_CARET" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8266 # Check whether --enable-checkbox or --disable-checkbox was given.
8267 if test "${enable_checkbox+set}" = set; then
8268 enableval
="$enable_checkbox"
8270 if test "$enableval" = yes; then
8271 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8273 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8278 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x
; then
8280 eval "DEFAULT_$LINE"
8285 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8289 eval "$ac_cv_use_checkbox"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8294 if test "$wxUSE_CHECKBOX" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8307 # Check whether --enable-checklst or --disable-checklst was given.
8308 if test "${enable_checklst+set}" = set; then
8309 enableval
="$enable_checklst"
8311 if test "$enableval" = yes; then
8312 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8314 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8319 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x
; then
8321 eval "DEFAULT_$LINE"
8326 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8330 eval "$ac_cv_use_checklst"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8335 if test "$wxUSE_CHECKLST" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8348 # Check whether --enable-choice or --disable-choice was given.
8349 if test "${enable_choice+set}" = set; then
8350 enableval
="$enable_choice"
8352 if test "$enableval" = yes; then
8353 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8355 ac_cv_use_choice
='wxUSE_CHOICE=no'
8360 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x
; then
8362 eval "DEFAULT_$LINE"
8367 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8371 eval "$ac_cv_use_choice"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8376 if test "$wxUSE_CHOICE" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8389 # Check whether --enable-choicebook or --disable-choicebook was given.
8390 if test "${enable_choicebook+set}" = set; then
8391 enableval
="$enable_choicebook"
8393 if test "$enableval" = yes; then
8394 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8396 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8401 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x
; then
8403 eval "DEFAULT_$LINE"
8408 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8412 eval "$ac_cv_use_choicebook"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8417 if test "$wxUSE_CHOICEBOOK" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8430 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8431 if test "${enable_colourpicker+set}" = set; then
8432 enableval
="$enable_colourpicker"
8434 if test "$enableval" = yes; then
8435 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8437 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8442 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x
; then
8444 eval "DEFAULT_$LINE"
8449 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8453 eval "$ac_cv_use_colourpicker"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8458 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8471 # Check whether --enable-combobox or --disable-combobox was given.
8472 if test "${enable_combobox+set}" = set; then
8473 enableval
="$enable_combobox"
8475 if test "$enableval" = yes; then
8476 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8478 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8483 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x
; then
8485 eval "DEFAULT_$LINE"
8490 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8494 eval "$ac_cv_use_combobox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8499 if test "$wxUSE_COMBOBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8512 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8513 if test "${enable_comboctrl+set}" = set; then
8514 enableval
="$enable_comboctrl"
8516 if test "$enableval" = yes; then
8517 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8519 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8524 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x
; then
8526 eval "DEFAULT_$LINE"
8531 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8535 eval "$ac_cv_use_comboctrl"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8540 if test "$wxUSE_COMBOCTRL" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8553 # Check whether --enable-datepick or --disable-datepick was given.
8554 if test "${enable_datepick+set}" = set; then
8555 enableval
="$enable_datepick"
8557 if test "$enableval" = yes; then
8558 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8560 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8565 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x
; then
8567 eval "DEFAULT_$LINE"
8572 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8576 eval "$ac_cv_use_datepick"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8581 if test "$wxUSE_DATEPICKCTRL" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8594 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8595 if test "${enable_dirpicker+set}" = set; then
8596 enableval
="$enable_dirpicker"
8598 if test "$enableval" = yes; then
8599 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8601 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8606 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x
; then
8608 eval "DEFAULT_$LINE"
8613 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8617 eval "$ac_cv_use_dirpicker"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8622 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8635 # Check whether --enable-display or --disable-display was given.
8636 if test "${enable_display+set}" = set; then
8637 enableval
="$enable_display"
8639 if test "$enableval" = yes; then
8640 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8642 ac_cv_use_display
='wxUSE_DISPLAY=no'
8647 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x
; then
8649 eval "DEFAULT_$LINE"
8654 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8658 eval "$ac_cv_use_display"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8663 if test "$wxUSE_DISPLAY" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8676 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8677 if test "${enable_detect_sm+set}" = set; then
8678 enableval
="$enable_detect_sm"
8680 if test "$enableval" = yes; then
8681 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8683 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8688 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x
; then
8690 eval "DEFAULT_$LINE"
8695 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8699 eval "$ac_cv_use_detect_sm"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8704 if test "$wxUSE_DETECT_SM" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8717 # Check whether --enable-filepicker or --disable-filepicker was given.
8718 if test "${enable_filepicker+set}" = set; then
8719 enableval
="$enable_filepicker"
8721 if test "$enableval" = yes; then
8722 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8724 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8729 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x
; then
8731 eval "DEFAULT_$LINE"
8736 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8740 eval "$ac_cv_use_filepicker"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8745 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8758 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8759 if test "${enable_fontpicker+set}" = set; then
8760 enableval
="$enable_fontpicker"
8762 if test "$enableval" = yes; then
8763 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8765 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8770 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x
; then
8772 eval "DEFAULT_$LINE"
8777 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8781 eval "$ac_cv_use_fontpicker"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8786 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8799 # Check whether --enable-gauge or --disable-gauge was given.
8800 if test "${enable_gauge+set}" = set; then
8801 enableval
="$enable_gauge"
8803 if test "$enableval" = yes; then
8804 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8806 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8811 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x
; then
8813 eval "DEFAULT_$LINE"
8818 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8822 eval "$ac_cv_use_gauge"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8827 if test "$wxUSE_GAUGE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8840 # Check whether --enable-grid or --disable-grid was given.
8841 if test "${enable_grid+set}" = set; then
8842 enableval
="$enable_grid"
8844 if test "$enableval" = yes; then
8845 ac_cv_use_grid
='wxUSE_GRID=yes'
8847 ac_cv_use_grid
='wxUSE_GRID=no'
8852 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x
; then
8854 eval "DEFAULT_$LINE"
8859 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8863 eval "$ac_cv_use_grid"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8868 if test "$wxUSE_GRID" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8881 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8882 if test "${enable_dataviewctrl+set}" = set; then
8883 enableval
="$enable_dataviewctrl"
8885 if test "$enableval" = yes; then
8886 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8888 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8893 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x
; then
8895 eval "DEFAULT_$LINE"
8900 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8904 eval "$ac_cv_use_dataviewctrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8909 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8922 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8923 if test "${enable_hyperlink+set}" = set; then
8924 enableval
="$enable_hyperlink"
8926 if test "$enableval" = yes; then
8927 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
8929 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
8934 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x
; then
8936 eval "DEFAULT_$LINE"
8941 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8945 eval "$ac_cv_use_hyperlink"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8950 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8963 # Check whether --enable-imaglist or --disable-imaglist was given.
8964 if test "${enable_imaglist+set}" = set; then
8965 enableval
="$enable_imaglist"
8967 if test "$enableval" = yes; then
8968 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
8970 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
8975 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x
; then
8977 eval "DEFAULT_$LINE"
8982 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8986 eval "$ac_cv_use_imaglist"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8991 if test "$wxUSE_IMAGLIST" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
9001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9002 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9004 # Check whether --enable-listbook or --disable-listbook was given.
9005 if test "${enable_listbook+set}" = set; then
9006 enableval
="$enable_listbook"
9008 if test "$enableval" = yes; then
9009 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9011 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9016 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9017 if test "x$LINE" != x
; then
9018 eval "DEFAULT_$LINE"
9023 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9027 eval "$ac_cv_use_listbook"
9028 if test "$no_cache" != 1; then
9029 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9032 if test "$wxUSE_LISTBOOK" = yes; then
9033 echo "$as_me:$LINENO: result: yes" >&5
9034 echo "${ECHO_T}yes" >&6
9036 echo "$as_me:$LINENO: result: no" >&5
9037 echo "${ECHO_T}no" >&6
9042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9043 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9045 # Check whether --enable-listbox or --disable-listbox was given.
9046 if test "${enable_listbox+set}" = set; then
9047 enableval
="$enable_listbox"
9049 if test "$enableval" = yes; then
9050 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9052 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9057 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9058 if test "x$LINE" != x
; then
9059 eval "DEFAULT_$LINE"
9064 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9068 eval "$ac_cv_use_listbox"
9069 if test "$no_cache" != 1; then
9070 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9073 if test "$wxUSE_LISTBOX" = yes; then
9074 echo "$as_me:$LINENO: result: yes" >&5
9075 echo "${ECHO_T}yes" >&6
9077 echo "$as_me:$LINENO: result: no" >&5
9078 echo "${ECHO_T}no" >&6
9083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9084 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9086 # Check whether --enable-listctrl or --disable-listctrl was given.
9087 if test "${enable_listctrl+set}" = set; then
9088 enableval
="$enable_listctrl"
9090 if test "$enableval" = yes; then
9091 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9093 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9098 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9099 if test "x$LINE" != x
; then
9100 eval "DEFAULT_$LINE"
9105 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9109 eval "$ac_cv_use_listctrl"
9110 if test "$no_cache" != 1; then
9111 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9114 if test "$wxUSE_LISTCTRL" = yes; then
9115 echo "$as_me:$LINENO: result: yes" >&5
9116 echo "${ECHO_T}yes" >&6
9118 echo "$as_me:$LINENO: result: no" >&5
9119 echo "${ECHO_T}no" >&6
9124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9127 # Check whether --enable-notebook or --disable-notebook was given.
9128 if test "${enable_notebook+set}" = set; then
9129 enableval
="$enable_notebook"
9131 if test "$enableval" = yes; then
9132 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9134 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9139 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9140 if test "x$LINE" != x
; then
9141 eval "DEFAULT_$LINE"
9146 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9150 eval "$ac_cv_use_notebook"
9151 if test "$no_cache" != 1; then
9152 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9155 if test "$wxUSE_NOTEBOOK" = yes; then
9156 echo "$as_me:$LINENO: result: yes" >&5
9157 echo "${ECHO_T}yes" >&6
9159 echo "$as_me:$LINENO: result: no" >&5
9160 echo "${ECHO_T}no" >&6
9165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9168 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9169 if test "${enable_odcombobox+set}" = set; then
9170 enableval
="$enable_odcombobox"
9172 if test "$enableval" = yes; then
9173 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9175 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9180 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9181 if test "x$LINE" != x
; then
9182 eval "DEFAULT_$LINE"
9187 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9191 eval "$ac_cv_use_odcombobox"
9192 if test "$no_cache" != 1; then
9193 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9196 if test "$wxUSE_ODCOMBOBOX" = yes; then
9197 echo "$as_me:$LINENO: result: yes" >&5
9198 echo "${ECHO_T}yes" >&6
9200 echo "$as_me:$LINENO: result: no" >&5
9201 echo "${ECHO_T}no" >&6
9206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9209 # Check whether --enable-radiobox or --disable-radiobox was given.
9210 if test "${enable_radiobox+set}" = set; then
9211 enableval
="$enable_radiobox"
9213 if test "$enableval" = yes; then
9214 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9216 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9221 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9222 if test "x$LINE" != x
; then
9223 eval "DEFAULT_$LINE"
9228 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9232 eval "$ac_cv_use_radiobox"
9233 if test "$no_cache" != 1; then
9234 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9237 if test "$wxUSE_RADIOBOX" = yes; then
9238 echo "$as_me:$LINENO: result: yes" >&5
9239 echo "${ECHO_T}yes" >&6
9241 echo "$as_me:$LINENO: result: no" >&5
9242 echo "${ECHO_T}no" >&6
9247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9250 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9251 if test "${enable_radiobtn+set}" = set; then
9252 enableval
="$enable_radiobtn"
9254 if test "$enableval" = yes; then
9255 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9257 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9262 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9263 if test "x$LINE" != x
; then
9264 eval "DEFAULT_$LINE"
9269 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9273 eval "$ac_cv_use_radiobtn"
9274 if test "$no_cache" != 1; then
9275 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9278 if test "$wxUSE_RADIOBTN" = yes; then
9279 echo "$as_me:$LINENO: result: yes" >&5
9280 echo "${ECHO_T}yes" >&6
9282 echo "$as_me:$LINENO: result: no" >&5
9283 echo "${ECHO_T}no" >&6
9288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9289 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9291 # Check whether --enable-sash or --disable-sash was given.
9292 if test "${enable_sash+set}" = set; then
9293 enableval
="$enable_sash"
9295 if test "$enableval" = yes; then
9296 ac_cv_use_sash
='wxUSE_SASH=yes'
9298 ac_cv_use_sash
='wxUSE_SASH=no'
9303 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9304 if test "x$LINE" != x
; then
9305 eval "DEFAULT_$LINE"
9310 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9314 eval "$ac_cv_use_sash"
9315 if test "$no_cache" != 1; then
9316 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9319 if test "$wxUSE_SASH" = yes; then
9320 echo "$as_me:$LINENO: result: yes" >&5
9321 echo "${ECHO_T}yes" >&6
9323 echo "$as_me:$LINENO: result: no" >&5
9324 echo "${ECHO_T}no" >&6
9329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9330 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9332 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9333 if test "${enable_scrollbar+set}" = set; then
9334 enableval
="$enable_scrollbar"
9336 if test "$enableval" = yes; then
9337 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9339 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9344 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9345 if test "x$LINE" != x
; then
9346 eval "DEFAULT_$LINE"
9351 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9355 eval "$ac_cv_use_scrollbar"
9356 if test "$no_cache" != 1; then
9357 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9360 if test "$wxUSE_SCROLLBAR" = yes; then
9361 echo "$as_me:$LINENO: result: yes" >&5
9362 echo "${ECHO_T}yes" >&6
9364 echo "$as_me:$LINENO: result: no" >&5
9365 echo "${ECHO_T}no" >&6
9370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9371 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9373 # Check whether --enable-slider or --disable-slider was given.
9374 if test "${enable_slider+set}" = set; then
9375 enableval
="$enable_slider"
9377 if test "$enableval" = yes; then
9378 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9380 ac_cv_use_slider
='wxUSE_SLIDER=no'
9385 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9386 if test "x$LINE" != x
; then
9387 eval "DEFAULT_$LINE"
9392 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9396 eval "$ac_cv_use_slider"
9397 if test "$no_cache" != 1; then
9398 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9401 if test "$wxUSE_SLIDER" = yes; then
9402 echo "$as_me:$LINENO: result: yes" >&5
9403 echo "${ECHO_T}yes" >&6
9405 echo "$as_me:$LINENO: result: no" >&5
9406 echo "${ECHO_T}no" >&6
9411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9412 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9414 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9415 if test "${enable_spinbtn+set}" = set; then
9416 enableval
="$enable_spinbtn"
9418 if test "$enableval" = yes; then
9419 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9421 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9426 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9427 if test "x$LINE" != x
; then
9428 eval "DEFAULT_$LINE"
9433 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9437 eval "$ac_cv_use_spinbtn"
9438 if test "$no_cache" != 1; then
9439 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9442 if test "$wxUSE_SPINBTN" = yes; then
9443 echo "$as_me:$LINENO: result: yes" >&5
9444 echo "${ECHO_T}yes" >&6
9446 echo "$as_me:$LINENO: result: no" >&5
9447 echo "${ECHO_T}no" >&6
9452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9453 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9455 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9456 if test "${enable_spinctrl+set}" = set; then
9457 enableval
="$enable_spinctrl"
9459 if test "$enableval" = yes; then
9460 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9462 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9467 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9468 if test "x$LINE" != x
; then
9469 eval "DEFAULT_$LINE"
9474 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9478 eval "$ac_cv_use_spinctrl"
9479 if test "$no_cache" != 1; then
9480 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9483 if test "$wxUSE_SPINCTRL" = yes; then
9484 echo "$as_me:$LINENO: result: yes" >&5
9485 echo "${ECHO_T}yes" >&6
9487 echo "$as_me:$LINENO: result: no" >&5
9488 echo "${ECHO_T}no" >&6
9493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9496 # Check whether --enable-splitter or --disable-splitter was given.
9497 if test "${enable_splitter+set}" = set; then
9498 enableval
="$enable_splitter"
9500 if test "$enableval" = yes; then
9501 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9503 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9508 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9509 if test "x$LINE" != x
; then
9510 eval "DEFAULT_$LINE"
9515 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9519 eval "$ac_cv_use_splitter"
9520 if test "$no_cache" != 1; then
9521 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9524 if test "$wxUSE_SPLITTER" = yes; then
9525 echo "$as_me:$LINENO: result: yes" >&5
9526 echo "${ECHO_T}yes" >&6
9528 echo "$as_me:$LINENO: result: no" >&5
9529 echo "${ECHO_T}no" >&6
9534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9535 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9537 # Check whether --enable-statbmp or --disable-statbmp was given.
9538 if test "${enable_statbmp+set}" = set; then
9539 enableval
="$enable_statbmp"
9541 if test "$enableval" = yes; then
9542 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9544 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9549 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9550 if test "x$LINE" != x
; then
9551 eval "DEFAULT_$LINE"
9556 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9560 eval "$ac_cv_use_statbmp"
9561 if test "$no_cache" != 1; then
9562 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9565 if test "$wxUSE_STATBMP" = yes; then
9566 echo "$as_me:$LINENO: result: yes" >&5
9567 echo "${ECHO_T}yes" >&6
9569 echo "$as_me:$LINENO: result: no" >&5
9570 echo "${ECHO_T}no" >&6
9575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9576 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9578 # Check whether --enable-statbox or --disable-statbox was given.
9579 if test "${enable_statbox+set}" = set; then
9580 enableval
="$enable_statbox"
9582 if test "$enableval" = yes; then
9583 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9585 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9590 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9591 if test "x$LINE" != x
; then
9592 eval "DEFAULT_$LINE"
9597 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9601 eval "$ac_cv_use_statbox"
9602 if test "$no_cache" != 1; then
9603 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9606 if test "$wxUSE_STATBOX" = yes; then
9607 echo "$as_me:$LINENO: result: yes" >&5
9608 echo "${ECHO_T}yes" >&6
9610 echo "$as_me:$LINENO: result: no" >&5
9611 echo "${ECHO_T}no" >&6
9616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9617 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9619 # Check whether --enable-statline or --disable-statline was given.
9620 if test "${enable_statline+set}" = set; then
9621 enableval
="$enable_statline"
9623 if test "$enableval" = yes; then
9624 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9626 ac_cv_use_statline
='wxUSE_STATLINE=no'
9631 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9632 if test "x$LINE" != x
; then
9633 eval "DEFAULT_$LINE"
9638 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9642 eval "$ac_cv_use_statline"
9643 if test "$no_cache" != 1; then
9644 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9647 if test "$wxUSE_STATLINE" = yes; then
9648 echo "$as_me:$LINENO: result: yes" >&5
9649 echo "${ECHO_T}yes" >&6
9651 echo "$as_me:$LINENO: result: no" >&5
9652 echo "${ECHO_T}no" >&6
9657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9660 # Check whether --enable-stattext or --disable-stattext was given.
9661 if test "${enable_stattext+set}" = set; then
9662 enableval
="$enable_stattext"
9664 if test "$enableval" = yes; then
9665 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9667 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9672 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9673 if test "x$LINE" != x
; then
9674 eval "DEFAULT_$LINE"
9679 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9683 eval "$ac_cv_use_stattext"
9684 if test "$no_cache" != 1; then
9685 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9688 if test "$wxUSE_STATTEXT" = yes; then
9689 echo "$as_me:$LINENO: result: yes" >&5
9690 echo "${ECHO_T}yes" >&6
9692 echo "$as_me:$LINENO: result: no" >&5
9693 echo "${ECHO_T}no" >&6
9698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9699 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9701 # Check whether --enable-statusbar or --disable-statusbar was given.
9702 if test "${enable_statusbar+set}" = set; then
9703 enableval
="$enable_statusbar"
9705 if test "$enableval" = yes; then
9706 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9708 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9713 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9714 if test "x$LINE" != x
; then
9715 eval "DEFAULT_$LINE"
9720 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9724 eval "$ac_cv_use_statusbar"
9725 if test "$no_cache" != 1; then
9726 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9729 if test "$wxUSE_STATUSBAR" = yes; then
9730 echo "$as_me:$LINENO: result: yes" >&5
9731 echo "${ECHO_T}yes" >&6
9733 echo "$as_me:$LINENO: result: no" >&5
9734 echo "${ECHO_T}no" >&6
9739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9740 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9742 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9743 if test "${enable_tabdialog+set}" = set; then
9744 enableval
="$enable_tabdialog"
9746 if test "$enableval" = yes; then
9747 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9749 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9754 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9755 if test "x$LINE" != x
; then
9756 eval "DEFAULT_$LINE"
9761 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9765 eval "$ac_cv_use_tabdialog"
9766 if test "$no_cache" != 1; then
9767 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9770 if test "$wxUSE_TAB_DIALOG" = yes; then
9771 echo "$as_me:$LINENO: result: yes" >&5
9772 echo "${ECHO_T}yes" >&6
9774 echo "$as_me:$LINENO: result: no" >&5
9775 echo "${ECHO_T}no" >&6
9780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9783 # Check whether --enable-textctrl or --disable-textctrl was given.
9784 if test "${enable_textctrl+set}" = set; then
9785 enableval
="$enable_textctrl"
9787 if test "$enableval" = yes; then
9788 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9790 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9795 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9796 if test "x$LINE" != x
; then
9797 eval "DEFAULT_$LINE"
9802 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9806 eval "$ac_cv_use_textctrl"
9807 if test "$no_cache" != 1; then
9808 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9811 if test "$wxUSE_TEXTCTRL" = yes; then
9812 echo "$as_me:$LINENO: result: yes" >&5
9813 echo "${ECHO_T}yes" >&6
9815 echo "$as_me:$LINENO: result: no" >&5
9816 echo "${ECHO_T}no" >&6
9821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9822 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9824 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9825 if test "${enable_togglebtn+set}" = set; then
9826 enableval
="$enable_togglebtn"
9828 if test "$enableval" = yes; then
9829 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9831 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9836 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9837 if test "x$LINE" != x
; then
9838 eval "DEFAULT_$LINE"
9843 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9847 eval "$ac_cv_use_togglebtn"
9848 if test "$no_cache" != 1; then
9849 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9852 if test "$wxUSE_TOGGLEBTN" = yes; then
9853 echo "$as_me:$LINENO: result: yes" >&5
9854 echo "${ECHO_T}yes" >&6
9856 echo "$as_me:$LINENO: result: no" >&5
9857 echo "${ECHO_T}no" >&6
9862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9863 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9865 # Check whether --enable-toolbar or --disable-toolbar was given.
9866 if test "${enable_toolbar+set}" = set; then
9867 enableval
="$enable_toolbar"
9869 if test "$enableval" = yes; then
9870 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9872 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9877 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9878 if test "x$LINE" != x
; then
9879 eval "DEFAULT_$LINE"
9884 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9888 eval "$ac_cv_use_toolbar"
9889 if test "$no_cache" != 1; then
9890 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9893 if test "$wxUSE_TOOLBAR" = yes; then
9894 echo "$as_me:$LINENO: result: yes" >&5
9895 echo "${ECHO_T}yes" >&6
9897 echo "$as_me:$LINENO: result: no" >&5
9898 echo "${ECHO_T}no" >&6
9903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9904 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9906 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9907 if test "${enable_tbarnative+set}" = set; then
9908 enableval
="$enable_tbarnative"
9910 if test "$enableval" = yes; then
9911 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
9913 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
9918 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9919 if test "x$LINE" != x
; then
9920 eval "DEFAULT_$LINE"
9925 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9929 eval "$ac_cv_use_tbarnative"
9930 if test "$no_cache" != 1; then
9931 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9934 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9935 echo "$as_me:$LINENO: result: yes" >&5
9936 echo "${ECHO_T}yes" >&6
9938 echo "$as_me:$LINENO: result: no" >&5
9939 echo "${ECHO_T}no" >&6
9944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9945 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9947 # Check whether --enable-treebook or --disable-treebook was given.
9948 if test "${enable_treebook+set}" = set; then
9949 enableval
="$enable_treebook"
9951 if test "$enableval" = yes; then
9952 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
9954 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
9959 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9960 if test "x$LINE" != x
; then
9961 eval "DEFAULT_$LINE"
9966 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9970 eval "$ac_cv_use_treebook"
9971 if test "$no_cache" != 1; then
9972 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9975 if test "$wxUSE_TREEBOOK" = yes; then
9976 echo "$as_me:$LINENO: result: yes" >&5
9977 echo "${ECHO_T}yes" >&6
9979 echo "$as_me:$LINENO: result: no" >&5
9980 echo "${ECHO_T}no" >&6
9985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9988 # Check whether --enable-toolbook or --disable-toolbook was given.
9989 if test "${enable_toolbook+set}" = set; then
9990 enableval
="$enable_toolbook"
9992 if test "$enableval" = yes; then
9993 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
9995 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10000 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10001 if test "x$LINE" != x
; then
10002 eval "DEFAULT_$LINE"
10007 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10011 eval "$ac_cv_use_toolbook"
10012 if test "$no_cache" != 1; then
10013 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10016 if test "$wxUSE_TOOLBOOK" = yes; then
10017 echo "$as_me:$LINENO: result: yes" >&5
10018 echo "${ECHO_T}yes" >&6
10020 echo "$as_me:$LINENO: result: no" >&5
10021 echo "${ECHO_T}no" >&6
10026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10029 # Check whether --enable-treectrl or --disable-treectrl was given.
10030 if test "${enable_treectrl+set}" = set; then
10031 enableval
="$enable_treectrl"
10033 if test "$enableval" = yes; then
10034 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10036 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10041 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10042 if test "x$LINE" != x
; then
10043 eval "DEFAULT_$LINE"
10048 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10052 eval "$ac_cv_use_treectrl"
10053 if test "$no_cache" != 1; then
10054 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10057 if test "$wxUSE_TREECTRL" = yes; then
10058 echo "$as_me:$LINENO: result: yes" >&5
10059 echo "${ECHO_T}yes" >&6
10061 echo "$as_me:$LINENO: result: no" >&5
10062 echo "${ECHO_T}no" >&6
10067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10070 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10071 if test "${enable_tipwindow+set}" = set; then
10072 enableval
="$enable_tipwindow"
10074 if test "$enableval" = yes; then
10075 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10077 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10082 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10083 if test "x$LINE" != x
; then
10084 eval "DEFAULT_$LINE"
10089 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10093 eval "$ac_cv_use_tipwindow"
10094 if test "$no_cache" != 1; then
10095 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10098 if test "$wxUSE_TIPWINDOW" = yes; then
10099 echo "$as_me:$LINENO: result: yes" >&5
10100 echo "${ECHO_T}yes" >&6
10102 echo "$as_me:$LINENO: result: no" >&5
10103 echo "${ECHO_T}no" >&6
10108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10111 # Check whether --enable-popupwin or --disable-popupwin was given.
10112 if test "${enable_popupwin+set}" = set; then
10113 enableval
="$enable_popupwin"
10115 if test "$enableval" = yes; then
10116 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10118 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10123 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x
; then
10125 eval "DEFAULT_$LINE"
10130 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10134 eval "$ac_cv_use_popupwin"
10135 if test "$no_cache" != 1; then
10136 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10139 if test "$wxUSE_POPUPWIN" = yes; then
10140 echo "$as_me:$LINENO: result: yes" >&5
10141 echo "${ECHO_T}yes" >&6
10143 echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6
10151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10154 # Check whether --enable-commondlg or --disable-commondlg was given.
10155 if test "${enable_commondlg+set}" = set; then
10156 enableval
="$enable_commondlg"
10158 if test "$enableval" = yes; then
10159 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10161 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10166 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10167 if test "x$LINE" != x
; then
10168 eval "DEFAULT_$LINE"
10173 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10177 eval "$ac_cv_use_commondlg"
10178 if test "$no_cache" != 1; then
10179 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10182 if test "$wxUSE_COMMONDLGS" = yes; then
10183 echo "$as_me:$LINENO: result: yes" >&5
10184 echo "${ECHO_T}yes" >&6
10186 echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6
10192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10195 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10196 if test "${enable_aboutdlg+set}" = set; then
10197 enableval
="$enable_aboutdlg"
10199 if test "$enableval" = yes; then
10200 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10202 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10207 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10208 if test "x$LINE" != x
; then
10209 eval "DEFAULT_$LINE"
10214 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10218 eval "$ac_cv_use_aboutdlg"
10219 if test "$no_cache" != 1; then
10220 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10223 if test "$wxUSE_ABOUTDLG" = yes; then
10224 echo "$as_me:$LINENO: result: yes" >&5
10225 echo "${ECHO_T}yes" >&6
10227 echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6
10233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10236 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10237 if test "${enable_choicedlg+set}" = set; then
10238 enableval
="$enable_choicedlg"
10240 if test "$enableval" = yes; then
10241 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10243 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10248 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10249 if test "x$LINE" != x
; then
10250 eval "DEFAULT_$LINE"
10255 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10259 eval "$ac_cv_use_choicedlg"
10260 if test "$no_cache" != 1; then
10261 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10264 if test "$wxUSE_CHOICEDLG" = yes; then
10265 echo "$as_me:$LINENO: result: yes" >&5
10266 echo "${ECHO_T}yes" >&6
10268 echo "$as_me:$LINENO: result: no" >&5
10269 echo "${ECHO_T}no" >&6
10274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10277 # Check whether --enable-coldlg or --disable-coldlg was given.
10278 if test "${enable_coldlg+set}" = set; then
10279 enableval
="$enable_coldlg"
10281 if test "$enableval" = yes; then
10282 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10284 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10289 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10290 if test "x$LINE" != x
; then
10291 eval "DEFAULT_$LINE"
10296 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10300 eval "$ac_cv_use_coldlg"
10301 if test "$no_cache" != 1; then
10302 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10305 if test "$wxUSE_COLOURDLG" = yes; then
10306 echo "$as_me:$LINENO: result: yes" >&5
10307 echo "${ECHO_T}yes" >&6
10309 echo "$as_me:$LINENO: result: no" >&5
10310 echo "${ECHO_T}no" >&6
10315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10318 # Check whether --enable-filedlg or --disable-filedlg was given.
10319 if test "${enable_filedlg+set}" = set; then
10320 enableval
="$enable_filedlg"
10322 if test "$enableval" = yes; then
10323 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10325 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10330 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10331 if test "x$LINE" != x
; then
10332 eval "DEFAULT_$LINE"
10337 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10341 eval "$ac_cv_use_filedlg"
10342 if test "$no_cache" != 1; then
10343 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10346 if test "$wxUSE_FILEDLG" = yes; then
10347 echo "$as_me:$LINENO: result: yes" >&5
10348 echo "${ECHO_T}yes" >&6
10350 echo "$as_me:$LINENO: result: no" >&5
10351 echo "${ECHO_T}no" >&6
10356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10359 # Check whether --enable-finddlg or --disable-finddlg was given.
10360 if test "${enable_finddlg+set}" = set; then
10361 enableval
="$enable_finddlg"
10363 if test "$enableval" = yes; then
10364 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10366 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10371 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10372 if test "x$LINE" != x
; then
10373 eval "DEFAULT_$LINE"
10378 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10382 eval "$ac_cv_use_finddlg"
10383 if test "$no_cache" != 1; then
10384 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10387 if test "$wxUSE_FINDREPLDLG" = yes; then
10388 echo "$as_me:$LINENO: result: yes" >&5
10389 echo "${ECHO_T}yes" >&6
10391 echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6
10397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10400 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10401 if test "${enable_fontdlg+set}" = set; then
10402 enableval
="$enable_fontdlg"
10404 if test "$enableval" = yes; then
10405 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10407 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10412 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10413 if test "x$LINE" != x
; then
10414 eval "DEFAULT_$LINE"
10419 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10423 eval "$ac_cv_use_fontdlg"
10424 if test "$no_cache" != 1; then
10425 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10428 if test "$wxUSE_FONTDLG" = yes; then
10429 echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6
10432 echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6
10438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10439 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10441 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10442 if test "${enable_dirdlg+set}" = set; then
10443 enableval
="$enable_dirdlg"
10445 if test "$enableval" = yes; then
10446 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10448 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10453 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10454 if test "x$LINE" != x
; then
10455 eval "DEFAULT_$LINE"
10460 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10464 eval "$ac_cv_use_dirdlg"
10465 if test "$no_cache" != 1; then
10466 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10469 if test "$wxUSE_DIRDLG" = yes; then
10470 echo "$as_me:$LINENO: result: yes" >&5
10471 echo "${ECHO_T}yes" >&6
10473 echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6
10479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10480 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10482 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10483 if test "${enable_msgdlg+set}" = set; then
10484 enableval
="$enable_msgdlg"
10486 if test "$enableval" = yes; then
10487 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10489 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10494 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10495 if test "x$LINE" != x
; then
10496 eval "DEFAULT_$LINE"
10501 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10505 eval "$ac_cv_use_msgdlg"
10506 if test "$no_cache" != 1; then
10507 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10510 if test "$wxUSE_MSGDLG" = yes; then
10511 echo "$as_me:$LINENO: result: yes" >&5
10512 echo "${ECHO_T}yes" >&6
10514 echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6
10520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10521 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10523 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10524 if test "${enable_numberdlg+set}" = set; then
10525 enableval
="$enable_numberdlg"
10527 if test "$enableval" = yes; then
10528 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10530 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10535 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10536 if test "x$LINE" != x
; then
10537 eval "DEFAULT_$LINE"
10542 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10546 eval "$ac_cv_use_numberdlg"
10547 if test "$no_cache" != 1; then
10548 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10551 if test "$wxUSE_NUMBERDLG" = yes; then
10552 echo "$as_me:$LINENO: result: yes" >&5
10553 echo "${ECHO_T}yes" >&6
10555 echo "$as_me:$LINENO: result: no" >&5
10556 echo "${ECHO_T}no" >&6
10561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10564 # Check whether --enable-splash or --disable-splash was given.
10565 if test "${enable_splash+set}" = set; then
10566 enableval
="$enable_splash"
10568 if test "$enableval" = yes; then
10569 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10571 ac_cv_use_splash
='wxUSE_SPLASH=no'
10576 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10577 if test "x$LINE" != x
; then
10578 eval "DEFAULT_$LINE"
10583 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10587 eval "$ac_cv_use_splash"
10588 if test "$no_cache" != 1; then
10589 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10592 if test "$wxUSE_SPLASH" = yes; then
10593 echo "$as_me:$LINENO: result: yes" >&5
10594 echo "${ECHO_T}yes" >&6
10596 echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6
10602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10605 # Check whether --enable-textdlg or --disable-textdlg was given.
10606 if test "${enable_textdlg+set}" = set; then
10607 enableval
="$enable_textdlg"
10609 if test "$enableval" = yes; then
10610 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10612 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10617 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10618 if test "x$LINE" != x
; then
10619 eval "DEFAULT_$LINE"
10624 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10628 eval "$ac_cv_use_textdlg"
10629 if test "$no_cache" != 1; then
10630 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10633 if test "$wxUSE_TEXTDLG" = yes; then
10634 echo "$as_me:$LINENO: result: yes" >&5
10635 echo "${ECHO_T}yes" >&6
10637 echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6
10643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10646 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10647 if test "${enable_tipdlg+set}" = set; then
10648 enableval
="$enable_tipdlg"
10650 if test "$enableval" = yes; then
10651 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10653 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10658 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10659 if test "x$LINE" != x
; then
10660 eval "DEFAULT_$LINE"
10665 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10669 eval "$ac_cv_use_tipdlg"
10670 if test "$no_cache" != 1; then
10671 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10674 if test "$wxUSE_STARTUP_TIPS" = yes; then
10675 echo "$as_me:$LINENO: result: yes" >&5
10676 echo "${ECHO_T}yes" >&6
10678 echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6
10684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10687 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10688 if test "${enable_progressdlg+set}" = set; then
10689 enableval
="$enable_progressdlg"
10691 if test "$enableval" = yes; then
10692 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10694 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10699 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10700 if test "x$LINE" != x
; then
10701 eval "DEFAULT_$LINE"
10706 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10710 eval "$ac_cv_use_progressdlg"
10711 if test "$no_cache" != 1; then
10712 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10715 if test "$wxUSE_PROGRESSDLG" = yes; then
10716 echo "$as_me:$LINENO: result: yes" >&5
10717 echo "${ECHO_T}yes" >&6
10719 echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6
10725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10728 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10729 if test "${enable_wizarddlg+set}" = set; then
10730 enableval
="$enable_wizarddlg"
10732 if test "$enableval" = yes; then
10733 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10735 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10740 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10741 if test "x$LINE" != x
; then
10742 eval "DEFAULT_$LINE"
10747 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10751 eval "$ac_cv_use_wizarddlg"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10756 if test "$wxUSE_WIZARDDLG" = yes; then
10757 echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6
10760 echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6
10768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10771 # Check whether --enable-menus or --disable-menus was given.
10772 if test "${enable_menus+set}" = set; then
10773 enableval
="$enable_menus"
10775 if test "$enableval" = yes; then
10776 ac_cv_use_menus
='wxUSE_MENUS=yes'
10778 ac_cv_use_menus
='wxUSE_MENUS=no'
10783 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10784 if test "x$LINE" != x
; then
10785 eval "DEFAULT_$LINE"
10790 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10794 eval "$ac_cv_use_menus"
10795 if test "$no_cache" != 1; then
10796 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10799 if test "$wxUSE_MENUS" = yes; then
10800 echo "$as_me:$LINENO: result: yes" >&5
10801 echo "${ECHO_T}yes" >&6
10803 echo "$as_me:$LINENO: result: no" >&5
10804 echo "${ECHO_T}no" >&6
10809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10812 # Check whether --enable-miniframe or --disable-miniframe was given.
10813 if test "${enable_miniframe+set}" = set; then
10814 enableval
="$enable_miniframe"
10816 if test "$enableval" = yes; then
10817 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10819 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10824 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10825 if test "x$LINE" != x
; then
10826 eval "DEFAULT_$LINE"
10831 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10835 eval "$ac_cv_use_miniframe"
10836 if test "$no_cache" != 1; then
10837 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10840 if test "$wxUSE_MINIFRAME" = yes; then
10841 echo "$as_me:$LINENO: result: yes" >&5
10842 echo "${ECHO_T}yes" >&6
10844 echo "$as_me:$LINENO: result: no" >&5
10845 echo "${ECHO_T}no" >&6
10850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10853 # Check whether --enable-tooltips or --disable-tooltips was given.
10854 if test "${enable_tooltips+set}" = set; then
10855 enableval
="$enable_tooltips"
10857 if test "$enableval" = yes; then
10858 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10860 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10865 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x
; then
10867 eval "DEFAULT_$LINE"
10872 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10876 eval "$ac_cv_use_tooltips"
10877 if test "$no_cache" != 1; then
10878 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10881 if test "$wxUSE_TOOLTIPS" = yes; then
10882 echo "$as_me:$LINENO: result: yes" >&5
10883 echo "${ECHO_T}yes" >&6
10885 echo "$as_me:$LINENO: result: no" >&5
10886 echo "${ECHO_T}no" >&6
10891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10894 # Check whether --enable-splines or --disable-splines was given.
10895 if test "${enable_splines+set}" = set; then
10896 enableval
="$enable_splines"
10898 if test "$enableval" = yes; then
10899 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10901 ac_cv_use_splines
='wxUSE_SPLINES=no'
10906 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10907 if test "x$LINE" != x
; then
10908 eval "DEFAULT_$LINE"
10913 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10917 eval "$ac_cv_use_splines"
10918 if test "$no_cache" != 1; then
10919 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10922 if test "$wxUSE_SPLINES" = yes; then
10923 echo "$as_me:$LINENO: result: yes" >&5
10924 echo "${ECHO_T}yes" >&6
10926 echo "$as_me:$LINENO: result: no" >&5
10927 echo "${ECHO_T}no" >&6
10932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10933 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10935 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10936 if test "${enable_mousewheel+set}" = set; then
10937 enableval
="$enable_mousewheel"
10939 if test "$enableval" = yes; then
10940 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
10942 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
10947 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10948 if test "x$LINE" != x
; then
10949 eval "DEFAULT_$LINE"
10954 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10958 eval "$ac_cv_use_mousewheel"
10959 if test "$no_cache" != 1; then
10960 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10963 if test "$wxUSE_MOUSEWHEEL" = yes; then
10964 echo "$as_me:$LINENO: result: yes" >&5
10965 echo "${ECHO_T}yes" >&6
10967 echo "$as_me:$LINENO: result: no" >&5
10968 echo "${ECHO_T}no" >&6
10973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10974 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10976 # Check whether --enable-validators or --disable-validators was given.
10977 if test "${enable_validators+set}" = set; then
10978 enableval
="$enable_validators"
10980 if test "$enableval" = yes; then
10981 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
10983 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
10988 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10989 if test "x$LINE" != x
; then
10990 eval "DEFAULT_$LINE"
10995 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10999 eval "$ac_cv_use_validators"
11000 if test "$no_cache" != 1; then
11001 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11004 if test "$wxUSE_VALIDATORS" = yes; then
11005 echo "$as_me:$LINENO: result: yes" >&5
11006 echo "${ECHO_T}yes" >&6
11008 echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6
11014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11017 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11018 if test "${enable_busyinfo+set}" = set; then
11019 enableval
="$enable_busyinfo"
11021 if test "$enableval" = yes; then
11022 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11024 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11029 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11030 if test "x$LINE" != x
; then
11031 eval "DEFAULT_$LINE"
11036 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11040 eval "$ac_cv_use_busyinfo"
11041 if test "$no_cache" != 1; then
11042 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11045 if test "$wxUSE_BUSYINFO" = yes; then
11046 echo "$as_me:$LINENO: result: yes" >&5
11047 echo "${ECHO_T}yes" >&6
11049 echo "$as_me:$LINENO: result: no" >&5
11050 echo "${ECHO_T}no" >&6
11055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11056 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11058 # Check whether --enable-joystick or --disable-joystick was given.
11059 if test "${enable_joystick+set}" = set; then
11060 enableval
="$enable_joystick"
11062 if test "$enableval" = yes; then
11063 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11065 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11070 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x
; then
11072 eval "DEFAULT_$LINE"
11077 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11081 eval "$ac_cv_use_joystick"
11082 if test "$no_cache" != 1; then
11083 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11086 if test "$wxUSE_JOYSTICK" = yes; then
11087 echo "$as_me:$LINENO: result: yes" >&5
11088 echo "${ECHO_T}yes" >&6
11090 echo "$as_me:$LINENO: result: no" >&5
11091 echo "${ECHO_T}no" >&6
11096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11097 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11099 # Check whether --enable-metafile or --disable-metafile was given.
11100 if test "${enable_metafile+set}" = set; then
11101 enableval
="$enable_metafile"
11103 if test "$enableval" = yes; then
11104 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11106 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11111 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11112 if test "x$LINE" != x
; then
11113 eval "DEFAULT_$LINE"
11118 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11122 eval "$ac_cv_use_metafile"
11123 if test "$no_cache" != 1; then
11124 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11127 if test "$wxUSE_METAFILE" = yes; then
11128 echo "$as_me:$LINENO: result: yes" >&5
11129 echo "${ECHO_T}yes" >&6
11131 echo "$as_me:$LINENO: result: no" >&5
11132 echo "${ECHO_T}no" >&6
11137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11138 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11140 # Check whether --enable-dragimage or --disable-dragimage was given.
11141 if test "${enable_dragimage+set}" = set; then
11142 enableval
="$enable_dragimage"
11144 if test "$enableval" = yes; then
11145 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11147 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11152 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11153 if test "x$LINE" != x
; then
11154 eval "DEFAULT_$LINE"
11159 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11163 eval "$ac_cv_use_dragimage"
11164 if test "$no_cache" != 1; then
11165 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11168 if test "$wxUSE_DRAGIMAGE" = yes; then
11169 echo "$as_me:$LINENO: result: yes" >&5
11170 echo "${ECHO_T}yes" >&6
11172 echo "$as_me:$LINENO: result: no" >&5
11173 echo "${ECHO_T}no" >&6
11178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11181 # Check whether --enable-accessibility or --disable-accessibility was given.
11182 if test "${enable_accessibility+set}" = set; then
11183 enableval
="$enable_accessibility"
11185 if test "$enableval" = yes; then
11186 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11188 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11193 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x
; then
11195 eval "DEFAULT_$LINE"
11200 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11204 eval "$ac_cv_use_accessibility"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11209 if test "$wxUSE_ACCESSIBILITY" = yes; then
11210 echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6
11213 echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6
11218 if test "$wxUSE_MSW" = "1"; then
11221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11222 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11224 # Check whether --enable-dccache or --disable-dccache was given.
11225 if test "${enable_dccache+set}" = set; then
11226 enableval
="$enable_dccache"
11228 if test "$enableval" = yes; then
11229 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11231 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11236 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x
; then
11238 eval "DEFAULT_$LINE"
11243 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11247 eval "$ac_cv_use_dccache"
11248 if test "$no_cache" != 1; then
11249 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11252 if test "$wxUSE_DC_CACHEING" = yes; then
11253 echo "$as_me:$LINENO: result: yes" >&5
11254 echo "${ECHO_T}yes" >&6
11256 echo "$as_me:$LINENO: result: no" >&5
11257 echo "${ECHO_T}no" >&6
11265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11266 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11268 # Check whether --enable-palette or --disable-palette was given.
11269 if test "${enable_palette+set}" = set; then
11270 enableval
="$enable_palette"
11272 if test "$enableval" = yes; then
11273 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11275 ac_cv_use_palette
='wxUSE_PALETTE=no'
11280 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11281 if test "x$LINE" != x
; then
11282 eval "DEFAULT_$LINE"
11287 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11291 eval "$ac_cv_use_palette"
11292 if test "$no_cache" != 1; then
11293 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11296 if test "$wxUSE_PALETTE" = yes; then
11297 echo "$as_me:$LINENO: result: yes" >&5
11298 echo "${ECHO_T}yes" >&6
11300 echo "$as_me:$LINENO: result: no" >&5
11301 echo "${ECHO_T}no" >&6
11306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11307 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11309 # Check whether --enable-image or --disable-image was given.
11310 if test "${enable_image+set}" = set; then
11311 enableval
="$enable_image"
11313 if test "$enableval" = yes; then
11314 ac_cv_use_image
='wxUSE_IMAGE=yes'
11316 ac_cv_use_image
='wxUSE_IMAGE=no'
11321 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11322 if test "x$LINE" != x
; then
11323 eval "DEFAULT_$LINE"
11328 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11332 eval "$ac_cv_use_image"
11333 if test "$no_cache" != 1; then
11334 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11337 if test "$wxUSE_IMAGE" = yes; then
11338 echo "$as_me:$LINENO: result: yes" >&5
11339 echo "${ECHO_T}yes" >&6
11341 echo "$as_me:$LINENO: result: no" >&5
11342 echo "${ECHO_T}no" >&6
11347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11348 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11350 # Check whether --enable-gif or --disable-gif was given.
11351 if test "${enable_gif+set}" = set; then
11352 enableval
="$enable_gif"
11354 if test "$enableval" = yes; then
11355 ac_cv_use_gif
='wxUSE_GIF=yes'
11357 ac_cv_use_gif
='wxUSE_GIF=no'
11362 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11363 if test "x$LINE" != x
; then
11364 eval "DEFAULT_$LINE"
11369 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11373 eval "$ac_cv_use_gif"
11374 if test "$no_cache" != 1; then
11375 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11378 if test "$wxUSE_GIF" = yes; then
11379 echo "$as_me:$LINENO: result: yes" >&5
11380 echo "${ECHO_T}yes" >&6
11382 echo "$as_me:$LINENO: result: no" >&5
11383 echo "${ECHO_T}no" >&6
11388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11389 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11391 # Check whether --enable-pcx or --disable-pcx was given.
11392 if test "${enable_pcx+set}" = set; then
11393 enableval
="$enable_pcx"
11395 if test "$enableval" = yes; then
11396 ac_cv_use_pcx
='wxUSE_PCX=yes'
11398 ac_cv_use_pcx
='wxUSE_PCX=no'
11403 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11404 if test "x$LINE" != x
; then
11405 eval "DEFAULT_$LINE"
11410 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11414 eval "$ac_cv_use_pcx"
11415 if test "$no_cache" != 1; then
11416 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11419 if test "$wxUSE_PCX" = yes; then
11420 echo "$as_me:$LINENO: result: yes" >&5
11421 echo "${ECHO_T}yes" >&6
11423 echo "$as_me:$LINENO: result: no" >&5
11424 echo "${ECHO_T}no" >&6
11429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11432 # Check whether --enable-iff or --disable-iff was given.
11433 if test "${enable_iff+set}" = set; then
11434 enableval
="$enable_iff"
11436 if test "$enableval" = yes; then
11437 ac_cv_use_iff
='wxUSE_IFF=yes'
11439 ac_cv_use_iff
='wxUSE_IFF=no'
11444 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11445 if test "x$LINE" != x
; then
11446 eval "DEFAULT_$LINE"
11451 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11455 eval "$ac_cv_use_iff"
11456 if test "$no_cache" != 1; then
11457 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11460 if test "$wxUSE_IFF" = yes; then
11461 echo "$as_me:$LINENO: result: yes" >&5
11462 echo "${ECHO_T}yes" >&6
11464 echo "$as_me:$LINENO: result: no" >&5
11465 echo "${ECHO_T}no" >&6
11470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11471 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11473 # Check whether --enable-pnm or --disable-pnm was given.
11474 if test "${enable_pnm+set}" = set; then
11475 enableval
="$enable_pnm"
11477 if test "$enableval" = yes; then
11478 ac_cv_use_pnm
='wxUSE_PNM=yes'
11480 ac_cv_use_pnm
='wxUSE_PNM=no'
11485 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11486 if test "x$LINE" != x
; then
11487 eval "DEFAULT_$LINE"
11492 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11496 eval "$ac_cv_use_pnm"
11497 if test "$no_cache" != 1; then
11498 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11501 if test "$wxUSE_PNM" = yes; then
11502 echo "$as_me:$LINENO: result: yes" >&5
11503 echo "${ECHO_T}yes" >&6
11505 echo "$as_me:$LINENO: result: no" >&5
11506 echo "${ECHO_T}no" >&6
11511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11514 # Check whether --enable-xpm or --disable-xpm was given.
11515 if test "${enable_xpm+set}" = set; then
11516 enableval
="$enable_xpm"
11518 if test "$enableval" = yes; then
11519 ac_cv_use_xpm
='wxUSE_XPM=yes'
11521 ac_cv_use_xpm
='wxUSE_XPM=no'
11526 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11527 if test "x$LINE" != x
; then
11528 eval "DEFAULT_$LINE"
11533 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11537 eval "$ac_cv_use_xpm"
11538 if test "$no_cache" != 1; then
11539 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11542 if test "$wxUSE_XPM" = yes; then
11543 echo "$as_me:$LINENO: result: yes" >&5
11544 echo "${ECHO_T}yes" >&6
11546 echo "$as_me:$LINENO: result: no" >&5
11547 echo "${ECHO_T}no" >&6
11552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11553 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11555 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11556 if test "${enable_ico_cur+set}" = set; then
11557 enableval
="$enable_ico_cur"
11559 if test "$enableval" = yes; then
11560 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11562 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11567 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11568 if test "x$LINE" != x
; then
11569 eval "DEFAULT_$LINE"
11574 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11578 eval "$ac_cv_use_ico_cur"
11579 if test "$no_cache" != 1; then
11580 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11583 if test "$wxUSE_ICO_CUR" = yes; then
11584 echo "$as_me:$LINENO: result: yes" >&5
11585 echo "${ECHO_T}yes" >&6
11587 echo "$as_me:$LINENO: result: no" >&5
11588 echo "${ECHO_T}no" >&6
11596 # Check whether --with-flavour or --without-flavour was given.
11597 if test "${with_flavour+set}" = set; then
11598 withval
="$with_flavour"
11599 WX_FLAVOUR
="$withval"
11605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11606 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11608 # Check whether --enable-official_build or --disable-official_build was given.
11609 if test "${enable_official_build+set}" = set; then
11610 enableval
="$enable_official_build"
11612 if test "$enableval" = yes; then
11613 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11615 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11620 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11621 if test "x$LINE" != x
; then
11622 eval "DEFAULT_$LINE"
11627 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11631 eval "$ac_cv_use_official_build"
11632 if test "$no_cache" != 1; then
11633 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11636 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11637 echo "$as_me:$LINENO: result: yes" >&5
11638 echo "${ECHO_T}yes" >&6
11640 echo "$as_me:$LINENO: result: no" >&5
11641 echo "${ECHO_T}no" >&6
11644 # Check whether --enable-vendor or --disable-vendor was given.
11645 if test "${enable_vendor+set}" = set; then
11646 enableval
="$enable_vendor"
11647 VENDOR
="$enableval"
11649 if test "x$VENDOR" = "x"; then
11656 echo "saving argument cache $wx_arg_cache_file"
11657 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11661 echo "$as_me:$LINENO: checking for toolkit" >&5
11662 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11664 # In Wine, we need to default to MSW, not GTK or MOTIF
11665 if test "$wxUSE_WINE" = "yes"; then
11666 DEFAULT_DEFAULT_wxUSE_GTK
=0
11667 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11668 DEFAULT_DEFAULT_wxUSE_MSW
=1
11673 if test "$wxUSE_GUI" = "yes"; then
11675 if test "$USE_BEOS" = 1; then
11676 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11677 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11678 { (exit 1); exit 1; }; }
11681 if test "$TOOLKIT_GIVEN" = 1; then
11682 for toolkit
in `echo $ALL_TOOLKITS`; do
11684 eval "value=\$${var}"
11685 if test "x$value" = "xno"; then
11687 elif test "x$value" != "x"; then
11691 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11692 eval "wx${toolkit}_VERSION=$value"
11696 for toolkit
in `echo $ALL_TOOLKITS`; do
11697 if test "$has_toolkit_in_cache" != 1; then
11698 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11700 var
=DEFAULT_wxUSE_
$toolkit
11702 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11703 if test "x$version" != "x"; then
11704 eval "wx${toolkit}_VERSION=$version"
11707 eval "wxUSE_$toolkit=\$${var}"
11711 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11712 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11713 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11716 *-pc-os2_emx | *-pc-os2-emx )
11717 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11720 case "$NUM_TOOLKITS" in
11724 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11725 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11726 { (exit 1); exit 1; }; }
11729 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11730 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11731 { (exit 1); exit 1; }; }
11734 # to be removed when --disable-gtk2 isn't needed
11735 if test "x$wxUSE_GTK2" = "xyes"; then
11737 elif test "x$wxUSE_GTK2" = "xno"; then
11741 for toolkit
in `echo $ALL_TOOLKITS`; do
11743 eval "value=\$${var}"
11744 if test "x$value" != x
; then
11745 cache_var
=CACHE_
$toolkit
11746 eval "cache=\$${cache_var}"
11747 if test "$cache" = 1; then
11748 echo "$var=$value" >> ${wx_arg_cache_file}
11749 eval "version=\$wx${toolkit}_VERSION"
11750 if test "x$version" != "x"; then
11751 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11754 if test "$value" = 1; then
11755 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11756 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11757 echo "${ECHO_T}$toolkit_echo" >&6
11762 if test "x$host_alias" != "x"; then
11763 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11764 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11766 echo "$as_me:$LINENO: result: base only" >&5
11767 echo "${ECHO_T}base only" >&6
11772 doesnt_want_win32
=0
11775 if test "$wxUSE_MSW" = 1 ; then
11777 BAKEFILE_FORCE_PLATFORM
=win32
11779 doesnt_want_win32
=1
11787 if test "$wxUSE_WINE" = "yes"; then
11791 LDFLAGS_GUI
="-mwindows"
11794 if test "$wants_win32" = 1 ; then
11797 cat >>confdefs.h
<<\_ACEOF
11798 #define __WIN32__ 1
11801 cat >>confdefs.h
<<\_ACEOF
11802 #define __WIN95__ 1
11805 cat >>confdefs.h
<<\_ACEOF
11806 #define __WINDOWS__ 1
11809 cat >>confdefs.h
<<\_ACEOF
11810 #define __GNUWIN32__ 1
11813 cat >>confdefs.h
<<\_ACEOF
11817 cat >>confdefs.h
<<\_ACEOF
11818 #define WINVER 0x0400
11822 if test "$doesnt_want_win32" = 1 ; then
11827 if test "$USE_UNIX" = 1 ; then
11829 cat >>confdefs.h
<<\_ACEOF
11836 cat >confcache
<<\_ACEOF
11837 # This file is a shell script that caches the results of configure
11838 # tests run on this system so they can be shared between configure
11839 # scripts and configure runs, see configure's option --config-cache.
11840 # It is not useful on other systems. If it contains results you don't
11841 # want to keep, you may remove or edit it.
11843 # config.status only pays attention to the cache file if you give it
11844 # the --recheck option to rerun configure.
11846 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11847 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11848 # following values.
11852 # The following way of writing the cache mishandles newlines in values,
11853 # but we know of no workaround that is simple, portable, and efficient.
11854 # So, don't put newlines in cache variables' values.
11855 # Ultrix sh set writes to stderr and can't be redirected directly,
11856 # and sets the high bit in the cache file unless we assign to the vars.
11859 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11861 # `set' does not quote correctly, so add quotes (double-quote
11862 # substitution turns \\\\ into \\, and sed turns \\ into \).
11865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11868 # `set' quotes correctly as required by POSIX, so do not add quotes.
11870 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11877 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11879 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11881 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11882 if test -w $cache_file; then
11883 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11884 cat confcache
>$cache_file
11886 echo "not updating unwritable cache $cache_file"
11896 ac_cpp
='$CPP $CPPFLAGS'
11897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11900 if test -n "$ac_tool_prefix"; then
11901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11902 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11903 echo "$as_me:$LINENO: checking for $ac_word" >&5
11904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11905 if test "${ac_cv_prog_CC+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 if test -n "$CC"; then
11909 ac_cv_prog_CC
="$CC" # Let the user override the test.
11911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11912 for as_dir
in $PATH
11915 test -z "$as_dir" && as_dir
=.
11916 for ac_exec_ext
in '' $ac_executable_extensions; do
11917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11918 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11928 if test -n "$CC"; then
11929 echo "$as_me:$LINENO: result: $CC" >&5
11930 echo "${ECHO_T}$CC" >&6
11932 echo "$as_me:$LINENO: result: no" >&5
11933 echo "${ECHO_T}no" >&6
11937 if test -z "$ac_cv_prog_CC"; then
11939 # Extract the first word of "gcc", so it can be a program name with args.
11940 set dummy gcc
; ac_word
=$2
11941 echo "$as_me:$LINENO: checking for $ac_word" >&5
11942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11943 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 if test -n "$ac_ct_CC"; then
11947 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11950 for as_dir
in $PATH
11953 test -z "$as_dir" && as_dir
=.
11954 for ac_exec_ext
in '' $ac_executable_extensions; do
11955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_prog_ac_ct_CC
="gcc"
11957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11965 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11966 if test -n "$ac_ct_CC"; then
11967 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11968 echo "${ECHO_T}$ac_ct_CC" >&6
11970 echo "$as_me:$LINENO: result: no" >&5
11971 echo "${ECHO_T}no" >&6
11976 CC
="$ac_cv_prog_CC"
11979 if test -z "$CC"; then
11980 if test -n "$ac_tool_prefix"; then
11981 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11982 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11983 echo "$as_me:$LINENO: checking for $ac_word" >&5
11984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11985 if test "${ac_cv_prog_CC+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 if test -n "$CC"; then
11989 ac_cv_prog_CC
="$CC" # Let the user override the test.
11991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11992 for as_dir
in $PATH
11995 test -z "$as_dir" && as_dir
=.
11996 for ac_exec_ext
in '' $ac_executable_extensions; do
11997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11998 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12008 if test -n "$CC"; then
12009 echo "$as_me:$LINENO: result: $CC" >&5
12010 echo "${ECHO_T}$CC" >&6
12012 echo "$as_me:$LINENO: result: no" >&5
12013 echo "${ECHO_T}no" >&6
12017 if test -z "$ac_cv_prog_CC"; then
12019 # Extract the first word of "cc", so it can be a program name with args.
12020 set dummy cc
; ac_word
=$2
12021 echo "$as_me:$LINENO: checking for $ac_word" >&5
12022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 if test -n "$ac_ct_CC"; then
12027 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12030 for as_dir
in $PATH
12033 test -z "$as_dir" && as_dir
=.
12034 for ac_exec_ext
in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 ac_cv_prog_ac_ct_CC
="cc"
12037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12045 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12046 if test -n "$ac_ct_CC"; then
12047 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12048 echo "${ECHO_T}$ac_ct_CC" >&6
12050 echo "$as_me:$LINENO: result: no" >&5
12051 echo "${ECHO_T}no" >&6
12056 CC
="$ac_cv_prog_CC"
12060 if test -z "$CC"; then
12061 # Extract the first word of "cc", so it can be a program name with args.
12062 set dummy cc
; ac_word
=$2
12063 echo "$as_me:$LINENO: checking for $ac_word" >&5
12064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12065 if test "${ac_cv_prog_CC+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 if test -n "$CC"; then
12069 ac_cv_prog_CC
="$CC" # Let the user override the test.
12071 ac_prog_rejected
=no
12072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12073 for as_dir
in $PATH
12076 test -z "$as_dir" && as_dir
=.
12077 for ac_exec_ext
in '' $ac_executable_extensions; do
12078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12079 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12080 ac_prog_rejected
=yes
12084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12090 if test $ac_prog_rejected = yes; then
12091 # We found a bogon in the path, so make sure we never use it.
12092 set dummy
$ac_cv_prog_CC
12094 if test $# != 0; then
12095 # We chose a different compiler from the bogus one.
12096 # However, it has the same basename, so the bogon will be chosen
12097 # first if we set CC to just the basename; use the full file name.
12099 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12105 if test -n "$CC"; then
12106 echo "$as_me:$LINENO: result: $CC" >&5
12107 echo "${ECHO_T}$CC" >&6
12109 echo "$as_me:$LINENO: result: no" >&5
12110 echo "${ECHO_T}no" >&6
12114 if test -z "$CC"; then
12115 if test -n "$ac_tool_prefix"; then
12118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12119 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12120 echo "$as_me:$LINENO: checking for $ac_word" >&5
12121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12122 if test "${ac_cv_prog_CC+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 if test -n "$CC"; then
12126 ac_cv_prog_CC
="$CC" # Let the user override the test.
12128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12129 for as_dir
in $PATH
12132 test -z "$as_dir" && as_dir
=.
12133 for ac_exec_ext
in '' $ac_executable_extensions; do
12134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12135 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12145 if test -n "$CC"; then
12146 echo "$as_me:$LINENO: result: $CC" >&5
12147 echo "${ECHO_T}$CC" >&6
12149 echo "$as_me:$LINENO: result: no" >&5
12150 echo "${ECHO_T}no" >&6
12153 test -n "$CC" && break
12156 if test -z "$CC"; then
12160 # Extract the first word of "$ac_prog", so it can be a program name with args.
12161 set dummy
$ac_prog; ac_word
=$2
12162 echo "$as_me:$LINENO: checking for $ac_word" >&5
12163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12167 if test -n "$ac_ct_CC"; then
12168 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12171 for as_dir
in $PATH
12174 test -z "$as_dir" && as_dir
=.
12175 for ac_exec_ext
in '' $ac_executable_extensions; do
12176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12177 ac_cv_prog_ac_ct_CC
="$ac_prog"
12178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12186 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12187 if test -n "$ac_ct_CC"; then
12188 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12189 echo "${ECHO_T}$ac_ct_CC" >&6
12191 echo "$as_me:$LINENO: result: no" >&5
12192 echo "${ECHO_T}no" >&6
12195 test -n "$ac_ct_CC" && break
12204 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12205 See \`config.log' for more details." >&5
12206 echo "$as_me: error: no acceptable C compiler found in \$PATH
12207 See \`config.log' for more details." >&2;}
12208 { (exit 1); exit 1; }; }
12210 # Provide some information about the compiler.
12211 echo "$as_me:$LINENO:" \
12212 "checking for C compiler version" >&5
12213 ac_compiler
=`set X $ac_compile; echo $2`
12214 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12215 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); }
12219 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12220 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }
12224 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12225 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }
12230 cat >conftest.
$ac_ext <<_ACEOF
12233 cat confdefs.h
>>conftest.
$ac_ext
12234 cat >>conftest.
$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12245 ac_clean_files_save
=$ac_clean_files
12246 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12247 # Try to create an executable without -o first, disregard a.out.
12248 # It will help us diagnose broken compilers, and finding out an intuition
12250 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12251 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12252 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12253 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12254 (eval $ac_link_default) 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; then
12258 # Find the output, starting from the most likely. This scheme is
12259 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12262 # Be careful to initialize this variable, since it used to be cached.
12263 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12265 # b.out is created by i960 compilers.
12266 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12268 test -f "$ac_file" || continue
12270 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12273 # This is the source file.
12276 # We found the default executable, but exeext='' is most
12280 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12281 # FIXME: I believe we export ac_cv_exeext for Libtool,
12282 # but it would be cool to find out if it's true. Does anybody
12283 # maintain Libtool? --akim.
12284 export ac_cv_exeext
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.
$ac_ext >&5
12294 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12295 See \`config.log' for more details." >&5
12296 echo "$as_me: error: C compiler cannot create executables
12297 See \`config.log' for more details." >&2;}
12298 { (exit 77); exit 77; }; }
12301 ac_exeext
=$ac_cv_exeext
12302 echo "$as_me:$LINENO: result: $ac_file" >&5
12303 echo "${ECHO_T}$ac_file" >&6
12305 # Check the compiler produces executables we can run. If not, either
12306 # the compiler is broken, or we cross compile.
12307 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12308 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12309 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12310 # If not cross compiling, check that we can run a simple program.
12311 if test "$cross_compiling" != yes; then
12312 if { ac_try
='./$ac_file'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12320 if test "$cross_compiling" = maybe
; then
12321 cross_compiling
=yes
12323 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12324 If you meant to cross compile, use \`--host'.
12325 See \`config.log' for more details." >&5
12326 echo "$as_me: error: cannot run C compiled programs.
12327 If you meant to cross compile, use \`--host'.
12328 See \`config.log' for more details." >&2;}
12329 { (exit 1); exit 1; }; }
12333 echo "$as_me:$LINENO: result: yes" >&5
12334 echo "${ECHO_T}yes" >&6
12336 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12337 ac_clean_files
=$ac_clean_files_save
12338 # Check the compiler produces executables we can run. If not, either
12339 # the compiler is broken, or we cross compile.
12340 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12341 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12342 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12343 echo "${ECHO_T}$cross_compiling" >&6
12345 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12346 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12348 (eval $ac_link) 2>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; then
12352 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12353 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12354 # work properly (i.e., refer to `conftest.exe'), while it won't with
12356 for ac_file
in conftest.exe conftest conftest.
*; do
12357 test -f "$ac_file" || continue
12359 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12360 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12361 export ac_cv_exeext
12367 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12368 See \`config.log' for more details." >&5
12369 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12370 See \`config.log' for more details." >&2;}
12371 { (exit 1); exit 1; }; }
12374 rm -f conftest
$ac_cv_exeext
12375 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12376 echo "${ECHO_T}$ac_cv_exeext" >&6
12378 rm -f conftest.
$ac_ext
12379 EXEEXT
=$ac_cv_exeext
12381 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12382 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12383 if test "${ac_cv_objext+set}" = set; then
12384 echo $ECHO_N "(cached) $ECHO_C" >&6
12386 cat >conftest.
$ac_ext <<_ACEOF
12389 cat confdefs.h
>>conftest.
$ac_ext
12390 cat >>conftest.
$ac_ext <<_ACEOF
12391 /* end confdefs.h. */
12401 rm -f conftest.o conftest.obj
12402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12403 (eval $ac_compile) 2>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; then
12407 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12409 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12410 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12415 echo "$as_me: failed program was:" >&5
12416 sed 's/^/| /' conftest.
$ac_ext >&5
12418 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12419 See \`config.log' for more details." >&5
12420 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12421 See \`config.log' for more details." >&2;}
12422 { (exit 1); exit 1; }; }
12425 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12427 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12428 echo "${ECHO_T}$ac_cv_objext" >&6
12429 OBJEXT
=$ac_cv_objext
12431 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12432 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12433 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12434 echo $ECHO_N "(cached) $ECHO_C" >&6
12436 cat >conftest.
$ac_ext <<_ACEOF
12439 cat confdefs.h
>>conftest.
$ac_ext
12440 cat >>conftest.
$ac_ext <<_ACEOF
12441 /* end confdefs.h. */
12454 rm -f conftest.
$ac_objext
12455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12456 (eval $ac_compile) 2>conftest.er1
12458 grep -v '^ *+' conftest.er1
>conftest.err
12460 cat conftest.err
>&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); } &&
12463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 (eval $ac_try) 2>&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); }; } &&
12469 { ac_try
='test -s conftest.$ac_objext'
12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); }; }; then
12475 ac_compiler_gnu
=yes
12477 echo "$as_me: failed program was:" >&5
12478 sed 's/^/| /' conftest.
$ac_ext >&5
12482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12483 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12486 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12487 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12488 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12489 ac_test_CFLAGS
=${CFLAGS+set}
12490 ac_save_CFLAGS
=$CFLAGS
12492 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12493 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12494 if test "${ac_cv_prog_cc_g+set}" = set; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 cat >conftest.
$ac_ext <<_ACEOF
12500 cat confdefs.h
>>conftest.
$ac_ext
12501 cat >>conftest.
$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12512 rm -f conftest.
$ac_objext
12513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12514 (eval $ac_compile) 2>conftest.er1
12516 grep -v '^ *+' conftest.er1
>conftest.err
12518 cat conftest.err
>&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); } &&
12521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); }; } &&
12527 { ac_try
='test -s conftest.$ac_objext'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; }; then
12533 ac_cv_prog_cc_g
=yes
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.
$ac_ext >&5
12540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12542 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12543 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12544 if test "$ac_test_CFLAGS" = set; then
12545 CFLAGS
=$ac_save_CFLAGS
12546 elif test $ac_cv_prog_cc_g = yes; then
12547 if test "$GCC" = yes; then
12553 if test "$GCC" = yes; then
12559 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12560 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12561 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12562 echo $ECHO_N "(cached) $ECHO_C" >&6
12564 ac_cv_prog_cc_stdc
=no
12566 cat >conftest.
$ac_ext <<_ACEOF
12569 cat confdefs.h
>>conftest.
$ac_ext
12570 cat >>conftest.
$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572 #include <stdarg.h>
12574 #include <sys/types.h>
12575 #include <sys/stat.h>
12576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12577 struct buf { int x; };
12578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12579 static char *e (p, i)
12585 static char *f (char * (*g) (char **, int), char **p, ...)
12590 s = g (p, va_arg (v,int));
12595 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12596 function prototypes and stuff, but not '\xHH' hex character constants.
12597 These don't provoke an error unfortunately, instead are silently treated
12598 as 'x'. The following induces an error, until -std1 is added to get
12599 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12600 array size at least. It's necessary to write '\x00'==0 to get something
12601 that's true only with -std1. */
12602 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12604 int test (int i, double x);
12605 struct s1 {int (*f) (int a);};
12606 struct s2 {int (*f) (double a);};
12607 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12613 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12618 # Don't try gcc -ansi; that turns off useful extensions and
12619 # breaks some systems' header files.
12620 # AIX -qlanglvl=ansi
12621 # Ultrix and OSF/1 -std1
12622 # HP-UX 10.20 and later -Ae
12623 # HP-UX older versions -Aa -D_HPUX_SOURCE
12624 # SVR4 -Xc -D__EXTENSIONS__
12625 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12627 CC
="$ac_save_CC $ac_arg"
12628 rm -f conftest.
$ac_objext
12629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12630 (eval $ac_compile) 2>conftest.er1
12632 grep -v '^ *+' conftest.er1
>conftest.err
12634 cat conftest.err
>&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); } &&
12637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; } &&
12643 { ac_try
='test -s conftest.$ac_objext'
12644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12645 (eval $ac_try) 2>&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); }; }; then
12649 ac_cv_prog_cc_stdc
=$ac_arg
12652 echo "$as_me: failed program was:" >&5
12653 sed 's/^/| /' conftest.
$ac_ext >&5
12656 rm -f conftest.err conftest.
$ac_objext
12658 rm -f conftest.
$ac_ext conftest.
$ac_objext
12663 case "x$ac_cv_prog_cc_stdc" in
12665 echo "$as_me:$LINENO: result: none needed" >&5
12666 echo "${ECHO_T}none needed" >&6 ;;
12668 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12669 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12670 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12673 # Some people use a C++ compiler to compile C. Since we use `exit',
12674 # in C++ we need to declare it. In case someone uses the same compiler
12675 # for both compiling C and C++ we need to have the C++ compiler decide
12676 # the declaration of exit, since it's the most demanding environment.
12677 cat >conftest.
$ac_ext <<_ACEOF
12678 #ifndef __cplusplus
12682 rm -f conftest.
$ac_objext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12684 (eval $ac_compile) 2>conftest.er1
12686 grep -v '^ *+' conftest.er1
>conftest.err
12688 cat conftest.err
>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try
='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 for ac_declaration
in \
12705 'extern "C" void std::exit (int) throw (); using std::exit;' \
12706 'extern "C" void std::exit (int); using std::exit;' \
12707 'extern "C" void exit (int) throw ();' \
12708 'extern "C" void exit (int);' \
12711 cat >conftest.
$ac_ext <<_ACEOF
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12718 #include <stdlib.h>
12727 rm -f conftest.
$ac_objext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12729 (eval $ac_compile) 2>conftest.er1
12731 grep -v '^ *+' conftest.er1
>conftest.err
12733 cat conftest.err
>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } &&
12736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; } &&
12742 { ac_try
='test -s conftest.$ac_objext'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; }; then
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.
$ac_ext >&5
12755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12756 cat >conftest.
$ac_ext <<_ACEOF
12759 cat confdefs.h
>>conftest.
$ac_ext
12760 cat >>conftest.
$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12771 rm -f conftest.
$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try
='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12801 if test -n "$ac_declaration"; then
12802 echo '#ifdef __cplusplus' >>confdefs.h
12803 echo $ac_declaration >>confdefs.h
12804 echo '#endif' >>confdefs.h
12808 echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.
$ac_ext >&5
12812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12814 ac_cpp
='$CPP $CPPFLAGS'
12815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12822 ac_cpp
='$CPP $CPPFLAGS'
12823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12827 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12828 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12829 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12832 cat >conftest.
$ac_ext <<_ACEOF
12835 cat confdefs.h
>>conftest.
$ac_ext
12836 cat >>conftest.
$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12843 #ifndef __INTEL_COMPILER
12851 rm -f conftest.
$ac_objext
12852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12853 (eval $ac_compile) 2>conftest.er1
12855 grep -v '^ *+' conftest.er1
>conftest.err
12857 cat conftest.err
>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } &&
12860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; } &&
12866 { ac_try
='test -s conftest.$ac_objext'
12867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12868 (eval $ac_try) 2>&5
12870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); }; }; then
12872 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12874 echo "$as_me: failed program was:" >&5
12875 sed 's/^/| /' conftest.
$ac_ext >&5
12877 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12884 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12885 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12887 ac_cpp
='$CPP $CPPFLAGS'
12888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12892 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12899 if test "x$GCC" != "xyes"; then
12900 if test "xCC" = "xC"; then
12901 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12902 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12903 if test "${bakefile_cv_c_exto+set}" = set; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 cat >conftest.
$ac_ext <<_ACEOF
12909 cat confdefs.h
>>conftest.
$ac_ext
12910 cat >>conftest.
$ac_ext <<_ACEOF
12911 /* end confdefs.h. */
12921 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12923 (eval $ac_compile) 2>&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); }; then
12927 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12929 conftest.
$ac_ext.o
)
12930 bakefile_cv_c_exto
="-ext o"
12937 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12938 See \`config.log' for more details." >&5
12939 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12940 See \`config.log' for more details." >&2;}
12941 { (exit 1); exit 1; }; }
12945 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12948 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12949 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12950 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12951 if test "c" = "c"; then
12952 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12954 if test "c" = "cxx"; then
12955 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12959 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12960 unset ac_cv_prog_cc_g
12961 ac_test_CFLAGS
=${CFLAGS+set}
12962 ac_save_CFLAGS
=$CFLAGS
12964 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12965 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12966 if test "${ac_cv_prog_cc_g+set}" = set; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12969 cat >conftest.
$ac_ext <<_ACEOF
12972 cat confdefs.h
>>conftest.
$ac_ext
12973 cat >>conftest.
$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12984 rm -f conftest.
$ac_objext
12985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12986 (eval $ac_compile) 2>conftest.er1
12988 grep -v '^ *+' conftest.er1
>conftest.err
12990 cat conftest.err
>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } &&
12993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; } &&
12999 { ac_try
='test -s conftest.$ac_objext'
13000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13001 (eval $ac_try) 2>&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); }; }; then
13005 ac_cv_prog_cc_g
=yes
13007 echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.
$ac_ext >&5
13012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13014 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13015 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13016 if test "$ac_test_CFLAGS" = set; then
13017 CFLAGS
=$ac_save_CFLAGS
13018 elif test $ac_cv_prog_cc_g = yes; then
13019 if test "$GCC" = yes; then
13025 if test "$GCC" = yes; then
13037 ac_cpp
='$CPP $CPPFLAGS'
13038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13042 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13043 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13044 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6
13047 cat >conftest.
$ac_ext <<_ACEOF
13050 cat confdefs.h
>>conftest.
$ac_ext
13051 cat >>conftest.
$ac_ext <<_ACEOF
13052 /* end confdefs.h. */
13065 rm -f conftest.
$ac_objext
13066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13067 (eval $ac_compile) 2>conftest.er1
13069 grep -v '^ *+' conftest.er1
>conftest.err
13071 cat conftest.err
>&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); } &&
13074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076 (eval $ac_try) 2>&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; } &&
13080 { ac_try
='test -s conftest.$ac_objext'
13081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13082 (eval $ac_try) 2>&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }; }; then
13086 bakefile_compiler_xlc
=yes
13088 echo "$as_me: failed program was:" >&5
13089 sed 's/^/| /' conftest.
$ac_ext >&5
13091 bakefile_compiler_xlc
=no
13093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13094 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13097 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13098 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13100 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13102 ac_cpp
='$CPP $CPPFLAGS'
13103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13112 ac_cpp
='$CPP $CPPFLAGS'
13113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13117 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13118 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13119 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13120 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 cat >conftest.
$ac_ext <<_ACEOF
13125 cat confdefs.h
>>conftest.
$ac_ext
13126 cat >>conftest.
$ac_ext <<_ACEOF
13127 /* end confdefs.h. */
13140 rm -f conftest.
$ac_objext
13141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13142 (eval $ac_compile) 2>conftest.er1
13144 grep -v '^ *+' conftest.er1
>conftest.err
13146 cat conftest.err
>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } &&
13149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; } &&
13155 { ac_try
='test -s conftest.$ac_objext'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; }; then
13161 bakefile_compiler_mwerks
=yes
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.
$ac_ext >&5
13166 bakefile_compiler_mwerks
=no
13168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13169 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13172 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13173 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13175 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13177 ac_cpp
='$CPP $CPPFLAGS'
13178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13184 ac_cpp
='$CPP $CPPFLAGS'
13185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13189 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13212 rm -f conftest.
$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13216 grep -v '^ *+' conftest.er1
>conftest.err
13218 cat conftest.err
>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try
='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_xlc
=yes
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.
$ac_ext >&5
13238 bakefile_compiler_xlc
=no
13240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13241 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13247 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13249 ac_cpp
='$CPP $CPPFLAGS'
13250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13261 ac_cpp
='$CPP $CPPFLAGS'
13262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13266 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13267 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13268 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13271 cat >conftest.
$ac_ext <<_ACEOF
13274 cat confdefs.h
>>conftest.
$ac_ext
13275 cat >>conftest.
$ac_ext <<_ACEOF
13276 /* end confdefs.h. */
13282 #ifndef _SGI_COMPILER_VERSION
13290 rm -f conftest.
$ac_objext
13291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13292 (eval $ac_compile) 2>conftest.er1
13294 grep -v '^ *+' conftest.er1
>conftest.err
13296 cat conftest.err
>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); } &&
13299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; } &&
13305 { ac_try
='test -s conftest.$ac_objext'
13306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307 (eval $ac_try) 2>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; }; then
13311 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.
$ac_ext >&5
13316 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13323 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13324 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13326 ac_cpp
='$CPP $CPPFLAGS'
13327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13331 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13344 ac_cpp
='$CPP $CPPFLAGS'
13345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13349 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13350 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13351 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 cat >conftest.
$ac_ext <<_ACEOF
13357 cat confdefs.h
>>conftest.
$ac_ext
13358 cat >>conftest.
$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13373 rm -f conftest.
$ac_objext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>conftest.er1
13377 grep -v '^ *+' conftest.er1
>conftest.err
13379 cat conftest.err
>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } &&
13382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; } &&
13388 { ac_try
='test -s conftest.$ac_objext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 bakefile_cv_c_compiler___HP_cc
=yes
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.
$ac_ext >&5
13399 bakefile_cv_c_compiler___HP_cc
=no
13402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13406 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13407 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13409 ac_cpp
='$CPP $CPPFLAGS'
13410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13414 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13427 ac_cpp
='$CPP $CPPFLAGS'
13428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13432 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13433 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13434 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13437 cat >conftest.
$ac_ext <<_ACEOF
13440 cat confdefs.h
>>conftest.
$ac_ext
13441 cat >>conftest.
$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13456 rm -f conftest.
$ac_objext
13457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13458 (eval $ac_compile) 2>conftest.er1
13460 grep -v '^ *+' conftest.er1
>conftest.err
13462 cat conftest.err
>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); } &&
13465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try
='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 bakefile_cv_c_compiler___DECC
=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.
$ac_ext >&5
13482 bakefile_cv_c_compiler___DECC
=no
13485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13489 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13490 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13492 ac_cpp
='$CPP $CPPFLAGS'
13493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13497 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13510 ac_cpp
='$CPP $CPPFLAGS'
13511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13515 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13516 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13517 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13518 echo $ECHO_N "(cached) $ECHO_C" >&6
13520 cat >conftest.
$ac_ext <<_ACEOF
13523 cat confdefs.h
>>conftest.
$ac_ext
13524 cat >>conftest.
$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13539 rm -f conftest.
$ac_objext
13540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13541 (eval $ac_compile) 2>conftest.er1
13543 grep -v '^ *+' conftest.er1
>conftest.err
13545 cat conftest.err
>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } &&
13548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; } &&
13554 { ac_try
='test -s conftest.$ac_objext'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 bakefile_cv_c_compiler___SUNPRO_C
=yes
13562 echo "$as_me: failed program was:" >&5
13563 sed 's/^/| /' conftest.
$ac_ext >&5
13565 bakefile_cv_c_compiler___SUNPRO_C
=no
13568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13572 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13573 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13575 ac_cpp
='$CPP $CPPFLAGS'
13576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13580 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13594 ac_cpp
='$CPP $CPPFLAGS'
13595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13598 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13599 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13600 # On Suns, sometimes $CPP names a directory.
13601 if test -n "$CPP" && test -d "$CPP"; then
13604 if test -z "$CPP"; then
13605 if test "${ac_cv_prog_CPP+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 # Double quotes because CPP needs to be expanded
13609 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13611 ac_preproc_ok
=false
13612 for ac_c_preproc_warn_flag
in '' yes
13614 # Use a header file that comes with gcc, so configuring glibc
13615 # with a fresh cross-compiler works.
13616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13617 # <limits.h> exists even on freestanding compilers.
13618 # On the NeXT, cc -E runs the code through the compiler's parser,
13619 # not just through cpp. "Syntax error" is here to catch this case.
13620 cat >conftest.
$ac_ext <<_ACEOF
13623 cat confdefs.h
>>conftest.
$ac_ext
13624 cat >>conftest.
$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13627 # include <limits.h>
13629 # include <assert.h>
13633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13634 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13636 grep -v '^ *+' conftest.er1
>conftest.err
13638 cat conftest.err
>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } >/dev
/null
; then
13641 if test -s conftest.err
; then
13642 ac_cpp_err
=$ac_c_preproc_warn_flag
13643 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13650 if test -z "$ac_cpp_err"; then
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.
$ac_ext >&5
13656 # Broken: fails on valid input.
13659 rm -f conftest.err conftest.
$ac_ext
13661 # OK, works on sane cases. Now check whether non-existent headers
13662 # can be detected and how.
13663 cat >conftest.
$ac_ext <<_ACEOF
13666 cat confdefs.h
>>conftest.
$ac_ext
13667 cat >>conftest.
$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13669 #include <ac_nonexistent.h>
13671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13674 grep -v '^ *+' conftest.er1
>conftest.err
13676 cat conftest.err
>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } >/dev
/null
; then
13679 if test -s conftest.err
; then
13680 ac_cpp_err
=$ac_c_preproc_warn_flag
13681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13688 if test -z "$ac_cpp_err"; then
13689 # Broken: success on invalid input.
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.
$ac_ext >&5
13695 # Passes both tests.
13699 rm -f conftest.err conftest.
$ac_ext
13702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13703 rm -f conftest.err conftest.
$ac_ext
13704 if $ac_preproc_ok; then
13709 ac_cv_prog_CPP
=$CPP
13712 CPP
=$ac_cv_prog_CPP
13714 ac_cv_prog_CPP
=$CPP
13716 echo "$as_me:$LINENO: result: $CPP" >&5
13717 echo "${ECHO_T}$CPP" >&6
13718 ac_preproc_ok
=false
13719 for ac_c_preproc_warn_flag
in '' yes
13721 # Use a header file that comes with gcc, so configuring glibc
13722 # with a fresh cross-compiler works.
13723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13724 # <limits.h> exists even on freestanding compilers.
13725 # On the NeXT, cc -E runs the code through the compiler's parser,
13726 # not just through cpp. "Syntax error" is here to catch this case.
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13734 # include <limits.h>
13736 # include <assert.h>
13740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13743 grep -v '^ *+' conftest.er1
>conftest.err
13745 cat conftest.err
>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } >/dev
/null
; then
13748 if test -s conftest.err
; then
13749 ac_cpp_err
=$ac_c_preproc_warn_flag
13750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13757 if test -z "$ac_cpp_err"; then
13760 echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.
$ac_ext >&5
13763 # Broken: fails on valid input.
13766 rm -f conftest.err conftest.
$ac_ext
13768 # OK, works on sane cases. Now check whether non-existent headers
13769 # can be detected and how.
13770 cat >conftest.
$ac_ext <<_ACEOF
13773 cat confdefs.h
>>conftest.
$ac_ext
13774 cat >>conftest.
$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13776 #include <ac_nonexistent.h>
13778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13781 grep -v '^ *+' conftest.er1
>conftest.err
13783 cat conftest.err
>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } >/dev
/null
; then
13786 if test -s conftest.err
; then
13787 ac_cpp_err
=$ac_c_preproc_warn_flag
13788 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13795 if test -z "$ac_cpp_err"; then
13796 # Broken: success on invalid input.
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.
$ac_ext >&5
13802 # Passes both tests.
13806 rm -f conftest.err conftest.
$ac_ext
13809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13810 rm -f conftest.err conftest.
$ac_ext
13811 if $ac_preproc_ok; then
13814 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13815 See \`config.log' for more details." >&5
13816 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13817 See \`config.log' for more details." >&2;}
13818 { (exit 1); exit 1; }; }
13822 ac_cpp
='$CPP $CPPFLAGS'
13823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13828 echo "$as_me:$LINENO: checking for egrep" >&5
13829 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13830 if test "${ac_cv_prog_egrep+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13834 then ac_cv_prog_egrep
='grep -E'
13835 else ac_cv_prog_egrep
='egrep'
13838 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13839 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13840 EGREP
=$ac_cv_prog_egrep
13843 if test $ac_cv_c_compiler_gnu = yes; then
13844 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13845 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13846 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 ac_pattern
="Autoconf.*'x'"
13850 cat >conftest.
$ac_ext <<_ACEOF
13853 cat confdefs.h
>>conftest.
$ac_ext
13854 cat >>conftest.
$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13860 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13861 ac_cv_prog_gcc_traditional
=yes
13863 ac_cv_prog_gcc_traditional
=no
13868 if test $ac_cv_prog_gcc_traditional = no
; then
13869 cat >conftest.
$ac_ext <<_ACEOF
13872 cat confdefs.h
>>conftest.
$ac_ext
13873 cat >>conftest.
$ac_ext <<_ACEOF
13874 /* end confdefs.h. */
13875 #include <termio.h>
13878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13879 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13880 ac_cv_prog_gcc_traditional
=yes
13886 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13887 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13888 if test $ac_cv_prog_gcc_traditional = yes; then
13889 CC
="$CC -traditional"
13895 ac_cpp
='$CXXCPP $CPPFLAGS'
13896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13901 CXXFLAGS
=${CXXFLAGS:=}
13906 ac_cpp
='$CXXCPP $CPPFLAGS'
13907 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13908 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13909 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13910 if test -n "$ac_tool_prefix"; then
13911 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13914 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13915 echo "$as_me:$LINENO: checking for $ac_word" >&5
13916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13917 if test "${ac_cv_prog_CXX+set}" = set; then
13918 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 if test -n "$CXX"; then
13921 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13924 for as_dir
in $PATH
13927 test -z "$as_dir" && as_dir
=.
13928 for ac_exec_ext
in '' $ac_executable_extensions; do
13929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13930 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13939 CXX
=$ac_cv_prog_CXX
13940 if test -n "$CXX"; then
13941 echo "$as_me:$LINENO: result: $CXX" >&5
13942 echo "${ECHO_T}$CXX" >&6
13944 echo "$as_me:$LINENO: result: no" >&5
13945 echo "${ECHO_T}no" >&6
13948 test -n "$CXX" && break
13951 if test -z "$CXX"; then
13953 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13955 # Extract the first word of "$ac_prog", so it can be a program name with args.
13956 set dummy
$ac_prog; ac_word
=$2
13957 echo "$as_me:$LINENO: checking for $ac_word" >&5
13958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13959 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 if test -n "$ac_ct_CXX"; then
13963 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13966 for as_dir
in $PATH
13969 test -z "$as_dir" && as_dir
=.
13970 for ac_exec_ext
in '' $ac_executable_extensions; do
13971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13972 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13981 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13982 if test -n "$ac_ct_CXX"; then
13983 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13984 echo "${ECHO_T}$ac_ct_CXX" >&6
13986 echo "$as_me:$LINENO: result: no" >&5
13987 echo "${ECHO_T}no" >&6
13990 test -n "$ac_ct_CXX" && break
13992 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13998 # Provide some information about the compiler.
13999 echo "$as_me:$LINENO:" \
14000 "checking for C++ compiler version" >&5
14001 ac_compiler
=`set X $ac_compile; echo $2`
14002 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14003 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }
14007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14008 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); }
14012 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14013 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }
14018 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14019 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14020 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14021 echo $ECHO_N "(cached) $ECHO_C" >&6
14023 cat >conftest.
$ac_ext <<_ACEOF
14026 cat confdefs.h
>>conftest.
$ac_ext
14027 cat >>conftest.
$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14041 rm -f conftest.
$ac_objext
14042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14043 (eval $ac_compile) 2>conftest.er1
14045 grep -v '^ *+' conftest.er1
>conftest.err
14047 cat conftest.err
>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); } &&
14050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; } &&
14056 { ac_try
='test -s conftest.$ac_objext'
14057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14058 (eval $ac_try) 2>&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); }; }; then
14062 ac_compiler_gnu
=yes
14064 echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.
$ac_ext >&5
14069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14070 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14073 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14074 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14075 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14076 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14077 ac_save_CXXFLAGS
=$CXXFLAGS
14079 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14080 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14081 if test "${ac_cv_prog_cxx_g+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 cat >conftest.
$ac_ext <<_ACEOF
14087 cat confdefs.h
>>conftest.
$ac_ext
14088 cat >>conftest.
$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14099 rm -f conftest.
$ac_objext
14100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14101 (eval $ac_compile) 2>conftest.er1
14103 grep -v '^ *+' conftest.er1
>conftest.err
14105 cat conftest.err
>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } &&
14108 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; } &&
14114 { ac_try
='test -s conftest.$ac_objext'
14115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116 (eval $ac_try) 2>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; }; then
14120 ac_cv_prog_cxx_g
=yes
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.
$ac_ext >&5
14125 ac_cv_prog_cxx_g
=no
14127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14129 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14130 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14131 if test "$ac_test_CXXFLAGS" = set; then
14132 CXXFLAGS
=$ac_save_CXXFLAGS
14133 elif test $ac_cv_prog_cxx_g = yes; then
14134 if test "$GXX" = yes; then
14140 if test "$GXX" = yes; then
14146 for ac_declaration
in \
14148 'extern "C" void std::exit (int) throw (); using std::exit;' \
14149 'extern "C" void std::exit (int); using std::exit;' \
14150 'extern "C" void exit (int) throw ();' \
14151 'extern "C" void exit (int);' \
14154 cat >conftest.
$ac_ext <<_ACEOF
14157 cat confdefs.h
>>conftest.
$ac_ext
14158 cat >>conftest.
$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14161 #include <stdlib.h>
14170 rm -f conftest.
$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14174 grep -v '^ *+' conftest.er1
>conftest.err
14176 cat conftest.err
>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try
='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.
$ac_ext >&5
14198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 cat >conftest.
$ac_ext <<_ACEOF
14202 cat confdefs.h
>>conftest.
$ac_ext
14203 cat >>conftest.
$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14214 rm -f conftest.
$ac_objext
14215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14216 (eval $ac_compile) 2>conftest.er1
14218 grep -v '^ *+' conftest.er1
>conftest.err
14220 cat conftest.err
>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } &&
14223 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; } &&
14229 { ac_try
='test -s conftest.$ac_objext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14237 echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.
$ac_ext >&5
14241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14244 if test -n "$ac_declaration"; then
14245 echo '#ifdef __cplusplus' >>confdefs.h
14246 echo $ac_declaration >>confdefs.h
14247 echo '#endif' >>confdefs.h
14251 ac_cpp
='$CXXCPP $CPPFLAGS'
14252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14259 ac_cpp
='$CXXCPP $CPPFLAGS'
14260 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14261 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14262 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14264 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14265 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14266 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 cat >conftest.
$ac_ext <<_ACEOF
14272 cat confdefs.h
>>conftest.
$ac_ext
14273 cat >>conftest.
$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14280 #ifndef __INTEL_COMPILER
14288 rm -f conftest.
$ac_objext
14289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14290 (eval $ac_compile) 2>conftest.er1
14292 grep -v '^ *+' conftest.er1
>conftest.err
14294 cat conftest.err
>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; } &&
14303 { ac_try
='test -s conftest.$ac_objext'
14304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305 (eval $ac_try) 2>&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); }; }; then
14309 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14311 echo "$as_me: failed program was:" >&5
14312 sed 's/^/| /' conftest.
$ac_ext >&5
14314 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14321 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14322 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14324 ac_cpp
='$CXXCPP $CPPFLAGS'
14325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14329 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14336 if test "x$GCXX" != "xyes"; then
14337 if test "xCXX" = "xC"; then
14338 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14339 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14340 if test "${bakefile_cv_cxx_exto+set}" = set; then
14341 echo $ECHO_N "(cached) $ECHO_C" >&6
14343 cat >conftest.
$ac_ext <<_ACEOF
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14358 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14360 (eval $ac_compile) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; then
14364 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14366 conftest.
$ac_ext.o
)
14367 bakefile_cv_cxx_exto
="-ext o"
14374 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14375 See \`config.log' for more details." >&5
14376 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14377 See \`config.log' for more details." >&2;}
14378 { (exit 1); exit 1; }; }
14382 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14385 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14386 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14387 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14388 if test "cxx" = "c"; then
14389 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14391 if test "cxx" = "cxx"; then
14392 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14396 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14397 unset ac_cv_prog_cc_g
14398 ac_test_CFLAGS
=${CFLAGS+set}
14399 ac_save_CFLAGS
=$CFLAGS
14401 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14402 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14403 if test "${ac_cv_prog_cc_g+set}" = set; then
14404 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 cat >conftest.
$ac_ext <<_ACEOF
14409 cat confdefs.h
>>conftest.
$ac_ext
14410 cat >>conftest.
$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14421 rm -f conftest.
$ac_objext
14422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14423 (eval $ac_compile) 2>conftest.er1
14425 grep -v '^ *+' conftest.er1
>conftest.err
14427 cat conftest.err
>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; } &&
14436 { ac_try
='test -s conftest.$ac_objext'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 ac_cv_prog_cc_g
=yes
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.
$ac_ext >&5
14449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14451 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14452 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14453 if test "$ac_test_CFLAGS" = set; then
14454 CFLAGS
=$ac_save_CFLAGS
14455 elif test $ac_cv_prog_cc_g = yes; then
14456 if test "$GCC" = yes; then
14462 if test "$GCC" = yes; then
14474 ac_cpp
='$CXXCPP $CPPFLAGS'
14475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14479 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14480 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14481 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 cat >conftest.
$ac_ext <<_ACEOF
14487 cat confdefs.h
>>conftest.
$ac_ext
14488 cat >>conftest.
$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14502 rm -f conftest.
$ac_objext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14504 (eval $ac_compile) 2>conftest.er1
14506 grep -v '^ *+' conftest.er1
>conftest.err
14508 cat conftest.err
>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; } &&
14517 { ac_try
='test -s conftest.$ac_objext'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; }; then
14523 bakefile_compiler_xlc
=yes
14525 echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.
$ac_ext >&5
14528 bakefile_compiler_xlc
=no
14530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14531 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14534 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14535 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14537 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14539 ac_cpp
='$CXXCPP $CPPFLAGS'
14540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14549 ac_cpp
='$CXXCPP $CPPFLAGS'
14550 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14551 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14552 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14554 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14555 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14556 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14557 echo $ECHO_N "(cached) $ECHO_C" >&6
14559 cat >conftest.
$ac_ext <<_ACEOF
14562 cat confdefs.h
>>conftest.
$ac_ext
14563 cat >>conftest.
$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14577 rm -f conftest.
$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>conftest.er1
14581 grep -v '^ *+' conftest.er1
>conftest.err
14583 cat conftest.err
>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try
='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 bakefile_compiler_mwerks
=yes
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.
$ac_ext >&5
14603 bakefile_compiler_mwerks
=no
14605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14606 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14609 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14610 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14612 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14614 ac_cpp
='$CXXCPP $CPPFLAGS'
14615 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14616 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14621 ac_cpp
='$CXXCPP $CPPFLAGS'
14622 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14623 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14624 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14626 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14627 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14628 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 cat >conftest.
$ac_ext <<_ACEOF
14634 cat confdefs.h
>>conftest.
$ac_ext
14635 cat >>conftest.
$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14649 rm -f conftest.
$ac_objext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14651 (eval $ac_compile) 2>conftest.er1
14653 grep -v '^ *+' conftest.er1
>conftest.err
14655 cat conftest.err
>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try
='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 bakefile_compiler_xlc
=yes
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.
$ac_ext >&5
14675 bakefile_compiler_xlc
=no
14677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14678 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14681 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14682 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14684 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14686 ac_cpp
='$CXXCPP $CPPFLAGS'
14687 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14698 ac_cpp
='$CXXCPP $CPPFLAGS'
14699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14703 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14704 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14705 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14706 echo $ECHO_N "(cached) $ECHO_C" >&6
14708 cat >conftest.
$ac_ext <<_ACEOF
14711 cat confdefs.h
>>conftest.
$ac_ext
14712 cat >>conftest.
$ac_ext <<_ACEOF
14713 /* end confdefs.h. */
14719 #ifndef _SGI_COMPILER_VERSION
14727 rm -f conftest.
$ac_objext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>conftest.er1
14731 grep -v '^ *+' conftest.er1
>conftest.err
14733 cat conftest.err
>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; } &&
14742 { ac_try
='test -s conftest.$ac_objext'
14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14744 (eval $ac_try) 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; }; then
14748 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.
$ac_ext >&5
14753 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14760 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14761 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14763 ac_cpp
='$CXXCPP $CPPFLAGS'
14764 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14765 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14766 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14768 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14781 ac_cpp
='$CXXCPP $CPPFLAGS'
14782 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14783 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14784 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14786 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14787 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14788 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14791 cat >conftest.
$ac_ext <<_ACEOF
14794 cat confdefs.h
>>conftest.
$ac_ext
14795 cat >>conftest.
$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14810 rm -f conftest.
$ac_objext
14811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14812 (eval $ac_compile) 2>conftest.er1
14814 grep -v '^ *+' conftest.er1
>conftest.err
14816 cat conftest.err
>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } &&
14819 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try
='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 bakefile_cv_cxx_compiler___HP_aCC
=yes
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14836 bakefile_cv_cxx_compiler___HP_aCC
=no
14839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14843 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14844 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14846 ac_cpp
='$CXXCPP $CPPFLAGS'
14847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14851 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14864 ac_cpp
='$CXXCPP $CPPFLAGS'
14865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14869 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14870 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14871 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14874 cat >conftest.
$ac_ext <<_ACEOF
14877 cat confdefs.h
>>conftest.
$ac_ext
14878 cat >>conftest.
$ac_ext <<_ACEOF
14879 /* end confdefs.h. */
14893 rm -f conftest.
$ac_objext
14894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14895 (eval $ac_compile) 2>conftest.er1
14897 grep -v '^ *+' conftest.er1
>conftest.err
14899 cat conftest.err
>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } &&
14902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; } &&
14908 { ac_try
='test -s conftest.$ac_objext'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14914 bakefile_cv_cxx_compiler___DECCXX
=yes
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.
$ac_ext >&5
14919 bakefile_cv_cxx_compiler___DECCXX
=no
14922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14926 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14929 ac_cpp
='$CXXCPP $CPPFLAGS'
14930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14934 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14947 ac_cpp
='$CXXCPP $CPPFLAGS'
14948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14952 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14953 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14954 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14957 cat >conftest.
$ac_ext <<_ACEOF
14960 cat confdefs.h
>>conftest.
$ac_ext
14961 cat >>conftest.
$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14968 #ifndef __SUNPRO_CC
14976 rm -f conftest.
$ac_objext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14978 (eval $ac_compile) 2>conftest.er1
14980 grep -v '^ *+' conftest.er1
>conftest.err
14982 cat conftest.err
>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } &&
14985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14987 (eval $ac_try) 2>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }; } &&
14991 { ac_try
='test -s conftest.$ac_objext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then
14997 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14999 echo "$as_me: failed program was:" >&5
15000 sed 's/^/| /' conftest.
$ac_ext >&5
15002 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15009 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15010 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15012 ac_cpp
='$CXXCPP $CPPFLAGS'
15013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15017 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15030 if test -n "$ac_tool_prefix"; then
15031 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15032 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15033 echo "$as_me:$LINENO: checking for $ac_word" >&5
15034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15035 if test "${ac_cv_prog_RANLIB+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 if test -n "$RANLIB"; then
15039 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15042 for as_dir
in $PATH
15045 test -z "$as_dir" && as_dir
=.
15046 for ac_exec_ext
in '' $ac_executable_extensions; do
15047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15048 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15057 RANLIB
=$ac_cv_prog_RANLIB
15058 if test -n "$RANLIB"; then
15059 echo "$as_me:$LINENO: result: $RANLIB" >&5
15060 echo "${ECHO_T}$RANLIB" >&6
15062 echo "$as_me:$LINENO: result: no" >&5
15063 echo "${ECHO_T}no" >&6
15067 if test -z "$ac_cv_prog_RANLIB"; then
15068 ac_ct_RANLIB
=$RANLIB
15069 # Extract the first word of "ranlib", so it can be a program name with args.
15070 set dummy ranlib
; ac_word
=$2
15071 echo "$as_me:$LINENO: checking for $ac_word" >&5
15072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15073 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15076 if test -n "$ac_ct_RANLIB"; then
15077 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15080 for as_dir
in $PATH
15083 test -z "$as_dir" && as_dir
=.
15084 for ac_exec_ext
in '' $ac_executable_extensions; do
15085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15086 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15093 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15096 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15097 if test -n "$ac_ct_RANLIB"; then
15098 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15099 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15101 echo "$as_me:$LINENO: result: no" >&5
15102 echo "${ECHO_T}no" >&6
15105 RANLIB
=$ac_ct_RANLIB
15107 RANLIB
="$ac_cv_prog_RANLIB"
15111 if test -n "$ac_tool_prefix"; then
15112 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15113 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15114 echo "$as_me:$LINENO: checking for $ac_word" >&5
15115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15116 if test "${ac_cv_prog_AR+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 if test -n "$AR"; then
15120 ac_cv_prog_AR
="$AR" # Let the user override the test.
15122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15123 for as_dir
in $PATH
15126 test -z "$as_dir" && as_dir
=.
15127 for ac_exec_ext
in '' $ac_executable_extensions; do
15128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15129 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15139 if test -n "$AR"; then
15140 echo "$as_me:$LINENO: result: $AR" >&5
15141 echo "${ECHO_T}$AR" >&6
15143 echo "$as_me:$LINENO: result: no" >&5
15144 echo "${ECHO_T}no" >&6
15148 if test -z "$ac_cv_prog_AR"; then
15150 # Extract the first word of "ar", so it can be a program name with args.
15151 set dummy
ar; ac_word
=$2
15152 echo "$as_me:$LINENO: checking for $ac_word" >&5
15153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15154 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 if test -n "$ac_ct_AR"; then
15158 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15161 for as_dir
in $PATH
15164 test -z "$as_dir" && as_dir
=.
15165 for ac_exec_ext
in '' $ac_executable_extensions; do
15166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15167 ac_cv_prog_ac_ct_AR
="ar"
15168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15176 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15177 if test -n "$ac_ct_AR"; then
15178 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15179 echo "${ECHO_T}$ac_ct_AR" >&6
15181 echo "$as_me:$LINENO: result: no" >&5
15182 echo "${ECHO_T}no" >&6
15187 AR
="$ac_cv_prog_AR"
15190 if test "x$AR" = "x" ; then
15191 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15192 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15193 { (exit 1); exit 1; }; }
15196 # Find a good install program. We prefer a C program (faster),
15197 # so one script is as good as another. But avoid the broken or
15198 # incompatible versions:
15199 # SysV /etc/install, /usr/sbin/install
15200 # SunOS /usr/etc/install
15201 # IRIX /sbin/install
15203 # AmigaOS /C/install, which installs bootblocks on floppy discs
15204 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15205 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15206 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15207 # OS/2's system install, which has a completely different semantic
15208 # ./install, which can be erroneously created by make from ./install.sh.
15209 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15210 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15211 if test -z "$INSTALL"; then
15212 if test "${ac_cv_path_install+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15216 for as_dir
in $PATH
15219 test -z "$as_dir" && as_dir
=.
15220 # Account for people who put trailing slashes in PATH elements.
15222 .
/ | .
// | /cC
/* | \
15223 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15224 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15227 # OSF1 and SCO ODT 3.0 have their own names for install.
15228 # Don't use installbsd from OSF since it installs stuff as root
15230 for ac_prog
in ginstall scoinst
install; do
15231 for ac_exec_ext
in '' $ac_executable_extensions; do
15232 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15233 if test $ac_prog = install &&
15234 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15235 # AIX install. It has an incompatible calling convention.
15237 elif test $ac_prog = install &&
15238 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15239 # program-specific install script used by HP pwplus--don't use.
15242 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15254 if test "${ac_cv_path_install+set}" = set; then
15255 INSTALL
=$ac_cv_path_install
15257 # As a last resort, use the slow shell script. We don't cache a
15258 # path for INSTALL within a source directory, because that will
15259 # break other packages using the cache if that directory is
15260 # removed, or if the path is relative.
15261 INSTALL
=$ac_install_sh
15264 echo "$as_me:$LINENO: result: $INSTALL" >&5
15265 echo "${ECHO_T}$INSTALL" >&6
15267 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15268 # It thinks the first close brace ends the variable substitution.
15269 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15271 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15273 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15279 ?
:* ) # Drive letter, considered as absolute.
15282 INSTALL
=`pwd`/${INSTALL} ;;
15289 INSTALL_PROGRAM
="cp -fp"
15290 INSTALL_DATA
="cp -fp"
15296 if test -n "$ac_tool_prefix"; then
15297 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15298 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15299 echo "$as_me:$LINENO: checking for $ac_word" >&5
15300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15301 if test "${ac_cv_prog_STRIP+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15304 if test -n "$STRIP"; then
15305 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15308 for as_dir
in $PATH
15311 test -z "$as_dir" && as_dir
=.
15312 for ac_exec_ext
in '' $ac_executable_extensions; do
15313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15314 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15323 STRIP
=$ac_cv_prog_STRIP
15324 if test -n "$STRIP"; then
15325 echo "$as_me:$LINENO: result: $STRIP" >&5
15326 echo "${ECHO_T}$STRIP" >&6
15328 echo "$as_me:$LINENO: result: no" >&5
15329 echo "${ECHO_T}no" >&6
15333 if test -z "$ac_cv_prog_STRIP"; then
15335 # Extract the first word of "strip", so it can be a program name with args.
15336 set dummy strip
; ac_word
=$2
15337 echo "$as_me:$LINENO: checking for $ac_word" >&5
15338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15339 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15340 echo $ECHO_N "(cached) $ECHO_C" >&6
15342 if test -n "$ac_ct_STRIP"; then
15343 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15346 for as_dir
in $PATH
15349 test -z "$as_dir" && as_dir
=.
15350 for ac_exec_ext
in '' $ac_executable_extensions; do
15351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15352 ac_cv_prog_ac_ct_STRIP
="strip"
15353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15359 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15362 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15363 if test -n "$ac_ct_STRIP"; then
15364 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15365 echo "${ECHO_T}$ac_ct_STRIP" >&6
15367 echo "$as_me:$LINENO: result: no" >&5
15368 echo "${ECHO_T}no" >&6
15373 STRIP
="$ac_cv_prog_STRIP"
15377 if test "$wxUSE_WINE" = "yes"; then
15378 if test -n "$ac_tool_prefix"; then
15379 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15380 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15381 echo "$as_me:$LINENO: checking for $ac_word" >&5
15382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15383 if test "${ac_cv_prog_WINDRES+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 if test -n "$WINDRES"; then
15387 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15390 for as_dir
in $PATH
15393 test -z "$as_dir" && as_dir
=.
15394 for ac_exec_ext
in '' $ac_executable_extensions; do
15395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15396 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15405 WINDRES
=$ac_cv_prog_WINDRES
15406 if test -n "$WINDRES"; then
15407 echo "$as_me:$LINENO: result: $WINDRES" >&5
15408 echo "${ECHO_T}$WINDRES" >&6
15410 echo "$as_me:$LINENO: result: no" >&5
15411 echo "${ECHO_T}no" >&6
15415 if test -z "$ac_cv_prog_WINDRES"; then
15416 ac_ct_WINDRES
=$WINDRES
15417 # Extract the first word of "wrc", so it can be a program name with args.
15418 set dummy wrc
; ac_word
=$2
15419 echo "$as_me:$LINENO: checking for $ac_word" >&5
15420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15421 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 if test -n "$ac_ct_WINDRES"; then
15425 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15428 for as_dir
in $PATH
15431 test -z "$as_dir" && as_dir
=.
15432 for ac_exec_ext
in '' $ac_executable_extensions; do
15433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15434 ac_cv_prog_ac_ct_WINDRES
="wrc"
15435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15443 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15444 if test -n "$ac_ct_WINDRES"; then
15445 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15446 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15448 echo "$as_me:$LINENO: result: no" >&5
15449 echo "${ECHO_T}no" >&6
15452 WINDRES
=$ac_ct_WINDRES
15454 WINDRES
="$ac_cv_prog_WINDRES"
15460 *-*-cygwin* | *-*-mingw32* )
15461 if test -n "$ac_tool_prefix"; then
15462 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15463 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15464 echo "$as_me:$LINENO: checking for $ac_word" >&5
15465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15466 if test "${ac_cv_prog_WINDRES+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 if test -n "$WINDRES"; then
15470 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15473 for as_dir
in $PATH
15476 test -z "$as_dir" && as_dir
=.
15477 for ac_exec_ext
in '' $ac_executable_extensions; do
15478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15479 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15488 WINDRES
=$ac_cv_prog_WINDRES
15489 if test -n "$WINDRES"; then
15490 echo "$as_me:$LINENO: result: $WINDRES" >&5
15491 echo "${ECHO_T}$WINDRES" >&6
15493 echo "$as_me:$LINENO: result: no" >&5
15494 echo "${ECHO_T}no" >&6
15498 if test -z "$ac_cv_prog_WINDRES"; then
15499 ac_ct_WINDRES
=$WINDRES
15500 # Extract the first word of "windres", so it can be a program name with args.
15501 set dummy windres
; ac_word
=$2
15502 echo "$as_me:$LINENO: checking for $ac_word" >&5
15503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15504 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15505 echo $ECHO_N "(cached) $ECHO_C" >&6
15507 if test -n "$ac_ct_WINDRES"; then
15508 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15511 for as_dir
in $PATH
15514 test -z "$as_dir" && as_dir
=.
15515 for ac_exec_ext
in '' $ac_executable_extensions; do
15516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15517 ac_cv_prog_ac_ct_WINDRES
="windres"
15518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15526 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15527 if test -n "$ac_ct_WINDRES"; then
15528 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15529 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15531 echo "$as_me:$LINENO: result: no" >&5
15532 echo "${ECHO_T}no" >&6
15535 WINDRES
=$ac_ct_WINDRES
15537 WINDRES
="$ac_cv_prog_WINDRES"
15541 if test -n "$ac_tool_prefix"; then
15542 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15543 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15544 echo "$as_me:$LINENO: checking for $ac_word" >&5
15545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15546 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15549 if test -n "$DLLTOOL"; then
15550 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15553 for as_dir
in $PATH
15556 test -z "$as_dir" && as_dir
=.
15557 for ac_exec_ext
in '' $ac_executable_extensions; do
15558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15559 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15568 DLLTOOL
=$ac_cv_prog_DLLTOOL
15569 if test -n "$DLLTOOL"; then
15570 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15571 echo "${ECHO_T}$DLLTOOL" >&6
15573 echo "$as_me:$LINENO: result: no" >&5
15574 echo "${ECHO_T}no" >&6
15578 if test -z "$ac_cv_prog_DLLTOOL"; then
15579 ac_ct_DLLTOOL
=$DLLTOOL
15580 # Extract the first word of "dlltool", so it can be a program name with args.
15581 set dummy dlltool
; ac_word
=$2
15582 echo "$as_me:$LINENO: checking for $ac_word" >&5
15583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15584 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15585 echo $ECHO_N "(cached) $ECHO_C" >&6
15587 if test -n "$ac_ct_DLLTOOL"; then
15588 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15591 for as_dir
in $PATH
15594 test -z "$as_dir" && as_dir
=.
15595 for ac_exec_ext
in '' $ac_executable_extensions; do
15596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15597 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15606 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15607 if test -n "$ac_ct_DLLTOOL"; then
15608 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15609 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15611 echo "$as_me:$LINENO: result: no" >&5
15612 echo "${ECHO_T}no" >&6
15615 DLLTOOL
=$ac_ct_DLLTOOL
15617 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15624 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15625 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15626 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15627 echo $ECHO_N "(cached) $ECHO_C" >&6
15630 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15631 egrep -s GNU
> /dev
/null
); then
15632 wx_cv_prog_makeisgnu
="yes"
15634 wx_cv_prog_makeisgnu
="no"
15638 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15639 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15641 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15649 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15650 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15651 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15652 if test "${wx_cv_prog_makevpath+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 cat - << EOF > confMake
15662 if test ! -d sub
; then
15665 echo dummy
> sub
/file
15666 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15668 rm -f sub
/file check final_file confMake
15670 if test "$RESULT" = 0; then
15671 wx_cv_prog_makevpath
="yes"
15673 wx_cv_prog_makevpath
="no"
15677 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15678 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15680 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15681 { { echo "$as_me:$LINENO: error:
15682 You need a make-utility that is able to use the variable
15684 If your version of make does not support VPATH correctly,
15685 please install GNU-make (possibly as gmake), and start
15686 configure with the following command:
15687 export MAKE=gmake; ./configure for sh-type shells
15688 setenv MAKE gmake; ./configure for csh-type shells
15689 Also please do remember to use gmake in this case every time
15690 you are trying to compile.
15692 echo "$as_me: error:
15693 You need a make-utility that is able to use the variable
15695 If your version of make does not support VPATH correctly,
15696 please install GNU-make (possibly as gmake), and start
15697 configure with the following command:
15698 export MAKE=gmake; ./configure for sh-type shells
15699 setenv MAKE gmake; ./configure for csh-type shells
15700 Also please do remember to use gmake in this case every time
15701 you are trying to compile.
15703 { (exit 1); exit 1; }; }
15705 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15706 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15708 if test "$LN_S" = "ln -s"; then
15709 echo "$as_me:$LINENO: result: yes" >&5
15710 echo "${ECHO_T}yes" >&6
15712 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15713 echo "${ECHO_T}no, using $LN_S" >&6
15719 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15720 CXXFLAGS
="-qunique $CXXFLAGS"
15724 powerpc
-*-darwin* )
15725 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15726 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15727 cat >conftest.
$ac_ext <<_ACEOF
15730 cat confdefs.h
>>conftest.
$ac_ext
15731 cat >>conftest.
$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15737 #ifndef __POWERPC__
15738 choke me for lack of PowerPC
15745 rm -f conftest.
$ac_objext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>conftest.er1
15749 grep -v '^ *+' conftest.er1
>conftest.err
15751 cat conftest.err
>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try
='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 echo "$as_me:$LINENO: result: yes" >&5
15767 echo "${ECHO_T}yes" >&6
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.
$ac_ext >&5
15772 echo "$as_me:$LINENO: result: no" >&5
15773 echo "${ECHO_T}no" >&6
15774 cat >>confdefs.h
<<\_ACEOF
15775 #define __POWERPC__ 1
15780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15786 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15787 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15788 cat >conftest.
$ac_ext <<_ACEOF
15791 cat confdefs.h
>>conftest.
$ac_ext
15792 cat >>conftest.
$ac_ext <<_ACEOF
15793 /* end confdefs.h. */
15794 #include <CoreFoundation/CFBase.h>
15804 rm -f conftest.
$ac_objext
15805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15806 (eval $ac_compile) 2>conftest.er1
15808 grep -v '^ *+' conftest.er1
>conftest.err
15810 cat conftest.err
>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } &&
15813 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; } &&
15819 { ac_try
='test -s conftest.$ac_objext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 echo "$as_me:$LINENO: result: yes" >&5
15826 echo "${ECHO_T}yes" >&6
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.
$ac_ext >&5
15831 echo "$as_me:$LINENO: result: no" >&5
15832 echo "${ECHO_T}no" >&6
15833 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15834 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15835 cat >conftest.
$ac_ext <<_ACEOF
15838 cat confdefs.h
>>conftest.
$ac_ext
15839 cat >>conftest.
$ac_ext <<_ACEOF
15840 /* end confdefs.h. */
15841 #define __CF_USE_FRAMEWORK_INCLUDES__
15842 #include <CoreFoundation/CFBase.h>
15852 rm -f conftest.
$ac_objext
15853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15854 (eval $ac_compile) 2>conftest.er1
15856 grep -v '^ *+' conftest.er1
>conftest.err
15858 cat conftest.err
>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); } &&
15861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; } &&
15867 { ac_try
='test -s conftest.$ac_objext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 echo "$as_me:$LINENO: result: yes" >&5
15874 echo "${ECHO_T}yes" >&6
15875 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.
$ac_ext >&5
15880 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15881 See \`config.log' for more details." >&5
15882 echo "$as_me: error: no. CoreFoundation not available.
15883 See \`config.log' for more details." >&2;}
15884 { (exit 1); exit 1; }; }
15887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15896 *-pc-os2_emx | *-pc-os2-emx )
15898 ac_cpp
='$CPP $CPPFLAGS'
15899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15903 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15904 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15905 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15906 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15909 ac_check_lib_save_LIBS
=$LIBS
15910 LIBS
="-lcExt $LIBS"
15911 cat >conftest.
$ac_ext <<_ACEOF
15914 cat confdefs.h
>>conftest.
$ac_ext
15915 cat >>conftest.
$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15918 /* Override any gcc2 internal prototype to avoid an error. */
15922 /* We use char because int might match the return type of a gcc2
15923 builtin and then its argument prototype would still apply. */
15933 rm -f conftest.
$ac_objext conftest
$ac_exeext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15935 (eval $ac_link) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1
>conftest.err
15939 cat conftest.err
>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try
='test -s conftest$ac_exeext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_cv_lib_cExt_drand48
=yes
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.
$ac_ext >&5
15959 ac_cv_lib_cExt_drand48
=no
15961 rm -f conftest.err conftest.
$ac_objext \
15962 conftest
$ac_exeext conftest.
$ac_ext
15963 LIBS
=$ac_check_lib_save_LIBS
15965 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15966 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15967 if test $ac_cv_lib_cExt_drand48 = yes; then
15968 LIBS
="$LIBS -lcExt"
15972 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15974 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15975 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15976 if test "${wx_cv_gccversion+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15980 if test "$cross_compiling" = yes; then
15981 wx_cv_gccversion
="EMX2"
15984 cat >conftest.
$ac_ext <<_ACEOF
15987 cat confdefs.h
>>conftest.
$ac_ext
15988 cat >>conftest.
$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15995 FILE *f=fopen("conftestval", "w");
16000 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16002 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16012 rm -f conftest
$ac_exeext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16014 (eval $ac_link) 2>&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 wx_cv_gccversion
=`cat conftestval`
16025 echo "$as_me: program exited with status $ac_status" >&5
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.
$ac_ext >&5
16029 ( exit $ac_status )
16030 wx_cv_gccversion
="EMX2"
16032 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16036 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16037 echo "${ECHO_T}$wx_cv_gccversion" >&6
16039 ac_cpp
='$CXXCPP $CPPFLAGS'
16040 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16041 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16042 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16044 if test "$wx_cv_gccversion" = "EMX2"; then
16045 LIBS
="$LIBS -lstdcpp"
16046 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16048 if test "$wx_cv_gccversion" = "EMX3"; then
16049 LIBS
="$LIBS -lstdcxx -lgcc"
16050 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16052 LIBS
="$LIBS -lstdc++"
16055 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16056 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16057 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16064 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16065 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16066 if test "${ac_cv_string_strcasecmp+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16077 #include <string.h>
16083 strcasecmp("foo", "bar");
16089 rm -f conftest.
$ac_objext conftest
$ac_exeext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16091 (eval $ac_link) 2>conftest.er1
16093 grep -v '^ *+' conftest.er1
>conftest.err
16095 cat conftest.err
>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try
='test -s conftest$ac_exeext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 ac_cv_string_strcasecmp
=yes
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.
$ac_ext >&5
16115 ac_cv_string_strcasecmp
=no
16118 rm -f conftest.err conftest.
$ac_objext \
16119 conftest
$ac_exeext conftest.
$ac_ext
16122 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16123 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16125 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16126 cat >>confdefs.h
<<\_ACEOF
16127 #define HAVE_STRCASECMP_IN_STRING_H 1
16131 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16132 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16133 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16137 cat >conftest.
$ac_ext <<_ACEOF
16140 cat confdefs.h
>>conftest.
$ac_ext
16141 cat >>conftest.
$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16144 #include <strings.h>
16150 strcasecmp("foo", "bar");
16156 rm -f conftest.
$ac_objext conftest
$ac_exeext
16157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16158 (eval $ac_link) 2>conftest.er1
16160 grep -v '^ *+' conftest.er1
>conftest.err
16162 cat conftest.err
>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); } &&
16165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; } &&
16171 { ac_try
='test -s conftest$ac_exeext'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; }; then
16177 ac_cv_strings_strcasecmp
=yes
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.
$ac_ext >&5
16182 ac_cv_strings_strcasecmp
=no
16185 rm -f conftest.err conftest.
$ac_objext \
16186 conftest
$ac_exeext conftest.
$ac_ext
16189 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16190 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16192 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16193 cat >>confdefs.h
<<\_ACEOF
16194 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16198 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16199 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16200 { (exit 1); exit 1; }; }
16209 ac_cpp
='$CXXCPP $CPPFLAGS'
16210 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16211 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16212 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16213 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16214 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16215 if test -z "$CXXCPP"; then
16216 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 # Double quotes because CXXCPP needs to be expanded
16220 for CXXCPP
in "$CXX -E" "/lib/cpp"
16222 ac_preproc_ok
=false
16223 for ac_cxx_preproc_warn_flag
in '' yes
16225 # Use a header file that comes with gcc, so configuring glibc
16226 # with a fresh cross-compiler works.
16227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16228 # <limits.h> exists even on freestanding compilers.
16229 # On the NeXT, cc -E runs the code through the compiler's parser,
16230 # not just through cpp. "Syntax error" is here to catch this case.
16231 cat >conftest.
$ac_ext <<_ACEOF
16234 cat confdefs.h
>>conftest.
$ac_ext
16235 cat >>conftest.
$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16238 # include <limits.h>
16240 # include <assert.h>
16244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16247 grep -v '^ *+' conftest.er1
>conftest.err
16249 cat conftest.err
>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } >/dev
/null
; then
16252 if test -s conftest.err
; then
16253 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16254 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16261 if test -z "$ac_cpp_err"; then
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.
$ac_ext >&5
16267 # Broken: fails on valid input.
16270 rm -f conftest.err conftest.
$ac_ext
16272 # OK, works on sane cases. Now check whether non-existent headers
16273 # can be detected and how.
16274 cat >conftest.
$ac_ext <<_ACEOF
16277 cat confdefs.h
>>conftest.
$ac_ext
16278 cat >>conftest.
$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 #include <ac_nonexistent.h>
16282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16285 grep -v '^ *+' conftest.er1
>conftest.err
16287 cat conftest.err
>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } >/dev
/null
; then
16290 if test -s conftest.err
; then
16291 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16292 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16299 if test -z "$ac_cpp_err"; then
16300 # Broken: success on invalid input.
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.
$ac_ext >&5
16306 # Passes both tests.
16310 rm -f conftest.err conftest.
$ac_ext
16313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16314 rm -f conftest.err conftest.
$ac_ext
16315 if $ac_preproc_ok; then
16320 ac_cv_prog_CXXCPP
=$CXXCPP
16323 CXXCPP
=$ac_cv_prog_CXXCPP
16325 ac_cv_prog_CXXCPP
=$CXXCPP
16327 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16328 echo "${ECHO_T}$CXXCPP" >&6
16329 ac_preproc_ok
=false
16330 for ac_cxx_preproc_warn_flag
in '' yes
16332 # Use a header file that comes with gcc, so configuring glibc
16333 # with a fresh cross-compiler works.
16334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16335 # <limits.h> exists even on freestanding compilers.
16336 # On the NeXT, cc -E runs the code through the compiler's parser,
16337 # not just through cpp. "Syntax error" is here to catch this case.
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16345 # include <limits.h>
16347 # include <assert.h>
16351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16354 grep -v '^ *+' conftest.er1
>conftest.err
16356 cat conftest.err
>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } >/dev
/null
; then
16359 if test -s conftest.err
; then
16360 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16361 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16368 if test -z "$ac_cpp_err"; then
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.
$ac_ext >&5
16374 # Broken: fails on valid input.
16377 rm -f conftest.err conftest.
$ac_ext
16379 # OK, works on sane cases. Now check whether non-existent headers
16380 # can be detected and how.
16381 cat >conftest.
$ac_ext <<_ACEOF
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 #include <ac_nonexistent.h>
16389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16392 grep -v '^ *+' conftest.er1
>conftest.err
16394 cat conftest.err
>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } >/dev
/null
; then
16397 if test -s conftest.err
; then
16398 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16399 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16406 if test -z "$ac_cpp_err"; then
16407 # Broken: success on invalid input.
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 # Passes both tests.
16417 rm -f conftest.err conftest.
$ac_ext
16420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16421 rm -f conftest.err conftest.
$ac_ext
16422 if $ac_preproc_ok; then
16425 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16426 See \`config.log' for more details." >&5
16427 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16428 See \`config.log' for more details." >&2;}
16429 { (exit 1); exit 1; }; }
16433 ac_cpp
='$CXXCPP $CPPFLAGS'
16434 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16439 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16440 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16441 if test "${ac_cv_header_stdc+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16444 cat >conftest.
$ac_ext <<_ACEOF
16447 cat confdefs.h
>>conftest.
$ac_ext
16448 cat >>conftest.
$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <stdlib.h>
16451 #include <stdarg.h>
16452 #include <string.h>
16463 rm -f conftest.
$ac_objext
16464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16465 (eval $ac_compile) 2>conftest.er1
16467 grep -v '^ *+' conftest.er1
>conftest.err
16469 cat conftest.err
>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } &&
16472 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; } &&
16478 { ac_try
='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_cv_header_stdc
=yes
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.
$ac_ext >&5
16489 ac_cv_header_stdc
=no
16491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16493 if test $ac_cv_header_stdc = yes; then
16494 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16495 cat >conftest.
$ac_ext <<_ACEOF
16498 cat confdefs.h
>>conftest.
$ac_ext
16499 cat >>conftest.
$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16501 #include <string.h>
16504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16505 $EGREP "memchr" >/dev
/null
2>&1; then
16508 ac_cv_header_stdc
=no
16514 if test $ac_cv_header_stdc = yes; then
16515 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16516 cat >conftest.
$ac_ext <<_ACEOF
16519 cat confdefs.h
>>conftest.
$ac_ext
16520 cat >>conftest.
$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 #include <stdlib.h>
16525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16526 $EGREP "free" >/dev
/null
2>&1; then
16529 ac_cv_header_stdc
=no
16535 if test $ac_cv_header_stdc = yes; then
16536 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16537 if test "$cross_compiling" = yes; then
16540 cat >conftest.
$ac_ext <<_ACEOF
16543 cat confdefs.h
>>conftest.
$ac_ext
16544 cat >>conftest.
$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16547 #if ((' ' & 0x0FF) == 0x020)
16548 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16549 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16551 # define ISLOWER(c) \
16552 (('a' <= (c) && (c) <= 'i') \
16553 || ('j' <= (c) && (c) <= 'r') \
16554 || ('s' <= (c) && (c) <= 'z'))
16555 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16558 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16563 for (i = 0; i < 256; i++)
16564 if (XOR (islower (i), ISLOWER (i))
16565 || toupper (i) != TOUPPER (i))
16570 rm -f conftest
$ac_exeext
16571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16572 (eval $ac_link) 2>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16577 (eval $ac_try) 2>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; }; then
16583 echo "$as_me: program exited with status $ac_status" >&5
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.
$ac_ext >&5
16587 ( exit $ac_status )
16588 ac_cv_header_stdc
=no
16590 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16594 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16595 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16596 if test $ac_cv_header_stdc = yes; then
16598 cat >>confdefs.h
<<\_ACEOF
16599 #define STDC_HEADERS 1
16604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16614 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16615 inttypes.h stdint.h unistd.h
16617 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16618 echo "$as_me:$LINENO: checking for $ac_header" >&5
16619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 cat >conftest.
$ac_ext <<_ACEOF
16626 cat confdefs.h
>>conftest.
$ac_ext
16627 cat >>conftest.
$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16631 #include <$ac_header>
16633 rm -f conftest.
$ac_objext
16634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16635 (eval $ac_compile) 2>conftest.er1
16637 grep -v '^ *+' conftest.er1
>conftest.err
16639 cat conftest.err
>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } &&
16642 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16644 (eval $ac_try) 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; } &&
16648 { ac_try
='test -s conftest.$ac_objext'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; }; then
16654 eval "$as_ac_Header=yes"
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.
$ac_ext >&5
16659 eval "$as_ac_Header=no"
16661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16666 cat >>confdefs.h
<<_ACEOF
16667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16676 for ac_header
in stdlib.h
16678 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16680 echo "$as_me:$LINENO: checking for $ac_header" >&5
16681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16688 # Is the header compilable?
16689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16691 cat >conftest.
$ac_ext <<_ACEOF
16694 cat confdefs.h
>>conftest.
$ac_ext
16695 cat >>conftest.
$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 $ac_includes_default
16698 #include <$ac_header>
16700 rm -f conftest.
$ac_objext
16701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16702 (eval $ac_compile) 2>conftest.er1
16704 grep -v '^ *+' conftest.er1
>conftest.err
16706 cat conftest.err
>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } &&
16709 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try
='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 ac_header_compiler
=yes
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.
$ac_ext >&5
16726 ac_header_compiler
=no
16728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16730 echo "${ECHO_T}$ac_header_compiler" >&6
16732 # Is the header present?
16733 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16735 cat >conftest.
$ac_ext <<_ACEOF
16738 cat confdefs.h
>>conftest.
$ac_ext
16739 cat >>conftest.
$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 #include <$ac_header>
16743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16744 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16746 grep -v '^ *+' conftest.er1
>conftest.err
16748 cat conftest.err
>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } >/dev
/null
; then
16751 if test -s conftest.err
; then
16752 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16753 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16760 if test -z "$ac_cpp_err"; then
16761 ac_header_preproc
=yes
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.
$ac_ext >&5
16766 ac_header_preproc
=no
16768 rm -f conftest.err conftest.
$ac_ext
16769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16770 echo "${ECHO_T}$ac_header_preproc" >&6
16772 # So? What about this header?
16773 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16779 ac_header_preproc
=yes
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16796 ## ----------------------------------------- ##
16797 ## Report this to wx-dev@lists.wxwidgets.org ##
16798 ## ----------------------------------------- ##
16801 sed "s/^/$as_me: WARNING: /" >&2
16804 echo "$as_me:$LINENO: checking for $ac_header" >&5
16805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 eval "$as_ac_Header=\$ac_header_preproc"
16811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16816 cat >>confdefs.h
<<_ACEOF
16817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16825 for ac_header
in malloc.h
16827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16829 echo "$as_me:$LINENO: checking for $ac_header" >&5
16830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16837 # Is the header compilable?
16838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16840 cat >conftest.
$ac_ext <<_ACEOF
16843 cat confdefs.h
>>conftest.
$ac_ext
16844 cat >>conftest.
$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $ac_includes_default
16847 #include <$ac_header>
16849 rm -f conftest.
$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16853 grep -v '^ *+' conftest.er1
>conftest.err
16855 cat conftest.err
>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try
='test -s conftest.$ac_objext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_header_compiler
=yes
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.
$ac_ext >&5
16875 ac_header_compiler
=no
16877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16879 echo "${ECHO_T}$ac_header_compiler" >&6
16881 # Is the header present?
16882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16884 cat >conftest.
$ac_ext <<_ACEOF
16887 cat confdefs.h
>>conftest.
$ac_ext
16888 cat >>conftest.
$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 #include <$ac_header>
16892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } >/dev
/null
; then
16900 if test -s conftest.err
; then
16901 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16902 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16909 if test -z "$ac_cpp_err"; then
16910 ac_header_preproc
=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.
$ac_ext >&5
16915 ac_header_preproc
=no
16917 rm -f conftest.err conftest.
$ac_ext
16918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16919 echo "${ECHO_T}$ac_header_preproc" >&6
16921 # So? What about this header?
16922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16928 ac_header_preproc
=yes
16931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16945 ## ----------------------------------------- ##
16946 ## Report this to wx-dev@lists.wxwidgets.org ##
16947 ## ----------------------------------------- ##
16950 sed "s/^/$as_me: WARNING: /" >&2
16953 echo "$as_me:$LINENO: checking for $ac_header" >&5
16954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 eval "$as_ac_Header=\$ac_header_preproc"
16960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16965 cat >>confdefs.h
<<_ACEOF
16966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16974 for ac_header
in unistd.h
16976 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16978 echo "$as_me:$LINENO: checking for $ac_header" >&5
16979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16981 echo $ECHO_N "(cached) $ECHO_C" >&6
16983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16986 # Is the header compilable?
16987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16989 cat >conftest.
$ac_ext <<_ACEOF
16992 cat confdefs.h
>>conftest.
$ac_ext
16993 cat >>conftest.
$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 $ac_includes_default
16996 #include <$ac_header>
16998 rm -f conftest.
$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000 (eval $ac_compile) 2>conftest.er1
17002 grep -v '^ *+' conftest.er1
>conftest.err
17004 cat conftest.err
>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } &&
17007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; } &&
17013 { ac_try
='test -s conftest.$ac_objext'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; }; then
17019 ac_header_compiler
=yes
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.
$ac_ext >&5
17024 ac_header_compiler
=no
17026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17028 echo "${ECHO_T}$ac_header_compiler" >&6
17030 # Is the header present?
17031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17033 cat >conftest.
$ac_ext <<_ACEOF
17036 cat confdefs.h
>>conftest.
$ac_ext
17037 cat >>conftest.
$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 #include <$ac_header>
17041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17044 grep -v '^ *+' conftest.er1
>conftest.err
17046 cat conftest.err
>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } >/dev
/null
; then
17049 if test -s conftest.err
; then
17050 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17051 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17058 if test -z "$ac_cpp_err"; then
17059 ac_header_preproc
=yes
17061 echo "$as_me: failed program was:" >&5
17062 sed 's/^/| /' conftest.
$ac_ext >&5
17064 ac_header_preproc
=no
17066 rm -f conftest.err conftest.
$ac_ext
17067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17068 echo "${ECHO_T}$ac_header_preproc" >&6
17070 # So? What about this header?
17071 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17077 ac_header_preproc
=yes
17080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17094 ## ----------------------------------------- ##
17095 ## Report this to wx-dev@lists.wxwidgets.org ##
17096 ## ----------------------------------------- ##
17099 sed "s/^/$as_me: WARNING: /" >&2
17102 echo "$as_me:$LINENO: checking for $ac_header" >&5
17103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17105 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 eval "$as_ac_Header=\$ac_header_preproc"
17109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17114 cat >>confdefs.h
<<_ACEOF
17115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17123 for ac_header
in wchar.h
17125 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17127 echo "$as_me:$LINENO: checking for $ac_header" >&5
17128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17135 # Is the header compilable?
17136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17138 cat >conftest.
$ac_ext <<_ACEOF
17141 cat confdefs.h
>>conftest.
$ac_ext
17142 cat >>conftest.
$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 $ac_includes_default
17145 #include <$ac_header>
17147 rm -f conftest.
$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17151 grep -v '^ *+' conftest.er1
>conftest.err
17153 cat conftest.err
>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try
='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_header_compiler
=yes
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.
$ac_ext >&5
17173 ac_header_compiler
=no
17175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17177 echo "${ECHO_T}$ac_header_compiler" >&6
17179 # Is the header present?
17180 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17182 cat >conftest.
$ac_ext <<_ACEOF
17185 cat confdefs.h
>>conftest.
$ac_ext
17186 cat >>conftest.
$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 #include <$ac_header>
17190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17191 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17193 grep -v '^ *+' conftest.er1
>conftest.err
17195 cat conftest.err
>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } >/dev
/null
; then
17198 if test -s conftest.err
; then
17199 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17200 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17207 if test -z "$ac_cpp_err"; then
17208 ac_header_preproc
=yes
17210 echo "$as_me: failed program was:" >&5
17211 sed 's/^/| /' conftest.
$ac_ext >&5
17213 ac_header_preproc
=no
17215 rm -f conftest.err conftest.
$ac_ext
17216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17217 echo "${ECHO_T}$ac_header_preproc" >&6
17219 # So? What about this header?
17220 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17226 ac_header_preproc
=yes
17229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17243 ## ----------------------------------------- ##
17244 ## Report this to wx-dev@lists.wxwidgets.org ##
17245 ## ----------------------------------------- ##
17248 sed "s/^/$as_me: WARNING: /" >&2
17251 echo "$as_me:$LINENO: checking for $ac_header" >&5
17252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17256 eval "$as_ac_Header=\$ac_header_preproc"
17258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17263 cat >>confdefs.h
<<_ACEOF
17264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17272 if test "$ac_cv_header_wchar_h" != "yes"; then
17274 for ac_header
in wcstr.h
17276 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17278 echo "$as_me:$LINENO: checking for $ac_header" >&5
17279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17286 # Is the header compilable?
17287 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17288 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17289 cat >conftest.
$ac_ext <<_ACEOF
17292 cat confdefs.h
>>conftest.
$ac_ext
17293 cat >>conftest.
$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 $ac_includes_default
17296 #include <$ac_header>
17298 rm -f conftest.
$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>conftest.er1
17302 grep -v '^ *+' conftest.er1
>conftest.err
17304 cat conftest.err
>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; } &&
17313 { ac_try
='test -s conftest.$ac_objext'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; }; then
17319 ac_header_compiler
=yes
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.
$ac_ext >&5
17324 ac_header_compiler
=no
17326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17328 echo "${ECHO_T}$ac_header_compiler" >&6
17330 # Is the header present?
17331 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17332 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17333 cat >conftest.
$ac_ext <<_ACEOF
17336 cat confdefs.h
>>conftest.
$ac_ext
17337 cat >>conftest.
$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 #include <$ac_header>
17341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17344 grep -v '^ *+' conftest.er1
>conftest.err
17346 cat conftest.err
>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } >/dev
/null
; then
17349 if test -s conftest.err
; then
17350 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17351 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17358 if test -z "$ac_cpp_err"; then
17359 ac_header_preproc
=yes
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.
$ac_ext >&5
17364 ac_header_preproc
=no
17366 rm -f conftest.err conftest.
$ac_ext
17367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17368 echo "${ECHO_T}$ac_header_preproc" >&6
17370 # So? What about this header?
17371 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17376 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17377 ac_header_preproc
=yes
17380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17383 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17384 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17385 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17386 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17387 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17390 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17391 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17394 ## ----------------------------------------- ##
17395 ## Report this to wx-dev@lists.wxwidgets.org ##
17396 ## ----------------------------------------- ##
17399 sed "s/^/$as_me: WARNING: /" >&2
17402 echo "$as_me:$LINENO: checking for $ac_header" >&5
17403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17405 echo $ECHO_N "(cached) $ECHO_C" >&6
17407 eval "$as_ac_Header=\$ac_header_preproc"
17409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17414 cat >>confdefs.h
<<_ACEOF
17415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17425 for ac_header
in fnmatch.h
17427 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17429 echo "$as_me:$LINENO: checking for $ac_header" >&5
17430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17437 # Is the header compilable?
17438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17440 cat >conftest.
$ac_ext <<_ACEOF
17443 cat confdefs.h
>>conftest.
$ac_ext
17444 cat >>conftest.
$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17446 $ac_includes_default
17447 #include <$ac_header>
17449 rm -f conftest.
$ac_objext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>conftest.er1
17453 grep -v '^ *+' conftest.er1
>conftest.err
17455 cat conftest.err
>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try
='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 ac_header_compiler
=yes
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.
$ac_ext >&5
17475 ac_header_compiler
=no
17477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17479 echo "${ECHO_T}$ac_header_compiler" >&6
17481 # Is the header present?
17482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17484 cat >conftest.
$ac_ext <<_ACEOF
17487 cat confdefs.h
>>conftest.
$ac_ext
17488 cat >>conftest.
$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490 #include <$ac_header>
17492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17495 grep -v '^ *+' conftest.er1
>conftest.err
17497 cat conftest.err
>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } >/dev
/null
; then
17500 if test -s conftest.err
; then
17501 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17502 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17509 if test -z "$ac_cpp_err"; then
17510 ac_header_preproc
=yes
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.
$ac_ext >&5
17515 ac_header_preproc
=no
17517 rm -f conftest.err conftest.
$ac_ext
17518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17519 echo "${ECHO_T}$ac_header_preproc" >&6
17521 # So? What about this header?
17522 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17528 ac_header_preproc
=yes
17531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17545 ## ----------------------------------------- ##
17546 ## Report this to wx-dev@lists.wxwidgets.org ##
17547 ## ----------------------------------------- ##
17550 sed "s/^/$as_me: WARNING: /" >&2
17553 echo "$as_me:$LINENO: checking for $ac_header" >&5
17554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17556 echo $ECHO_N "(cached) $ECHO_C" >&6
17558 eval "$as_ac_Header=\$ac_header_preproc"
17560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17565 cat >>confdefs.h
<<_ACEOF
17566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17575 for ac_header
in langinfo.h
17577 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17579 echo "$as_me:$LINENO: checking for $ac_header" >&5
17580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17582 echo $ECHO_N "(cached) $ECHO_C" >&6
17584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17587 # Is the header compilable?
17588 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17589 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17590 cat >conftest.
$ac_ext <<_ACEOF
17593 cat confdefs.h
>>conftest.
$ac_ext
17594 cat >>conftest.
$ac_ext <<_ACEOF
17595 /* end confdefs.h. */
17596 $ac_includes_default
17597 #include <$ac_header>
17599 rm -f conftest.
$ac_objext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17601 (eval $ac_compile) 2>conftest.er1
17603 grep -v '^ *+' conftest.er1
>conftest.err
17605 cat conftest.err
>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } &&
17608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; } &&
17614 { ac_try
='test -s conftest.$ac_objext'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; }; then
17620 ac_header_compiler
=yes
17622 echo "$as_me: failed program was:" >&5
17623 sed 's/^/| /' conftest.
$ac_ext >&5
17625 ac_header_compiler
=no
17627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17629 echo "${ECHO_T}$ac_header_compiler" >&6
17631 # Is the header present?
17632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17634 cat >conftest.
$ac_ext <<_ACEOF
17637 cat confdefs.h
>>conftest.
$ac_ext
17638 cat >>conftest.
$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 #include <$ac_header>
17642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17645 grep -v '^ *+' conftest.er1
>conftest.err
17647 cat conftest.err
>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } >/dev
/null
; then
17650 if test -s conftest.err
; then
17651 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17652 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17659 if test -z "$ac_cpp_err"; then
17660 ac_header_preproc
=yes
17662 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.
$ac_ext >&5
17665 ac_header_preproc
=no
17667 rm -f conftest.err conftest.
$ac_ext
17668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17669 echo "${ECHO_T}$ac_header_preproc" >&6
17671 # So? What about this header?
17672 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17678 ac_header_preproc
=yes
17681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17695 ## ----------------------------------------- ##
17696 ## Report this to wx-dev@lists.wxwidgets.org ##
17697 ## ----------------------------------------- ##
17700 sed "s/^/$as_me: WARNING: /" >&2
17703 echo "$as_me:$LINENO: checking for $ac_header" >&5
17704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 eval "$as_ac_Header=\$ac_header_preproc"
17710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17715 cat >>confdefs.h
<<_ACEOF
17716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17725 *-pc-os2_emx | *-pc-os2-emx )
17726 if test $ac_cv_header_langinfo_h = "yes" \
17727 -a \
( "$wx_cv_gccversion" = "EMX2" \
17728 -o "$wx_cv_gccversion" = "EMX3" \
17729 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17730 LIBS
="$LIBS -lintl"
17735 if test "$USE_UNIX" = 1 ; then
17737 for ac_header
in sys
/select.h
17739 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17741 echo "$as_me:$LINENO: checking for $ac_header" >&5
17742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17744 echo $ECHO_N "(cached) $ECHO_C" >&6
17746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17749 # Is the header compilable?
17750 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17752 cat >conftest.
$ac_ext <<_ACEOF
17755 cat confdefs.h
>>conftest.
$ac_ext
17756 cat >>conftest.
$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17758 $ac_includes_default
17759 #include <$ac_header>
17761 rm -f conftest.
$ac_objext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17763 (eval $ac_compile) 2>conftest.er1
17765 grep -v '^ *+' conftest.er1
>conftest.err
17767 cat conftest.err
>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } &&
17770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try
='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17782 ac_header_compiler
=yes
17784 echo "$as_me: failed program was:" >&5
17785 sed 's/^/| /' conftest.
$ac_ext >&5
17787 ac_header_compiler
=no
17789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17791 echo "${ECHO_T}$ac_header_compiler" >&6
17793 # Is the header present?
17794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17796 cat >conftest.
$ac_ext <<_ACEOF
17799 cat confdefs.h
>>conftest.
$ac_ext
17800 cat >>conftest.
$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 #include <$ac_header>
17804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17807 grep -v '^ *+' conftest.er1
>conftest.err
17809 cat conftest.err
>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } >/dev
/null
; then
17812 if test -s conftest.err
; then
17813 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17814 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17821 if test -z "$ac_cpp_err"; then
17822 ac_header_preproc
=yes
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.
$ac_ext >&5
17827 ac_header_preproc
=no
17829 rm -f conftest.err conftest.
$ac_ext
17830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17831 echo "${ECHO_T}$ac_header_preproc" >&6
17833 # So? What about this header?
17834 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17840 ac_header_preproc
=yes
17843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17857 ## ----------------------------------------- ##
17858 ## Report this to wx-dev@lists.wxwidgets.org ##
17859 ## ----------------------------------------- ##
17862 sed "s/^/$as_me: WARNING: /" >&2
17865 echo "$as_me:$LINENO: checking for $ac_header" >&5
17866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 eval "$as_ac_Header=\$ac_header_preproc"
17872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17877 cat >>confdefs.h
<<_ACEOF
17878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17888 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17889 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17890 if test "${ac_cv_c_const+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 cat >conftest.
$ac_ext <<_ACEOF
17896 cat confdefs.h
>>conftest.
$ac_ext
17897 cat >>conftest.
$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17903 /* FIXME: Include the comments suggested by Paul. */
17904 #ifndef __cplusplus
17905 /* Ultrix mips cc rejects this. */
17906 typedef int charset[2];
17908 /* SunOS 4.1.1 cc rejects this. */
17909 char const *const *ccp;
17911 /* NEC SVR4.0.2 mips cc rejects this. */
17912 struct point {int x, y;};
17913 static struct point const zero = {0,0};
17914 /* AIX XL C 1.02.0.0 rejects this.
17915 It does not let you subtract one const X* pointer from another in
17916 an arm of an if-expression whose if-part is not a constant
17918 const char *g = "string";
17919 ccp = &g + (g ? g-g : 0);
17920 /* HPUX 7.0 cc rejects these. */
17923 ccp = (char const *const *) p;
17924 { /* SCO 3.2v4 cc rejects this. */
17926 char const *s = 0 ? (char *) 0 : (char const *) 0;
17930 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17931 int x[] = {25, 17};
17932 const int *foo = &x[0];
17935 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17936 typedef const int *iptr;
17940 { /* AIX XL C 1.02.0.0 rejects this saying
17941 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17942 struct s { int j; const int *ap[3]; };
17943 struct s *b; b->j = 5;
17945 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17946 const int foo = 10;
17954 rm -f conftest.
$ac_objext
17955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17956 (eval $ac_compile) 2>conftest.er1
17958 grep -v '^ *+' conftest.er1
>conftest.err
17960 cat conftest.err
>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } &&
17963 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965 (eval $ac_try) 2>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); }; } &&
17969 { ac_try
='test -s conftest.$ac_objext'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; }; then
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.
$ac_ext >&5
17982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17984 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17985 echo "${ECHO_T}$ac_cv_c_const" >&6
17986 if test $ac_cv_c_const = no
; then
17988 cat >>confdefs.h
<<\_ACEOF
17994 echo "$as_me:$LINENO: checking for inline" >&5
17995 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17996 if test "${ac_cv_c_inline+set}" = set; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 for ac_kw
in inline __inline__ __inline
; do
18001 cat >conftest.
$ac_ext <<_ACEOF
18004 cat confdefs.h
>>conftest.
$ac_ext
18005 cat >>conftest.
$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 #ifndef __cplusplus
18009 static $ac_kw foo_t static_foo () {return 0; }
18010 $ac_kw foo_t foo () {return 0; }
18014 rm -f conftest.
$ac_objext
18015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18016 (eval $ac_compile) 2>conftest.er1
18018 grep -v '^ *+' conftest.er1
>conftest.err
18020 cat conftest.err
>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } &&
18023 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try
='test -s conftest.$ac_objext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_c_inline
=$ac_kw; break
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.
$ac_ext >&5
18041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18045 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18046 echo "${ECHO_T}$ac_cv_c_inline" >&6
18049 case $ac_cv_c_inline in
18052 case $ac_cv_c_inline in
18054 *) ac_val
=$ac_cv_c_inline;;
18056 cat >>confdefs.h
<<_ACEOF
18057 #ifndef __cplusplus
18058 #define inline $ac_val
18065 echo "$as_me:$LINENO: checking for char" >&5
18066 echo $ECHO_N "checking for char... $ECHO_C" >&6
18067 if test "${ac_cv_type_char+set}" = set; then
18068 echo $ECHO_N "(cached) $ECHO_C" >&6
18070 cat >conftest.
$ac_ext <<_ACEOF
18073 cat confdefs.h
>>conftest.
$ac_ext
18074 cat >>conftest.
$ac_ext <<_ACEOF
18075 /* end confdefs.h. */
18076 $ac_includes_default
18088 rm -f conftest.
$ac_objext
18089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18090 (eval $ac_compile) 2>conftest.er1
18092 grep -v '^ *+' conftest.er1
>conftest.err
18094 cat conftest.err
>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } &&
18097 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; } &&
18103 { ac_try
='test -s conftest.$ac_objext'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 ac_cv_type_char
=yes
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.
$ac_ext >&5
18116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18118 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18119 echo "${ECHO_T}$ac_cv_type_char" >&6
18121 echo "$as_me:$LINENO: checking size of char" >&5
18122 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18123 if test "${ac_cv_sizeof_char+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 if test "$ac_cv_type_char" = yes; then
18127 # The cast to unsigned long works around a bug in the HP C Compiler
18128 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18129 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18130 # This bug is HP SR number 8606223364.
18131 if test "$cross_compiling" = yes; then
18132 # Depending upon the size, compute the lo and hi bounds.
18133 cat >conftest.
$ac_ext <<_ACEOF
18136 cat confdefs.h
>>conftest.
$ac_ext
18137 cat >>conftest.
$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18143 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18150 rm -f conftest.
$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18154 grep -v '^ *+' conftest.er1
>conftest.err
18156 cat conftest.err
>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try
='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18173 cat >conftest.
$ac_ext <<_ACEOF
18176 cat confdefs.h
>>conftest.
$ac_ext
18177 cat >>conftest.
$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 $ac_includes_default
18183 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18190 rm -f conftest.
$ac_objext
18191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18192 (eval $ac_compile) 2>conftest.er1
18194 grep -v '^ *+' conftest.er1
>conftest.err
18196 cat conftest.err
>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } &&
18199 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; } &&
18205 { ac_try
='test -s conftest.$ac_objext'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; }; then
18211 ac_hi
=$ac_mid; break
18213 echo "$as_me: failed program was:" >&5
18214 sed 's/^/| /' conftest.
$ac_ext >&5
18216 ac_lo
=`expr $ac_mid + 1`
18217 if test $ac_lo -le $ac_mid; then
18221 ac_mid
=`expr 2 '*' $ac_mid + 1`
18223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.
$ac_ext >&5
18229 cat >conftest.
$ac_ext <<_ACEOF
18232 cat confdefs.h
>>conftest.
$ac_ext
18233 cat >>conftest.
$ac_ext <<_ACEOF
18234 /* end confdefs.h. */
18235 $ac_includes_default
18239 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18246 rm -f conftest.
$ac_objext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18248 (eval $ac_compile) 2>conftest.er1
18250 grep -v '^ *+' conftest.er1
>conftest.err
18252 cat conftest.err
>&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } &&
18255 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try
='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18269 cat >conftest.
$ac_ext <<_ACEOF
18272 cat confdefs.h
>>conftest.
$ac_ext
18273 cat >>conftest.
$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 $ac_includes_default
18279 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18286 rm -f conftest.
$ac_objext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18288 (eval $ac_compile) 2>conftest.er1
18290 grep -v '^ *+' conftest.er1
>conftest.err
18292 cat conftest.err
>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; } &&
18301 { ac_try
='test -s conftest.$ac_objext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18307 ac_lo
=$ac_mid; break
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.
$ac_ext >&5
18312 ac_hi
=`expr '(' $ac_mid ')' - 1`
18313 if test $ac_mid -le $ac_hi; then
18317 ac_mid
=`expr 2 '*' $ac_mid`
18319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.
$ac_ext >&5
18327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18330 # Binary search between lo and hi bounds.
18331 while test "x$ac_lo" != "x$ac_hi"; do
18332 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18333 cat >conftest.
$ac_ext <<_ACEOF
18336 cat confdefs.h
>>conftest.
$ac_ext
18337 cat >>conftest.
$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339 $ac_includes_default
18343 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18350 rm -f conftest.
$ac_objext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18352 (eval $ac_compile) 2>conftest.er1
18354 grep -v '^ *+' conftest.er1
>conftest.err
18356 cat conftest.err
>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; } &&
18365 { ac_try
='test -s conftest.$ac_objext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.
$ac_ext >&5
18376 ac_lo
=`expr '(' $ac_mid ')' + 1`
18378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18381 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18382 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18383 See \`config.log' for more details." >&5
18384 echo "$as_me: error: cannot compute sizeof (char), 77
18385 See \`config.log' for more details." >&2;}
18386 { (exit 1); exit 1; }; } ;;
18389 if test "$cross_compiling" = yes; then
18390 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18391 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18392 { (exit 1); exit 1; }; }
18394 cat >conftest.
$ac_ext <<_ACEOF
18397 cat confdefs.h
>>conftest.
$ac_ext
18398 cat >>conftest.
$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400 $ac_includes_default
18401 long longval () { return (long) (sizeof (char)); }
18402 unsigned long ulongval () { return (long) (sizeof (char)); }
18404 #include <stdlib.h>
18409 FILE *f = fopen ("conftest.val", "w");
18412 if (((long) (sizeof (char))) < 0)
18414 long i = longval ();
18415 if (i != ((long) (sizeof (char))))
18417 fprintf (f, "%ld\n", i);
18421 unsigned long i = ulongval ();
18422 if (i != ((long) (sizeof (char))))
18424 fprintf (f, "%lu\n", i);
18426 exit (ferror (f) || fclose (f) != 0);
18432 rm -f conftest
$ac_exeext
18433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18434 (eval $ac_link) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_cv_sizeof_char
=`cat conftest.val`
18445 echo "$as_me: program exited with status $ac_status" >&5
18446 echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.
$ac_ext >&5
18449 ( exit $ac_status )
18450 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18451 See \`config.log' for more details." >&5
18452 echo "$as_me: error: cannot compute sizeof (char), 77
18453 See \`config.log' for more details." >&2;}
18454 { (exit 1); exit 1; }; }
18456 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18461 ac_cv_sizeof_char
=0
18464 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18465 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18466 cat >>confdefs.h
<<_ACEOF
18467 #define SIZEOF_CHAR $ac_cv_sizeof_char
18471 echo "$as_me:$LINENO: checking for short" >&5
18472 echo $ECHO_N "checking for short... $ECHO_C" >&6
18473 if test "${ac_cv_type_short+set}" = set; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18476 cat >conftest.
$ac_ext <<_ACEOF
18479 cat confdefs.h
>>conftest.
$ac_ext
18480 cat >>conftest.
$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 $ac_includes_default
18488 if (sizeof (short))
18494 rm -f conftest.
$ac_objext
18495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18496 (eval $ac_compile) 2>conftest.er1
18498 grep -v '^ *+' conftest.er1
>conftest.err
18500 cat conftest.err
>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } &&
18503 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; } &&
18509 { ac_try
='test -s conftest.$ac_objext'
18510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18511 (eval $ac_try) 2>&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); }; }; then
18515 ac_cv_type_short
=yes
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.
$ac_ext >&5
18520 ac_cv_type_short
=no
18522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18524 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18525 echo "${ECHO_T}$ac_cv_type_short" >&6
18527 echo "$as_me:$LINENO: checking size of short" >&5
18528 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18529 if test "${ac_cv_sizeof_short+set}" = set; then
18530 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 if test "$ac_cv_type_short" = yes; then
18533 # The cast to unsigned long works around a bug in the HP C Compiler
18534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18536 # This bug is HP SR number 8606223364.
18537 if test "$cross_compiling" = yes; then
18538 # Depending upon the size, compute the lo and hi bounds.
18539 cat >conftest.
$ac_ext <<_ACEOF
18542 cat confdefs.h
>>conftest.
$ac_ext
18543 cat >>conftest.
$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545 $ac_includes_default
18549 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18556 rm -f conftest.
$ac_objext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18558 (eval $ac_compile) 2>conftest.er1
18560 grep -v '^ *+' conftest.er1
>conftest.err
18562 cat conftest.err
>&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try
='test -s conftest.$ac_objext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18579 cat >conftest.
$ac_ext <<_ACEOF
18582 cat confdefs.h
>>conftest.
$ac_ext
18583 cat >>conftest.
$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585 $ac_includes_default
18589 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18596 rm -f conftest.
$ac_objext
18597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18598 (eval $ac_compile) 2>conftest.er1
18600 grep -v '^ *+' conftest.er1
>conftest.err
18602 cat conftest.err
>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } &&
18605 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18607 (eval $ac_try) 2>&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); }; } &&
18611 { ac_try
='test -s conftest.$ac_objext'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; }; then
18617 ac_hi
=$ac_mid; break
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.
$ac_ext >&5
18622 ac_lo
=`expr $ac_mid + 1`
18623 if test $ac_lo -le $ac_mid; then
18627 ac_mid
=`expr 2 '*' $ac_mid + 1`
18629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.
$ac_ext >&5
18635 cat >conftest.
$ac_ext <<_ACEOF
18638 cat confdefs.h
>>conftest.
$ac_ext
18639 cat >>conftest.
$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18645 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18652 rm -f conftest.
$ac_objext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18654 (eval $ac_compile) 2>conftest.er1
18656 grep -v '^ *+' conftest.er1
>conftest.err
18658 cat conftest.err
>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; } &&
18667 { ac_try
='test -s conftest.$ac_objext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18675 cat >conftest.
$ac_ext <<_ACEOF
18678 cat confdefs.h
>>conftest.
$ac_ext
18679 cat >>conftest.
$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 $ac_includes_default
18685 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18692 rm -f conftest.
$ac_objext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18694 (eval $ac_compile) 2>conftest.er1
18696 grep -v '^ *+' conftest.er1
>conftest.err
18698 cat conftest.err
>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try
='test -s conftest.$ac_objext'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; }; then
18713 ac_lo
=$ac_mid; break
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.
$ac_ext >&5
18718 ac_hi
=`expr '(' $ac_mid ')' - 1`
18719 if test $ac_mid -le $ac_hi; then
18723 ac_mid
=`expr 2 '*' $ac_mid`
18725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.
$ac_ext >&5
18733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18736 # Binary search between lo and hi bounds.
18737 while test "x$ac_lo" != "x$ac_hi"; do
18738 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18739 cat >conftest.
$ac_ext <<_ACEOF
18742 cat confdefs.h
>>conftest.
$ac_ext
18743 cat >>conftest.
$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18745 $ac_includes_default
18749 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18756 rm -f conftest.
$ac_objext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18758 (eval $ac_compile) 2>conftest.er1
18760 grep -v '^ *+' conftest.er1
>conftest.err
18762 cat conftest.err
>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
18765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; } &&
18771 { ac_try
='test -s conftest.$ac_objext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.
$ac_ext >&5
18782 ac_lo
=`expr '(' $ac_mid ')' + 1`
18784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18787 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18788 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18789 See \`config.log' for more details." >&5
18790 echo "$as_me: error: cannot compute sizeof (short), 77
18791 See \`config.log' for more details." >&2;}
18792 { (exit 1); exit 1; }; } ;;
18795 if test "$cross_compiling" = yes; then
18796 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18797 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18798 { (exit 1); exit 1; }; }
18800 cat >conftest.
$ac_ext <<_ACEOF
18803 cat confdefs.h
>>conftest.
$ac_ext
18804 cat >>conftest.
$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 $ac_includes_default
18807 long longval () { return (long) (sizeof (short)); }
18808 unsigned long ulongval () { return (long) (sizeof (short)); }
18810 #include <stdlib.h>
18815 FILE *f = fopen ("conftest.val", "w");
18818 if (((long) (sizeof (short))) < 0)
18820 long i = longval ();
18821 if (i != ((long) (sizeof (short))))
18823 fprintf (f, "%ld\n", i);
18827 unsigned long i = ulongval ();
18828 if (i != ((long) (sizeof (short))))
18830 fprintf (f, "%lu\n", i);
18832 exit (ferror (f) || fclose (f) != 0);
18838 rm -f conftest
$ac_exeext
18839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18840 (eval $ac_link) 2>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; }; then
18849 ac_cv_sizeof_short
=`cat conftest.val`
18851 echo "$as_me: program exited with status $ac_status" >&5
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.
$ac_ext >&5
18855 ( exit $ac_status )
18856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18857 See \`config.log' for more details." >&5
18858 echo "$as_me: error: cannot compute sizeof (short), 77
18859 See \`config.log' for more details." >&2;}
18860 { (exit 1); exit 1; }; }
18862 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18867 ac_cv_sizeof_short
=0
18870 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18871 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18872 cat >>confdefs.h
<<_ACEOF
18873 #define SIZEOF_SHORT $ac_cv_sizeof_short
18877 echo "$as_me:$LINENO: checking for void *" >&5
18878 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18879 if test "${ac_cv_type_void_p+set}" = set; then
18880 echo $ECHO_N "(cached) $ECHO_C" >&6
18882 cat >conftest.
$ac_ext <<_ACEOF
18885 cat confdefs.h
>>conftest.
$ac_ext
18886 cat >>conftest.
$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18894 if (sizeof (void *))
18900 rm -f conftest.
$ac_objext
18901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18902 (eval $ac_compile) 2>conftest.er1
18904 grep -v '^ *+' conftest.er1
>conftest.err
18906 cat conftest.err
>&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } &&
18909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18911 (eval $ac_try) 2>&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); }; } &&
18915 { ac_try
='test -s conftest.$ac_objext'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; }; then
18921 ac_cv_type_void_p
=yes
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.
$ac_ext >&5
18926 ac_cv_type_void_p
=no
18928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18930 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18931 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18933 echo "$as_me:$LINENO: checking size of void *" >&5
18934 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18935 if test "${ac_cv_sizeof_void_p+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18938 if test "$ac_cv_type_void_p" = yes; then
18939 # The cast to unsigned long works around a bug in the HP C Compiler
18940 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18941 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18942 # This bug is HP SR number 8606223364.
18943 if test "$cross_compiling" = yes; then
18944 # Depending upon the size, compute the lo and hi bounds.
18945 cat >conftest.
$ac_ext <<_ACEOF
18948 cat confdefs.h
>>conftest.
$ac_ext
18949 cat >>conftest.
$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 $ac_includes_default
18955 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18962 rm -f conftest.
$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18966 grep -v '^ *+' conftest.er1
>conftest.err
18968 cat conftest.err
>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; } &&
18977 { ac_try
='test -s conftest.$ac_objext'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18985 cat >conftest.
$ac_ext <<_ACEOF
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18995 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19002 rm -f conftest.
$ac_objext
19003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19004 (eval $ac_compile) 2>conftest.er1
19006 grep -v '^ *+' conftest.er1
>conftest.err
19008 cat conftest.err
>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } &&
19011 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; } &&
19017 { ac_try
='test -s conftest.$ac_objext'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; }; then
19023 ac_hi
=$ac_mid; break
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.
$ac_ext >&5
19028 ac_lo
=`expr $ac_mid + 1`
19029 if test $ac_lo -le $ac_mid; then
19033 ac_mid
=`expr 2 '*' $ac_mid + 1`
19035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.
$ac_ext >&5
19041 cat >conftest.
$ac_ext <<_ACEOF
19044 cat confdefs.h
>>conftest.
$ac_ext
19045 cat >>conftest.
$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 $ac_includes_default
19051 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19058 rm -f conftest.
$ac_objext
19059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19060 (eval $ac_compile) 2>conftest.er1
19062 grep -v '^ *+' conftest.er1
>conftest.err
19064 cat conftest.err
>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } &&
19067 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; } &&
19073 { ac_try
='test -s conftest.$ac_objext'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; }; then
19081 cat >conftest.
$ac_ext <<_ACEOF
19084 cat confdefs.h
>>conftest.
$ac_ext
19085 cat >>conftest.
$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 $ac_includes_default
19091 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19098 rm -f conftest.
$ac_objext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19100 (eval $ac_compile) 2>conftest.er1
19102 grep -v '^ *+' conftest.er1
>conftest.err
19104 cat conftest.err
>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); } &&
19107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; } &&
19113 { ac_try
='test -s conftest.$ac_objext'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; }; then
19119 ac_lo
=$ac_mid; break
19121 echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.
$ac_ext >&5
19124 ac_hi
=`expr '(' $ac_mid ')' - 1`
19125 if test $ac_mid -le $ac_hi; then
19129 ac_mid
=`expr 2 '*' $ac_mid`
19131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.
$ac_ext >&5
19139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19142 # Binary search between lo and hi bounds.
19143 while test "x$ac_lo" != "x$ac_hi"; do
19144 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19145 cat >conftest.
$ac_ext <<_ACEOF
19148 cat confdefs.h
>>conftest.
$ac_ext
19149 cat >>conftest.
$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 $ac_includes_default
19155 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19162 rm -f conftest.
$ac_objext
19163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19164 (eval $ac_compile) 2>conftest.er1
19166 grep -v '^ *+' conftest.er1
>conftest.err
19168 cat conftest.err
>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } &&
19171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; } &&
19177 { ac_try
='test -s conftest.$ac_objext'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; }; then
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.
$ac_ext >&5
19188 ac_lo
=`expr '(' $ac_mid ')' + 1`
19190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19193 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19194 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19195 See \`config.log' for more details." >&5
19196 echo "$as_me: error: cannot compute sizeof (void *), 77
19197 See \`config.log' for more details." >&2;}
19198 { (exit 1); exit 1; }; } ;;
19201 if test "$cross_compiling" = yes; then
19202 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19203 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19204 { (exit 1); exit 1; }; }
19206 cat >conftest.
$ac_ext <<_ACEOF
19209 cat confdefs.h
>>conftest.
$ac_ext
19210 cat >>conftest.
$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 $ac_includes_default
19213 long longval () { return (long) (sizeof (void *)); }
19214 unsigned long ulongval () { return (long) (sizeof (void *)); }
19216 #include <stdlib.h>
19221 FILE *f = fopen ("conftest.val", "w");
19224 if (((long) (sizeof (void *))) < 0)
19226 long i = longval ();
19227 if (i != ((long) (sizeof (void *))))
19229 fprintf (f, "%ld\n", i);
19233 unsigned long i = ulongval ();
19234 if (i != ((long) (sizeof (void *))))
19236 fprintf (f, "%lu\n", i);
19238 exit (ferror (f) || fclose (f) != 0);
19244 rm -f conftest
$ac_exeext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19246 (eval $ac_link) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 ac_cv_sizeof_void_p
=`cat conftest.val`
19257 echo "$as_me: program exited with status $ac_status" >&5
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.
$ac_ext >&5
19261 ( exit $ac_status )
19262 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19263 See \`config.log' for more details." >&5
19264 echo "$as_me: error: cannot compute sizeof (void *), 77
19265 See \`config.log' for more details." >&2;}
19266 { (exit 1); exit 1; }; }
19268 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19273 ac_cv_sizeof_void_p
=0
19276 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19277 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19278 cat >>confdefs.h
<<_ACEOF
19279 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19283 echo "$as_me:$LINENO: checking for int" >&5
19284 echo $ECHO_N "checking for int... $ECHO_C" >&6
19285 if test "${ac_cv_type_int+set}" = set; then
19286 echo $ECHO_N "(cached) $ECHO_C" >&6
19288 cat >conftest.
$ac_ext <<_ACEOF
19291 cat confdefs.h
>>conftest.
$ac_ext
19292 cat >>conftest.
$ac_ext <<_ACEOF
19293 /* end confdefs.h. */
19294 $ac_includes_default
19306 rm -f conftest.
$ac_objext
19307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19308 (eval $ac_compile) 2>conftest.er1
19310 grep -v '^ *+' conftest.er1
>conftest.err
19312 cat conftest.err
>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } &&
19315 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; } &&
19321 { ac_try
='test -s conftest.$ac_objext'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; }; then
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.
$ac_ext >&5
19334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19336 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19337 echo "${ECHO_T}$ac_cv_type_int" >&6
19339 echo "$as_me:$LINENO: checking size of int" >&5
19340 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19341 if test "${ac_cv_sizeof_int+set}" = set; then
19342 echo $ECHO_N "(cached) $ECHO_C" >&6
19344 if test "$ac_cv_type_int" = yes; then
19345 # The cast to unsigned long works around a bug in the HP C Compiler
19346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19347 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19348 # This bug is HP SR number 8606223364.
19349 if test "$cross_compiling" = yes; then
19350 # Depending upon the size, compute the lo and hi bounds.
19351 cat >conftest.
$ac_ext <<_ACEOF
19354 cat confdefs.h
>>conftest.
$ac_ext
19355 cat >>conftest.
$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19361 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19368 rm -f conftest.
$ac_objext
19369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19370 (eval $ac_compile) 2>conftest.er1
19372 grep -v '^ *+' conftest.er1
>conftest.err
19374 cat conftest.err
>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } &&
19377 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19379 (eval $ac_try) 2>&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); }; } &&
19383 { ac_try
='test -s conftest.$ac_objext'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; }; then
19391 cat >conftest.
$ac_ext <<_ACEOF
19394 cat confdefs.h
>>conftest.
$ac_ext
19395 cat >>conftest.
$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19397 $ac_includes_default
19401 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19408 rm -f conftest.
$ac_objext
19409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19410 (eval $ac_compile) 2>conftest.er1
19412 grep -v '^ *+' conftest.er1
>conftest.err
19414 cat conftest.err
>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; } &&
19423 { ac_try
='test -s conftest.$ac_objext'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 ac_hi
=$ac_mid; break
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.
$ac_ext >&5
19434 ac_lo
=`expr $ac_mid + 1`
19435 if test $ac_lo -le $ac_mid; then
19439 ac_mid
=`expr 2 '*' $ac_mid + 1`
19441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19444 echo "$as_me: failed program was:" >&5
19445 sed 's/^/| /' conftest.
$ac_ext >&5
19447 cat >conftest.
$ac_ext <<_ACEOF
19450 cat confdefs.h
>>conftest.
$ac_ext
19451 cat >>conftest.
$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 $ac_includes_default
19457 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19464 rm -f conftest.
$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19468 grep -v '^ *+' conftest.er1
>conftest.err
19470 cat conftest.err
>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try
='test -s conftest.$ac_objext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19487 cat >conftest.
$ac_ext <<_ACEOF
19490 cat confdefs.h
>>conftest.
$ac_ext
19491 cat >>conftest.
$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19497 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19504 rm -f conftest.
$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>conftest.er1
19508 grep -v '^ *+' conftest.er1
>conftest.err
19510 cat conftest.err
>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; } &&
19519 { ac_try
='test -s conftest.$ac_objext'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; }; then
19525 ac_lo
=$ac_mid; break
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.
$ac_ext >&5
19530 ac_hi
=`expr '(' $ac_mid ')' - 1`
19531 if test $ac_mid -le $ac_hi; then
19535 ac_mid
=`expr 2 '*' $ac_mid`
19537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.
$ac_ext >&5
19545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19548 # Binary search between lo and hi bounds.
19549 while test "x$ac_lo" != "x$ac_hi"; do
19550 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19551 cat >conftest.
$ac_ext <<_ACEOF
19554 cat confdefs.h
>>conftest.
$ac_ext
19555 cat >>conftest.
$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19557 $ac_includes_default
19561 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19568 rm -f conftest.
$ac_objext
19569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19570 (eval $ac_compile) 2>conftest.er1
19572 grep -v '^ *+' conftest.er1
>conftest.err
19574 cat conftest.err
>&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } &&
19577 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19579 (eval $ac_try) 2>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; } &&
19583 { ac_try
='test -s conftest.$ac_objext'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; }; then
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.
$ac_ext >&5
19594 ac_lo
=`expr '(' $ac_mid ')' + 1`
19596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19599 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19600 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19601 See \`config.log' for more details." >&5
19602 echo "$as_me: error: cannot compute sizeof (int), 77
19603 See \`config.log' for more details." >&2;}
19604 { (exit 1); exit 1; }; } ;;
19607 if test "$cross_compiling" = yes; then
19608 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19609 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19610 { (exit 1); exit 1; }; }
19612 cat >conftest.
$ac_ext <<_ACEOF
19615 cat confdefs.h
>>conftest.
$ac_ext
19616 cat >>conftest.
$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 $ac_includes_default
19619 long longval () { return (long) (sizeof (int)); }
19620 unsigned long ulongval () { return (long) (sizeof (int)); }
19622 #include <stdlib.h>
19627 FILE *f = fopen ("conftest.val", "w");
19630 if (((long) (sizeof (int))) < 0)
19632 long i = longval ();
19633 if (i != ((long) (sizeof (int))))
19635 fprintf (f, "%ld\n", i);
19639 unsigned long i = ulongval ();
19640 if (i != ((long) (sizeof (int))))
19642 fprintf (f, "%lu\n", i);
19644 exit (ferror (f) || fclose (f) != 0);
19650 rm -f conftest
$ac_exeext
19651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19652 (eval $ac_link) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19657 (eval $ac_try) 2>&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); }; }; then
19661 ac_cv_sizeof_int
=`cat conftest.val`
19663 echo "$as_me: program exited with status $ac_status" >&5
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.
$ac_ext >&5
19667 ( exit $ac_status )
19668 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19669 See \`config.log' for more details." >&5
19670 echo "$as_me: error: cannot compute sizeof (int), 77
19671 See \`config.log' for more details." >&2;}
19672 { (exit 1); exit 1; }; }
19674 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19682 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19683 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19684 cat >>confdefs.h
<<_ACEOF
19685 #define SIZEOF_INT $ac_cv_sizeof_int
19689 echo "$as_me:$LINENO: checking for long" >&5
19690 echo $ECHO_N "checking for long... $ECHO_C" >&6
19691 if test "${ac_cv_type_long+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 cat >conftest.
$ac_ext <<_ACEOF
19697 cat confdefs.h
>>conftest.
$ac_ext
19698 cat >>conftest.
$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 $ac_includes_default
19712 rm -f conftest.
$ac_objext
19713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19714 (eval $ac_compile) 2>conftest.er1
19716 grep -v '^ *+' conftest.er1
>conftest.err
19718 cat conftest.err
>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
19721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 (eval $ac_try) 2>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); }; } &&
19727 { ac_try
='test -s conftest.$ac_objext'
19728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729 (eval $ac_try) 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; }; then
19733 ac_cv_type_long
=yes
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.
$ac_ext >&5
19740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19742 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19743 echo "${ECHO_T}$ac_cv_type_long" >&6
19745 echo "$as_me:$LINENO: checking size of long" >&5
19746 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19747 if test "${ac_cv_sizeof_long+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 if test "$ac_cv_type_long" = yes; then
19751 # The cast to unsigned long works around a bug in the HP C Compiler
19752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19754 # This bug is HP SR number 8606223364.
19755 if test "$cross_compiling" = yes; then
19756 # Depending upon the size, compute the lo and hi bounds.
19757 cat >conftest.
$ac_ext <<_ACEOF
19760 cat confdefs.h
>>conftest.
$ac_ext
19761 cat >>conftest.
$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 $ac_includes_default
19767 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19774 rm -f conftest.
$ac_objext
19775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19776 (eval $ac_compile) 2>conftest.er1
19778 grep -v '^ *+' conftest.er1
>conftest.err
19780 cat conftest.err
>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } &&
19783 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785 (eval $ac_try) 2>&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; } &&
19789 { ac_try
='test -s conftest.$ac_objext'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; }; then
19797 cat >conftest.
$ac_ext <<_ACEOF
19800 cat confdefs.h
>>conftest.
$ac_ext
19801 cat >>conftest.
$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19807 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19814 rm -f conftest.
$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>conftest.er1
19818 grep -v '^ *+' conftest.er1
>conftest.err
19820 cat conftest.err
>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; } &&
19829 { ac_try
='test -s conftest.$ac_objext'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; }; then
19835 ac_hi
=$ac_mid; break
19837 echo "$as_me: failed program was:" >&5
19838 sed 's/^/| /' conftest.
$ac_ext >&5
19840 ac_lo
=`expr $ac_mid + 1`
19841 if test $ac_lo -le $ac_mid; then
19845 ac_mid
=`expr 2 '*' $ac_mid + 1`
19847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19850 echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.
$ac_ext >&5
19853 cat >conftest.
$ac_ext <<_ACEOF
19856 cat confdefs.h
>>conftest.
$ac_ext
19857 cat >>conftest.
$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19863 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19870 rm -f conftest.
$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872 (eval $ac_compile) 2>conftest.er1
19874 grep -v '^ *+' conftest.er1
>conftest.err
19876 cat conftest.err
>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; } &&
19885 { ac_try
='test -s conftest.$ac_objext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19893 cat >conftest.
$ac_ext <<_ACEOF
19896 cat confdefs.h
>>conftest.
$ac_ext
19897 cat >>conftest.
$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19903 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19910 rm -f conftest.
$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19914 grep -v '^ *+' conftest.er1
>conftest.err
19916 cat conftest.err
>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try
='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 ac_lo
=$ac_mid; break
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.
$ac_ext >&5
19936 ac_hi
=`expr '(' $ac_mid ')' - 1`
19937 if test $ac_mid -le $ac_hi; then
19941 ac_mid
=`expr 2 '*' $ac_mid`
19943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.
$ac_ext >&5
19951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19954 # Binary search between lo and hi bounds.
19955 while test "x$ac_lo" != "x$ac_hi"; do
19956 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19957 cat >conftest.
$ac_ext <<_ACEOF
19960 cat confdefs.h
>>conftest.
$ac_ext
19961 cat >>conftest.
$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 $ac_includes_default
19967 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19974 rm -f conftest.
$ac_objext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976 (eval $ac_compile) 2>conftest.er1
19978 grep -v '^ *+' conftest.er1
>conftest.err
19980 cat conftest.err
>&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } &&
19983 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try
='test -s conftest.$ac_objext'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; }; then
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.
$ac_ext >&5
20000 ac_lo
=`expr '(' $ac_mid ')' + 1`
20002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20005 ?
*) ac_cv_sizeof_long
=$ac_lo;;
20006 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20007 See \`config.log' for more details." >&5
20008 echo "$as_me: error: cannot compute sizeof (long), 77
20009 See \`config.log' for more details." >&2;}
20010 { (exit 1); exit 1; }; } ;;
20013 if test "$cross_compiling" = yes; then
20014 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20015 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20016 { (exit 1); exit 1; }; }
20018 cat >conftest.
$ac_ext <<_ACEOF
20021 cat confdefs.h
>>conftest.
$ac_ext
20022 cat >>conftest.
$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 $ac_includes_default
20025 long longval () { return (long) (sizeof (long)); }
20026 unsigned long ulongval () { return (long) (sizeof (long)); }
20028 #include <stdlib.h>
20033 FILE *f = fopen ("conftest.val", "w");
20036 if (((long) (sizeof (long))) < 0)
20038 long i = longval ();
20039 if (i != ((long) (sizeof (long))))
20041 fprintf (f, "%ld\n", i);
20045 unsigned long i = ulongval ();
20046 if (i != ((long) (sizeof (long))))
20048 fprintf (f, "%lu\n", i);
20050 exit (ferror (f) || fclose (f) != 0);
20056 rm -f conftest
$ac_exeext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20058 (eval $ac_link) 2>&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20067 ac_cv_sizeof_long
=`cat conftest.val`
20069 echo "$as_me: program exited with status $ac_status" >&5
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.
$ac_ext >&5
20073 ( exit $ac_status )
20074 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20075 See \`config.log' for more details." >&5
20076 echo "$as_me: error: cannot compute sizeof (long), 77
20077 See \`config.log' for more details." >&2;}
20078 { (exit 1); exit 1; }; }
20080 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20085 ac_cv_sizeof_long
=0
20088 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20089 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20090 cat >>confdefs.h
<<_ACEOF
20091 #define SIZEOF_LONG $ac_cv_sizeof_long
20095 echo "$as_me:$LINENO: checking for size_t" >&5
20096 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20097 if test "${ac_cv_type_size_t+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 cat >conftest.
$ac_ext <<_ACEOF
20103 cat confdefs.h
>>conftest.
$ac_ext
20104 cat >>conftest.
$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20106 $ac_includes_default
20112 if (sizeof (size_t))
20118 rm -f conftest.
$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20122 grep -v '^ *+' conftest.er1
>conftest.err
20124 cat conftest.err
>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; } &&
20133 { ac_try
='test -s conftest.$ac_objext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 ac_cv_type_size_t
=yes
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.
$ac_ext >&5
20144 ac_cv_type_size_t
=no
20146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20148 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20149 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20151 echo "$as_me:$LINENO: checking size of size_t" >&5
20152 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20153 if test "${ac_cv_sizeof_size_t+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 if test "$ac_cv_type_size_t" = yes; then
20157 # The cast to unsigned long works around a bug in the HP C Compiler
20158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20159 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20160 # This bug is HP SR number 8606223364.
20161 if test "$cross_compiling" = yes; then
20162 # Depending upon the size, compute the lo and hi bounds.
20163 cat >conftest.
$ac_ext <<_ACEOF
20166 cat confdefs.h
>>conftest.
$ac_ext
20167 cat >>conftest.
$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 $ac_includes_default
20173 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20180 rm -f conftest.
$ac_objext
20181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20182 (eval $ac_compile) 2>conftest.er1
20184 grep -v '^ *+' conftest.er1
>conftest.err
20186 cat conftest.err
>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); } &&
20189 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; } &&
20195 { ac_try
='test -s conftest.$ac_objext'
20196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20197 (eval $ac_try) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; }; then
20203 cat >conftest.
$ac_ext <<_ACEOF
20206 cat confdefs.h
>>conftest.
$ac_ext
20207 cat >>conftest.
$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 $ac_includes_default
20213 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20220 rm -f conftest.
$ac_objext
20221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20222 (eval $ac_compile) 2>conftest.er1
20224 grep -v '^ *+' conftest.er1
>conftest.err
20226 cat conftest.err
>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; } &&
20235 { ac_try
='test -s conftest.$ac_objext'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; }; then
20241 ac_hi
=$ac_mid; break
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.
$ac_ext >&5
20246 ac_lo
=`expr $ac_mid + 1`
20247 if test $ac_lo -le $ac_mid; then
20251 ac_mid
=`expr 2 '*' $ac_mid + 1`
20253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.
$ac_ext >&5
20259 cat >conftest.
$ac_ext <<_ACEOF
20262 cat confdefs.h
>>conftest.
$ac_ext
20263 cat >>conftest.
$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 $ac_includes_default
20269 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20276 rm -f conftest.
$ac_objext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20278 (eval $ac_compile) 2>conftest.er1
20280 grep -v '^ *+' conftest.er1
>conftest.err
20282 cat conftest.err
>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } &&
20285 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287 (eval $ac_try) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; } &&
20291 { ac_try
='test -s conftest.$ac_objext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20299 cat >conftest.
$ac_ext <<_ACEOF
20302 cat confdefs.h
>>conftest.
$ac_ext
20303 cat >>conftest.
$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20309 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20316 rm -f conftest.
$ac_objext
20317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20318 (eval $ac_compile) 2>conftest.er1
20320 grep -v '^ *+' conftest.er1
>conftest.err
20322 cat conftest.err
>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } &&
20325 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; } &&
20331 { ac_try
='test -s conftest.$ac_objext'
20332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333 (eval $ac_try) 2>&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); }; }; then
20337 ac_lo
=$ac_mid; break
20339 echo "$as_me: failed program was:" >&5
20340 sed 's/^/| /' conftest.
$ac_ext >&5
20342 ac_hi
=`expr '(' $ac_mid ')' - 1`
20343 if test $ac_mid -le $ac_hi; then
20347 ac_mid
=`expr 2 '*' $ac_mid`
20349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.
$ac_ext >&5
20357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20360 # Binary search between lo and hi bounds.
20361 while test "x$ac_lo" != "x$ac_hi"; do
20362 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20363 cat >conftest.
$ac_ext <<_ACEOF
20366 cat confdefs.h
>>conftest.
$ac_ext
20367 cat >>conftest.
$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 $ac_includes_default
20373 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20380 rm -f conftest.
$ac_objext
20381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20382 (eval $ac_compile) 2>conftest.er1
20384 grep -v '^ *+' conftest.er1
>conftest.err
20386 cat conftest.err
>&5
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); } &&
20389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20391 (eval $ac_try) 2>&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; } &&
20395 { ac_try
='test -s conftest.$ac_objext'
20396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; }; then
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.
$ac_ext >&5
20406 ac_lo
=`expr '(' $ac_mid ')' + 1`
20408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20411 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20412 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20413 See \`config.log' for more details." >&5
20414 echo "$as_me: error: cannot compute sizeof (size_t), 77
20415 See \`config.log' for more details." >&2;}
20416 { (exit 1); exit 1; }; } ;;
20419 if test "$cross_compiling" = yes; then
20420 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20421 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20422 { (exit 1); exit 1; }; }
20424 cat >conftest.
$ac_ext <<_ACEOF
20427 cat confdefs.h
>>conftest.
$ac_ext
20428 cat >>conftest.
$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 $ac_includes_default
20431 long longval () { return (long) (sizeof (size_t)); }
20432 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20434 #include <stdlib.h>
20439 FILE *f = fopen ("conftest.val", "w");
20442 if (((long) (sizeof (size_t))) < 0)
20444 long i = longval ();
20445 if (i != ((long) (sizeof (size_t))))
20447 fprintf (f, "%ld\n", i);
20451 unsigned long i = ulongval ();
20452 if (i != ((long) (sizeof (size_t))))
20454 fprintf (f, "%lu\n", i);
20456 exit (ferror (f) || fclose (f) != 0);
20462 rm -f conftest
$ac_exeext
20463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20464 (eval $ac_link) 2>&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20469 (eval $ac_try) 2>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); }; }; then
20473 ac_cv_sizeof_size_t
=`cat conftest.val`
20475 echo "$as_me: program exited with status $ac_status" >&5
20476 echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.
$ac_ext >&5
20479 ( exit $ac_status )
20480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20481 See \`config.log' for more details." >&5
20482 echo "$as_me: error: cannot compute sizeof (size_t), 77
20483 See \`config.log' for more details." >&2;}
20484 { (exit 1); exit 1; }; }
20486 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20491 ac_cv_sizeof_size_t
=0
20494 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20495 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20496 cat >>confdefs.h
<<_ACEOF
20497 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20504 echo "$as_me:$LINENO: checking for long long" >&5
20505 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20506 if test "${ac_cv_type_long_long+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20509 cat >conftest.
$ac_ext <<_ACEOF
20512 cat confdefs.h
>>conftest.
$ac_ext
20513 cat >>conftest.
$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20519 if ((long long *) 0)
20521 if (sizeof (long long))
20527 rm -f conftest.
$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529 (eval $ac_compile) 2>conftest.er1
20531 grep -v '^ *+' conftest.er1
>conftest.err
20533 cat conftest.err
>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; } &&
20542 { ac_try
='test -s conftest.$ac_objext'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; }; then
20548 ac_cv_type_long_long
=yes
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.
$ac_ext >&5
20553 ac_cv_type_long_long
=no
20555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20557 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20558 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20560 echo "$as_me:$LINENO: checking size of long long" >&5
20561 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20562 if test "${ac_cv_sizeof_long_long+set}" = set; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20565 if test "$ac_cv_type_long_long" = yes; then
20566 # The cast to unsigned long works around a bug in the HP C Compiler
20567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20569 # This bug is HP SR number 8606223364.
20570 if test "$cross_compiling" = yes; then
20571 # Depending upon the size, compute the lo and hi bounds.
20572 cat >conftest.
$ac_ext <<_ACEOF
20575 cat confdefs.h
>>conftest.
$ac_ext
20576 cat >>conftest.
$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 $ac_includes_default
20582 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20589 rm -f conftest.
$ac_objext
20590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20591 (eval $ac_compile) 2>conftest.er1
20593 grep -v '^ *+' conftest.er1
>conftest.err
20595 cat conftest.err
>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } &&
20598 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try
='test -s conftest.$ac_objext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20612 cat >conftest.
$ac_ext <<_ACEOF
20615 cat confdefs.h
>>conftest.
$ac_ext
20616 cat >>conftest.
$ac_ext <<_ACEOF
20617 /* end confdefs.h. */
20618 $ac_includes_default
20622 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20629 rm -f conftest.
$ac_objext
20630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20631 (eval $ac_compile) 2>conftest.er1
20633 grep -v '^ *+' conftest.er1
>conftest.err
20635 cat conftest.err
>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } &&
20638 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; } &&
20644 { ac_try
='test -s conftest.$ac_objext'
20645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20646 (eval $ac_try) 2>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); }; }; then
20650 ac_hi
=$ac_mid; break
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.
$ac_ext >&5
20655 ac_lo
=`expr $ac_mid + 1`
20656 if test $ac_lo -le $ac_mid; then
20660 ac_mid
=`expr 2 '*' $ac_mid + 1`
20662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.
$ac_ext >&5
20668 cat >conftest.
$ac_ext <<_ACEOF
20671 cat confdefs.h
>>conftest.
$ac_ext
20672 cat >>conftest.
$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20678 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20685 rm -f conftest.
$ac_objext
20686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20687 (eval $ac_compile) 2>conftest.er1
20689 grep -v '^ *+' conftest.er1
>conftest.err
20691 cat conftest.err
>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } &&
20694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696 (eval $ac_try) 2>&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; } &&
20700 { ac_try
='test -s conftest.$ac_objext'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; }; then
20708 cat >conftest.
$ac_ext <<_ACEOF
20711 cat confdefs.h
>>conftest.
$ac_ext
20712 cat >>conftest.
$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20718 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20725 rm -f conftest.
$ac_objext
20726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20727 (eval $ac_compile) 2>conftest.er1
20729 grep -v '^ *+' conftest.er1
>conftest.err
20731 cat conftest.err
>&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } &&
20734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20736 (eval $ac_try) 2>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; } &&
20740 { ac_try
='test -s conftest.$ac_objext'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; }; then
20746 ac_lo
=$ac_mid; break
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.
$ac_ext >&5
20751 ac_hi
=`expr '(' $ac_mid ')' - 1`
20752 if test $ac_mid -le $ac_hi; then
20756 ac_mid
=`expr 2 '*' $ac_mid`
20758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.
$ac_ext >&5
20766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20769 # Binary search between lo and hi bounds.
20770 while test "x$ac_lo" != "x$ac_hi"; do
20771 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20772 cat >conftest.
$ac_ext <<_ACEOF
20775 cat confdefs.h
>>conftest.
$ac_ext
20776 cat >>conftest.
$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 $ac_includes_default
20782 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20789 rm -f conftest.
$ac_objext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791 (eval $ac_compile) 2>conftest.er1
20793 grep -v '^ *+' conftest.er1
>conftest.err
20795 cat conftest.err
>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try
='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.
$ac_ext >&5
20815 ac_lo
=`expr '(' $ac_mid ')' + 1`
20817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20820 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20821 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20822 See \`config.log' for more details." >&5
20823 echo "$as_me: error: cannot compute sizeof (long long), 77
20824 See \`config.log' for more details." >&2;}
20825 { (exit 1); exit 1; }; } ;;
20828 if test "$cross_compiling" = yes; then
20829 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20830 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20831 { (exit 1); exit 1; }; }
20833 cat >conftest.
$ac_ext <<_ACEOF
20836 cat confdefs.h
>>conftest.
$ac_ext
20837 cat >>conftest.
$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 $ac_includes_default
20840 long longval () { return (long) (sizeof (long long)); }
20841 unsigned long ulongval () { return (long) (sizeof (long long)); }
20843 #include <stdlib.h>
20848 FILE *f = fopen ("conftest.val", "w");
20851 if (((long) (sizeof (long long))) < 0)
20853 long i = longval ();
20854 if (i != ((long) (sizeof (long long))))
20856 fprintf (f, "%ld\n", i);
20860 unsigned long i = ulongval ();
20861 if (i != ((long) (sizeof (long long))))
20863 fprintf (f, "%lu\n", i);
20865 exit (ferror (f) || fclose (f) != 0);
20871 rm -f conftest
$ac_exeext
20872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20873 (eval $ac_link) 2>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; }; then
20882 ac_cv_sizeof_long_long
=`cat conftest.val`
20884 echo "$as_me: program exited with status $ac_status" >&5
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.
$ac_ext >&5
20888 ( exit $ac_status )
20889 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20890 See \`config.log' for more details." >&5
20891 echo "$as_me: error: cannot compute sizeof (long long), 77
20892 See \`config.log' for more details." >&2;}
20893 { (exit 1); exit 1; }; }
20895 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20900 ac_cv_sizeof_long_long
=0
20903 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20904 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20905 cat >>confdefs.h
<<_ACEOF
20906 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20912 echo "$as_me:$LINENO: checking for long long" >&5
20913 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20914 if test "${ac_cv_type_long_long+set}" = set; then
20915 echo $ECHO_N "(cached) $ECHO_C" >&6
20917 cat >conftest.
$ac_ext <<_ACEOF
20920 cat confdefs.h
>>conftest.
$ac_ext
20921 cat >>conftest.
$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923 $ac_includes_default
20927 if ((long long *) 0)
20929 if (sizeof (long long))
20935 rm -f conftest.
$ac_objext
20936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20937 (eval $ac_compile) 2>conftest.er1
20939 grep -v '^ *+' conftest.er1
>conftest.err
20941 cat conftest.err
>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } &&
20944 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; } &&
20950 { ac_try
='test -s conftest.$ac_objext'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 ac_cv_type_long_long
=yes
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.
$ac_ext >&5
20961 ac_cv_type_long_long
=no
20963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20965 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20966 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20968 echo "$as_me:$LINENO: checking size of long long" >&5
20969 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20970 if test "${ac_cv_sizeof_long_long+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20973 if test "$ac_cv_type_long_long" = yes; then
20974 # The cast to unsigned long works around a bug in the HP C Compiler
20975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20977 # This bug is HP SR number 8606223364.
20978 if test "$cross_compiling" = yes; then
20979 # Depending upon the size, compute the lo and hi bounds.
20980 cat >conftest.
$ac_ext <<_ACEOF
20983 cat confdefs.h
>>conftest.
$ac_ext
20984 cat >>conftest.
$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 $ac_includes_default
20990 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20997 rm -f conftest.
$ac_objext
20998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20999 (eval $ac_compile) 2>conftest.er1
21001 grep -v '^ *+' conftest.er1
>conftest.err
21003 cat conftest.err
>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } &&
21006 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21008 (eval $ac_try) 2>&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); }; } &&
21012 { ac_try
='test -s conftest.$ac_objext'
21013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21014 (eval $ac_try) 2>&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); }; }; then
21020 cat >conftest.
$ac_ext <<_ACEOF
21023 cat confdefs.h
>>conftest.
$ac_ext
21024 cat >>conftest.
$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21030 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21037 rm -f conftest.
$ac_objext
21038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21039 (eval $ac_compile) 2>conftest.er1
21041 grep -v '^ *+' conftest.er1
>conftest.err
21043 cat conftest.err
>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; } &&
21052 { ac_try
='test -s conftest.$ac_objext'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 ac_hi
=$ac_mid; break
21060 echo "$as_me: failed program was:" >&5
21061 sed 's/^/| /' conftest.
$ac_ext >&5
21063 ac_lo
=`expr $ac_mid + 1`
21064 if test $ac_lo -le $ac_mid; then
21068 ac_mid
=`expr 2 '*' $ac_mid + 1`
21070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.
$ac_ext >&5
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21086 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21093 rm -f conftest.
$ac_objext
21094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21095 (eval $ac_compile) 2>conftest.er1
21097 grep -v '^ *+' conftest.er1
>conftest.err
21099 cat conftest.err
>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } &&
21102 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; } &&
21108 { ac_try
='test -s conftest.$ac_objext'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; }; then
21116 cat >conftest.
$ac_ext <<_ACEOF
21119 cat confdefs.h
>>conftest.
$ac_ext
21120 cat >>conftest.
$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21122 $ac_includes_default
21126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21133 rm -f conftest.
$ac_objext
21134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21135 (eval $ac_compile) 2>conftest.er1
21137 grep -v '^ *+' conftest.er1
>conftest.err
21139 cat conftest.err
>&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); } &&
21142 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; } &&
21148 { ac_try
='test -s conftest.$ac_objext'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; }; then
21154 ac_lo
=$ac_mid; break
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.
$ac_ext >&5
21159 ac_hi
=`expr '(' $ac_mid ')' - 1`
21160 if test $ac_mid -le $ac_hi; then
21164 ac_mid
=`expr 2 '*' $ac_mid`
21166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.
$ac_ext >&5
21174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21177 # Binary search between lo and hi bounds.
21178 while test "x$ac_lo" != "x$ac_hi"; do
21179 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21180 cat >conftest.
$ac_ext <<_ACEOF
21183 cat confdefs.h
>>conftest.
$ac_ext
21184 cat >>conftest.
$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21186 $ac_includes_default
21190 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21197 rm -f conftest.
$ac_objext
21198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21199 (eval $ac_compile) 2>conftest.er1
21201 grep -v '^ *+' conftest.er1
>conftest.err
21203 cat conftest.err
>&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } &&
21206 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; } &&
21212 { ac_try
='test -s conftest.$ac_objext'
21213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214 (eval $ac_try) 2>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); }; }; then
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.
$ac_ext >&5
21223 ac_lo
=`expr '(' $ac_mid ')' + 1`
21225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21228 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21229 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21230 See \`config.log' for more details." >&5
21231 echo "$as_me: error: cannot compute sizeof (long long), 77
21232 See \`config.log' for more details." >&2;}
21233 { (exit 1); exit 1; }; } ;;
21236 if test "$cross_compiling" = yes; then
21237 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21238 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21239 { (exit 1); exit 1; }; }
21241 cat >conftest.
$ac_ext <<_ACEOF
21244 cat confdefs.h
>>conftest.
$ac_ext
21245 cat >>conftest.
$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 $ac_includes_default
21248 long longval () { return (long) (sizeof (long long)); }
21249 unsigned long ulongval () { return (long) (sizeof (long long)); }
21251 #include <stdlib.h>
21256 FILE *f = fopen ("conftest.val", "w");
21259 if (((long) (sizeof (long long))) < 0)
21261 long i = longval ();
21262 if (i != ((long) (sizeof (long long))))
21264 fprintf (f, "%ld\n", i);
21268 unsigned long i = ulongval ();
21269 if (i != ((long) (sizeof (long long))))
21271 fprintf (f, "%lu\n", i);
21273 exit (ferror (f) || fclose (f) != 0);
21279 rm -f conftest
$ac_exeext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21281 (eval $ac_link) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; }; then
21290 ac_cv_sizeof_long_long
=`cat conftest.val`
21292 echo "$as_me: program exited with status $ac_status" >&5
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.
$ac_ext >&5
21296 ( exit $ac_status )
21297 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21298 See \`config.log' for more details." >&5
21299 echo "$as_me: error: cannot compute sizeof (long long), 77
21300 See \`config.log' for more details." >&2;}
21301 { (exit 1); exit 1; }; }
21303 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21308 ac_cv_sizeof_long_long
=0
21311 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21312 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21313 cat >>confdefs.h
<<_ACEOF
21314 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21318 if test "$ac_cv_sizeof_long_long" != "0"; then
21319 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21323 echo "$as_me:$LINENO: checking for long long" >&5
21324 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21325 if test "${ac_cv_type_long_long+set}" = set; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21328 cat >conftest.
$ac_ext <<_ACEOF
21331 cat confdefs.h
>>conftest.
$ac_ext
21332 cat >>conftest.
$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 $ac_includes_default
21338 if ((long long *) 0)
21340 if (sizeof (long long))
21346 rm -f conftest.
$ac_objext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21348 (eval $ac_compile) 2>conftest.er1
21350 grep -v '^ *+' conftest.er1
>conftest.err
21352 cat conftest.err
>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; } &&
21361 { ac_try
='test -s conftest.$ac_objext'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; }; then
21367 ac_cv_type_long_long
=yes
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.
$ac_ext >&5
21372 ac_cv_type_long_long
=no
21374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21376 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21377 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21379 echo "$as_me:$LINENO: checking size of long long" >&5
21380 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21381 if test "${ac_cv_sizeof_long_long+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 if test "$ac_cv_type_long_long" = yes; then
21385 # The cast to unsigned long works around a bug in the HP C Compiler
21386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21388 # This bug is HP SR number 8606223364.
21389 if test "$cross_compiling" = yes; then
21390 # Depending upon the size, compute the lo and hi bounds.
21391 cat >conftest.
$ac_ext <<_ACEOF
21394 cat confdefs.h
>>conftest.
$ac_ext
21395 cat >>conftest.
$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21401 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21408 rm -f conftest.
$ac_objext
21409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21410 (eval $ac_compile) 2>conftest.er1
21412 grep -v '^ *+' conftest.er1
>conftest.err
21414 cat conftest.err
>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } &&
21417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; } &&
21423 { ac_try
='test -s conftest.$ac_objext'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21431 cat >conftest.
$ac_ext <<_ACEOF
21434 cat confdefs.h
>>conftest.
$ac_ext
21435 cat >>conftest.
$ac_ext <<_ACEOF
21436 /* end confdefs.h. */
21437 $ac_includes_default
21441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21448 rm -f conftest.
$ac_objext
21449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21450 (eval $ac_compile) 2>conftest.er1
21452 grep -v '^ *+' conftest.er1
>conftest.err
21454 cat conftest.err
>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } &&
21457 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; } &&
21463 { ac_try
='test -s conftest.$ac_objext'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_hi
=$ac_mid; break
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.
$ac_ext >&5
21474 ac_lo
=`expr $ac_mid + 1`
21475 if test $ac_lo -le $ac_mid; then
21479 ac_mid
=`expr 2 '*' $ac_mid + 1`
21481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.
$ac_ext >&5
21487 cat >conftest.
$ac_ext <<_ACEOF
21490 cat confdefs.h
>>conftest.
$ac_ext
21491 cat >>conftest.
$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21493 $ac_includes_default
21497 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21504 rm -f conftest.
$ac_objext
21505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21506 (eval $ac_compile) 2>conftest.er1
21508 grep -v '^ *+' conftest.er1
>conftest.err
21510 cat conftest.err
>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); } &&
21513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; } &&
21519 { ac_try
='test -s conftest.$ac_objext'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; }; then
21527 cat >conftest.
$ac_ext <<_ACEOF
21530 cat confdefs.h
>>conftest.
$ac_ext
21531 cat >>conftest.
$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 $ac_includes_default
21537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21544 rm -f conftest.
$ac_objext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21546 (eval $ac_compile) 2>conftest.er1
21548 grep -v '^ *+' conftest.er1
>conftest.err
21550 cat conftest.err
>&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } &&
21553 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; } &&
21559 { ac_try
='test -s conftest.$ac_objext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_lo
=$ac_mid; break
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.
$ac_ext >&5
21570 ac_hi
=`expr '(' $ac_mid ')' - 1`
21571 if test $ac_mid -le $ac_hi; then
21575 ac_mid
=`expr 2 '*' $ac_mid`
21577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.
$ac_ext >&5
21585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21588 # Binary search between lo and hi bounds.
21589 while test "x$ac_lo" != "x$ac_hi"; do
21590 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21591 cat >conftest.
$ac_ext <<_ACEOF
21594 cat confdefs.h
>>conftest.
$ac_ext
21595 cat >>conftest.
$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 $ac_includes_default
21601 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21608 rm -f conftest.
$ac_objext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21610 (eval $ac_compile) 2>conftest.er1
21612 grep -v '^ *+' conftest.er1
>conftest.err
21614 cat conftest.err
>&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); } &&
21617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; } &&
21623 { ac_try
='test -s conftest.$ac_objext'
21624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21625 (eval $ac_try) 2>&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); }; }; then
21631 echo "$as_me: failed program was:" >&5
21632 sed 's/^/| /' conftest.
$ac_ext >&5
21634 ac_lo
=`expr '(' $ac_mid ')' + 1`
21636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21639 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21640 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21641 See \`config.log' for more details." >&5
21642 echo "$as_me: error: cannot compute sizeof (long long), 77
21643 See \`config.log' for more details." >&2;}
21644 { (exit 1); exit 1; }; } ;;
21647 if test "$cross_compiling" = yes; then
21648 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21649 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21650 { (exit 1); exit 1; }; }
21652 cat >conftest.
$ac_ext <<_ACEOF
21655 cat confdefs.h
>>conftest.
$ac_ext
21656 cat >>conftest.
$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 $ac_includes_default
21659 long longval () { return (long) (sizeof (long long)); }
21660 unsigned long ulongval () { return (long) (sizeof (long long)); }
21662 #include <stdlib.h>
21667 FILE *f = fopen ("conftest.val", "w");
21670 if (((long) (sizeof (long long))) < 0)
21672 long i = longval ();
21673 if (i != ((long) (sizeof (long long))))
21675 fprintf (f, "%ld\n", i);
21679 unsigned long i = ulongval ();
21680 if (i != ((long) (sizeof (long long))))
21682 fprintf (f, "%lu\n", i);
21684 exit (ferror (f) || fclose (f) != 0);
21690 rm -f conftest
$ac_exeext
21691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21692 (eval $ac_link) 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697 (eval $ac_try) 2>&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; }; then
21701 ac_cv_sizeof_long_long
=`cat conftest.val`
21703 echo "$as_me: program exited with status $ac_status" >&5
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.
$ac_ext >&5
21707 ( exit $ac_status )
21708 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21709 See \`config.log' for more details." >&5
21710 echo "$as_me: error: cannot compute sizeof (long long), 77
21711 See \`config.log' for more details." >&2;}
21712 { (exit 1); exit 1; }; }
21714 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21719 ac_cv_sizeof_long_long
=0
21722 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21723 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21724 cat >>confdefs.h
<<_ACEOF
21725 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21731 echo "$as_me:$LINENO: checking for wchar_t" >&5
21732 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21733 if test "${ac_cv_type_wchar_t+set}" = set; then
21734 echo $ECHO_N "(cached) $ECHO_C" >&6
21736 cat >conftest.
$ac_ext <<_ACEOF
21739 cat confdefs.h
>>conftest.
$ac_ext
21740 cat >>conftest.
$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21743 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21744 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21745 # error "fake wchar_t"
21747 #ifdef HAVE_WCHAR_H
21749 # include <stddef.h>
21751 # include <wchar.h>
21753 #ifdef HAVE_STDLIB_H
21754 # include <stdlib.h>
21765 if (sizeof (wchar_t))
21771 rm -f conftest.
$ac_objext
21772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21773 (eval $ac_compile) 2>conftest.er1
21775 grep -v '^ *+' conftest.er1
>conftest.err
21777 cat conftest.err
>&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); } &&
21780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; } &&
21786 { ac_try
='test -s conftest.$ac_objext'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; }; then
21792 ac_cv_type_wchar_t
=yes
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.
$ac_ext >&5
21797 ac_cv_type_wchar_t
=no
21799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21801 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21802 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21804 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21805 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21806 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21807 echo $ECHO_N "(cached) $ECHO_C" >&6
21809 if test "$ac_cv_type_wchar_t" = yes; then
21810 # The cast to unsigned long works around a bug in the HP C Compiler
21811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21813 # This bug is HP SR number 8606223364.
21814 if test "$cross_compiling" = yes; then
21815 # Depending upon the size, compute the lo and hi bounds.
21816 cat >conftest.
$ac_ext <<_ACEOF
21819 cat confdefs.h
>>conftest.
$ac_ext
21820 cat >>conftest.
$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21823 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21824 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21825 # error "fake wchar_t"
21827 #ifdef HAVE_WCHAR_H
21829 # include <stddef.h>
21831 # include <wchar.h>
21833 #ifdef HAVE_STDLIB_H
21834 # include <stdlib.h>
21843 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21850 rm -f conftest.
$ac_objext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21852 (eval $ac_compile) 2>conftest.er1
21854 grep -v '^ *+' conftest.er1
>conftest.err
21856 cat conftest.err
>&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861 (eval $ac_try) 2>&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; } &&
21865 { ac_try
='test -s conftest.$ac_objext'
21866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867 (eval $ac_try) 2>&5
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); }; }; then
21873 cat >conftest.
$ac_ext <<_ACEOF
21876 cat confdefs.h
>>conftest.
$ac_ext
21877 cat >>conftest.
$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21880 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21881 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21882 # error "fake wchar_t"
21884 #ifdef HAVE_WCHAR_H
21886 # include <stddef.h>
21888 # include <wchar.h>
21890 #ifdef HAVE_STDLIB_H
21891 # include <stdlib.h>
21900 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21907 rm -f conftest.
$ac_objext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21909 (eval $ac_compile) 2>conftest.er1
21911 grep -v '^ *+' conftest.er1
>conftest.err
21913 cat conftest.err
>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } &&
21916 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918 (eval $ac_try) 2>&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; } &&
21922 { ac_try
='test -s conftest.$ac_objext'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 ac_hi
=$ac_mid; break
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.
$ac_ext >&5
21933 ac_lo
=`expr $ac_mid + 1`
21934 if test $ac_lo -le $ac_mid; then
21938 ac_mid
=`expr 2 '*' $ac_mid + 1`
21940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21943 echo "$as_me: failed program was:" >&5
21944 sed 's/^/| /' conftest.
$ac_ext >&5
21946 cat >conftest.
$ac_ext <<_ACEOF
21949 cat confdefs.h
>>conftest.
$ac_ext
21950 cat >>conftest.
$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21953 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21954 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21955 # error "fake wchar_t"
21957 #ifdef HAVE_WCHAR_H
21959 # include <stddef.h>
21961 # include <wchar.h>
21963 #ifdef HAVE_STDLIB_H
21964 # include <stdlib.h>
21973 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21980 rm -f conftest.
$ac_objext
21981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21982 (eval $ac_compile) 2>conftest.er1
21984 grep -v '^ *+' conftest.er1
>conftest.err
21986 cat conftest.err
>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } &&
21989 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; } &&
21995 { ac_try
='test -s conftest.$ac_objext'
21996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997 (eval $ac_try) 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22003 cat >conftest.
$ac_ext <<_ACEOF
22006 cat confdefs.h
>>conftest.
$ac_ext
22007 cat >>conftest.
$ac_ext <<_ACEOF
22008 /* end confdefs.h. */
22010 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22011 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22012 # error "fake wchar_t"
22014 #ifdef HAVE_WCHAR_H
22016 # include <stddef.h>
22018 # include <wchar.h>
22020 #ifdef HAVE_STDLIB_H
22021 # include <stdlib.h>
22030 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22037 rm -f conftest.
$ac_objext
22038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22039 (eval $ac_compile) 2>conftest.er1
22041 grep -v '^ *+' conftest.er1
>conftest.err
22043 cat conftest.err
>&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } &&
22046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; } &&
22052 { ac_try
='test -s conftest.$ac_objext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 ac_lo
=$ac_mid; break
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.
$ac_ext >&5
22063 ac_hi
=`expr '(' $ac_mid ')' - 1`
22064 if test $ac_mid -le $ac_hi; then
22068 ac_mid
=`expr 2 '*' $ac_mid`
22070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.
$ac_ext >&5
22078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22081 # Binary search between lo and hi bounds.
22082 while test "x$ac_lo" != "x$ac_hi"; do
22083 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22084 cat >conftest.
$ac_ext <<_ACEOF
22087 cat confdefs.h
>>conftest.
$ac_ext
22088 cat >>conftest.
$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22091 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22092 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22093 # error "fake wchar_t"
22095 #ifdef HAVE_WCHAR_H
22097 # include <stddef.h>
22099 # include <wchar.h>
22101 #ifdef HAVE_STDLIB_H
22102 # include <stdlib.h>
22111 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22118 rm -f conftest.
$ac_objext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22120 (eval $ac_compile) 2>conftest.er1
22122 grep -v '^ *+' conftest.er1
>conftest.err
22124 cat conftest.err
>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } &&
22127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; } &&
22133 { ac_try
='test -s conftest.$ac_objext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22141 echo "$as_me: failed program was:" >&5
22142 sed 's/^/| /' conftest.
$ac_ext >&5
22144 ac_lo
=`expr '(' $ac_mid ')' + 1`
22146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22149 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22150 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22151 See \`config.log' for more details." >&5
22152 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22153 See \`config.log' for more details." >&2;}
22154 { (exit 1); exit 1; }; } ;;
22157 if test "$cross_compiling" = yes; then
22158 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22159 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22160 { (exit 1); exit 1; }; }
22162 cat >conftest.
$ac_ext <<_ACEOF
22165 cat confdefs.h
>>conftest.
$ac_ext
22166 cat >>conftest.
$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22169 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22170 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22171 # error "fake wchar_t"
22173 #ifdef HAVE_WCHAR_H
22175 # include <stddef.h>
22177 # include <wchar.h>
22179 #ifdef HAVE_STDLIB_H
22180 # include <stdlib.h>
22186 long longval () { return (long) (sizeof (wchar_t)); }
22187 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22189 #include <stdlib.h>
22194 FILE *f = fopen ("conftest.val", "w");
22197 if (((long) (sizeof (wchar_t))) < 0)
22199 long i = longval ();
22200 if (i != ((long) (sizeof (wchar_t))))
22202 fprintf (f, "%ld\n", i);
22206 unsigned long i = ulongval ();
22207 if (i != ((long) (sizeof (wchar_t))))
22209 fprintf (f, "%lu\n", i);
22211 exit (ferror (f) || fclose (f) != 0);
22217 rm -f conftest
$ac_exeext
22218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22219 (eval $ac_link) 2>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224 (eval $ac_try) 2>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); }; }; then
22228 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22230 echo "$as_me: program exited with status $ac_status" >&5
22231 echo "$as_me: failed program was:" >&5
22232 sed 's/^/| /' conftest.
$ac_ext >&5
22234 ( exit $ac_status )
22235 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22236 See \`config.log' for more details." >&5
22237 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22238 See \`config.log' for more details." >&2;}
22239 { (exit 1); exit 1; }; }
22241 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22246 ac_cv_sizeof_wchar_t
=0
22249 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22250 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22251 cat >>confdefs.h
<<_ACEOF
22252 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22256 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22262 echo "$as_me:$LINENO: checking for va_copy" >&5
22263 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22264 if test "${wx_cv_func_va_copy+set}" = set; then
22265 echo $ECHO_N "(cached) $ECHO_C" >&6
22268 cat >conftest.
$ac_ext <<_ACEOF
22270 #include <stdarg.h>
22271 void foo(char *f, ...)
22285 rm -f conftest.
$ac_objext conftest
$ac_exeext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22287 (eval $ac_link) 2>conftest.er1
22289 grep -v '^ *+' conftest.er1
>conftest.err
22291 cat conftest.err
>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } &&
22294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; } &&
22300 { ac_try
='test -s conftest$ac_exeext'
22301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302 (eval $ac_try) 2>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; }; then
22306 wx_cv_func_va_copy
=yes
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.
$ac_ext >&5
22311 wx_cv_func_va_copy
=no
22314 rm -f conftest.err conftest.
$ac_objext \
22315 conftest
$ac_exeext conftest.
$ac_ext
22319 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22320 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22322 if test $wx_cv_func_va_copy = "yes"; then
22323 cat >>confdefs.h
<<\_ACEOF
22324 #define HAVE_VA_COPY 1
22328 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22329 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22330 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22331 echo $ECHO_N "(cached) $ECHO_C" >&6
22334 if test "$cross_compiling" = yes; then
22335 wx_cv_type_va_list_lvalue
=yes
22338 cat >conftest.
$ac_ext <<_ACEOF
22340 #include <stdarg.h>
22341 int foo(char *f, ...)
22346 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22354 return foo("hi", 17);
22357 rm -f conftest
$ac_exeext
22358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22359 (eval $ac_link) 2>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22364 (eval $ac_try) 2>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; }; then
22368 wx_cv_type_va_list_lvalue
=yes
22370 echo "$as_me: program exited with status $ac_status" >&5
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.
$ac_ext >&5
22374 ( exit $ac_status )
22375 wx_cv_type_va_list_lvalue
=no
22377 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22382 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22383 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22385 if test $wx_cv_type_va_list_lvalue != "yes"; then
22386 cat >>confdefs.h
<<\_ACEOF
22387 #define VA_LIST_IS_ARRAY 1
22393 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22394 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22395 if test "${wx_cv_have_variadic_macros+set}" = set; then
22396 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 cat >conftest.
$ac_ext <<_ACEOF
22402 cat confdefs.h
>>conftest.
$ac_ext
22403 cat >>conftest.
$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22407 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22413 test("%s %d %p", "test", 1, 0);
22420 rm -f conftest.
$ac_objext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22422 (eval $ac_compile) 2>conftest.er1
22424 grep -v '^ *+' conftest.er1
>conftest.err
22426 cat conftest.err
>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; } &&
22435 { ac_try
='test -s conftest.$ac_objext'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; }; then
22441 wx_cv_have_variadic_macros
=yes
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.
$ac_ext >&5
22446 wx_cv_have_variadic_macros
=no
22449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22453 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22454 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22456 if test $wx_cv_have_variadic_macros = "yes"; then
22457 cat >>confdefs.h
<<\_ACEOF
22458 #define HAVE_VARIADIC_MACROS 1
22463 # Check whether --enable-largefile or --disable-largefile was given.
22464 if test "${enable_largefile+set}" = set; then
22465 enableval
="$enable_largefile"
22468 if test "$enable_largefile" != no
; then
22471 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22472 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22473 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22477 cat >conftest.
$ac_ext <<_ACEOF
22480 cat confdefs.h
>>conftest.
$ac_ext
22481 cat >>conftest.
$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22483 #define _FILE_OFFSET_BITS 64
22484 #include <sys/types.h>
22489 unsigned int field: sizeof(off_t) == 8;
22496 rm -f conftest.
$ac_objext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22498 (eval $ac_compile) 2>conftest.er1
22500 grep -v '^ *+' conftest.er1
>conftest.err
22502 cat conftest.err
>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } &&
22505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22507 (eval $ac_try) 2>&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); }; } &&
22511 { ac_try
='test -s conftest.$ac_objext'
22512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22513 (eval $ac_try) 2>&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); }; }; then
22517 ac_cv_sys_file_offset_bits
=64
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.
$ac_ext >&5
22522 ac_cv_sys_file_offset_bits
=no
22524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22528 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22529 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22531 if test "$ac_cv_sys_file_offset_bits" != no
; then
22533 cat >>confdefs.h
<<_ACEOF
22534 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22539 if test "x$wx_largefile" != "xyes"; then
22541 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22542 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22543 if test "${ac_cv_sys_large_files+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22547 cat >conftest.
$ac_ext <<_ACEOF
22550 cat confdefs.h
>>conftest.
$ac_ext
22551 cat >>conftest.
$ac_ext <<_ACEOF
22552 /* end confdefs.h. */
22553 #define _LARGE_FILES 1
22554 #include <sys/types.h>
22559 unsigned int field: sizeof(off_t) == 8;
22566 rm -f conftest.
$ac_objext
22567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22568 (eval $ac_compile) 2>conftest.er1
22570 grep -v '^ *+' conftest.er1
>conftest.err
22572 cat conftest.err
>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); } &&
22575 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; } &&
22581 { ac_try
='test -s conftest.$ac_objext'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; }; then
22587 ac_cv_sys_large_files
=1
22589 echo "$as_me: failed program was:" >&5
22590 sed 's/^/| /' conftest.
$ac_ext >&5
22592 ac_cv_sys_large_files
=no
22594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22598 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22599 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22601 if test "$ac_cv_sys_large_files" != no
; then
22603 cat >>confdefs.h
<<_ACEOF
22604 #define _LARGE_FILES $ac_cv_sys_large_files
22611 echo "$as_me:$LINENO: checking if large file support is available" >&5
22612 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22613 if test "x$wx_largefile" = "xyes"; then
22614 cat >>confdefs.h
<<\_ACEOF
22615 #define HAVE_LARGEFILE_SUPPORT 1
22619 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22620 echo "${ECHO_T}$wx_largefile" >&6
22624 if test "x$wx_largefile" = "xyes"; then
22625 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22626 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22628 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22629 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22630 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22631 if test "${wx_cv_STDC_EXT_required+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. */
22646 #ifndef __STDC_EXT__
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 wx_cv_STDC_EXT_required
=no
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.
$ac_ext >&5
22680 wx_cv_STDC_EXT_required
=yes
22683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22687 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22688 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22689 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22690 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22694 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22696 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22697 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22698 if test "${ac_cv_sys_largefile_source+set}" = set; then
22699 echo $ECHO_N "(cached) $ECHO_C" >&6
22702 ac_cv_sys_largefile_source
=no
22703 cat >conftest.
$ac_ext <<_ACEOF
22706 cat confdefs.h
>>conftest.
$ac_ext
22707 cat >>conftest.
$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22718 rm -f conftest.
$ac_objext
22719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22720 (eval $ac_compile) 2>conftest.er1
22722 grep -v '^ *+' conftest.er1
>conftest.err
22724 cat conftest.err
>&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); } &&
22727 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22729 (eval $ac_try) 2>&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); }; } &&
22733 { ac_try
='test -s conftest.$ac_objext'
22734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22735 (eval $ac_try) 2>&5
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); }; }; then
22741 echo "$as_me: failed program was:" >&5
22742 sed 's/^/| /' conftest.
$ac_ext >&5
22745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22746 cat >conftest.
$ac_ext <<_ACEOF
22749 cat confdefs.h
>>conftest.
$ac_ext
22750 cat >>conftest.
$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22752 #define _LARGEFILE_SOURCE 1
22762 rm -f conftest.
$ac_objext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22764 (eval $ac_compile) 2>conftest.er1
22766 grep -v '^ *+' conftest.er1
>conftest.err
22768 cat conftest.err
>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try
='test -s conftest.$ac_objext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 ac_cv_sys_largefile_source
=1; break
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.
$ac_ext >&5
22789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22793 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22794 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22795 if test "$ac_cv_sys_largefile_source" != no
; then
22797 cat >>confdefs.h
<<_ACEOF
22798 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22804 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22805 # in glibc 2.1.3, but that breaks too many other things.
22806 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22807 echo "$as_me:$LINENO: checking for fseeko" >&5
22808 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22809 if test "${ac_cv_func_fseeko+set}" = set; then
22810 echo $ECHO_N "(cached) $ECHO_C" >&6
22812 cat >conftest.
$ac_ext <<_ACEOF
22815 cat confdefs.h
>>conftest.
$ac_ext
22816 cat >>conftest.
$ac_ext <<_ACEOF
22817 /* end confdefs.h. */
22822 return fseeko && fseeko (stdin, 0, 0);
22827 rm -f conftest.
$ac_objext conftest
$ac_exeext
22828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22829 (eval $ac_link) 2>conftest.er1
22831 grep -v '^ *+' conftest.er1
>conftest.err
22833 cat conftest.err
>&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } &&
22836 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22838 (eval $ac_try) 2>&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); }; } &&
22842 { ac_try
='test -s conftest$ac_exeext'
22843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22844 (eval $ac_try) 2>&5
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); }; }; then
22848 ac_cv_func_fseeko
=yes
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.
$ac_ext >&5
22853 ac_cv_func_fseeko
=no
22855 rm -f conftest.err conftest.
$ac_objext \
22856 conftest
$ac_exeext conftest.
$ac_ext
22858 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22859 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22860 if test $ac_cv_func_fseeko = yes; then
22862 cat >>confdefs.h
<<\_ACEOF
22863 #define HAVE_FSEEKO 1
22868 if test "$ac_cv_sys_largefile_source" != no
; then
22869 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22873 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22874 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22875 if test "${ac_cv_c_bigendian+set}" = set; then
22876 echo $ECHO_N "(cached) $ECHO_C" >&6
22878 ac_cv_c_bigendian
=unknown
22879 # See if sys/param.h defines the BYTE_ORDER macro.
22880 cat >conftest.
$ac_ext <<_ACEOF
22883 cat confdefs.h
>>conftest.
$ac_ext
22884 cat >>conftest.
$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22886 #include <sys/types.h>
22887 #include <sys/param.h>
22892 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22893 bogus endian macros
22899 rm -f conftest.
$ac_objext
22900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22901 (eval $ac_compile) 2>conftest.er1
22903 grep -v '^ *+' conftest.er1
>conftest.err
22905 cat conftest.err
>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } &&
22908 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; } &&
22914 { ac_try
='test -s conftest.$ac_objext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 # It does; now see whether it defined to BIG_ENDIAN or not.
22921 cat >conftest.
$ac_ext <<_ACEOF
22924 cat confdefs.h
>>conftest.
$ac_ext
22925 cat >>conftest.
$ac_ext <<_ACEOF
22926 /* end confdefs.h. */
22927 #include <sys/types.h>
22928 #include <sys/param.h>
22933 #if BYTE_ORDER != BIG_ENDIAN
22940 rm -f conftest.
$ac_objext
22941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22942 (eval $ac_compile) 2>conftest.er1
22944 grep -v '^ *+' conftest.er1
>conftest.err
22946 cat conftest.err
>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); } &&
22949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; } &&
22955 { ac_try
='test -s conftest.$ac_objext'
22956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957 (eval $ac_try) 2>&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; }; then
22961 ac_cv_c_bigendian
=yes
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.
$ac_ext >&5
22966 ac_cv_c_bigendian
=no
22968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22970 echo "$as_me: failed program was:" >&5
22971 sed 's/^/| /' conftest.
$ac_ext >&5
22974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22975 if test $ac_cv_c_bigendian = unknown
; then
22976 if test "$cross_compiling" = yes; then
22977 ac_cv_c_bigendian
=unknown
22979 cat >conftest.
$ac_ext <<_ACEOF
22982 cat confdefs.h
>>conftest.
$ac_ext
22983 cat >>conftest.
$ac_ext <<_ACEOF
22984 /* end confdefs.h. */
22986 /* Are we little or big endian? From Harbison&Steele. */
22990 char c[sizeof (long)];
22993 exit (u.c[sizeof (long) - 1] == 1);
22996 rm -f conftest
$ac_exeext
22997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22998 (eval $ac_link) 2>&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23003 (eval $ac_try) 2>&5
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); }; }; then
23007 ac_cv_c_bigendian
=no
23009 echo "$as_me: program exited with status $ac_status" >&5
23010 echo "$as_me: failed program was:" >&5
23011 sed 's/^/| /' conftest.
$ac_ext >&5
23013 ( exit $ac_status )
23014 ac_cv_c_bigendian
=yes
23016 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23020 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23021 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23022 if test $ac_cv_c_bigendian = unknown
; then
23023 { 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
23024 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;}
23026 if test $ac_cv_c_bigendian = yes; then
23027 cat >>confdefs.h
<<\_ACEOF
23028 #define WORDS_BIGENDIAN 1
23038 ac_cpp
='$CXXCPP $CPPFLAGS'
23039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23045 for ac_header
in iostream
23047 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23049 echo "$as_me:$LINENO: checking for $ac_header" >&5
23050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23057 # Is the header compilable?
23058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23060 cat >conftest.
$ac_ext <<_ACEOF
23063 cat confdefs.h
>>conftest.
$ac_ext
23064 cat >>conftest.
$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 $ac_includes_default
23067 #include <$ac_header>
23069 rm -f conftest.
$ac_objext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23071 (eval $ac_compile) 2>conftest.er1
23073 grep -v '^ *+' conftest.er1
>conftest.err
23075 cat conftest.err
>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080 (eval $ac_try) 2>&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; } &&
23084 { ac_try
='test -s conftest.$ac_objext'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 ac_header_compiler
=yes
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.
$ac_ext >&5
23095 ac_header_compiler
=no
23097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23099 echo "${ECHO_T}$ac_header_compiler" >&6
23101 # Is the header present?
23102 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23104 cat >conftest.
$ac_ext <<_ACEOF
23107 cat confdefs.h
>>conftest.
$ac_ext
23108 cat >>conftest.
$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #include <$ac_header>
23112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23115 grep -v '^ *+' conftest.er1
>conftest.err
23117 cat conftest.err
>&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } >/dev
/null
; then
23120 if test -s conftest.err
; then
23121 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23122 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23129 if test -z "$ac_cpp_err"; then
23130 ac_header_preproc
=yes
23132 echo "$as_me: failed program was:" >&5
23133 sed 's/^/| /' conftest.
$ac_ext >&5
23135 ac_header_preproc
=no
23137 rm -f conftest.err conftest.
$ac_ext
23138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23139 echo "${ECHO_T}$ac_header_preproc" >&6
23141 # So? What about this header?
23142 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23148 ac_header_preproc
=yes
23151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23158 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23165 ## ----------------------------------------- ##
23166 ## Report this to wx-dev@lists.wxwidgets.org ##
23167 ## ----------------------------------------- ##
23170 sed "s/^/$as_me: WARNING: /" >&2
23173 echo "$as_me:$LINENO: checking for $ac_header" >&5
23174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23176 echo $ECHO_N "(cached) $ECHO_C" >&6
23178 eval "$as_ac_Header=\$ac_header_preproc"
23180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23185 cat >>confdefs.h
<<_ACEOF
23186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23194 if test "$ac_cv_header_iostream" = "yes" ; then
23197 cat >>confdefs.h
<<\_ACEOF
23198 #define wxUSE_IOSTREAMH 1
23204 ac_cpp
='$CXXCPP $CPPFLAGS'
23205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23212 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23213 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23214 if test "${wx_cv_cpp_bool+set}" = set; then
23215 echo $ECHO_N "(cached) $ECHO_C" >&6
23221 ac_cpp
='$CXXCPP $CPPFLAGS'
23222 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23223 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23224 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23227 cat >conftest.
$ac_ext <<_ACEOF
23230 cat confdefs.h
>>conftest.
$ac_ext
23231 cat >>conftest.
$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23247 rm -f conftest.
$ac_objext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23249 (eval $ac_compile) 2>conftest.er1
23251 grep -v '^ *+' conftest.er1
>conftest.err
23253 cat conftest.err
>&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } &&
23256 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23258 (eval $ac_try) 2>&5
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); }; } &&
23262 { ac_try
='test -s conftest.$ac_objext'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; }; then
23272 echo "$as_me: failed program was:" >&5
23273 sed 's/^/| /' conftest.
$ac_ext >&5
23280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23283 ac_cpp
='$CXXCPP $CPPFLAGS'
23284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23290 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23291 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23293 if test "$wx_cv_cpp_bool" = "yes"; then
23294 cat >>confdefs.h
<<\_ACEOF
23295 #define HAVE_BOOL 1
23302 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23303 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23304 if test "${wx_cv_explicit+set}" = set; then
23305 echo $ECHO_N "(cached) $ECHO_C" >&6
23311 ac_cpp
='$CXXCPP $CPPFLAGS'
23312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23317 cat >conftest.
$ac_ext <<_ACEOF
23320 cat confdefs.h
>>conftest.
$ac_ext
23321 cat >>conftest.
$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23324 class Foo { public: explicit Foo(int) {} };
23336 rm -f conftest.
$ac_objext
23337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23338 (eval $ac_compile) 2>conftest.er1
23340 grep -v '^ *+' conftest.er1
>conftest.err
23342 cat conftest.err
>&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; } &&
23351 { ac_try
='test -s conftest.$ac_objext'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; }; then
23358 cat >conftest.
$ac_ext <<_ACEOF
23361 cat confdefs.h
>>conftest.
$ac_ext
23362 cat >>conftest.
$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23365 class Foo { public: explicit Foo(int) {} };
23366 static void TakeFoo(const Foo& foo) { }
23379 rm -f conftest.
$ac_objext
23380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23381 (eval $ac_compile) 2>conftest.er1
23383 grep -v '^ *+' conftest.er1
>conftest.err
23385 cat conftest.err
>&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } &&
23388 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; } &&
23394 { ac_try
='test -s conftest.$ac_objext'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; }; then
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.
$ac_ext >&5
23408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23411 echo "$as_me: failed program was:" >&5
23412 sed 's/^/| /' conftest.
$ac_ext >&5
23417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23420 ac_cpp
='$CXXCPP $CPPFLAGS'
23421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23427 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23428 echo "${ECHO_T}$wx_cv_explicit" >&6
23430 if test "$wx_cv_explicit" = "yes"; then
23431 cat >>confdefs.h
<<\_ACEOF
23432 #define HAVE_EXPLICIT 1
23438 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23439 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23440 if test "${ac_cv_cxx_const_cast+set}" = set; then
23441 echo $ECHO_N "(cached) $ECHO_C" >&6
23446 ac_cpp
='$CXXCPP $CPPFLAGS'
23447 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23448 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23449 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23451 cat >conftest.
$ac_ext <<_ACEOF
23454 cat confdefs.h
>>conftest.
$ac_ext
23455 cat >>conftest.
$ac_ext <<_ACEOF
23456 /* end confdefs.h. */
23461 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23466 rm -f conftest.
$ac_objext
23467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23468 (eval $ac_compile) 2>conftest.er1
23470 grep -v '^ *+' conftest.er1
>conftest.err
23472 cat conftest.err
>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } &&
23475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23477 (eval $ac_try) 2>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; } &&
23481 { ac_try
='test -s conftest.$ac_objext'
23482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483 (eval $ac_try) 2>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 ac_cv_cxx_const_cast
=yes
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.
$ac_ext >&5
23492 ac_cv_cxx_const_cast
=no
23494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23496 ac_cpp
='$CXXCPP $CPPFLAGS'
23497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23503 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23504 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23505 if test "$ac_cv_cxx_const_cast" = yes; then
23507 cat >>confdefs.h
<<\_ACEOF
23508 #define HAVE_CONST_CAST
23513 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23514 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23515 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23521 ac_cpp
='$CXXCPP $CPPFLAGS'
23522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23526 cat >conftest.
$ac_ext <<_ACEOF
23529 cat confdefs.h
>>conftest.
$ac_ext
23530 cat >>conftest.
$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532 #include <typeinfo>
23533 class Base { public : Base () {} virtual void f () = 0;};
23534 class Derived : public Base { public : Derived () {} virtual void f () {} };
23535 class Unrelated { public : Unrelated () {} };
23536 int g (Unrelated&) { return 0; }
23541 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23546 rm -f conftest.
$ac_objext
23547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23548 (eval $ac_compile) 2>conftest.er1
23550 grep -v '^ *+' conftest.er1
>conftest.err
23552 cat conftest.err
>&5
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); } &&
23555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23557 (eval $ac_try) 2>&5
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); }; } &&
23561 { ac_try
='test -s conftest.$ac_objext'
23562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23563 (eval $ac_try) 2>&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); }; }; then
23567 ac_cv_cxx_reinterpret_cast
=yes
23569 echo "$as_me: failed program was:" >&5
23570 sed 's/^/| /' conftest.
$ac_ext >&5
23572 ac_cv_cxx_reinterpret_cast
=no
23574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23576 ac_cpp
='$CXXCPP $CPPFLAGS'
23577 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23583 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23584 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23585 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23587 cat >>confdefs.h
<<\_ACEOF
23588 #define HAVE_REINTERPRET_CAST
23593 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23594 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23595 if test "${ac_cv_cxx_static_cast+set}" = set; then
23596 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 ac_cpp
='$CXXCPP $CPPFLAGS'
23602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23606 cat >conftest.
$ac_ext <<_ACEOF
23609 cat confdefs.h
>>conftest.
$ac_ext
23610 cat >>conftest.
$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612 #include <typeinfo>
23613 class Base { public : Base () {} virtual void f () = 0; };
23614 class Derived : public Base { public : Derived () {} virtual void f () {} };
23615 int g (Derived&) { return 0; }
23620 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23625 rm -f conftest.
$ac_objext
23626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23627 (eval $ac_compile) 2>conftest.er1
23629 grep -v '^ *+' conftest.er1
>conftest.err
23631 cat conftest.err
>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; } &&
23640 { ac_try
='test -s conftest.$ac_objext'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; }; then
23646 ac_cv_cxx_static_cast
=yes
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.
$ac_ext >&5
23651 ac_cv_cxx_static_cast
=no
23653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23655 ac_cpp
='$CXXCPP $CPPFLAGS'
23656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23662 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23663 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23664 if test "$ac_cv_cxx_static_cast" = yes; then
23666 cat >>confdefs.h
<<\_ACEOF
23667 #define HAVE_STATIC_CAST
23673 if test "x$SUNCXX" = xyes
; then
23674 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23677 if test "x$SUNCC" = xyes
; then
23678 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23681 if test "x$SGICC" = "xyes"; then
23682 CFLAGS
="-woff 3970 $CFLAGS"
23684 if test "x$SGICXX" = "xyes"; then
23685 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23688 if test "x$HPCC" = "xyes"; then
23689 CFLAGS
="+W 2011,2450 $CFLAGS"
23691 if test "x$HPCXX" = "xyes"; then
23692 CXXFLAGS
="+W 2340 $CXXFLAGS"
23695 if test "x$COMPAQCXX" = "xyes"; then
23696 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23699 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23700 if test "$wxUSE_UNICODE" = "yes"; then
23701 std_string
="std::wstring"
23702 char_type
="wchar_t"
23704 std_string
="std::string"
23708 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23709 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23710 cat >conftest.
$ac_ext <<_ACEOF
23713 cat confdefs.h
>>conftest.
$ac_ext
23714 cat >>conftest.
$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23725 rm -f conftest.
$ac_objext
23726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23727 (eval $ac_compile) 2>conftest.er1
23729 grep -v '^ *+' conftest.er1
>conftest.err
23731 cat conftest.err
>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } &&
23734 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23736 (eval $ac_try) 2>&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); }; } &&
23740 { ac_try
='test -s conftest.$ac_objext'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; }; then
23746 echo "$as_me:$LINENO: result: yes" >&5
23747 echo "${ECHO_T}yes" >&6
23748 cat >>confdefs.h
<<\_ACEOF
23749 #define HAVE_STD_WSTRING 1
23753 echo "$as_me: failed program was:" >&5
23754 sed 's/^/| /' conftest.
$ac_ext >&5
23756 echo "$as_me:$LINENO: result: no" >&5
23757 echo "${ECHO_T}no" >&6
23758 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23759 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23760 cat >conftest.
$ac_ext <<_ACEOF
23763 cat confdefs.h
>>conftest.
$ac_ext
23764 cat >>conftest.
$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23767 #ifdef HAVE_WCHAR_H
23769 # include <stddef.h>
23771 # include <wchar.h>
23773 #ifdef HAVE_STDLIB_H
23774 # include <stdlib.h>
23782 std::basic_string<$char_type> foo;
23783 const $char_type* dummy = foo.c_str();
23788 rm -f conftest.
$ac_objext
23789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23790 (eval $ac_compile) 2>conftest.er1
23792 grep -v '^ *+' conftest.er1
>conftest.err
23794 cat conftest.err
>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); } &&
23797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23799 (eval $ac_try) 2>&5
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); }; } &&
23803 { ac_try
='test -s conftest.$ac_objext'
23804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805 (eval $ac_try) 2>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; }; then
23809 echo "$as_me:$LINENO: result: yes" >&5
23810 echo "${ECHO_T}yes" >&6
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.
$ac_ext >&5
23815 echo "$as_me:$LINENO: result: no" >&5
23816 echo "${ECHO_T}no" >&6
23817 if test "$wxUSE_STL" = "yes"; then
23818 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23819 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23820 { (exit 1); exit 1; }; }
23821 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23822 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23823 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23824 { (exit 1); exit 1; }; }
23826 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23827 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23828 wxUSE_STD_STRING
=no
23833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23839 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23840 echo "$as_me:$LINENO: checking for std::istream" >&5
23841 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23842 if test "${ac_cv_type_std__istream+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 cat >conftest.
$ac_ext <<_ACEOF
23848 cat confdefs.h
>>conftest.
$ac_ext
23849 cat >>conftest.
$ac_ext <<_ACEOF
23850 /* end confdefs.h. */
23851 #include <iostream>
23856 if ((std::istream *) 0)
23858 if (sizeof (std::istream))
23864 rm -f conftest.
$ac_objext
23865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23866 (eval $ac_compile) 2>conftest.er1
23868 grep -v '^ *+' conftest.er1
>conftest.err
23870 cat conftest.err
>&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; } &&
23879 { ac_try
='test -s conftest.$ac_objext'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; }; then
23885 ac_cv_type_std__istream
=yes
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.
$ac_ext >&5
23890 ac_cv_type_std__istream
=no
23892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23894 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23895 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23896 if test $ac_cv_type_std__istream = yes; then
23898 cat >>confdefs.h
<<_ACEOF
23899 #define HAVE_STD__ISTREAM 1
23904 wxUSE_STD_IOSTREAM
=no
23906 echo "$as_me:$LINENO: checking for std::ostream" >&5
23907 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23908 if test "${ac_cv_type_std__ostream+set}" = set; then
23909 echo $ECHO_N "(cached) $ECHO_C" >&6
23911 cat >conftest.
$ac_ext <<_ACEOF
23914 cat confdefs.h
>>conftest.
$ac_ext
23915 cat >>conftest.
$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23917 #include <iostream>
23922 if ((std::ostream *) 0)
23924 if (sizeof (std::ostream))
23930 rm -f conftest.
$ac_objext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23932 (eval $ac_compile) 2>conftest.er1
23934 grep -v '^ *+' conftest.er1
>conftest.err
23936 cat conftest.err
>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; } &&
23945 { ac_try
='test -s conftest.$ac_objext'
23946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23947 (eval $ac_try) 2>&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); }; }; then
23951 ac_cv_type_std__ostream
=yes
23953 echo "$as_me: failed program was:" >&5
23954 sed 's/^/| /' conftest.
$ac_ext >&5
23956 ac_cv_type_std__ostream
=no
23958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23960 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23961 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23962 if test $ac_cv_type_std__ostream = yes; then
23964 cat >>confdefs.h
<<_ACEOF
23965 #define HAVE_STD__OSTREAM 1
23970 wxUSE_STD_IOSTREAM
=no
23974 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23975 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23976 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23977 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23978 { (exit 1); exit 1; }; }
23980 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23981 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23986 if test "$wxUSE_STL" = "yes"; then
23987 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23988 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23989 cat >conftest.
$ac_ext <<_ACEOF
23992 cat confdefs.h
>>conftest.
$ac_ext
23993 cat >>conftest.
$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23996 #include <functional>
23997 #include <algorithm>
24003 std::vector<int> moo;
24004 std::list<int> foo;
24005 std::vector<int>::iterator it =
24006 std::find_if(moo.begin(), moo.end(),
24007 std::bind2nd(std::less<int>(), 3));
24012 rm -f conftest.
$ac_objext
24013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24014 (eval $ac_compile) 2>conftest.er1
24016 grep -v '^ *+' conftest.er1
>conftest.err
24018 cat conftest.err
>&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } &&
24021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; } &&
24027 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
24033 echo "$as_me:$LINENO: result: yes" >&5
24034 echo "${ECHO_T}yes" >&6
24036 echo "$as_me: failed program was:" >&5
24037 sed 's/^/| /' conftest.
$ac_ext >&5
24039 echo "$as_me:$LINENO: result: no" >&5
24040 echo "${ECHO_T}no" >&6
24041 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24042 echo "$as_me: error: Basic STL functionality missing" >&2;}
24043 { (exit 1); exit 1; }; }
24045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24047 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24048 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24049 cat >conftest.
$ac_ext <<_ACEOF
24052 cat confdefs.h
>>conftest.
$ac_ext
24053 cat >>conftest.
$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24059 std::string foo, bar;
24061 foo.compare(1, 1, bar);
24062 foo.compare(1, 1, bar, 1, 1);
24064 foo.compare(1, 1, "");
24065 foo.compare(1, 1, "", 2);
24070 rm -f conftest.
$ac_objext
24071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24072 (eval $ac_compile) 2>conftest.er1
24074 grep -v '^ *+' conftest.er1
>conftest.err
24076 cat conftest.err
>&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); } &&
24079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24081 (eval $ac_try) 2>&5
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); }; } &&
24085 { ac_try
='test -s conftest.$ac_objext'
24086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24087 (eval $ac_try) 2>&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); }; }; then
24091 echo "$as_me:$LINENO: result: yes" >&5
24092 echo "${ECHO_T}yes" >&6
24093 cat >>confdefs.h
<<\_ACEOF
24094 #define HAVE_STD_STRING_COMPARE 1
24098 echo "$as_me: failed program was:" >&5
24099 sed 's/^/| /' conftest.
$ac_ext >&5
24101 echo "$as_me:$LINENO: result: no" >&5
24102 echo "${ECHO_T}no" >&6
24104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24106 if test "${ac_cv_header_hash_map+set}" = set; then
24107 echo "$as_me:$LINENO: checking for hash_map" >&5
24108 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24109 if test "${ac_cv_header_hash_map+set}" = set; then
24110 echo $ECHO_N "(cached) $ECHO_C" >&6
24112 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24113 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24115 # Is the header compilable?
24116 echo "$as_me:$LINENO: checking hash_map usability" >&5
24117 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24118 cat >conftest.
$ac_ext <<_ACEOF
24121 cat confdefs.h
>>conftest.
$ac_ext
24122 cat >>conftest.
$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24124 $ac_includes_default
24125 #include <hash_map>
24127 rm -f conftest.
$ac_objext
24128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24129 (eval $ac_compile) 2>conftest.er1
24131 grep -v '^ *+' conftest.er1
>conftest.err
24133 cat conftest.err
>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } &&
24136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; } &&
24142 { ac_try
='test -s conftest.$ac_objext'
24143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24144 (eval $ac_try) 2>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); }; }; then
24148 ac_header_compiler
=yes
24150 echo "$as_me: failed program was:" >&5
24151 sed 's/^/| /' conftest.
$ac_ext >&5
24153 ac_header_compiler
=no
24155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24157 echo "${ECHO_T}$ac_header_compiler" >&6
24159 # Is the header present?
24160 echo "$as_me:$LINENO: checking hash_map presence" >&5
24161 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24162 cat >conftest.
$ac_ext <<_ACEOF
24165 cat confdefs.h
>>conftest.
$ac_ext
24166 cat >>conftest.
$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168 #include <hash_map>
24170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24173 grep -v '^ *+' conftest.er1
>conftest.err
24175 cat conftest.err
>&5
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); } >/dev
/null
; then
24178 if test -s conftest.err
; then
24179 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24180 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24187 if test -z "$ac_cpp_err"; then
24188 ac_header_preproc
=yes
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.
$ac_ext >&5
24193 ac_header_preproc
=no
24195 rm -f conftest.err conftest.
$ac_ext
24196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24197 echo "${ECHO_T}$ac_header_preproc" >&6
24199 # So? What about this header?
24200 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24202 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24203 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24204 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24205 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24206 ac_header_preproc
=yes
24209 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24210 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24211 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24212 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24213 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24214 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24216 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24217 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24218 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24219 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24220 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24223 ## ----------------------------------------- ##
24224 ## Report this to wx-dev@lists.wxwidgets.org ##
24225 ## ----------------------------------------- ##
24228 sed "s/^/$as_me: WARNING: /" >&2
24231 echo "$as_me:$LINENO: checking for hash_map" >&5
24232 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24233 if test "${ac_cv_header_hash_map+set}" = set; then
24234 echo $ECHO_N "(cached) $ECHO_C" >&6
24236 ac_cv_header_hash_map
=$ac_header_preproc
24238 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24239 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24242 if test $ac_cv_header_hash_map = yes; then
24243 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24244 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24245 cat >conftest.
$ac_ext <<_ACEOF
24248 cat confdefs.h
>>conftest.
$ac_ext
24249 cat >>conftest.
$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251 #include <hash_map>
24252 #include <hash_set>
24256 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24257 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24262 rm -f conftest.
$ac_objext
24263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24264 (eval $ac_compile) 2>conftest.er1
24266 grep -v '^ *+' conftest.er1
>conftest.err
24268 cat conftest.err
>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } &&
24271 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; } &&
24277 { ac_try
='test -s conftest.$ac_objext'
24278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24279 (eval $ac_try) 2>&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); }; }; then
24283 echo "$as_me:$LINENO: result: yes" >&5
24284 echo "${ECHO_T}yes" >&6
24285 cat >>confdefs.h
<<\_ACEOF
24286 #define HAVE_HASH_MAP 1
24289 cat >>confdefs.h
<<\_ACEOF
24290 #define HAVE_STD_HASH_MAP 1
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.
$ac_ext >&5
24297 echo "$as_me:$LINENO: result: no" >&5
24298 echo "${ECHO_T}no" >&6
24300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24306 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24307 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24308 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24309 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24310 echo $ECHO_N "(cached) $ECHO_C" >&6
24312 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24313 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24315 # Is the header compilable?
24316 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24317 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24318 cat >conftest.
$ac_ext <<_ACEOF
24321 cat confdefs.h
>>conftest.
$ac_ext
24322 cat >>conftest.
$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 $ac_includes_default
24325 #include <ext/hash_map>
24327 rm -f conftest.
$ac_objext
24328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24329 (eval $ac_compile) 2>conftest.er1
24331 grep -v '^ *+' conftest.er1
>conftest.err
24333 cat conftest.err
>&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } &&
24336 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; } &&
24342 { ac_try
='test -s conftest.$ac_objext'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; }; then
24348 ac_header_compiler
=yes
24350 echo "$as_me: failed program was:" >&5
24351 sed 's/^/| /' conftest.
$ac_ext >&5
24353 ac_header_compiler
=no
24355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24357 echo "${ECHO_T}$ac_header_compiler" >&6
24359 # Is the header present?
24360 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24361 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24362 cat >conftest.
$ac_ext <<_ACEOF
24365 cat confdefs.h
>>conftest.
$ac_ext
24366 cat >>conftest.
$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368 #include <ext/hash_map>
24370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24373 grep -v '^ *+' conftest.er1
>conftest.err
24375 cat conftest.err
>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } >/dev
/null
; then
24378 if test -s conftest.err
; then
24379 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24380 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24387 if test -z "$ac_cpp_err"; then
24388 ac_header_preproc
=yes
24390 echo "$as_me: failed program was:" >&5
24391 sed 's/^/| /' conftest.
$ac_ext >&5
24393 ac_header_preproc
=no
24395 rm -f conftest.err conftest.
$ac_ext
24396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24397 echo "${ECHO_T}$ac_header_preproc" >&6
24399 # So? What about this header?
24400 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24402 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24403 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24404 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24405 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24406 ac_header_preproc
=yes
24409 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24410 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24411 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24412 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24413 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24414 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24415 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24416 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24417 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24418 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24419 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24420 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24423 ## ----------------------------------------- ##
24424 ## Report this to wx-dev@lists.wxwidgets.org ##
24425 ## ----------------------------------------- ##
24428 sed "s/^/$as_me: WARNING: /" >&2
24431 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24432 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24433 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24434 echo $ECHO_N "(cached) $ECHO_C" >&6
24436 ac_cv_header_ext_hash_map
=$ac_header_preproc
24438 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24439 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24442 if test $ac_cv_header_ext_hash_map = yes; then
24443 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24444 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24445 cat >conftest.
$ac_ext <<_ACEOF
24448 cat confdefs.h
>>conftest.
$ac_ext
24449 cat >>conftest.
$ac_ext <<_ACEOF
24450 /* end confdefs.h. */
24451 #include <ext/hash_map>
24452 #include <ext/hash_set>
24456 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24457 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24462 rm -f conftest.
$ac_objext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24464 (eval $ac_compile) 2>conftest.er1
24466 grep -v '^ *+' conftest.er1
>conftest.err
24468 cat conftest.err
>&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } &&
24471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; } &&
24477 { ac_try
='test -s conftest.$ac_objext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 echo "$as_me:$LINENO: result: yes" >&5
24484 echo "${ECHO_T}yes" >&6
24485 cat >>confdefs.h
<<\_ACEOF
24486 #define HAVE_EXT_HASH_MAP 1
24489 cat >>confdefs.h
<<\_ACEOF
24490 #define HAVE_GNU_CXX_HASH_MAP 1
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.
$ac_ext >&5
24497 echo "$as_me:$LINENO: result: no" >&5
24498 echo "${ECHO_T}no" >&6
24500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24509 /usr/local/include \
24511 /usr/Motif-2.1/include \
24512 /usr/Motif-1.2/include \
24513 /usr/include/Motif1.2 \
24516 /usr/openwin/include \
24520 /usr/X11R6/include \
24521 /usr/X11R6.4/include \
24522 /usr/X11R5/include \
24523 /usr/X11R4/include \
24525 /usr/include/X11R6 \
24526 /usr/include/X11R5 \
24527 /usr/include/X11R4 \
24529 /usr/local/X11R6/include \
24530 /usr/local/X11R5/include \
24531 /usr/local/X11R4/include \
24533 /usr/local/include/X11R6 \
24534 /usr/local/include/X11R5 \
24535 /usr/local/include/X11R4 \
24539 /usr/local/X11/include \
24540 /usr/local/include/X11 \
24542 /usr/XFree86/include/X11 \
24545 /usr/openwin/share/include"
24547 echo "$as_me:$LINENO: checking for libraries directory" >&5
24548 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24552 if test "${wx_cv_std_libpath+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24556 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24557 for e
in a so sl dylib dll.a
; do
24559 if test -f $libc; then
24562 cat >conftest.
$ac_ext <<_ACEOF
24563 int main() { return 0; }
24565 rm -f conftest.
$ac_objext conftest
$ac_exeext
24566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24567 (eval $ac_link) 2>conftest.er1
24569 grep -v '^ *+' conftest.er1
>conftest.err
24571 cat conftest.err
>&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); } &&
24574 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24576 (eval $ac_try) 2>&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); }; } &&
24580 { ac_try
='test -s conftest$ac_exeext'
24581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582 (eval $ac_try) 2>&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; }; then
24586 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.
$ac_ext >&5
24592 rm -f conftest.err conftest.
$ac_objext \
24593 conftest
$ac_exeext conftest.
$ac_ext
24595 if test "x$wx_cv_std_libpath" != "x"; then
24601 if test "x$wx_cv_std_libpath" = "x"; then
24602 wx_cv_std_libpath
="lib"
24611 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24612 wx_cv_std_libpath
="lib/64"
24614 wx_cv_std_libpath
="lib"
24619 if test "$ac_cv_sizeof_void_p" = 8 -a \
24620 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24621 wx_cv_std_libpath
="lib64"
24623 wx_cv_std_libpath
="lib"
24628 wx_cv_std_libpath
="lib";
24632 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24633 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24635 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24637 if test "$build" != "$host" -a "$GCC" = yes; then
24638 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24639 cross_root
=`dirname $cross_root`
24640 cross_root
=`dirname $cross_root`
24642 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24643 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24644 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24646 if test -z "$PKG_CONFIG_PATH"; then
24647 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24648 export PKG_CONFIG_PATH
24651 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24654 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24656 if test -f "$ac_dir/X11/Intrinsic.h"; then
24657 ac_find_includes
=$ac_dir
24662 x_includes
=$ac_find_includes
24664 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24667 for ac_dir
in $SEARCH_LIB;
24669 for ac_extension
in a so sl dylib dll.a
; do
24670 if test -f "$ac_dir/libXt.$ac_extension"; then
24671 ac_find_libraries
=$ac_dir
24677 x_libraries
=$ac_find_libraries
24683 cat >confcache
<<\_ACEOF
24684 # This file is a shell script that caches the results of configure
24685 # tests run on this system so they can be shared between configure
24686 # scripts and configure runs, see configure's option --config-cache.
24687 # It is not useful on other systems. If it contains results you don't
24688 # want to keep, you may remove or edit it.
24690 # config.status only pays attention to the cache file if you give it
24691 # the --recheck option to rerun configure.
24693 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24695 # following values.
24699 # The following way of writing the cache mishandles newlines in values,
24700 # but we know of no workaround that is simple, portable, and efficient.
24701 # So, don't put newlines in cache variables' values.
24702 # Ultrix sh set writes to stderr and can't be redirected directly,
24703 # and sets the high bit in the cache file unless we assign to the vars.
24706 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24708 # `set' does not quote correctly, so add quotes (double-quote
24709 # substitution turns \\\\ into \\, and sed turns \\ into \).
24712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24715 # `set' quotes correctly as required by POSIX, so do not add quotes.
24717 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24726 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24728 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24729 if test -w $cache_file; then
24730 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24731 cat confcache
>$cache_file
24733 echo "not updating unwritable cache $cache_file"
24738 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24739 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24740 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24741 if test "${wx_cv_lib_glibc21+set}" = set; then
24742 echo $ECHO_N "(cached) $ECHO_C" >&6
24745 cat >conftest.
$ac_ext <<_ACEOF
24748 cat confdefs.h
>>conftest.
$ac_ext
24749 cat >>conftest.
$ac_ext <<_ACEOF
24750 /* end confdefs.h. */
24751 #include <features.h>
24756 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24764 rm -f conftest.
$ac_objext
24765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24766 (eval $ac_compile) 2>conftest.er1
24768 grep -v '^ *+' conftest.er1
>conftest.err
24770 cat conftest.err
>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } &&
24773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24775 (eval $ac_try) 2>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); }; } &&
24779 { ac_try
='test -s conftest.$ac_objext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24786 wx_cv_lib_glibc21
=yes
24789 echo "$as_me: failed program was:" >&5
24790 sed 's/^/| /' conftest.
$ac_ext >&5
24793 wx_cv_lib_glibc21
=no
24797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24800 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24801 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24802 if test "$wx_cv_lib_glibc21" = "yes"; then
24803 cat >>confdefs.h
<<\_ACEOF
24804 #define wxHAVE_GLIBC2 1
24810 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24811 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24812 cat >>confdefs.h
<<\_ACEOF
24813 #define _GNU_SOURCE 1
24824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24825 echo "$as_me:$LINENO: checking for $ac_func" >&5
24826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24827 if eval "test \"\${$as_ac_var+set}\" = set"; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 cat >conftest.
$ac_ext <<_ACEOF
24833 cat confdefs.h
>>conftest.
$ac_ext
24834 cat >>conftest.
$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24838 #define $ac_func innocuous_$ac_func
24840 /* System header to define __stub macros and hopefully few prototypes,
24841 which can conflict with char $ac_func (); below.
24842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24843 <limits.h> exists even on freestanding compilers. */
24846 # include <limits.h>
24848 # include <assert.h>
24853 /* Override any gcc2 internal prototype to avoid an error. */
24858 /* We use char because int might match the return type of a gcc2
24859 builtin and then its argument prototype would still apply. */
24861 /* The GNU C library defines this for functions which it implements
24862 to always fail with ENOSYS. Some functions are actually named
24863 something starting with __ and the normal name is an alias. */
24864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24867 char (*f) () = $ac_func;
24876 return f != $ac_func;
24881 rm -f conftest.
$ac_objext conftest
$ac_exeext
24882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24883 (eval $ac_link) 2>conftest.er1
24885 grep -v '^ *+' conftest.er1
>conftest.err
24887 cat conftest.err
>&5
24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889 (exit $ac_status); } &&
24890 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24892 (eval $ac_try) 2>&5
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); }; } &&
24896 { ac_try
='test -s conftest$ac_exeext'
24897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24898 (eval $ac_try) 2>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); }; }; then
24902 eval "$as_ac_var=yes"
24904 echo "$as_me: failed program was:" >&5
24905 sed 's/^/| /' conftest.
$ac_ext >&5
24907 eval "$as_ac_var=no"
24909 rm -f conftest.err conftest.
$ac_objext \
24910 conftest
$ac_exeext conftest.
$ac_ext
24912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24914 if test `eval echo '${'$as_ac_var'}'` = yes; then
24915 cat >>confdefs.h
<<_ACEOF
24916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24923 for ac_func
in floor
24925 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24926 echo "$as_me:$LINENO: checking for $ac_func" >&5
24927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24928 if eval "test \"\${$as_ac_var+set}\" = set"; then
24929 echo $ECHO_N "(cached) $ECHO_C" >&6
24931 cat >conftest.
$ac_ext <<_ACEOF
24934 cat confdefs.h
>>conftest.
$ac_ext
24935 cat >>conftest.
$ac_ext <<_ACEOF
24936 /* end confdefs.h. */
24937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24939 #define $ac_func innocuous_$ac_func
24941 /* System header to define __stub macros and hopefully few prototypes,
24942 which can conflict with char $ac_func (); below.
24943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24944 <limits.h> exists even on freestanding compilers. */
24947 # include <limits.h>
24949 # include <assert.h>
24954 /* Override any gcc2 internal prototype to avoid an error. */
24959 /* We use char because int might match the return type of a gcc2
24960 builtin and then its argument prototype would still apply. */
24962 /* The GNU C library defines this for functions which it implements
24963 to always fail with ENOSYS. Some functions are actually named
24964 something starting with __ and the normal name is an alias. */
24965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24968 char (*f) () = $ac_func;
24977 return f != $ac_func;
24982 rm -f conftest.
$ac_objext conftest
$ac_exeext
24983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24984 (eval $ac_link) 2>conftest.er1
24986 grep -v '^ *+' conftest.er1
>conftest.err
24988 cat conftest.err
>&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } &&
24991 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993 (eval $ac_try) 2>&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); }; } &&
24997 { ac_try
='test -s conftest$ac_exeext'
24998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24999 (eval $ac_try) 2>&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); }; }; then
25003 eval "$as_ac_var=yes"
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.
$ac_ext >&5
25008 eval "$as_ac_var=no"
25010 rm -f conftest.err conftest.
$ac_objext \
25011 conftest
$ac_exeext conftest.
$ac_ext
25013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25015 if test `eval echo '${'$as_ac_var'}'` = yes; then
25016 cat >>confdefs.h
<<_ACEOF
25017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25023 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25024 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25025 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25026 echo "$as_me:$LINENO: result: yes" >&5
25027 echo "${ECHO_T}yes" >&6
25029 echo "$as_me:$LINENO: result: no" >&5
25030 echo "${ECHO_T}no" >&6
25032 # use different functions to avoid configure caching
25038 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25039 echo "$as_me:$LINENO: checking for $ac_func" >&5
25040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25041 if eval "test \"\${$as_ac_var+set}\" = set"; then
25042 echo $ECHO_N "(cached) $ECHO_C" >&6
25044 cat >conftest.
$ac_ext <<_ACEOF
25047 cat confdefs.h
>>conftest.
$ac_ext
25048 cat >>conftest.
$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25052 #define $ac_func innocuous_$ac_func
25054 /* System header to define __stub macros and hopefully few prototypes,
25055 which can conflict with char $ac_func (); below.
25056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25057 <limits.h> exists even on freestanding compilers. */
25060 # include <limits.h>
25062 # include <assert.h>
25067 /* Override any gcc2 internal prototype to avoid an error. */
25072 /* We use char because int might match the return type of a gcc2
25073 builtin and then its argument prototype would still apply. */
25075 /* The GNU C library defines this for functions which it implements
25076 to always fail with ENOSYS. Some functions are actually named
25077 something starting with __ and the normal name is an alias. */
25078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25081 char (*f) () = $ac_func;
25090 return f != $ac_func;
25095 rm -f conftest.
$ac_objext conftest
$ac_exeext
25096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25097 (eval $ac_link) 2>conftest.er1
25099 grep -v '^ *+' conftest.er1
>conftest.err
25101 cat conftest.err
>&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } &&
25104 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25106 (eval $ac_try) 2>&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); }; } &&
25110 { ac_try
='test -s conftest$ac_exeext'
25111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25112 (eval $ac_try) 2>&5
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); }; }; then
25116 eval "$as_ac_var=yes"
25118 echo "$as_me: failed program was:" >&5
25119 sed 's/^/| /' conftest.
$ac_ext >&5
25121 eval "$as_ac_var=no"
25123 rm -f conftest.err conftest.
$ac_objext \
25124 conftest
$ac_exeext conftest.
$ac_ext
25126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25128 if test `eval echo '${'$as_ac_var'}'` = yes; then
25129 cat >>confdefs.h
<<_ACEOF
25130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25137 for ac_func
in ceil
25139 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25140 echo "$as_me:$LINENO: checking for $ac_func" >&5
25141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25142 if eval "test \"\${$as_ac_var+set}\" = set"; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25145 cat >conftest.
$ac_ext <<_ACEOF
25148 cat confdefs.h
>>conftest.
$ac_ext
25149 cat >>conftest.
$ac_ext <<_ACEOF
25150 /* end confdefs.h. */
25151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25153 #define $ac_func innocuous_$ac_func
25155 /* System header to define __stub macros and hopefully few prototypes,
25156 which can conflict with char $ac_func (); below.
25157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25158 <limits.h> exists even on freestanding compilers. */
25161 # include <limits.h>
25163 # include <assert.h>
25168 /* Override any gcc2 internal prototype to avoid an error. */
25173 /* We use char because int might match the return type of a gcc2
25174 builtin and then its argument prototype would still apply. */
25176 /* The GNU C library defines this for functions which it implements
25177 to always fail with ENOSYS. Some functions are actually named
25178 something starting with __ and the normal name is an alias. */
25179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25182 char (*f) () = $ac_func;
25191 return f != $ac_func;
25196 rm -f conftest.
$ac_objext conftest
$ac_exeext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198 (eval $ac_link) 2>conftest.er1
25200 grep -v '^ *+' conftest.er1
>conftest.err
25202 cat conftest.err
>&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); } &&
25205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 (eval $ac_try) 2>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); }; } &&
25211 { ac_try
='test -s conftest$ac_exeext'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; }; then
25217 eval "$as_ac_var=yes"
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.
$ac_ext >&5
25222 eval "$as_ac_var=no"
25224 rm -f conftest.err conftest.
$ac_objext \
25225 conftest
$ac_exeext conftest.
$ac_ext
25227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25229 if test `eval echo '${'$as_ac_var'}'` = yes; then
25230 cat >>confdefs.h
<<_ACEOF
25231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25237 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25238 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25239 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25240 echo "$as_me:$LINENO: result: yes" >&5
25241 echo "${ECHO_T}yes" >&6
25243 echo "$as_me:$LINENO: result: no" >&5
25244 echo "${ECHO_T}no" >&6
25245 # not sure we should warn the user, crash, etc.
25251 if test "$wxUSE_REGEX" != "no"; then
25252 cat >>confdefs.h
<<\_ACEOF
25253 #define wxUSE_REGEX 1
25257 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25258 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25259 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25260 wxUSE_REGEX
=builtin
25263 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25264 if test "${ac_cv_header_regex_h+set}" = set; then
25265 echo "$as_me:$LINENO: checking for regex.h" >&5
25266 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25267 if test "${ac_cv_header_regex_h+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25271 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25273 # Is the header compilable?
25274 echo "$as_me:$LINENO: checking regex.h usability" >&5
25275 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25276 cat >conftest.
$ac_ext <<_ACEOF
25279 cat confdefs.h
>>conftest.
$ac_ext
25280 cat >>conftest.
$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25282 $ac_includes_default
25285 rm -f conftest.
$ac_objext
25286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25287 (eval $ac_compile) 2>conftest.er1
25289 grep -v '^ *+' conftest.er1
>conftest.err
25291 cat conftest.err
>&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); } &&
25294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25296 (eval $ac_try) 2>&5
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); }; } &&
25300 { ac_try
='test -s conftest.$ac_objext'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; }; then
25306 ac_header_compiler
=yes
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.
$ac_ext >&5
25311 ac_header_compiler
=no
25313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25315 echo "${ECHO_T}$ac_header_compiler" >&6
25317 # Is the header present?
25318 echo "$as_me:$LINENO: checking regex.h presence" >&5
25319 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25320 cat >conftest.
$ac_ext <<_ACEOF
25323 cat confdefs.h
>>conftest.
$ac_ext
25324 cat >>conftest.
$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25331 grep -v '^ *+' conftest.er1
>conftest.err
25333 cat conftest.err
>&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } >/dev
/null
; then
25336 if test -s conftest.err
; then
25337 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25338 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25345 if test -z "$ac_cpp_err"; then
25346 ac_header_preproc
=yes
25348 echo "$as_me: failed program was:" >&5
25349 sed 's/^/| /' conftest.
$ac_ext >&5
25351 ac_header_preproc
=no
25353 rm -f conftest.err conftest.
$ac_ext
25354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25355 echo "${ECHO_T}$ac_header_preproc" >&6
25357 # So? What about this header?
25358 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25360 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25361 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25362 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25363 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25364 ac_header_preproc
=yes
25367 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25368 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25369 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25370 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25371 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25372 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25373 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25374 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25375 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25376 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25377 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25378 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25381 ## ----------------------------------------- ##
25382 ## Report this to wx-dev@lists.wxwidgets.org ##
25383 ## ----------------------------------------- ##
25386 sed "s/^/$as_me: WARNING: /" >&2
25389 echo "$as_me:$LINENO: checking for regex.h" >&5
25390 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25391 if test "${ac_cv_header_regex_h+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25394 ac_cv_header_regex_h
=$ac_header_preproc
25396 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25397 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25400 if test $ac_cv_header_regex_h = yes; then
25403 for ac_func
in regcomp re_search
25405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25406 echo "$as_me:$LINENO: checking for $ac_func" >&5
25407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25408 if eval "test \"\${$as_ac_var+set}\" = set"; then
25409 echo $ECHO_N "(cached) $ECHO_C" >&6
25411 cat >conftest.
$ac_ext <<_ACEOF
25414 cat confdefs.h
>>conftest.
$ac_ext
25415 cat >>conftest.
$ac_ext <<_ACEOF
25416 /* end confdefs.h. */
25417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25419 #define $ac_func innocuous_$ac_func
25421 /* System header to define __stub macros and hopefully few prototypes,
25422 which can conflict with char $ac_func (); below.
25423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25424 <limits.h> exists even on freestanding compilers. */
25427 # include <limits.h>
25429 # include <assert.h>
25434 /* Override any gcc2 internal prototype to avoid an error. */
25439 /* We use char because int might match the return type of a gcc2
25440 builtin and then its argument prototype would still apply. */
25442 /* The GNU C library defines this for functions which it implements
25443 to always fail with ENOSYS. Some functions are actually named
25444 something starting with __ and the normal name is an alias. */
25445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25448 char (*f) () = $ac_func;
25457 return f != $ac_func;
25462 rm -f conftest.
$ac_objext conftest
$ac_exeext
25463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25464 (eval $ac_link) 2>conftest.er1
25466 grep -v '^ *+' conftest.er1
>conftest.err
25468 cat conftest.err
>&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); } &&
25471 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; } &&
25477 { ac_try
='test -s conftest$ac_exeext'
25478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479 (eval $ac_try) 2>&5
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; }; then
25483 eval "$as_ac_var=yes"
25485 echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.
$ac_ext >&5
25488 eval "$as_ac_var=no"
25490 rm -f conftest.err conftest.
$ac_objext \
25491 conftest
$ac_exeext conftest.
$ac_ext
25493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25495 if test `eval echo '${'$as_ac_var'}'` = yes; then
25496 cat >>confdefs.h
<<_ACEOF
25497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25507 if test "x$ac_cv_func_regcomp" != "xyes"; then
25508 if test "$wxUSE_REGEX" = "sys" ; then
25509 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25510 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25511 { (exit 1); exit 1; }; }
25513 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25514 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25515 wxUSE_REGEX
=builtin
25519 cat >>confdefs.h
<<\_ACEOF
25520 #define WX_NO_REGEX_ADVANCED 1
25529 if test "$wxUSE_ZLIB" != "no" ; then
25530 cat >>confdefs.h
<<\_ACEOF
25531 #define wxUSE_ZLIB 1
25535 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25536 if test "$USE_DARWIN" = 1; then
25537 system_zlib_h_ok
="yes"
25539 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25540 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25541 if test "${ac_cv_header_zlib_h+set}" = set; then
25542 echo $ECHO_N "(cached) $ECHO_C" >&6
25544 if test "$cross_compiling" = yes; then
25545 unset ac_cv_header_zlib_h
25548 cat >conftest.
$ac_ext <<_ACEOF
25551 cat confdefs.h
>>conftest.
$ac_ext
25552 cat >>conftest.
$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25560 FILE *f=fopen("conftestval", "w");
25563 ZLIB_VERSION[0] == '1' &&
25564 (ZLIB_VERSION[2] > '1' ||
25565 (ZLIB_VERSION[2] == '1' &&
25566 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25571 rm -f conftest
$ac_exeext
25572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25573 (eval $ac_link) 2>&5
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25578 (eval $ac_try) 2>&5
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); }; }; then
25582 ac_cv_header_zlib_h
=`cat conftestval`
25584 echo "$as_me: program exited with status $ac_status" >&5
25585 echo "$as_me: failed program was:" >&5
25586 sed 's/^/| /' conftest.
$ac_ext >&5
25588 ( exit $ac_status )
25589 ac_cv_header_zlib_h
=no
25591 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25595 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25596 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25597 if test "${ac_cv_header_zlib_h+set}" = set; then
25598 echo "$as_me:$LINENO: checking for zlib.h" >&5
25599 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25600 if test "${ac_cv_header_zlib_h+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25604 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25606 # Is the header compilable?
25607 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25608 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25609 cat >conftest.
$ac_ext <<_ACEOF
25612 cat confdefs.h
>>conftest.
$ac_ext
25613 cat >>conftest.
$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25615 $ac_includes_default
25618 rm -f conftest.
$ac_objext
25619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25620 (eval $ac_compile) 2>conftest.er1
25622 grep -v '^ *+' conftest.er1
>conftest.err
25624 cat conftest.err
>&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } &&
25627 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25629 (eval $ac_try) 2>&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); }; } &&
25633 { ac_try
='test -s conftest.$ac_objext'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; }; then
25639 ac_header_compiler
=yes
25641 echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.
$ac_ext >&5
25644 ac_header_compiler
=no
25646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25648 echo "${ECHO_T}$ac_header_compiler" >&6
25650 # Is the header present?
25651 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25652 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25653 cat >conftest.
$ac_ext <<_ACEOF
25656 cat confdefs.h
>>conftest.
$ac_ext
25657 cat >>conftest.
$ac_ext <<_ACEOF
25658 /* end confdefs.h. */
25661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25662 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25664 grep -v '^ *+' conftest.er1
>conftest.err
25666 cat conftest.err
>&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } >/dev
/null
; then
25669 if test -s conftest.err
; then
25670 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25671 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25678 if test -z "$ac_cpp_err"; then
25679 ac_header_preproc
=yes
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.
$ac_ext >&5
25684 ac_header_preproc
=no
25686 rm -f conftest.err conftest.
$ac_ext
25687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25688 echo "${ECHO_T}$ac_header_preproc" >&6
25690 # So? What about this header?
25691 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25693 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25694 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25695 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25696 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25697 ac_header_preproc
=yes
25700 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25701 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25702 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25703 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25704 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25705 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25706 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25707 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25708 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25709 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25710 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25711 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25714 ## ----------------------------------------- ##
25715 ## Report this to wx-dev@lists.wxwidgets.org ##
25716 ## ----------------------------------------- ##
25719 sed "s/^/$as_me: WARNING: /" >&2
25722 echo "$as_me:$LINENO: checking for zlib.h" >&5
25723 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25724 if test "${ac_cv_header_zlib_h+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 ac_cv_header_zlib_h
=$ac_header_preproc
25729 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25730 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25736 system_zlib_h_ok
=$ac_cv_header_zlib_h
25739 if test "$system_zlib_h_ok" = "yes"; then
25740 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25741 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25742 if test "${ac_cv_lib_z_deflate+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 ac_check_lib_save_LIBS
=$LIBS
25747 cat >conftest.
$ac_ext <<_ACEOF
25750 cat confdefs.h
>>conftest.
$ac_ext
25751 cat >>conftest.
$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25754 /* Override any gcc2 internal prototype to avoid an error. */
25758 /* We use char because int might match the return type of a gcc2
25759 builtin and then its argument prototype would still apply. */
25769 rm -f conftest.
$ac_objext conftest
$ac_exeext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25771 (eval $ac_link) 2>conftest.er1
25773 grep -v '^ *+' conftest.er1
>conftest.err
25775 cat conftest.err
>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } &&
25778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; } &&
25784 { ac_try
='test -s conftest$ac_exeext'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 ac_cv_lib_z_deflate
=yes
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.
$ac_ext >&5
25795 ac_cv_lib_z_deflate
=no
25797 rm -f conftest.err conftest.
$ac_objext \
25798 conftest
$ac_exeext conftest.
$ac_ext
25799 LIBS
=$ac_check_lib_save_LIBS
25801 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25802 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25803 if test $ac_cv_lib_z_deflate = yes; then
25809 if test "x$ZLIB_LINK" = "x" ; then
25810 if test "$wxUSE_ZLIB" = "sys" ; then
25811 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25812 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25813 { (exit 1); exit 1; }; }
25815 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25816 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25827 if test "$wxUSE_LIBPNG" != "no" ; then
25828 cat >>confdefs.h
<<\_ACEOF
25829 #define wxUSE_LIBPNG 1
25833 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25834 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25835 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25839 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25840 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25841 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25842 wxUSE_LIBPNG
=builtin
25845 if test "$wxUSE_MGL" != 1 ; then
25846 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25847 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25848 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25849 if test "${ac_cv_header_png_h+set}" = set; then
25850 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 if test "$cross_compiling" = yes; then
25853 unset ac_cv_header_png_h
25856 cat >conftest.
$ac_ext <<_ACEOF
25859 cat confdefs.h
>>conftest.
$ac_ext
25860 cat >>conftest.
$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25868 FILE *f=fopen("conftestval", "w");
25871 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25876 rm -f conftest
$ac_exeext
25877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25878 (eval $ac_link) 2>&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883 (eval $ac_try) 2>&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); }; }; then
25887 ac_cv_header_png_h
=`cat conftestval`
25889 echo "$as_me: program exited with status $ac_status" >&5
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.
$ac_ext >&5
25893 ( exit $ac_status )
25894 ac_cv_header_png_h
=no
25896 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25900 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25901 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25902 if test "${ac_cv_header_png_h+set}" = set; then
25903 echo "$as_me:$LINENO: checking for png.h" >&5
25904 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25905 if test "${ac_cv_header_png_h+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25908 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25909 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25911 # Is the header compilable?
25912 echo "$as_me:$LINENO: checking png.h usability" >&5
25913 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25914 cat >conftest.
$ac_ext <<_ACEOF
25917 cat confdefs.h
>>conftest.
$ac_ext
25918 cat >>conftest.
$ac_ext <<_ACEOF
25919 /* end confdefs.h. */
25920 $ac_includes_default
25923 rm -f conftest.
$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>conftest.er1
25927 grep -v '^ *+' conftest.er1
>conftest.err
25929 cat conftest.err
>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; } &&
25938 { ac_try
='test -s conftest.$ac_objext'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; }; then
25944 ac_header_compiler
=yes
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.
$ac_ext >&5
25949 ac_header_compiler
=no
25951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25953 echo "${ECHO_T}$ac_header_compiler" >&6
25955 # Is the header present?
25956 echo "$as_me:$LINENO: checking png.h presence" >&5
25957 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25958 cat >conftest.
$ac_ext <<_ACEOF
25961 cat confdefs.h
>>conftest.
$ac_ext
25962 cat >>conftest.
$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25969 grep -v '^ *+' conftest.er1
>conftest.err
25971 cat conftest.err
>&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); } >/dev
/null
; then
25974 if test -s conftest.err
; then
25975 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25976 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25983 if test -z "$ac_cpp_err"; then
25984 ac_header_preproc
=yes
25986 echo "$as_me: failed program was:" >&5
25987 sed 's/^/| /' conftest.
$ac_ext >&5
25989 ac_header_preproc
=no
25991 rm -f conftest.err conftest.
$ac_ext
25992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25993 echo "${ECHO_T}$ac_header_preproc" >&6
25995 # So? What about this header?
25996 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25998 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25999 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26000 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26001 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26002 ac_header_preproc
=yes
26005 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26006 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26007 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26008 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26009 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26010 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26011 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26012 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26013 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26014 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26015 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26016 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26019 ## ----------------------------------------- ##
26020 ## Report this to wx-dev@lists.wxwidgets.org ##
26021 ## ----------------------------------------- ##
26024 sed "s/^/$as_me: WARNING: /" >&2
26027 echo "$as_me:$LINENO: checking for png.h" >&5
26028 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26029 if test "${ac_cv_header_png_h+set}" = set; then
26030 echo $ECHO_N "(cached) $ECHO_C" >&6
26032 ac_cv_header_png_h
=$ac_header_preproc
26034 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26035 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26041 if test "$ac_cv_header_png_h" = "yes"; then
26042 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26043 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26044 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 ac_check_lib_save_LIBS
=$LIBS
26048 LIBS
="-lpng -lz -lm $LIBS"
26049 cat >conftest.
$ac_ext <<_ACEOF
26052 cat confdefs.h
>>conftest.
$ac_ext
26053 cat >>conftest.
$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26056 /* Override any gcc2 internal prototype to avoid an error. */
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26062 char png_check_sig ();
26071 rm -f conftest.
$ac_objext conftest
$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26075 grep -v '^ *+' conftest.er1
>conftest.err
26077 cat conftest.err
>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; } &&
26086 { ac_try
='test -s conftest$ac_exeext'
26087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26088 (eval $ac_try) 2>&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); }; }; then
26092 ac_cv_lib_png_png_check_sig
=yes
26094 echo "$as_me: failed program was:" >&5
26095 sed 's/^/| /' conftest.
$ac_ext >&5
26097 ac_cv_lib_png_png_check_sig
=no
26099 rm -f conftest.err conftest.
$ac_objext \
26100 conftest
$ac_exeext conftest.
$ac_ext
26101 LIBS
=$ac_check_lib_save_LIBS
26103 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26104 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26105 if test $ac_cv_lib_png_png_check_sig = yes; then
26106 PNG_LINK
=" -lpng -lz"
26111 if test "x$PNG_LINK" = "x" ; then
26112 if test "$wxUSE_LIBPNG" = "sys" ; then
26113 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26114 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26115 { (exit 1); exit 1; }; }
26117 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26118 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26119 wxUSE_LIBPNG
=builtin
26127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26132 if test "$wxUSE_LIBJPEG" != "no" ; then
26133 cat >>confdefs.h
<<\_ACEOF
26134 #define wxUSE_LIBJPEG 1
26138 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26139 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26140 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26144 if test "$wxUSE_MGL" != 1 ; then
26145 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26146 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26147 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26148 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 cat >conftest.
$ac_ext <<_ACEOF
26154 cat confdefs.h
>>conftest.
$ac_ext
26155 cat >>conftest.
$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26158 #undef HAVE_STDLIB_H
26160 #include <jpeglib.h>
26171 rm -f conftest.
$ac_objext
26172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26173 (eval $ac_compile) 2>conftest.er1
26175 grep -v '^ *+' conftest.er1
>conftest.err
26177 cat conftest.err
>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } &&
26180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; } &&
26186 { ac_try
='test -s conftest.$ac_objext'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; }; then
26192 ac_cv_header_jpeglib_h
=yes
26194 echo "$as_me: failed program was:" >&5
26195 sed 's/^/| /' conftest.
$ac_ext >&5
26197 ac_cv_header_jpeglib_h
=no
26200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26204 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26205 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26207 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26208 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26209 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26210 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 ac_check_lib_save_LIBS
=$LIBS
26214 LIBS
="-ljpeg $LIBS"
26215 cat >conftest.
$ac_ext <<_ACEOF
26218 cat confdefs.h
>>conftest.
$ac_ext
26219 cat >>conftest.
$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26222 /* Override any gcc2 internal prototype to avoid an error. */
26226 /* We use char because int might match the return type of a gcc2
26227 builtin and then its argument prototype would still apply. */
26228 char jpeg_read_header ();
26232 jpeg_read_header ();
26237 rm -f conftest.
$ac_objext conftest
$ac_exeext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26239 (eval $ac_link) 2>conftest.er1
26241 grep -v '^ *+' conftest.er1
>conftest.err
26243 cat conftest.err
>&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try
='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_lib_jpeg_jpeg_read_header
=yes
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26263 ac_cv_lib_jpeg_jpeg_read_header
=no
26265 rm -f conftest.err conftest.
$ac_objext \
26266 conftest
$ac_exeext conftest.
$ac_ext
26267 LIBS
=$ac_check_lib_save_LIBS
26269 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26270 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26271 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26272 JPEG_LINK
=" -ljpeg"
26277 if test "x$JPEG_LINK" = "x" ; then
26278 if test "$wxUSE_LIBJPEG" = "sys" ; then
26279 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26280 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26281 { (exit 1); exit 1; }; }
26283 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26284 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26285 wxUSE_LIBJPEG
=builtin
26296 TIFF_PREREQ_LINKS
=-lm
26297 if test "$wxUSE_LIBTIFF" != "no" ; then
26298 cat >>confdefs.h
<<\_ACEOF
26299 #define wxUSE_LIBTIFF 1
26303 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26304 if test "$wxUSE_LIBJPEG" = "sys"; then
26305 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26307 if test "$wxUSE_ZLIB" = "sys"; then
26308 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26310 if test "${ac_cv_header_tiffio_h+set}" = set; then
26311 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26312 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26313 if test "${ac_cv_header_tiffio_h+set}" = set; then
26314 echo $ECHO_N "(cached) $ECHO_C" >&6
26316 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26317 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26319 # Is the header compilable?
26320 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26321 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26322 cat >conftest.
$ac_ext <<_ACEOF
26325 cat confdefs.h
>>conftest.
$ac_ext
26326 cat >>conftest.
$ac_ext <<_ACEOF
26327 /* end confdefs.h. */
26328 $ac_includes_default
26329 #include <tiffio.h>
26331 rm -f conftest.
$ac_objext
26332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26333 (eval $ac_compile) 2>conftest.er1
26335 grep -v '^ *+' conftest.er1
>conftest.err
26337 cat conftest.err
>&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); } &&
26340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; } &&
26346 { ac_try
='test -s conftest.$ac_objext'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; }; then
26352 ac_header_compiler
=yes
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.
$ac_ext >&5
26357 ac_header_compiler
=no
26359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26361 echo "${ECHO_T}$ac_header_compiler" >&6
26363 # Is the header present?
26364 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26365 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26366 cat >conftest.
$ac_ext <<_ACEOF
26369 cat confdefs.h
>>conftest.
$ac_ext
26370 cat >>conftest.
$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372 #include <tiffio.h>
26374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26377 grep -v '^ *+' conftest.er1
>conftest.err
26379 cat conftest.err
>&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } >/dev
/null
; then
26382 if test -s conftest.err
; then
26383 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26384 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26391 if test -z "$ac_cpp_err"; then
26392 ac_header_preproc
=yes
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.
$ac_ext >&5
26397 ac_header_preproc
=no
26399 rm -f conftest.err conftest.
$ac_ext
26400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26401 echo "${ECHO_T}$ac_header_preproc" >&6
26403 # So? What about this header?
26404 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26406 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26407 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26408 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26409 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26410 ac_header_preproc
=yes
26413 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26414 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26415 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26416 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26418 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26419 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26420 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26421 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26422 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26423 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26424 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26427 ## ----------------------------------------- ##
26428 ## Report this to wx-dev@lists.wxwidgets.org ##
26429 ## ----------------------------------------- ##
26432 sed "s/^/$as_me: WARNING: /" >&2
26435 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26436 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26437 if test "${ac_cv_header_tiffio_h+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26440 ac_cv_header_tiffio_h
=$ac_header_preproc
26442 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26443 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26446 if test $ac_cv_header_tiffio_h = yes; then
26448 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26449 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26450 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26453 ac_check_lib_save_LIBS
=$LIBS
26454 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26455 cat >conftest.
$ac_ext <<_ACEOF
26458 cat confdefs.h
>>conftest.
$ac_ext
26459 cat >>conftest.
$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26462 /* Override any gcc2 internal prototype to avoid an error. */
26466 /* We use char because int might match the return type of a gcc2
26467 builtin and then its argument prototype would still apply. */
26477 rm -f conftest.
$ac_objext conftest
$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26481 grep -v '^ *+' conftest.er1
>conftest.err
26483 cat conftest.err
>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; } &&
26492 { ac_try
='test -s conftest$ac_exeext'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; }; then
26498 ac_cv_lib_tiff_TIFFError
=yes
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.
$ac_ext >&5
26503 ac_cv_lib_tiff_TIFFError
=no
26505 rm -f conftest.err conftest.
$ac_objext \
26506 conftest
$ac_exeext conftest.
$ac_ext
26507 LIBS
=$ac_check_lib_save_LIBS
26509 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26510 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26511 if test $ac_cv_lib_tiff_TIFFError = yes; then
26512 TIFF_LINK
=" -ltiff"
26521 if test "x$TIFF_LINK" = "x" ; then
26522 if test "$wxUSE_LIBTIFF" = "sys" ; then
26523 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26524 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26525 { (exit 1); exit 1; }; }
26527 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26528 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26529 wxUSE_LIBTIFF
=builtin
26538 if test "$wxUSE_WCHAR_T" != "yes"; then
26539 if test "$wxUSE_EXPAT" != "no"; then
26540 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26541 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26544 if test "$wxUSE_XML" != "no"; then
26545 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26546 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26551 if test "$wxUSE_EXPAT" != "no"; then
26553 cat >>confdefs.h
<<\_ACEOF
26554 #define wxUSE_EXPAT 1
26557 cat >>confdefs.h
<<\_ACEOF
26558 #define wxUSE_XML 1
26562 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26563 if test "${ac_cv_header_expat_h+set}" = set; then
26564 echo "$as_me:$LINENO: checking for expat.h" >&5
26565 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26566 if test "${ac_cv_header_expat_h+set}" = set; then
26567 echo $ECHO_N "(cached) $ECHO_C" >&6
26569 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26570 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26572 # Is the header compilable?
26573 echo "$as_me:$LINENO: checking expat.h usability" >&5
26574 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26575 cat >conftest.
$ac_ext <<_ACEOF
26578 cat confdefs.h
>>conftest.
$ac_ext
26579 cat >>conftest.
$ac_ext <<_ACEOF
26580 /* end confdefs.h. */
26581 $ac_includes_default
26584 rm -f conftest.
$ac_objext
26585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26586 (eval $ac_compile) 2>conftest.er1
26588 grep -v '^ *+' conftest.er1
>conftest.err
26590 cat conftest.err
>&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); } &&
26593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595 (eval $ac_try) 2>&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); }; } &&
26599 { ac_try
='test -s conftest.$ac_objext'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; }; then
26605 ac_header_compiler
=yes
26607 echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.
$ac_ext >&5
26610 ac_header_compiler
=no
26612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26614 echo "${ECHO_T}$ac_header_compiler" >&6
26616 # Is the header present?
26617 echo "$as_me:$LINENO: checking expat.h presence" >&5
26618 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26619 cat >conftest.
$ac_ext <<_ACEOF
26622 cat confdefs.h
>>conftest.
$ac_ext
26623 cat >>conftest.
$ac_ext <<_ACEOF
26624 /* end confdefs.h. */
26627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26628 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26630 grep -v '^ *+' conftest.er1
>conftest.err
26632 cat conftest.err
>&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } >/dev
/null
; then
26635 if test -s conftest.err
; then
26636 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26637 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26644 if test -z "$ac_cpp_err"; then
26645 ac_header_preproc
=yes
26647 echo "$as_me: failed program was:" >&5
26648 sed 's/^/| /' conftest.
$ac_ext >&5
26650 ac_header_preproc
=no
26652 rm -f conftest.err conftest.
$ac_ext
26653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26654 echo "${ECHO_T}$ac_header_preproc" >&6
26656 # So? What about this header?
26657 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26659 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26660 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26661 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26662 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26663 ac_header_preproc
=yes
26666 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26667 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26668 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26669 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26670 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26671 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26672 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26673 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26674 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26675 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26676 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26677 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26680 ## ----------------------------------------- ##
26681 ## Report this to wx-dev@lists.wxwidgets.org ##
26682 ## ----------------------------------------- ##
26685 sed "s/^/$as_me: WARNING: /" >&2
26688 echo "$as_me:$LINENO: checking for expat.h" >&5
26689 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26690 if test "${ac_cv_header_expat_h+set}" = set; then
26691 echo $ECHO_N "(cached) $ECHO_C" >&6
26693 ac_cv_header_expat_h
=$ac_header_preproc
26695 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26696 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26699 if test $ac_cv_header_expat_h = yes; then
26704 if test "x$found_expat_h" = "x1"; then
26705 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26706 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26707 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26708 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 cat >conftest.
$ac_ext <<_ACEOF
26714 cat confdefs.h
>>conftest.
$ac_ext
26715 cat >>conftest.
$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26726 rm -f conftest.
$ac_objext
26727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26728 (eval $ac_compile) 2>conftest.er1
26730 grep -v '^ *+' conftest.er1
>conftest.err
26732 cat conftest.err
>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } &&
26735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; } &&
26741 { ac_try
='test -s conftest.$ac_objext'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; }; then
26747 wx_cv_expat_is_not_broken
=yes
26749 echo "$as_me: failed program was:" >&5
26750 sed 's/^/| /' conftest.
$ac_ext >&5
26752 wx_cv_expat_is_not_broken
=no
26755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26759 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26760 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26761 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26762 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26763 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26764 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26767 ac_check_lib_save_LIBS
=$LIBS
26768 LIBS
="-lexpat $LIBS"
26769 cat >conftest.
$ac_ext <<_ACEOF
26772 cat confdefs.h
>>conftest.
$ac_ext
26773 cat >>conftest.
$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26776 /* Override any gcc2 internal prototype to avoid an error. */
26780 /* We use char because int might match the return type of a gcc2
26781 builtin and then its argument prototype would still apply. */
26782 char XML_ParserCreate ();
26786 XML_ParserCreate ();
26791 rm -f conftest.
$ac_objext conftest
$ac_exeext
26792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26793 (eval $ac_link) 2>conftest.er1
26795 grep -v '^ *+' conftest.er1
>conftest.err
26797 cat conftest.err
>&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } &&
26800 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26802 (eval $ac_try) 2>&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); }; } &&
26806 { ac_try
='test -s conftest$ac_exeext'
26807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 (eval $ac_try) 2>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; }; then
26812 ac_cv_lib_expat_XML_ParserCreate
=yes
26814 echo "$as_me: failed program was:" >&5
26815 sed 's/^/| /' conftest.
$ac_ext >&5
26817 ac_cv_lib_expat_XML_ParserCreate
=no
26819 rm -f conftest.err conftest.
$ac_objext \
26820 conftest
$ac_exeext conftest.
$ac_ext
26821 LIBS
=$ac_check_lib_save_LIBS
26823 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26824 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26825 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26826 EXPAT_LINK
=" -lexpat"
26831 if test "x$EXPAT_LINK" = "x" ; then
26832 if test "$wxUSE_EXPAT" = "sys" ; then
26833 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26834 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26835 { (exit 1); exit 1; }; }
26837 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26838 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26839 wxUSE_EXPAT
=builtin
26845 if test "$wxUSE_EXPAT" = "builtin" ; then
26848 subdirs
="$subdirs src/expat"
26855 if test "$wxUSE_LIBMSPACK" != "no"; then
26856 if test "${ac_cv_header_mspack_h+set}" = set; then
26857 echo "$as_me:$LINENO: checking for mspack.h" >&5
26858 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26859 if test "${ac_cv_header_mspack_h+set}" = set; then
26860 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26863 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26865 # Is the header compilable?
26866 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26867 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26868 cat >conftest.
$ac_ext <<_ACEOF
26871 cat confdefs.h
>>conftest.
$ac_ext
26872 cat >>conftest.
$ac_ext <<_ACEOF
26873 /* end confdefs.h. */
26874 $ac_includes_default
26875 #include <mspack.h>
26877 rm -f conftest.
$ac_objext
26878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26879 (eval $ac_compile) 2>conftest.er1
26881 grep -v '^ *+' conftest.er1
>conftest.err
26883 cat conftest.err
>&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } &&
26886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26888 (eval $ac_try) 2>&5
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); }; } &&
26892 { ac_try
='test -s conftest.$ac_objext'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; }; then
26898 ac_header_compiler
=yes
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.
$ac_ext >&5
26903 ac_header_compiler
=no
26905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26907 echo "${ECHO_T}$ac_header_compiler" >&6
26909 # Is the header present?
26910 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26911 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26912 cat >conftest.
$ac_ext <<_ACEOF
26915 cat confdefs.h
>>conftest.
$ac_ext
26916 cat >>conftest.
$ac_ext <<_ACEOF
26917 /* end confdefs.h. */
26918 #include <mspack.h>
26920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26921 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26923 grep -v '^ *+' conftest.er1
>conftest.err
26925 cat conftest.err
>&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } >/dev
/null
; then
26928 if test -s conftest.err
; then
26929 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26930 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26937 if test -z "$ac_cpp_err"; then
26938 ac_header_preproc
=yes
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.
$ac_ext >&5
26943 ac_header_preproc
=no
26945 rm -f conftest.err conftest.
$ac_ext
26946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26947 echo "${ECHO_T}$ac_header_preproc" >&6
26949 # So? What about this header?
26950 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26952 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26953 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26954 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26955 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26956 ac_header_preproc
=yes
26959 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26960 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26961 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26962 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26963 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26964 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26965 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26966 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26967 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26968 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26969 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26970 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26973 ## ----------------------------------------- ##
26974 ## Report this to wx-dev@lists.wxwidgets.org ##
26975 ## ----------------------------------------- ##
26978 sed "s/^/$as_me: WARNING: /" >&2
26981 echo "$as_me:$LINENO: checking for mspack.h" >&5
26982 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26983 if test "${ac_cv_header_mspack_h+set}" = set; then
26984 echo $ECHO_N "(cached) $ECHO_C" >&6
26986 ac_cv_header_mspack_h
=$ac_header_preproc
26988 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26989 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26992 if test $ac_cv_header_mspack_h = yes; then
26997 if test "x$found_mspack_h" = "x1"; then
26998 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26999 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27000 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 ac_check_lib_save_LIBS
=$LIBS
27004 LIBS
="-lmspack $LIBS"
27005 cat >conftest.
$ac_ext <<_ACEOF
27008 cat confdefs.h
>>conftest.
$ac_ext
27009 cat >>conftest.
$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27012 /* Override any gcc2 internal prototype to avoid an error. */
27016 /* We use char because int might match the return type of a gcc2
27017 builtin and then its argument prototype would still apply. */
27018 char mspack_create_chm_decompressor ();
27022 mspack_create_chm_decompressor ();
27027 rm -f conftest.
$ac_objext conftest
$ac_exeext
27028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27029 (eval $ac_link) 2>conftest.er1
27031 grep -v '^ *+' conftest.er1
>conftest.err
27033 cat conftest.err
>&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); } &&
27036 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27038 (eval $ac_try) 2>&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); }; } &&
27042 { ac_try
='test -s conftest$ac_exeext'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27050 echo "$as_me: failed program was:" >&5
27051 sed 's/^/| /' conftest.
$ac_ext >&5
27053 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27055 rm -f conftest.err conftest.
$ac_objext \
27056 conftest
$ac_exeext conftest.
$ac_ext
27057 LIBS
=$ac_check_lib_save_LIBS
27059 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27060 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27061 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27062 MSPACK_LINK
=" -lmspack"
27066 if test "x$MSPACK_LINK" = "x" ; then
27071 if test "$wxUSE_LIBMSPACK" != "no"; then
27072 cat >>confdefs.h
<<\_ACEOF
27073 #define wxUSE_LIBMSPACK 1
27087 if test "$USE_WIN32" = 1 ; then
27089 for ac_header
in w32api.h
27091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27093 echo "$as_me:$LINENO: checking for $ac_header" >&5
27094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27101 # Is the header compilable?
27102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27104 cat >conftest.
$ac_ext <<_ACEOF
27107 cat confdefs.h
>>conftest.
$ac_ext
27108 cat >>conftest.
$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27110 $ac_includes_default
27111 #include <$ac_header>
27113 rm -f conftest.
$ac_objext
27114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27115 (eval $ac_compile) 2>conftest.er1
27117 grep -v '^ *+' conftest.er1
>conftest.err
27119 cat conftest.err
>&5
27120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27121 (exit $ac_status); } &&
27122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27124 (eval $ac_try) 2>&5
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); }; } &&
27128 { ac_try
='test -s conftest.$ac_objext'
27129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27130 (eval $ac_try) 2>&5
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); }; }; then
27134 ac_header_compiler
=yes
27136 echo "$as_me: failed program was:" >&5
27137 sed 's/^/| /' conftest.
$ac_ext >&5
27139 ac_header_compiler
=no
27141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27143 echo "${ECHO_T}$ac_header_compiler" >&6
27145 # Is the header present?
27146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27148 cat >conftest.
$ac_ext <<_ACEOF
27151 cat confdefs.h
>>conftest.
$ac_ext
27152 cat >>conftest.
$ac_ext <<_ACEOF
27153 /* end confdefs.h. */
27154 #include <$ac_header>
27156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27157 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27159 grep -v '^ *+' conftest.er1
>conftest.err
27161 cat conftest.err
>&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); } >/dev
/null
; then
27164 if test -s conftest.err
; then
27165 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27166 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27173 if test -z "$ac_cpp_err"; then
27174 ac_header_preproc
=yes
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.
$ac_ext >&5
27179 ac_header_preproc
=no
27181 rm -f conftest.err conftest.
$ac_ext
27182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27183 echo "${ECHO_T}$ac_header_preproc" >&6
27185 # So? What about this header?
27186 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27192 ac_header_preproc
=yes
27195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27209 ## ----------------------------------------- ##
27210 ## Report this to wx-dev@lists.wxwidgets.org ##
27211 ## ----------------------------------------- ##
27214 sed "s/^/$as_me: WARNING: /" >&2
27217 echo "$as_me:$LINENO: checking for $ac_header" >&5
27218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27220 echo $ECHO_N "(cached) $ECHO_C" >&6
27222 eval "$as_ac_Header=\$ac_header_preproc"
27224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27229 cat >>confdefs.h
<<_ACEOF
27230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27237 if test "${ac_cv_header_windows_h+set}" = set; then
27238 echo "$as_me:$LINENO: checking for windows.h" >&5
27239 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27240 if test "${ac_cv_header_windows_h+set}" = set; then
27241 echo $ECHO_N "(cached) $ECHO_C" >&6
27243 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27244 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27246 # Is the header compilable?
27247 echo "$as_me:$LINENO: checking windows.h usability" >&5
27248 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27249 cat >conftest.
$ac_ext <<_ACEOF
27252 cat confdefs.h
>>conftest.
$ac_ext
27253 cat >>conftest.
$ac_ext <<_ACEOF
27254 /* end confdefs.h. */
27255 $ac_includes_default
27256 #include <windows.h>
27258 rm -f conftest.
$ac_objext
27259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27260 (eval $ac_compile) 2>conftest.er1
27262 grep -v '^ *+' conftest.er1
>conftest.err
27264 cat conftest.err
>&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } &&
27267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; } &&
27273 { ac_try
='test -s conftest.$ac_objext'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; }; then
27279 ac_header_compiler
=yes
27281 echo "$as_me: failed program was:" >&5
27282 sed 's/^/| /' conftest.
$ac_ext >&5
27284 ac_header_compiler
=no
27286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27288 echo "${ECHO_T}$ac_header_compiler" >&6
27290 # Is the header present?
27291 echo "$as_me:$LINENO: checking windows.h presence" >&5
27292 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27293 cat >conftest.
$ac_ext <<_ACEOF
27296 cat confdefs.h
>>conftest.
$ac_ext
27297 cat >>conftest.
$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 #include <windows.h>
27301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27304 grep -v '^ *+' conftest.er1
>conftest.err
27306 cat conftest.err
>&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } >/dev
/null
; then
27309 if test -s conftest.err
; then
27310 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27311 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27318 if test -z "$ac_cpp_err"; then
27319 ac_header_preproc
=yes
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.
$ac_ext >&5
27324 ac_header_preproc
=no
27326 rm -f conftest.err conftest.
$ac_ext
27327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27328 echo "${ECHO_T}$ac_header_preproc" >&6
27330 # So? What about this header?
27331 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27333 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27334 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27335 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27336 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27337 ac_header_preproc
=yes
27340 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27341 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27342 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27343 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27344 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27345 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27346 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27347 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27348 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27349 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27350 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27351 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27354 ## ----------------------------------------- ##
27355 ## Report this to wx-dev@lists.wxwidgets.org ##
27356 ## ----------------------------------------- ##
27359 sed "s/^/$as_me: WARNING: /" >&2
27362 echo "$as_me:$LINENO: checking for windows.h" >&5
27363 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27364 if test "${ac_cv_header_windows_h+set}" = set; then
27365 echo $ECHO_N "(cached) $ECHO_C" >&6
27367 ac_cv_header_windows_h
=$ac_header_preproc
27369 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27370 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27373 if test $ac_cv_header_windows_h = yes; then
27377 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27378 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27379 { (exit 1); exit 1; }; }
27385 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27387 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27388 LIBS
="$LIBS -loleacc"
27393 LIBS
="$LIBS -lkernel32 -luser32"
27396 if test "$wxUSE_ODBC" = "sys" ; then
27399 if test "$wxUSE_ODBC" = "yes" ; then
27400 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27401 cat >>confdefs.h
<<\_ACEOF
27402 #define wxUSE_ODBC 1
27407 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27408 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27410 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27412 WIN32INSTALL
=win32install
27414 echo "$as_me:$LINENO: checking for boolean" >&5
27415 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27416 if test "${ac_cv_type_boolean+set}" = set; then
27417 echo $ECHO_N "(cached) $ECHO_C" >&6
27419 cat >conftest.
$ac_ext <<_ACEOF
27422 cat confdefs.h
>>conftest.
$ac_ext
27423 cat >>conftest.
$ac_ext <<_ACEOF
27424 /* end confdefs.h. */
27425 #include <windows.h>
27432 if (sizeof (boolean))
27438 rm -f conftest.
$ac_objext
27439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27440 (eval $ac_compile) 2>conftest.er1
27442 grep -v '^ *+' conftest.er1
>conftest.err
27444 cat conftest.err
>&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } &&
27447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; } &&
27453 { ac_try
='test -s conftest.$ac_objext'
27454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27455 (eval $ac_try) 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27459 ac_cv_type_boolean
=yes
27461 echo "$as_me: failed program was:" >&5
27462 sed 's/^/| /' conftest.
$ac_ext >&5
27464 ac_cv_type_boolean
=no
27466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27468 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27469 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27470 if test $ac_cv_type_boolean = yes; then
27472 cat >>confdefs.h
<<_ACEOF
27473 #define HAVE_BOOLEAN 1
27481 for ac_header
in pbt.h
27483 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27485 echo "$as_me:$LINENO: checking for $ac_header" >&5
27486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27488 echo $ECHO_N "(cached) $ECHO_C" >&6
27490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27493 # Is the header compilable?
27494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27496 cat >conftest.
$ac_ext <<_ACEOF
27499 cat confdefs.h
>>conftest.
$ac_ext
27500 cat >>conftest.
$ac_ext <<_ACEOF
27501 /* end confdefs.h. */
27502 $ac_includes_default
27503 #include <$ac_header>
27505 rm -f conftest.
$ac_objext
27506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27507 (eval $ac_compile) 2>conftest.er1
27509 grep -v '^ *+' conftest.er1
>conftest.err
27511 cat conftest.err
>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); } &&
27514 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; } &&
27520 { ac_try
='test -s conftest.$ac_objext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 ac_header_compiler
=yes
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.
$ac_ext >&5
27531 ac_header_compiler
=no
27533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27535 echo "${ECHO_T}$ac_header_compiler" >&6
27537 # Is the header present?
27538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27540 cat >conftest.
$ac_ext <<_ACEOF
27543 cat confdefs.h
>>conftest.
$ac_ext
27544 cat >>conftest.
$ac_ext <<_ACEOF
27545 /* end confdefs.h. */
27546 #include <$ac_header>
27548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27551 grep -v '^ *+' conftest.er1
>conftest.err
27553 cat conftest.err
>&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } >/dev
/null
; then
27556 if test -s conftest.err
; then
27557 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27558 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27565 if test -z "$ac_cpp_err"; then
27566 ac_header_preproc
=yes
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.
$ac_ext >&5
27571 ac_header_preproc
=no
27573 rm -f conftest.err conftest.
$ac_ext
27574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27575 echo "${ECHO_T}$ac_header_preproc" >&6
27577 # So? What about this header?
27578 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27584 ac_header_preproc
=yes
27587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27601 ## ----------------------------------------- ##
27602 ## Report this to wx-dev@lists.wxwidgets.org ##
27603 ## ----------------------------------------- ##
27606 sed "s/^/$as_me: WARNING: /" >&2
27609 echo "$as_me:$LINENO: checking for $ac_header" >&5
27610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27612 echo $ECHO_N "(cached) $ECHO_C" >&6
27614 eval "$as_ac_Header=\$ac_header_preproc"
27616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27621 cat >>confdefs.h
<<_ACEOF
27622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27626 cat >>confdefs.h
<<\_ACEOF
27627 #define NEED_PBT_H 1
27636 if test "$wxUSE_GUI" = "yes"; then
27646 if test "$wxUSE_COCOA" = 1 ; then
27647 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27648 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27649 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27650 wxUSE_PRINTING_ARCHITECTURE
=no
27652 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27653 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27654 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27655 wxUSE_DRAG_AND_DROP
=no
27657 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27658 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27659 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27664 if test "$wxUSE_MSW" = 1 ; then
27670 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27674 if test "$wxUSE_GTK" = 1; then
27676 ac_cpp
='$CPP $CPPFLAGS'
27677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27682 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27683 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27685 gtk_version_cached
=1
27686 if test "${wx_cv_lib_gtk+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27690 gtk_version_cached
=0
27691 echo "$as_me:$LINENO: result: " >&5
27692 echo "${ECHO_T}" >&6
27695 if test "$wxUSE_THREADS" = "yes"; then
27696 GTK_MODULES
=gthread
27700 if test "x$wxGTK_VERSION" != "x1"
27704 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27709 # Check whether --enable-gtktest or --disable-gtktest was given.
27710 if test "${enable_gtktest+set}" = set; then
27711 enableval
="$enable_gtktest"
27717 pkg_config_args
=gtk
+-2.0
27718 for module
in .
$GTK_MODULES
27722 pkg_config_args
="$pkg_config_args gthread-2.0"
27729 # Extract the first word of "pkg-config", so it can be a program name with args.
27730 set dummy pkg
-config; ac_word
=$2
27731 echo "$as_me:$LINENO: checking for $ac_word" >&5
27732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27733 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27734 echo $ECHO_N "(cached) $ECHO_C" >&6
27736 case $PKG_CONFIG in
27738 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27742 for as_dir
in $PATH
27745 test -z "$as_dir" && as_dir
=.
27746 for ac_exec_ext
in '' $ac_executable_extensions; do
27747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27748 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27755 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27759 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27761 if test -n "$PKG_CONFIG"; then
27762 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27763 echo "${ECHO_T}$PKG_CONFIG" >&6
27765 echo "$as_me:$LINENO: result: no" >&5
27766 echo "${ECHO_T}no" >&6
27770 if test x
$PKG_CONFIG != xno
; then
27771 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27774 echo "*** pkg-config too old; version 0.7 or better required."
27782 min_gtk_version
=2.0.0
27783 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27784 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27786 if test x
$PKG_CONFIG != xno
; then
27787 ## don't try to run the test against uninstalled libtool libs
27788 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27789 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27793 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27800 if test x
"$no_gtk" = x
; then
27801 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27802 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27803 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27805 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27807 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27808 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27809 if test "x$enable_gtktest" = "xyes" ; then
27810 ac_save_CFLAGS
="$CFLAGS"
27811 ac_save_LIBS
="$LIBS"
27812 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27813 LIBS
="$GTK_LIBS $LIBS"
27815 if test "$cross_compiling" = yes; then
27816 echo $ac_n "cross compiling; assumed OK... $ac_c"
27818 cat >conftest.
$ac_ext <<_ACEOF
27821 cat confdefs.h
>>conftest.
$ac_ext
27822 cat >>conftest.
$ac_ext <<_ACEOF
27823 /* end confdefs.h. */
27825 #include <gtk/gtk.h>
27827 #include <stdlib.h>
27832 int major, minor, micro;
27835 system ("touch conf.gtktest");
27837 /* HP/UX 9 (%@#!) writes to sscanf strings */
27838 tmp_version = g_strdup("$min_gtk_version");
27839 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27840 printf("%s, bad version string\n", "$min_gtk_version");
27844 if ((gtk_major_version != $gtk_config_major_version) ||
27845 (gtk_minor_version != $gtk_config_minor_version) ||
27846 (gtk_micro_version != $gtk_config_micro_version))
27848 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27849 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27850 gtk_major_version, gtk_minor_version, gtk_micro_version);
27851 printf ("*** was found! If pkg-config was correct, then it is best\n");
27852 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27853 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27854 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27855 printf("*** required on your system.\n");
27856 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27857 printf("*** to point to the correct configuration files\n");
27859 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27860 (gtk_minor_version != GTK_MINOR_VERSION) ||
27861 (gtk_micro_version != GTK_MICRO_VERSION))
27863 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27864 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27865 printf("*** library (version %d.%d.%d)\n",
27866 gtk_major_version, gtk_minor_version, gtk_micro_version);
27870 if ((gtk_major_version > major) ||
27871 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27872 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27878 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27879 gtk_major_version, gtk_minor_version, gtk_micro_version);
27880 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27881 major, minor, micro);
27882 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27884 printf("*** If you have already installed a sufficiently new version, this error\n");
27885 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27886 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27887 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27888 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27889 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27890 printf("*** so that the correct libraries are found at run-time))\n");
27897 rm -f conftest
$ac_exeext
27898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27899 (eval $ac_link) 2>&5
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27904 (eval $ac_try) 2>&5
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); }; }; then
27910 echo "$as_me: program exited with status $ac_status" >&5
27911 echo "$as_me: failed program was:" >&5
27912 sed 's/^/| /' conftest.
$ac_ext >&5
27914 ( exit $ac_status )
27917 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27919 CFLAGS
="$ac_save_CFLAGS"
27920 LIBS
="$ac_save_LIBS"
27923 if test "x$no_gtk" = x
; then
27924 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27925 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27928 echo "$as_me:$LINENO: result: no" >&5
27929 echo "${ECHO_T}no" >&6
27930 if test "$PKG_CONFIG" = "no" ; then
27931 echo "*** A new enough version of pkg-config was not found."
27932 echo "*** See http://pkgconfig.sourceforge.net"
27934 if test -f conf.gtktest
; then
27937 echo "*** Could not run GTK+ test program, checking why..."
27938 ac_save_CFLAGS
="$CFLAGS"
27939 ac_save_LIBS
="$LIBS"
27940 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27941 LIBS
="$LIBS $GTK_LIBS"
27942 cat >conftest.
$ac_ext <<_ACEOF
27945 cat confdefs.h
>>conftest.
$ac_ext
27946 cat >>conftest.
$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27949 #include <gtk/gtk.h>
27955 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27960 rm -f conftest.
$ac_objext conftest
$ac_exeext
27961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27962 (eval $ac_link) 2>conftest.er1
27964 grep -v '^ *+' conftest.er1
>conftest.err
27966 cat conftest.err
>&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); } &&
27969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971 (eval $ac_try) 2>&5
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; } &&
27975 { ac_try
='test -s conftest$ac_exeext'
27976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27977 (eval $ac_try) 2>&5
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27981 echo "*** The test program compiled, but did not run. This usually means"
27982 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27983 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27984 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27985 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27986 echo "*** is required on your system"
27988 echo "*** If you have an old version installed, it is best to remove it, although"
27989 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27991 echo "$as_me: failed program was:" >&5
27992 sed 's/^/| /' conftest.
$ac_ext >&5
27994 echo "*** The test program failed to compile or link. See the file config.log for the"
27995 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27997 rm -f conftest.err conftest.
$ac_objext \
27998 conftest
$ac_exeext conftest.
$ac_ext
27999 CFLAGS
="$ac_save_CFLAGS"
28000 LIBS
="$ac_save_LIBS"
28014 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28015 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28016 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28018 if test "$wxUSE_SHARED" != "yes"; then
28019 GTK_LIBS
="$GTK_LIBS -lX11"
28024 if test -z "$wx_cv_lib_gtk"; then
28025 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28027 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28028 if test "${with_gtk_prefix+set}" = set; then
28029 withval
="$with_gtk_prefix"
28030 gtk_config_prefix
="$withval"
28032 gtk_config_prefix
=""
28035 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28036 if test "${with_gtk_exec_prefix+set}" = set; then
28037 withval
="$with_gtk_exec_prefix"
28038 gtk_config_exec_prefix
="$withval"
28040 gtk_config_exec_prefix
=""
28042 # Check whether --enable-gtktest or --disable-gtktest was given.
28043 if test "${enable_gtktest+set}" = set; then
28044 enableval
="$enable_gtktest"
28050 for module
in .
$GTK_MODULES
28054 gtk_config_args
="$gtk_config_args gthread"
28059 if test x
$gtk_config_exec_prefix != x
; then
28060 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28061 if test x
${GTK_CONFIG+set} != xset
; then
28062 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28065 if test x
$gtk_config_prefix != x
; then
28066 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28067 if test x
${GTK_CONFIG+set} != xset
; then
28068 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28072 # Extract the first word of "gtk-config", so it can be a program name with args.
28073 set dummy gtk
-config; ac_word
=$2
28074 echo "$as_me:$LINENO: checking for $ac_word" >&5
28075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28076 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28077 echo $ECHO_N "(cached) $ECHO_C" >&6
28079 case $GTK_CONFIG in
28081 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28085 for as_dir
in $PATH
28088 test -z "$as_dir" && as_dir
=.
28089 for ac_exec_ext
in '' $ac_executable_extensions; do
28090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28091 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28098 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28102 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28104 if test -n "$GTK_CONFIG"; then
28105 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28106 echo "${ECHO_T}$GTK_CONFIG" >&6
28108 echo "$as_me:$LINENO: result: no" >&5
28109 echo "${ECHO_T}no" >&6
28112 min_gtk_version
=1.2.7
28113 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28114 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28116 if test "$GTK_CONFIG" = "no" ; then
28119 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28120 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28121 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28123 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28125 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28127 if test "x$enable_gtktest" = "xyes" ; then
28128 ac_save_CFLAGS
="$CFLAGS"
28129 ac_save_LIBS
="$LIBS"
28130 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28131 LIBS
="$GTK_LIBS $LIBS"
28133 if test "$cross_compiling" = yes; then
28134 echo $ac_n "cross compiling; assumed OK... $ac_c"
28136 cat >conftest.
$ac_ext <<_ACEOF
28139 cat confdefs.h
>>conftest.
$ac_ext
28140 cat >>conftest.
$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28143 #include <gtk/gtk.h>
28145 #include <stdlib.h>
28150 int major, minor, micro;
28153 system ("touch conf.gtktest");
28155 /* HP/UX 9 (%@#!) writes to sscanf strings */
28156 tmp_version = g_strdup("$min_gtk_version");
28157 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28158 printf("%s, bad version string\n", "$min_gtk_version");
28162 if ((gtk_major_version != $gtk_config_major_version) ||
28163 (gtk_minor_version != $gtk_config_minor_version) ||
28164 (gtk_micro_version != $gtk_config_micro_version))
28166 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28167 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28168 gtk_major_version, gtk_minor_version, gtk_micro_version);
28169 printf ("*** was found! If gtk-config was correct, then it is best\n");
28170 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28171 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28172 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28173 printf("*** required on your system.\n");
28174 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28175 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28176 printf("*** before re-running configure\n");
28178 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28179 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28180 (gtk_minor_version != GTK_MINOR_VERSION) ||
28181 (gtk_micro_version != GTK_MICRO_VERSION))
28183 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28184 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28185 printf("*** library (version %d.%d.%d)\n",
28186 gtk_major_version, gtk_minor_version, gtk_micro_version);
28188 #endif /* defined (GTK_MAJOR_VERSION) ... */
28191 if ((gtk_major_version > major) ||
28192 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28193 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28199 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28200 gtk_major_version, gtk_minor_version, gtk_micro_version);
28201 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28202 major, minor, micro);
28203 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28205 printf("*** If you have already installed a sufficiently new version, this error\n");
28206 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28207 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28208 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28209 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28210 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28211 printf("*** so that the correct libraries are found at run-time))\n");
28218 rm -f conftest
$ac_exeext
28219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28220 (eval $ac_link) 2>&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28225 (eval $ac_try) 2>&5
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); }; }; then
28231 echo "$as_me: program exited with status $ac_status" >&5
28232 echo "$as_me: failed program was:" >&5
28233 sed 's/^/| /' conftest.
$ac_ext >&5
28235 ( exit $ac_status )
28238 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28240 CFLAGS
="$ac_save_CFLAGS"
28241 LIBS
="$ac_save_LIBS"
28244 if test "x$no_gtk" = x
; then
28245 echo "$as_me:$LINENO: result: yes" >&5
28246 echo "${ECHO_T}yes" >&6
28247 wx_cv_lib_gtk
=1.2.7
28249 echo "$as_me:$LINENO: result: no" >&5
28250 echo "${ECHO_T}no" >&6
28251 if test "$GTK_CONFIG" = "no" ; then
28252 echo "*** The gtk-config script installed by GTK could not be found"
28253 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28254 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28255 echo "*** full path to gtk-config."
28257 if test -f conf.gtktest
; then
28260 echo "*** Could not run GTK test program, checking why..."
28261 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28262 LIBS
="$LIBS $GTK_LIBS"
28263 cat >conftest.
$ac_ext <<_ACEOF
28266 cat confdefs.h
>>conftest.
$ac_ext
28267 cat >>conftest.
$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28270 #include <gtk/gtk.h>
28276 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28281 rm -f conftest.
$ac_objext conftest
$ac_exeext
28282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28283 (eval $ac_link) 2>conftest.er1
28285 grep -v '^ *+' conftest.er1
>conftest.err
28287 cat conftest.err
>&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } &&
28290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28292 (eval $ac_try) 2>&5
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); }; } &&
28296 { ac_try
='test -s conftest$ac_exeext'
28297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28298 (eval $ac_try) 2>&5
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); }; }; then
28302 echo "*** The test program compiled, but did not run. This usually means"
28303 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28304 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28305 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28306 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28307 echo "*** is required on your system"
28309 echo "*** If you have an old version installed, it is best to remove it, although"
28310 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28312 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28313 echo "*** came with the system with the command"
28315 echo "*** rpm --erase --nodeps gtk gtk-devel"
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.
$ac_ext >&5
28320 echo "*** The test program failed to compile or link. See the file config.log for the"
28321 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28322 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28323 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28325 rm -f conftest.err conftest.
$ac_objext \
28326 conftest
$ac_exeext conftest.
$ac_ext
28327 CFLAGS
="$ac_save_CFLAGS"
28328 LIBS
="$ac_save_LIBS"
28340 if test -z "$wx_cv_lib_gtk"; then
28342 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28343 if test "${with_gtk_prefix+set}" = set; then
28344 withval
="$with_gtk_prefix"
28345 gtk_config_prefix
="$withval"
28347 gtk_config_prefix
=""
28350 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28351 if test "${with_gtk_exec_prefix+set}" = set; then
28352 withval
="$with_gtk_exec_prefix"
28353 gtk_config_exec_prefix
="$withval"
28355 gtk_config_exec_prefix
=""
28357 # Check whether --enable-gtktest or --disable-gtktest was given.
28358 if test "${enable_gtktest+set}" = set; then
28359 enableval
="$enable_gtktest"
28365 for module
in .
$GTK_MODULES
28369 gtk_config_args
="$gtk_config_args gthread"
28374 if test x
$gtk_config_exec_prefix != x
; then
28375 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28376 if test x
${GTK_CONFIG+set} != xset
; then
28377 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28380 if test x
$gtk_config_prefix != x
; then
28381 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28382 if test x
${GTK_CONFIG+set} != xset
; then
28383 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28387 # Extract the first word of "gtk-config", so it can be a program name with args.
28388 set dummy gtk
-config; ac_word
=$2
28389 echo "$as_me:$LINENO: checking for $ac_word" >&5
28390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28391 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28392 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 case $GTK_CONFIG in
28396 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28400 for as_dir
in $PATH
28403 test -z "$as_dir" && as_dir
=.
28404 for ac_exec_ext
in '' $ac_executable_extensions; do
28405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28406 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28413 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28417 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28419 if test -n "$GTK_CONFIG"; then
28420 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28421 echo "${ECHO_T}$GTK_CONFIG" >&6
28423 echo "$as_me:$LINENO: result: no" >&5
28424 echo "${ECHO_T}no" >&6
28427 min_gtk_version
=1.2.3
28428 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28429 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28431 if test "$GTK_CONFIG" = "no" ; then
28434 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28435 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28436 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28438 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28440 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28442 if test "x$enable_gtktest" = "xyes" ; then
28443 ac_save_CFLAGS
="$CFLAGS"
28444 ac_save_LIBS
="$LIBS"
28445 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28446 LIBS
="$GTK_LIBS $LIBS"
28448 if test "$cross_compiling" = yes; then
28449 echo $ac_n "cross compiling; assumed OK... $ac_c"
28451 cat >conftest.
$ac_ext <<_ACEOF
28454 cat confdefs.h
>>conftest.
$ac_ext
28455 cat >>conftest.
$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28458 #include <gtk/gtk.h>
28460 #include <stdlib.h>
28465 int major, minor, micro;
28468 system ("touch conf.gtktest");
28470 /* HP/UX 9 (%@#!) writes to sscanf strings */
28471 tmp_version = g_strdup("$min_gtk_version");
28472 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28473 printf("%s, bad version string\n", "$min_gtk_version");
28477 if ((gtk_major_version != $gtk_config_major_version) ||
28478 (gtk_minor_version != $gtk_config_minor_version) ||
28479 (gtk_micro_version != $gtk_config_micro_version))
28481 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28482 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28483 gtk_major_version, gtk_minor_version, gtk_micro_version);
28484 printf ("*** was found! If gtk-config was correct, then it is best\n");
28485 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28486 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28487 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28488 printf("*** required on your system.\n");
28489 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28490 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28491 printf("*** before re-running configure\n");
28493 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28494 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28495 (gtk_minor_version != GTK_MINOR_VERSION) ||
28496 (gtk_micro_version != GTK_MICRO_VERSION))
28498 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28499 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28500 printf("*** library (version %d.%d.%d)\n",
28501 gtk_major_version, gtk_minor_version, gtk_micro_version);
28503 #endif /* defined (GTK_MAJOR_VERSION) ... */
28506 if ((gtk_major_version > major) ||
28507 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28508 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28514 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28515 gtk_major_version, gtk_minor_version, gtk_micro_version);
28516 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28517 major, minor, micro);
28518 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28520 printf("*** If you have already installed a sufficiently new version, this error\n");
28521 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28522 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28523 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28524 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28525 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28526 printf("*** so that the correct libraries are found at run-time))\n");
28533 rm -f conftest
$ac_exeext
28534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28535 (eval $ac_link) 2>&5
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540 (eval $ac_try) 2>&5
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); }; }; then
28546 echo "$as_me: program exited with status $ac_status" >&5
28547 echo "$as_me: failed program was:" >&5
28548 sed 's/^/| /' conftest.
$ac_ext >&5
28550 ( exit $ac_status )
28553 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28555 CFLAGS
="$ac_save_CFLAGS"
28556 LIBS
="$ac_save_LIBS"
28559 if test "x$no_gtk" = x
; then
28560 echo "$as_me:$LINENO: result: yes" >&5
28561 echo "${ECHO_T}yes" >&6
28562 wx_cv_lib_gtk
=1.2.3
28564 echo "$as_me:$LINENO: result: no" >&5
28565 echo "${ECHO_T}no" >&6
28566 if test "$GTK_CONFIG" = "no" ; then
28567 echo "*** The gtk-config script installed by GTK could not be found"
28568 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28569 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28570 echo "*** full path to gtk-config."
28572 if test -f conf.gtktest
; then
28575 echo "*** Could not run GTK test program, checking why..."
28576 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28577 LIBS
="$LIBS $GTK_LIBS"
28578 cat >conftest.
$ac_ext <<_ACEOF
28581 cat confdefs.h
>>conftest.
$ac_ext
28582 cat >>conftest.
$ac_ext <<_ACEOF
28583 /* end confdefs.h. */
28585 #include <gtk/gtk.h>
28591 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28596 rm -f conftest.
$ac_objext conftest
$ac_exeext
28597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28598 (eval $ac_link) 2>conftest.er1
28600 grep -v '^ *+' conftest.er1
>conftest.err
28602 cat conftest.err
>&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } &&
28605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607 (eval $ac_try) 2>&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); }; } &&
28611 { ac_try
='test -s conftest$ac_exeext'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; }; then
28617 echo "*** The test program compiled, but did not run. This usually means"
28618 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28619 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28620 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28621 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28622 echo "*** is required on your system"
28624 echo "*** If you have an old version installed, it is best to remove it, although"
28625 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28627 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28628 echo "*** came with the system with the command"
28630 echo "*** rpm --erase --nodeps gtk gtk-devel"
28632 echo "$as_me: failed program was:" >&5
28633 sed 's/^/| /' conftest.
$ac_ext >&5
28635 echo "*** The test program failed to compile or link. See the file config.log for the"
28636 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28637 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28638 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28640 rm -f conftest.err conftest.
$ac_objext \
28641 conftest
$ac_exeext conftest.
$ac_ext
28642 CFLAGS
="$ac_save_CFLAGS"
28643 LIBS
="$ac_save_LIBS"
28658 if test -z "$wx_cv_lib_gtk"; then
28661 wx_cv_cflags_gtk
=$GTK_CFLAGS
28662 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28669 if test "$gtk_version_cached" = 1; then
28670 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28671 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28674 case "$wx_cv_lib_gtk" in
28683 *) { { echo "$as_me:$LINENO: error:
28684 The development files for GTK+ were not found. For GTK+ 2, please
28685 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28686 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28687 and that the version is 1.2.3 or above. Also check that the
28688 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28689 --libs' are in the LD_LIBRARY_PATH or equivalent.
28691 echo "$as_me: error:
28692 The development files for GTK+ were not found. For GTK+ 2, please
28693 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28694 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28695 and that the version is 1.2.3 or above. Also check that the
28696 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28697 --libs' are in the LD_LIBRARY_PATH or equivalent.
28699 { (exit 1); exit 1; }; }
28703 if test "$WXGTK20" = 1; then
28704 save_CFLAGS
="$CFLAGS"
28706 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28707 LIBS
="$LIBS $wx_cv_libs_gtk"
28709 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28710 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28711 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28712 echo $ECHO_N "(cached) $ECHO_C" >&6
28714 cat >conftest.
$ac_ext <<_ACEOF
28717 cat confdefs.h
>>conftest.
$ac_ext
28718 cat >>conftest.
$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28720 #include <gtk/gtk.h>
28725 #ifndef gtk_icon_size_lookup
28726 char *p = (char *) gtk_icon_size_lookup;
28733 rm -f conftest.
$ac_objext
28734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28735 (eval $ac_compile) 2>conftest.er1
28737 grep -v '^ *+' conftest.er1
>conftest.err
28739 cat conftest.err
>&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } &&
28742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28744 (eval $ac_try) 2>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); }; } &&
28748 { ac_try
='test -s conftest.$ac_objext'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; }; then
28754 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28756 echo "$as_me: failed program was:" >&5
28757 sed 's/^/| /' conftest.
$ac_ext >&5
28759 ac_cv_have_decl_gtk_icon_size_lookup
=no
28761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28763 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28764 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28765 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28767 cat >>confdefs.h
<<_ACEOF
28768 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28773 cat >>confdefs.h
<<_ACEOF
28774 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28777 cat >>confdefs.h
<<\_ACEOF
28778 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28785 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28786 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28787 cat >conftest.
$ac_ext <<_ACEOF
28790 cat confdefs.h
>>conftest.
$ac_ext
28791 cat >>conftest.
$ac_ext <<_ACEOF
28792 /* end confdefs.h. */
28794 #include <gtk/gtk.h>
28800 #if !GTK_CHECK_VERSION(2,6,0)
28808 rm -f conftest.
$ac_objext
28809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28810 (eval $ac_compile) 2>conftest.er1
28812 grep -v '^ *+' conftest.er1
>conftest.err
28814 cat conftest.err
>&5
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); } &&
28817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28819 (eval $ac_try) 2>&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); }; } &&
28823 { ac_try
='test -s conftest.$ac_objext'
28824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825 (eval $ac_try) 2>&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); }; }; then
28830 cat >>confdefs.h
<<\_ACEOF
28831 #define __WXGTK26__ 1
28834 cat >>confdefs.h
<<\_ACEOF
28835 #define __WXGTK24__ 1
28838 echo "$as_me:$LINENO: result: yes" >&5
28839 echo "${ECHO_T}yes" >&6
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.
$ac_ext >&5
28847 echo "$as_me:$LINENO: result: no" >&5
28848 echo "${ECHO_T}no" >&6
28852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28854 if test "$ac_wxgtk26" = 0; then
28855 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28856 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28857 cat >conftest.
$ac_ext <<_ACEOF
28860 cat confdefs.h
>>conftest.
$ac_ext
28861 cat >>conftest.
$ac_ext <<_ACEOF
28862 /* end confdefs.h. */
28864 #include <gtk/gtk.h>
28870 #if !GTK_CHECK_VERSION(2,4,0)
28878 rm -f conftest.
$ac_objext
28879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28880 (eval $ac_compile) 2>conftest.er1
28882 grep -v '^ *+' conftest.er1
>conftest.err
28884 cat conftest.err
>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); } &&
28887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; } &&
28893 { ac_try
='test -s conftest.$ac_objext'
28894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28895 (eval $ac_try) 2>&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; }; then
28900 cat >>confdefs.h
<<\_ACEOF
28901 #define __WXGTK24__ 1
28904 echo "$as_me:$LINENO: result: yes" >&5
28905 echo "${ECHO_T}yes" >&6
28908 echo "$as_me: failed program was:" >&5
28909 sed 's/^/| /' conftest.
$ac_ext >&5
28912 echo "$as_me:$LINENO: result: no" >&5
28913 echo "${ECHO_T}no" >&6
28916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28919 CFLAGS
="$save_CFLAGS"
28922 if test "$wxUSE_UNICODE" = "yes"; then
28923 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28924 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28928 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28929 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28930 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 ac_check_lib_save_LIBS
=$LIBS
28935 cat >conftest.
$ac_ext <<_ACEOF
28938 cat confdefs.h
>>conftest.
$ac_ext
28939 cat >>conftest.
$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28942 /* Override any gcc2 internal prototype to avoid an error. */
28946 /* We use char because int might match the return type of a gcc2
28947 builtin and then its argument prototype would still apply. */
28948 char gdk_im_open ();
28957 rm -f conftest.
$ac_objext conftest
$ac_exeext
28958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28959 (eval $ac_link) 2>conftest.er1
28961 grep -v '^ *+' conftest.er1
>conftest.err
28963 cat conftest.err
>&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28968 (eval $ac_try) 2>&5
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); }; } &&
28972 { ac_try
='test -s conftest$ac_exeext'
28973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28974 (eval $ac_try) 2>&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; }; then
28978 ac_cv_lib_gdk_gdk_im_open
=yes
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.
$ac_ext >&5
28983 ac_cv_lib_gdk_gdk_im_open
=no
28985 rm -f conftest.err conftest.
$ac_objext \
28986 conftest
$ac_exeext conftest.
$ac_ext
28987 LIBS
=$ac_check_lib_save_LIBS
28989 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28990 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28991 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28992 cat >>confdefs.h
<<\_ACEOF
29001 ac_cpp
='$CXXCPP $CPPFLAGS'
29002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29007 if test "$USE_DARWIN" != 1; then
29009 for ac_func
in poll
29011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29012 echo "$as_me:$LINENO: checking for $ac_func" >&5
29013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29014 if eval "test \"\${$as_ac_var+set}\" = set"; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 cat >conftest.
$ac_ext <<_ACEOF
29020 cat confdefs.h
>>conftest.
$ac_ext
29021 cat >>conftest.
$ac_ext <<_ACEOF
29022 /* end confdefs.h. */
29023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29025 #define $ac_func innocuous_$ac_func
29027 /* System header to define __stub macros and hopefully few prototypes,
29028 which can conflict with char $ac_func (); below.
29029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29030 <limits.h> exists even on freestanding compilers. */
29033 # include <limits.h>
29035 # include <assert.h>
29040 /* Override any gcc2 internal prototype to avoid an error. */
29045 /* We use char because int might match the return type of a gcc2
29046 builtin and then its argument prototype would still apply. */
29048 /* The GNU C library defines this for functions which it implements
29049 to always fail with ENOSYS. Some functions are actually named
29050 something starting with __ and the normal name is an alias. */
29051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29054 char (*f) () = $ac_func;
29063 return f != $ac_func;
29068 rm -f conftest.
$ac_objext conftest
$ac_exeext
29069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29070 (eval $ac_link) 2>conftest.er1
29072 grep -v '^ *+' conftest.er1
>conftest.err
29074 cat conftest.err
>&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } &&
29077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079 (eval $ac_try) 2>&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); }; } &&
29083 { ac_try
='test -s conftest$ac_exeext'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 eval "$as_ac_var=yes"
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.
$ac_ext >&5
29094 eval "$as_ac_var=no"
29096 rm -f conftest.err conftest.
$ac_objext \
29097 conftest
$ac_exeext conftest.
$ac_ext
29099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29101 if test `eval echo '${'$as_ac_var'}'` = yes; then
29102 cat >>confdefs.h
<<_ACEOF
29103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29111 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29112 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29114 AFMINSTALL
=afminstall
29118 if test "$wxUSE_GPE" = "yes"; then
29119 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29120 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29123 for ac_dir
in $SEARCH_LIB;
29125 for ac_extension
in a so sl dylib dll.a
; do
29126 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29127 ac_find_libraries
=$ac_dir
29133 if test "$ac_find_libraries" != "" ; then
29135 if test "$ac_find_libraries" = "default location"; then
29138 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29140 if test $result = 0; then
29143 ac_path_to_link
=" -L$ac_find_libraries"
29147 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29149 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29150 echo "${ECHO_T}found in $ac_find_libraries" >&6
29152 echo "$as_me:$LINENO: result: not found" >&5
29153 echo "${ECHO_T}not found" >&6
29159 if test "$wxUSE_MGL" = 1; then
29160 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29161 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29162 if test "x$MGL_ROOT" = x
; then
29163 echo "$as_me:$LINENO: result: not found" >&5
29164 echo "${ECHO_T}not found" >&6
29165 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29166 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29167 { (exit 1); exit 1; }; }
29169 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29170 echo "${ECHO_T}$MGL_ROOT" >&6
29173 echo "$as_me:$LINENO: checking for libmgl location" >&5
29174 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29177 if test "x$wxUSE_SHARED" = xyes
; then
29178 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29180 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29184 mgl_os_candidates
="dos32/dj2"
29187 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29188 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29189 { (exit 1); exit 1; }; }
29195 for mgl_os_i
in $mgl_os_candidates ; do
29196 if test "x$mgl_os" = x
; then
29197 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29198 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29199 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29204 if test "x$mgl_lib_type" = x
; then
29205 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29206 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29207 mgl_lib_type
=release
29214 if test "x$mgl_os" = x
; then
29215 echo "$as_me:$LINENO: result: not found" >&5
29216 echo "${ECHO_T}not found" >&6
29217 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29218 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29219 { (exit 1); exit 1; }; }
29221 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29222 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29224 wxUSE_UNIVERSAL
="yes"
29226 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29227 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29229 AFMINSTALL
=afminstall
29234 if test "$wxUSE_DFB" = 1; then
29237 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29238 if test -n "$ac_tool_prefix"; then
29239 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29240 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29241 echo "$as_me:$LINENO: checking for $ac_word" >&5
29242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29243 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29244 echo $ECHO_N "(cached) $ECHO_C" >&6
29246 case $PKG_CONFIG in
29248 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29252 for as_dir
in $PATH
29255 test -z "$as_dir" && as_dir
=.
29256 for ac_exec_ext
in '' $ac_executable_extensions; do
29257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29258 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29268 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29270 if test -n "$PKG_CONFIG"; then
29271 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29272 echo "${ECHO_T}$PKG_CONFIG" >&6
29274 echo "$as_me:$LINENO: result: no" >&5
29275 echo "${ECHO_T}no" >&6
29279 if test -z "$ac_cv_path_PKG_CONFIG"; then
29280 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29281 # Extract the first word of "pkg-config", so it can be a program name with args.
29282 set dummy pkg
-config; ac_word
=$2
29283 echo "$as_me:$LINENO: checking for $ac_word" >&5
29284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29285 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29286 echo $ECHO_N "(cached) $ECHO_C" >&6
29288 case $ac_pt_PKG_CONFIG in
29290 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29294 for as_dir
in $PATH
29297 test -z "$as_dir" && as_dir
=.
29298 for ac_exec_ext
in '' $ac_executable_extensions; do
29299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29300 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29310 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29312 if test -n "$ac_pt_PKG_CONFIG"; then
29313 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29314 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29316 echo "$as_me:$LINENO: result: no" >&5
29317 echo "${ECHO_T}no" >&6
29320 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29322 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29326 if test -n "$PKG_CONFIG"; then
29327 _pkg_min_version
=0.9.0
29328 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29329 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29330 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29331 echo "$as_me:$LINENO: result: yes" >&5
29332 echo "${ECHO_T}yes" >&6
29334 echo "$as_me:$LINENO: result: no" >&5
29335 echo "${ECHO_T}no" >&6
29343 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29344 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29346 if test -n "$PKG_CONFIG"; then
29347 if test -n "$DIRECTFB_CFLAGS"; then
29348 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29350 if test -n "$PKG_CONFIG" && \
29351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29352 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; then
29356 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29364 if test -n "$PKG_CONFIG"; then
29365 if test -n "$DIRECTFB_LIBS"; then
29366 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29368 if test -n "$PKG_CONFIG" && \
29369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29370 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; then
29374 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29385 if test $pkg_failed = yes; then
29387 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29388 _pkg_short_errors_supported
=yes
29390 _pkg_short_errors_supported
=no
29392 if test $_pkg_short_errors_supported = yes; then
29393 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29395 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29397 # Put the nasty error message in config.log where it belongs
29398 echo "$DIRECTFB_PKG_ERRORS" >&5
29401 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29402 echo "$as_me: error: DirectFB not found." >&2;}
29403 { (exit 1); exit 1; }; }
29406 elif test $pkg_failed = untried
; then
29408 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29409 echo "$as_me: error: DirectFB not found." >&2;}
29410 { (exit 1); exit 1; }; }
29414 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29415 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29416 echo "$as_me:$LINENO: result: yes" >&5
29417 echo "${ECHO_T}yes" >&6
29419 wxUSE_UNIVERSAL
="yes"
29420 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29421 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29428 if test "$wxUSE_MICROWIN" = 1; then
29429 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29430 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29431 if test "x$MICROWINDOWS" = x
; then
29432 echo "$as_me:$LINENO: result: not found" >&5
29433 echo "${ECHO_T}not found" >&6
29434 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29435 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29436 { (exit 1); exit 1; }; }
29438 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29439 echo "${ECHO_T}$MICROWINDOWS" >&6
29442 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29443 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29444 echo "${ECHO_T}MicroWindows' libraries found." >&6
29446 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29447 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29448 { (exit 1); exit 1; }; }
29451 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29452 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29454 wxUSE_UNIVERSAL
="yes"
29456 AFMINSTALL
=afminstall
29458 GUIDIST
=MICROWIN_DIST
29460 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29463 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29465 if test "x$ac_path_x_has_been_run" != xyes
; then
29466 echo "$as_me:$LINENO: checking for X" >&5
29467 echo $ECHO_N "checking for X... $ECHO_C" >&6
29469 ac_path_x_has_been_run
=yes
29471 # Check whether --with-x or --without-x was given.
29472 if test "${with_x+set}" = set; then
29476 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29477 if test "x$with_x" = xno
; then
29478 # The user explicitly disabled X.
29481 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29482 # Both variables are already set.
29485 if test "${ac_cv_have_x+set}" = set; then
29486 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 # One or both of the vars are not set, and there is no cached value.
29489 ac_x_includes
=no ac_x_libraries
=no
29490 rm -fr conftest.dir
29491 if mkdir conftest.dir
; then
29493 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29494 cat >Imakefile
<<'_ACEOF'
29496 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29498 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29499 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29500 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29501 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29502 for ac_extension
in a so sl
; do
29503 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29504 test -f $ac_im_libdir/libX11.
$ac_extension; then
29505 ac_im_usrlibdir
=$ac_im_libdir; break
29508 # Screen out bogus values from the imake configuration. They are
29509 # bogus both because they are the default anyway, and because
29510 # using them would break gcc on systems where it needs fixed includes.
29511 case $ac_im_incroot in
29513 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29515 case $ac_im_usrlibdir in
29516 /usr
/lib
| /lib
) ;;
29517 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29521 rm -fr conftest.dir
29524 # Standard set of common directories for X headers.
29525 # Check X11 before X11Rn because it is often a symlink to the current release.
29537 /usr/local/X11/include
29538 /usr/local/X11R6/include
29539 /usr/local/X11R5/include
29540 /usr/local/X11R4/include
29542 /usr/local/include/X11
29543 /usr/local/include/X11R6
29544 /usr/local/include/X11R5
29545 /usr/local/include/X11R4
29549 /usr/XFree86/include/X11
29553 /usr/unsupported/include
29554 /usr/athena/include
29555 /usr/local/x11r5/include
29556 /usr/lpp/Xamples/include
29558 /usr/openwin/include
29559 /usr/openwin/share/include'
29561 if test "$ac_x_includes" = no
; then
29562 # Guess where to find include files, by looking for a specified header file.
29563 # First, try using that file with no special directory specified.
29564 cat >conftest.
$ac_ext <<_ACEOF
29567 cat confdefs.h
>>conftest.
$ac_ext
29568 cat >>conftest.
$ac_ext <<_ACEOF
29569 /* end confdefs.h. */
29570 #include <X11/Intrinsic.h>
29572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29573 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29575 grep -v '^ *+' conftest.er1
>conftest.err
29577 cat conftest.err
>&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); } >/dev
/null
; then
29580 if test -s conftest.err
; then
29581 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29582 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29589 if test -z "$ac_cpp_err"; then
29590 # We can compile using X headers with no special include directory.
29593 echo "$as_me: failed program was:" >&5
29594 sed 's/^/| /' conftest.
$ac_ext >&5
29596 for ac_dir
in $ac_x_header_dirs; do
29597 if test -r "$ac_dir/X11/Intrinsic.h"; then
29598 ac_x_includes
=$ac_dir
29603 rm -f conftest.err conftest.
$ac_ext
29604 fi # $ac_x_includes = no
29606 if test "$ac_x_libraries" = no
; then
29607 # Check for the libraries.
29608 # See if we find them without any special options.
29609 # Don't add to $LIBS permanently.
29612 cat >conftest.
$ac_ext <<_ACEOF
29615 cat confdefs.h
>>conftest.
$ac_ext
29616 cat >>conftest.
$ac_ext <<_ACEOF
29617 /* end confdefs.h. */
29618 #include <X11/Intrinsic.h>
29627 rm -f conftest.
$ac_objext conftest
$ac_exeext
29628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29629 (eval $ac_link) 2>conftest.er1
29631 grep -v '^ *+' conftest.er1
>conftest.err
29633 cat conftest.err
>&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); } &&
29636 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29638 (eval $ac_try) 2>&5
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); }; } &&
29642 { ac_try
='test -s conftest$ac_exeext'
29643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29644 (eval $ac_try) 2>&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); }; }; then
29649 # We can link X programs with no special library path.
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.
$ac_ext >&5
29656 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29658 # Don't even attempt the hair of trying to link an X program!
29659 for ac_extension
in a so sl
; do
29660 if test -r $ac_dir/libXt.
$ac_extension; then
29661 ac_x_libraries
=$ac_dir
29667 rm -f conftest.err conftest.
$ac_objext \
29668 conftest
$ac_exeext conftest.
$ac_ext
29669 fi # $ac_x_libraries = no
29671 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29672 # Didn't find X anywhere. Cache the known absence of X.
29673 ac_cv_have_x
="have_x=no"
29675 # Record where we found X for the cache.
29676 ac_cv_have_x
="have_x=yes \
29677 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29682 eval "$ac_cv_have_x"
29685 if test "$have_x" != yes; then
29686 echo "$as_me:$LINENO: result: $have_x" >&5
29687 echo "${ECHO_T}$have_x" >&6
29690 # If each of the values was on the command line, it overrides each guess.
29691 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29692 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29693 # Update the cache value to reflect the command line values.
29694 ac_cv_have_x
="have_x=yes \
29695 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29696 # It might be that x_includes is empty (headers are found in the
29697 # standard search path. Then output the corresponding message
29698 ac_out_x_includes
=$x_includes
29699 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29700 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29701 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29705 if test "$no_x" = yes; then
29706 # Not all programs may use this symbol, but it does not hurt to define it.
29708 cat >>confdefs.h
<<\_ACEOF
29709 #define X_DISPLAY_MISSING 1
29712 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29714 if test -n "$x_includes"; then
29715 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29718 # It would also be nice to do this for all -L options, not just this one.
29719 if test -n "$x_libraries"; then
29720 X_LIBS
="$X_LIBS -L$x_libraries"
29721 # For Solaris; some versions of Sun CC require a space after -R and
29722 # others require no space. Words are not sufficient . . . .
29723 case `(uname -sr) 2>/dev/null` in
29725 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29726 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29727 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29728 cat >conftest.
$ac_ext <<_ACEOF
29731 cat confdefs.h
>>conftest.
$ac_ext
29732 cat >>conftest.
$ac_ext <<_ACEOF
29733 /* end confdefs.h. */
29743 rm -f conftest.
$ac_objext conftest
$ac_exeext
29744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29745 (eval $ac_link) 2>conftest.er1
29747 grep -v '^ *+' conftest.er1
>conftest.err
29749 cat conftest.err
>&5
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); } &&
29752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754 (eval $ac_try) 2>&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; } &&
29758 { ac_try
='test -s conftest$ac_exeext'
29759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29760 (eval $ac_try) 2>&5
29762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29763 (exit $ac_status); }; }; then
29766 echo "$as_me: failed program was:" >&5
29767 sed 's/^/| /' conftest.
$ac_ext >&5
29771 rm -f conftest.err conftest.
$ac_objext \
29772 conftest
$ac_exeext conftest.
$ac_ext
29773 if test $ac_R_nospace = yes; then
29774 echo "$as_me:$LINENO: result: no" >&5
29775 echo "${ECHO_T}no" >&6
29776 X_LIBS
="$X_LIBS -R$x_libraries"
29778 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29779 cat >conftest.
$ac_ext <<_ACEOF
29782 cat confdefs.h
>>conftest.
$ac_ext
29783 cat >>conftest.
$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29794 rm -f conftest.
$ac_objext conftest
$ac_exeext
29795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29796 (eval $ac_link) 2>conftest.er1
29798 grep -v '^ *+' conftest.er1
>conftest.err
29800 cat conftest.err
>&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; } &&
29809 { ac_try
='test -s conftest$ac_exeext'
29810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29811 (eval $ac_try) 2>&5
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); }; }; then
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.
$ac_ext >&5
29822 rm -f conftest.err conftest.
$ac_objext \
29823 conftest
$ac_exeext conftest.
$ac_ext
29824 if test $ac_R_space = yes; then
29825 echo "$as_me:$LINENO: result: yes" >&5
29826 echo "${ECHO_T}yes" >&6
29827 X_LIBS
="$X_LIBS -R $x_libraries"
29829 echo "$as_me:$LINENO: result: neither works" >&5
29830 echo "${ECHO_T}neither works" >&6
29833 LIBS
=$ac_xsave_LIBS
29837 # Check for system-dependent libraries X programs must link with.
29838 # Do this before checking for the system-independent R6 libraries
29839 # (-lICE), since we may need -lsocket or whatever for X linking.
29841 if test "$ISC" = yes; then
29842 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29844 # Martyn Johnson says this is needed for Ultrix, if the X
29845 # libraries were built with DECnet support. And Karl Berry says
29846 # the Alpha needs dnet_stub (dnet does not exist).
29847 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29848 cat >conftest.
$ac_ext <<_ACEOF
29851 cat confdefs.h
>>conftest.
$ac_ext
29852 cat >>conftest.
$ac_ext <<_ACEOF
29853 /* end confdefs.h. */
29855 /* Override any gcc2 internal prototype to avoid an error. */
29859 /* We use char because int might match the return type of a gcc2
29860 builtin and then its argument prototype would still apply. */
29861 char XOpenDisplay ();
29870 rm -f conftest.
$ac_objext conftest
$ac_exeext
29871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872 (eval $ac_link) 2>conftest.er1
29874 grep -v '^ *+' conftest.er1
>conftest.err
29876 cat conftest.err
>&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } &&
29879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; } &&
29885 { ac_try
='test -s conftest$ac_exeext'
29886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29887 (eval $ac_try) 2>&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); }; }; then
29893 echo "$as_me: failed program was:" >&5
29894 sed 's/^/| /' conftest.
$ac_ext >&5
29896 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29897 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29898 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29901 ac_check_lib_save_LIBS
=$LIBS
29902 LIBS
="-ldnet $LIBS"
29903 cat >conftest.
$ac_ext <<_ACEOF
29906 cat confdefs.h
>>conftest.
$ac_ext
29907 cat >>conftest.
$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29910 /* Override any gcc2 internal prototype to avoid an error. */
29914 /* We use char because int might match the return type of a gcc2
29915 builtin and then its argument prototype would still apply. */
29925 rm -f conftest.
$ac_objext conftest
$ac_exeext
29926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29927 (eval $ac_link) 2>conftest.er1
29929 grep -v '^ *+' conftest.er1
>conftest.err
29931 cat conftest.err
>&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } &&
29934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29936 (eval $ac_try) 2>&5
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); }; } &&
29940 { ac_try
='test -s conftest$ac_exeext'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; }; then
29946 ac_cv_lib_dnet_dnet_ntoa
=yes
29948 echo "$as_me: failed program was:" >&5
29949 sed 's/^/| /' conftest.
$ac_ext >&5
29951 ac_cv_lib_dnet_dnet_ntoa
=no
29953 rm -f conftest.err conftest.
$ac_objext \
29954 conftest
$ac_exeext conftest.
$ac_ext
29955 LIBS
=$ac_check_lib_save_LIBS
29957 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29958 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29959 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29960 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
29963 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
29964 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29965 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29966 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29967 echo $ECHO_N "(cached) $ECHO_C" >&6
29969 ac_check_lib_save_LIBS
=$LIBS
29970 LIBS
="-ldnet_stub $LIBS"
29971 cat >conftest.
$ac_ext <<_ACEOF
29974 cat confdefs.h
>>conftest.
$ac_ext
29975 cat >>conftest.
$ac_ext <<_ACEOF
29976 /* end confdefs.h. */
29978 /* Override any gcc2 internal prototype to avoid an error. */
29982 /* We use char because int might match the return type of a gcc2
29983 builtin and then its argument prototype would still apply. */
29993 rm -f conftest.
$ac_objext conftest
$ac_exeext
29994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29995 (eval $ac_link) 2>conftest.er1
29997 grep -v '^ *+' conftest.er1
>conftest.err
29999 cat conftest.err
>&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; } &&
30008 { ac_try
='test -s conftest$ac_exeext'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; }; then
30014 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.
$ac_ext >&5
30019 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30021 rm -f conftest.err conftest.
$ac_objext \
30022 conftest
$ac_exeext conftest.
$ac_ext
30023 LIBS
=$ac_check_lib_save_LIBS
30025 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30026 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30027 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30028 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30033 rm -f conftest.err conftest.
$ac_objext \
30034 conftest
$ac_exeext conftest.
$ac_ext
30035 LIBS
="$ac_xsave_LIBS"
30037 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30038 # to get the SysV transport functions.
30039 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30041 # The nsl library prevents programs from opening the X display
30042 # on Irix 5.2, according to T.E. Dickey.
30043 # The functions gethostbyname, getservbyname, and inet_addr are
30044 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30045 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30046 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30047 if test "${ac_cv_func_gethostbyname+set}" = set; then
30048 echo $ECHO_N "(cached) $ECHO_C" >&6
30050 cat >conftest.
$ac_ext <<_ACEOF
30053 cat confdefs.h
>>conftest.
$ac_ext
30054 cat >>conftest.
$ac_ext <<_ACEOF
30055 /* end confdefs.h. */
30056 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30058 #define gethostbyname innocuous_gethostbyname
30060 /* System header to define __stub macros and hopefully few prototypes,
30061 which can conflict with char gethostbyname (); below.
30062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30063 <limits.h> exists even on freestanding compilers. */
30066 # include <limits.h>
30068 # include <assert.h>
30071 #undef gethostbyname
30073 /* Override any gcc2 internal prototype to avoid an error. */
30078 /* We use char because int might match the return type of a gcc2
30079 builtin and then its argument prototype would still apply. */
30080 char gethostbyname ();
30081 /* The GNU C library defines this for functions which it implements
30082 to always fail with ENOSYS. Some functions are actually named
30083 something starting with __ and the normal name is an alias. */
30084 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30087 char (*f) () = gethostbyname;
30096 return f != gethostbyname;
30101 rm -f conftest.
$ac_objext conftest
$ac_exeext
30102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30103 (eval $ac_link) 2>conftest.er1
30105 grep -v '^ *+' conftest.er1
>conftest.err
30107 cat conftest.err
>&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } &&
30110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112 (eval $ac_try) 2>&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); }; } &&
30116 { ac_try
='test -s conftest$ac_exeext'
30117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118 (eval $ac_try) 2>&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); }; }; then
30122 ac_cv_func_gethostbyname
=yes
30124 echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.
$ac_ext >&5
30127 ac_cv_func_gethostbyname
=no
30129 rm -f conftest.err conftest.
$ac_objext \
30130 conftest
$ac_exeext conftest.
$ac_ext
30132 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30133 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30135 if test $ac_cv_func_gethostbyname = no
; then
30136 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30137 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30138 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 ac_check_lib_save_LIBS
=$LIBS
30143 cat >conftest.
$ac_ext <<_ACEOF
30146 cat confdefs.h
>>conftest.
$ac_ext
30147 cat >>conftest.
$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30150 /* Override any gcc2 internal prototype to avoid an error. */
30154 /* We use char because int might match the return type of a gcc2
30155 builtin and then its argument prototype would still apply. */
30156 char gethostbyname ();
30165 rm -f conftest.
$ac_objext conftest
$ac_exeext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30167 (eval $ac_link) 2>conftest.er1
30169 grep -v '^ *+' conftest.er1
>conftest.err
30171 cat conftest.err
>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; } &&
30180 { ac_try
='test -s conftest$ac_exeext'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; }; then
30186 ac_cv_lib_nsl_gethostbyname
=yes
30188 echo "$as_me: failed program was:" >&5
30189 sed 's/^/| /' conftest.
$ac_ext >&5
30191 ac_cv_lib_nsl_gethostbyname
=no
30193 rm -f conftest.err conftest.
$ac_objext \
30194 conftest
$ac_exeext conftest.
$ac_ext
30195 LIBS
=$ac_check_lib_save_LIBS
30197 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30198 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30199 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30200 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30203 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30204 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30205 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30206 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30207 echo $ECHO_N "(cached) $ECHO_C" >&6
30209 ac_check_lib_save_LIBS
=$LIBS
30211 cat >conftest.
$ac_ext <<_ACEOF
30214 cat confdefs.h
>>conftest.
$ac_ext
30215 cat >>conftest.
$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30218 /* Override any gcc2 internal prototype to avoid an error. */
30222 /* We use char because int might match the return type of a gcc2
30223 builtin and then its argument prototype would still apply. */
30224 char gethostbyname ();
30233 rm -f conftest.
$ac_objext conftest
$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235 (eval $ac_link) 2>conftest.er1
30237 grep -v '^ *+' conftest.er1
>conftest.err
30239 cat conftest.err
>&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } &&
30242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30244 (eval $ac_try) 2>&5
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); }; } &&
30248 { ac_try
='test -s conftest$ac_exeext'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; }; then
30254 ac_cv_lib_bsd_gethostbyname
=yes
30256 echo "$as_me: failed program was:" >&5
30257 sed 's/^/| /' conftest.
$ac_ext >&5
30259 ac_cv_lib_bsd_gethostbyname
=no
30261 rm -f conftest.err conftest.
$ac_objext \
30262 conftest
$ac_exeext conftest.
$ac_ext
30263 LIBS
=$ac_check_lib_save_LIBS
30265 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30266 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30267 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30268 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30274 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30275 # socket/setsockopt and other routines are undefined under SCO ODT
30276 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30277 # on later versions), says Simon Leinen: it contains gethostby*
30278 # variants that don't use the name server (or something). -lsocket
30279 # must be given before -lnsl if both are needed. We assume that
30280 # if connect needs -lnsl, so does gethostbyname.
30281 echo "$as_me:$LINENO: checking for connect" >&5
30282 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30283 if test "${ac_cv_func_connect+set}" = set; then
30284 echo $ECHO_N "(cached) $ECHO_C" >&6
30286 cat >conftest.
$ac_ext <<_ACEOF
30289 cat confdefs.h
>>conftest.
$ac_ext
30290 cat >>conftest.
$ac_ext <<_ACEOF
30291 /* end confdefs.h. */
30292 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30294 #define connect innocuous_connect
30296 /* System header to define __stub macros and hopefully few prototypes,
30297 which can conflict with char connect (); below.
30298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30299 <limits.h> exists even on freestanding compilers. */
30302 # include <limits.h>
30304 # include <assert.h>
30309 /* Override any gcc2 internal prototype to avoid an error. */
30314 /* We use char because int might match the return type of a gcc2
30315 builtin and then its argument prototype would still apply. */
30317 /* The GNU C library defines this for functions which it implements
30318 to always fail with ENOSYS. Some functions are actually named
30319 something starting with __ and the normal name is an alias. */
30320 #if defined (__stub_connect) || defined (__stub___connect)
30323 char (*f) () = connect;
30332 return f != connect;
30337 rm -f conftest.
$ac_objext conftest
$ac_exeext
30338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30339 (eval $ac_link) 2>conftest.er1
30341 grep -v '^ *+' conftest.er1
>conftest.err
30343 cat conftest.err
>&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } &&
30346 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30348 (eval $ac_try) 2>&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); }; } &&
30352 { ac_try
='test -s conftest$ac_exeext'
30353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30354 (eval $ac_try) 2>&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); }; }; then
30358 ac_cv_func_connect
=yes
30360 echo "$as_me: failed program was:" >&5
30361 sed 's/^/| /' conftest.
$ac_ext >&5
30363 ac_cv_func_connect
=no
30365 rm -f conftest.err conftest.
$ac_objext \
30366 conftest
$ac_exeext conftest.
$ac_ext
30368 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30369 echo "${ECHO_T}$ac_cv_func_connect" >&6
30371 if test $ac_cv_func_connect = no
; then
30372 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30373 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30374 if test "${ac_cv_lib_socket_connect+set}" = set; then
30375 echo $ECHO_N "(cached) $ECHO_C" >&6
30377 ac_check_lib_save_LIBS
=$LIBS
30378 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30379 cat >conftest.
$ac_ext <<_ACEOF
30382 cat confdefs.h
>>conftest.
$ac_ext
30383 cat >>conftest.
$ac_ext <<_ACEOF
30384 /* end confdefs.h. */
30386 /* Override any gcc2 internal prototype to avoid an error. */
30390 /* We use char because int might match the return type of a gcc2
30391 builtin and then its argument prototype would still apply. */
30401 rm -f conftest.
$ac_objext conftest
$ac_exeext
30402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30403 (eval $ac_link) 2>conftest.er1
30405 grep -v '^ *+' conftest.er1
>conftest.err
30407 cat conftest.err
>&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); } &&
30410 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
30416 { ac_try
='test -s conftest$ac_exeext'
30417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30418 (eval $ac_try) 2>&5
30420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30421 (exit $ac_status); }; }; then
30422 ac_cv_lib_socket_connect
=yes
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.
$ac_ext >&5
30427 ac_cv_lib_socket_connect
=no
30429 rm -f conftest.err conftest.
$ac_objext \
30430 conftest
$ac_exeext conftest.
$ac_ext
30431 LIBS
=$ac_check_lib_save_LIBS
30433 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30434 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30435 if test $ac_cv_lib_socket_connect = yes; then
30436 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30441 # Guillermo Gomez says -lposix is necessary on A/UX.
30442 echo "$as_me:$LINENO: checking for remove" >&5
30443 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30444 if test "${ac_cv_func_remove+set}" = set; then
30445 echo $ECHO_N "(cached) $ECHO_C" >&6
30447 cat >conftest.
$ac_ext <<_ACEOF
30450 cat confdefs.h
>>conftest.
$ac_ext
30451 cat >>conftest.
$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30453 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30455 #define remove innocuous_remove
30457 /* System header to define __stub macros and hopefully few prototypes,
30458 which can conflict with char remove (); below.
30459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30460 <limits.h> exists even on freestanding compilers. */
30463 # include <limits.h>
30465 # include <assert.h>
30470 /* Override any gcc2 internal prototype to avoid an error. */
30475 /* We use char because int might match the return type of a gcc2
30476 builtin and then its argument prototype would still apply. */
30478 /* The GNU C library defines this for functions which it implements
30479 to always fail with ENOSYS. Some functions are actually named
30480 something starting with __ and the normal name is an alias. */
30481 #if defined (__stub_remove) || defined (__stub___remove)
30484 char (*f) () = remove;
30493 return f != remove;
30498 rm -f conftest.
$ac_objext conftest
$ac_exeext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30500 (eval $ac_link) 2>conftest.er1
30502 grep -v '^ *+' conftest.er1
>conftest.err
30504 cat conftest.err
>&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30509 (eval $ac_try) 2>&5
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); }; } &&
30513 { ac_try
='test -s conftest$ac_exeext'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; }; then
30519 ac_cv_func_remove
=yes
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.
$ac_ext >&5
30524 ac_cv_func_remove
=no
30526 rm -f conftest.err conftest.
$ac_objext \
30527 conftest
$ac_exeext conftest.
$ac_ext
30529 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30530 echo "${ECHO_T}$ac_cv_func_remove" >&6
30532 if test $ac_cv_func_remove = no
; then
30533 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30534 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30535 if test "${ac_cv_lib_posix_remove+set}" = set; then
30536 echo $ECHO_N "(cached) $ECHO_C" >&6
30538 ac_check_lib_save_LIBS
=$LIBS
30539 LIBS
="-lposix $LIBS"
30540 cat >conftest.
$ac_ext <<_ACEOF
30543 cat confdefs.h
>>conftest.
$ac_ext
30544 cat >>conftest.
$ac_ext <<_ACEOF
30545 /* end confdefs.h. */
30547 /* Override any gcc2 internal prototype to avoid an error. */
30551 /* We use char because int might match the return type of a gcc2
30552 builtin and then its argument prototype would still apply. */
30562 rm -f conftest.
$ac_objext conftest
$ac_exeext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30564 (eval $ac_link) 2>conftest.er1
30566 grep -v '^ *+' conftest.er1
>conftest.err
30568 cat conftest.err
>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } &&
30571 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; } &&
30577 { ac_try
='test -s conftest$ac_exeext'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; }; then
30583 ac_cv_lib_posix_remove
=yes
30585 echo "$as_me: failed program was:" >&5
30586 sed 's/^/| /' conftest.
$ac_ext >&5
30588 ac_cv_lib_posix_remove
=no
30590 rm -f conftest.err conftest.
$ac_objext \
30591 conftest
$ac_exeext conftest.
$ac_ext
30592 LIBS
=$ac_check_lib_save_LIBS
30594 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30595 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30596 if test $ac_cv_lib_posix_remove = yes; then
30597 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30602 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30603 echo "$as_me:$LINENO: checking for shmat" >&5
30604 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30605 if test "${ac_cv_func_shmat+set}" = set; then
30606 echo $ECHO_N "(cached) $ECHO_C" >&6
30608 cat >conftest.
$ac_ext <<_ACEOF
30611 cat confdefs.h
>>conftest.
$ac_ext
30612 cat >>conftest.
$ac_ext <<_ACEOF
30613 /* end confdefs.h. */
30614 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30616 #define shmat innocuous_shmat
30618 /* System header to define __stub macros and hopefully few prototypes,
30619 which can conflict with char shmat (); below.
30620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30621 <limits.h> exists even on freestanding compilers. */
30624 # include <limits.h>
30626 # include <assert.h>
30631 /* Override any gcc2 internal prototype to avoid an error. */
30636 /* We use char because int might match the return type of a gcc2
30637 builtin and then its argument prototype would still apply. */
30639 /* The GNU C library defines this for functions which it implements
30640 to always fail with ENOSYS. Some functions are actually named
30641 something starting with __ and the normal name is an alias. */
30642 #if defined (__stub_shmat) || defined (__stub___shmat)
30645 char (*f) () = shmat;
30659 rm -f conftest.
$ac_objext conftest
$ac_exeext
30660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30661 (eval $ac_link) 2>conftest.er1
30663 grep -v '^ *+' conftest.er1
>conftest.err
30665 cat conftest.err
>&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } &&
30668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; } &&
30674 { ac_try
='test -s conftest$ac_exeext'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; }; then
30680 ac_cv_func_shmat
=yes
30682 echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.
$ac_ext >&5
30685 ac_cv_func_shmat
=no
30687 rm -f conftest.err conftest.
$ac_objext \
30688 conftest
$ac_exeext conftest.
$ac_ext
30690 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30691 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30693 if test $ac_cv_func_shmat = no
; then
30694 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30695 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30696 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30699 ac_check_lib_save_LIBS
=$LIBS
30701 cat >conftest.
$ac_ext <<_ACEOF
30704 cat confdefs.h
>>conftest.
$ac_ext
30705 cat >>conftest.
$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30708 /* Override any gcc2 internal prototype to avoid an error. */
30712 /* We use char because int might match the return type of a gcc2
30713 builtin and then its argument prototype would still apply. */
30723 rm -f conftest.
$ac_objext conftest
$ac_exeext
30724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30725 (eval $ac_link) 2>conftest.er1
30727 grep -v '^ *+' conftest.er1
>conftest.err
30729 cat conftest.err
>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } &&
30732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; } &&
30738 { ac_try
='test -s conftest$ac_exeext'
30739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30740 (eval $ac_try) 2>&5
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); }; }; then
30744 ac_cv_lib_ipc_shmat
=yes
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.
$ac_ext >&5
30749 ac_cv_lib_ipc_shmat
=no
30751 rm -f conftest.err conftest.
$ac_objext \
30752 conftest
$ac_exeext conftest.
$ac_ext
30753 LIBS
=$ac_check_lib_save_LIBS
30755 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30756 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30757 if test $ac_cv_lib_ipc_shmat = yes; then
30758 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30764 # Check for libraries that X11R6 Xt/Xaw programs need.
30765 ac_save_LDFLAGS
=$LDFLAGS
30766 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30767 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30768 # check for ICE first), but we must link in the order -lSM -lICE or
30769 # we get undefined symbols. So assume we have SM if we have ICE.
30770 # These have to be linked with before -lX11, unlike the other
30771 # libraries we check for below, so use a different variable.
30772 # John Interrante, Karl Berry
30773 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30774 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30775 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30776 echo $ECHO_N "(cached) $ECHO_C" >&6
30778 ac_check_lib_save_LIBS
=$LIBS
30779 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30780 cat >conftest.
$ac_ext <<_ACEOF
30783 cat confdefs.h
>>conftest.
$ac_ext
30784 cat >>conftest.
$ac_ext <<_ACEOF
30785 /* end confdefs.h. */
30787 /* Override any gcc2 internal prototype to avoid an error. */
30791 /* We use char because int might match the return type of a gcc2
30792 builtin and then its argument prototype would still apply. */
30793 char IceConnectionNumber ();
30797 IceConnectionNumber ();
30802 rm -f conftest.
$ac_objext conftest
$ac_exeext
30803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30804 (eval $ac_link) 2>conftest.er1
30806 grep -v '^ *+' conftest.er1
>conftest.err
30808 cat conftest.err
>&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } &&
30811 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30813 (eval $ac_try) 2>&5
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); }; } &&
30817 { ac_try
='test -s conftest$ac_exeext'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; }; then
30823 ac_cv_lib_ICE_IceConnectionNumber
=yes
30825 echo "$as_me: failed program was:" >&5
30826 sed 's/^/| /' conftest.
$ac_ext >&5
30828 ac_cv_lib_ICE_IceConnectionNumber
=no
30830 rm -f conftest.err conftest.
$ac_objext \
30831 conftest
$ac_exeext conftest.
$ac_ext
30832 LIBS
=$ac_check_lib_save_LIBS
30834 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30835 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30836 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30837 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30840 LDFLAGS
=$ac_save_LDFLAGS
30845 if test "$no_x" = "yes"; then
30846 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30847 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30848 { (exit 1); exit 1; }; }
30851 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30852 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30853 AFMINSTALL
=afminstall
30854 COMPILED_X_PROGRAM
=0
30858 if test "$wxUSE_X11" = 1; then
30859 if test "$wxUSE_NANOX" = "yes"; then
30860 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30861 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30862 if test "x$MICROWIN" = x
; then
30863 echo "$as_me:$LINENO: result: not found" >&5
30864 echo "${ECHO_T}not found" >&6
30865 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30866 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30867 { (exit 1); exit 1; }; }
30869 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30870 echo "${ECHO_T}$MICROWIN" >&6
30871 cat >>confdefs.h
<<\_ACEOF
30872 #define wxUSE_NANOX 1
30878 if test "$wxUSE_UNICODE" = "yes"; then
30881 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30882 if test -n "$ac_tool_prefix"; then
30883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30884 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30885 echo "$as_me:$LINENO: checking for $ac_word" >&5
30886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30890 case $PKG_CONFIG in
30892 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30896 for as_dir
in $PATH
30899 test -z "$as_dir" && as_dir
=.
30900 for ac_exec_ext
in '' $ac_executable_extensions; do
30901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30902 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30912 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30914 if test -n "$PKG_CONFIG"; then
30915 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30916 echo "${ECHO_T}$PKG_CONFIG" >&6
30918 echo "$as_me:$LINENO: result: no" >&5
30919 echo "${ECHO_T}no" >&6
30923 if test -z "$ac_cv_path_PKG_CONFIG"; then
30924 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30925 # Extract the first word of "pkg-config", so it can be a program name with args.
30926 set dummy pkg
-config; ac_word
=$2
30927 echo "$as_me:$LINENO: checking for $ac_word" >&5
30928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30929 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30930 echo $ECHO_N "(cached) $ECHO_C" >&6
30932 case $ac_pt_PKG_CONFIG in
30934 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30938 for as_dir
in $PATH
30941 test -z "$as_dir" && as_dir
=.
30942 for ac_exec_ext
in '' $ac_executable_extensions; do
30943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30944 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30954 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30956 if test -n "$ac_pt_PKG_CONFIG"; then
30957 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30958 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30960 echo "$as_me:$LINENO: result: no" >&5
30961 echo "${ECHO_T}no" >&6
30964 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30966 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30970 if test -n "$PKG_CONFIG"; then
30971 _pkg_min_version
=0.9.0
30972 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30973 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30974 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30975 echo "$as_me:$LINENO: result: yes" >&5
30976 echo "${ECHO_T}yes" >&6
30978 echo "$as_me:$LINENO: result: no" >&5
30979 echo "${ECHO_T}no" >&6
30987 echo "$as_me:$LINENO: checking for PANGOX" >&5
30988 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30990 if test -n "$PKG_CONFIG"; then
30991 if test -n "$PANGOX_CFLAGS"; then
30992 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30994 if test -n "$PKG_CONFIG" && \
30995 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30996 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; then
31000 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31008 if test -n "$PKG_CONFIG"; then
31009 if test -n "$PANGOX_LIBS"; then
31010 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31012 if test -n "$PKG_CONFIG" && \
31013 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31014 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); }; then
31018 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31029 if test $pkg_failed = yes; then
31031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31032 _pkg_short_errors_supported
=yes
31034 _pkg_short_errors_supported
=no
31036 if test $_pkg_short_errors_supported = yes; then
31037 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31039 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31041 # Put the nasty error message in config.log where it belongs
31042 echo "$PANGOX_PKG_ERRORS" >&5
31045 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31046 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31047 { (exit 1); exit 1; }; }
31050 elif test $pkg_failed = untried
; then
31052 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31053 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31054 { (exit 1); exit 1; }; }
31058 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31059 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31060 echo "$as_me:$LINENO: result: yes" >&5
31061 echo "${ECHO_T}yes" >&6
31063 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31064 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31069 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31070 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31072 if test -n "$PKG_CONFIG"; then
31073 if test -n "$PANGOFT2_CFLAGS"; then
31074 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31076 if test -n "$PKG_CONFIG" && \
31077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31078 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; then
31082 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31090 if test -n "$PKG_CONFIG"; then
31091 if test -n "$PANGOFT2_LIBS"; then
31092 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31094 if test -n "$PKG_CONFIG" && \
31095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31096 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; then
31100 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31111 if test $pkg_failed = yes; then
31113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31114 _pkg_short_errors_supported
=yes
31116 _pkg_short_errors_supported
=no
31118 if test $_pkg_short_errors_supported = yes; then
31119 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31121 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31123 # Put the nasty error message in config.log where it belongs
31124 echo "$PANGOFT2_PKG_ERRORS" >&5
31127 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31128 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31129 wxUSE_PRINTING_ARCHITECTURE
="no"
31132 elif test $pkg_failed = untried
; then
31134 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31135 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31136 wxUSE_PRINTING_ARCHITECTURE
="no"
31140 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31141 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31142 echo "$as_me:$LINENO: result: yes" >&5
31143 echo "${ECHO_T}yes" >&6
31145 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31146 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31151 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31152 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31154 if test -n "$PKG_CONFIG"; then
31155 if test -n "$PANGOXFT_CFLAGS"; then
31156 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31158 if test -n "$PKG_CONFIG" && \
31159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31160 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31163 (exit $ac_status); }; then
31164 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31172 if test -n "$PKG_CONFIG"; then
31173 if test -n "$PANGOXFT_LIBS"; then
31174 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31176 if test -n "$PKG_CONFIG" && \
31177 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31178 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; then
31182 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31193 if test $pkg_failed = yes; then
31195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31196 _pkg_short_errors_supported
=yes
31198 _pkg_short_errors_supported
=no
31200 if test $_pkg_short_errors_supported = yes; then
31201 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31203 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31205 # Put the nasty error message in config.log where it belongs
31206 echo "$PANGOXFT_PKG_ERRORS" >&5
31209 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31210 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31213 elif test $pkg_failed = untried
; then
31215 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31216 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31220 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31221 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31222 echo "$as_me:$LINENO: result: yes" >&5
31223 echo "${ECHO_T}yes" >&6
31225 cat >>confdefs.h
<<\_ACEOF
31226 #define HAVE_PANGO_XFT 1
31229 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31230 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31233 save_CXXFLAGS
="$CXXFLAGS"
31235 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31236 LIBS
="$LIBS $PANGOX_LIBS"
31238 for ac_func
in pango_font_family_is_monospace
31240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31241 echo "$as_me:$LINENO: checking for $ac_func" >&5
31242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31243 if eval "test \"\${$as_ac_var+set}\" = set"; then
31244 echo $ECHO_N "(cached) $ECHO_C" >&6
31246 cat >conftest.
$ac_ext <<_ACEOF
31249 cat confdefs.h
>>conftest.
$ac_ext
31250 cat >>conftest.
$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31254 #define $ac_func innocuous_$ac_func
31256 /* System header to define __stub macros and hopefully few prototypes,
31257 which can conflict with char $ac_func (); below.
31258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31259 <limits.h> exists even on freestanding compilers. */
31262 # include <limits.h>
31264 # include <assert.h>
31269 /* Override any gcc2 internal prototype to avoid an error. */
31274 /* We use char because int might match the return type of a gcc2
31275 builtin and then its argument prototype would still apply. */
31277 /* The GNU C library defines this for functions which it implements
31278 to always fail with ENOSYS. Some functions are actually named
31279 something starting with __ and the normal name is an alias. */
31280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31283 char (*f) () = $ac_func;
31292 return f != $ac_func;
31297 rm -f conftest.
$ac_objext conftest
$ac_exeext
31298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31299 (eval $ac_link) 2>conftest.er1
31301 grep -v '^ *+' conftest.er1
>conftest.err
31303 cat conftest.err
>&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } &&
31306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; } &&
31312 { ac_try
='test -s conftest$ac_exeext'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; }; then
31318 eval "$as_ac_var=yes"
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.
$ac_ext >&5
31323 eval "$as_ac_var=no"
31325 rm -f conftest.err conftest.
$ac_objext \
31326 conftest
$ac_exeext conftest.
$ac_ext
31328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31330 if test `eval echo '${'$as_ac_var'}'` = yes; then
31331 cat >>confdefs.h
<<_ACEOF
31332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31338 CXXFLAGS
="$save_CXXFLAGS"
31342 wxUSE_UNIVERSAL
="yes"
31344 if test "$wxUSE_NANOX" = "yes"; then
31345 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31346 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"
31347 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31349 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31356 if test "$wxUSE_MOTIF" = 1; then
31357 if test "$wxUSE_UNICODE" = "yes"; then
31358 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31359 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31360 { (exit 1); exit 1; }; }
31363 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31364 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31367 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31369 if test -f "$ac_dir/Xm/Xm.h"; then
31370 ac_find_includes
=$ac_dir
31375 if test "$ac_find_includes" != "" ; then
31376 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31377 echo "${ECHO_T}found in $ac_find_includes" >&6
31379 if test "x$ac_find_includes" = "x/usr/include"; then
31380 ac_path_to_include
=""
31382 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31384 if test $result = 0; then
31385 ac_path_to_include
=""
31387 ac_path_to_include
=" -I$ac_find_includes"
31391 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31393 save_CXXFLAGS
=$CXXFLAGS
31394 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31396 cat >conftest.
$ac_ext <<_ACEOF
31399 cat confdefs.h
>>conftest.
$ac_ext
31400 cat >>conftest.
$ac_ext <<_ACEOF
31401 /* end confdefs.h. */
31410 version = xmUseVersion;
31416 rm -f conftest.
$ac_objext
31417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31418 (eval $ac_compile) 2>conftest.er1
31420 grep -v '^ *+' conftest.er1
>conftest.err
31422 cat conftest.err
>&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } &&
31425 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31427 (eval $ac_try) 2>&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); }; } &&
31431 { ac_try
='test -s conftest.$ac_objext'
31432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31433 (eval $ac_try) 2>&5
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); }; }; then
31438 echo "$as_me:$LINENO: result: found in default search path" >&5
31439 echo "${ECHO_T}found in default search path" >&6
31440 COMPILED_X_PROGRAM
=1
31443 echo "$as_me: failed program was:" >&5
31444 sed 's/^/| /' conftest.
$ac_ext >&5
31447 echo "$as_me:$LINENO: result: no" >&5
31448 echo "${ECHO_T}no" >&6
31449 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31450 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31451 { (exit 1); exit 1; }; }
31455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31457 CXXFLAGS
=$save_CXXFLAGS
31461 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31462 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31465 for ac_dir
in $SEARCH_LIB;
31467 for ac_extension
in a so sl dylib dll.a
; do
31468 if test -f "$ac_dir/libXm.$ac_extension"; then
31469 ac_find_libraries
=$ac_dir
31476 if test "x$ac_find_libraries" != "x" ; then
31477 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31478 echo "${ECHO_T}found in $ac_find_libraries" >&6
31481 if test "$ac_find_libraries" = "default location"; then
31484 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31486 if test $result = 0; then
31489 ac_path_to_link
=" -L$ac_find_libraries"
31493 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31495 save_CXXFLAGS
=$CXXFLAGS
31496 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31498 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31500 cat >conftest.
$ac_ext <<_ACEOF
31503 cat confdefs.h
>>conftest.
$ac_ext
31504 cat >>conftest.
$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31514 version = xmUseVersion;
31520 rm -f conftest.
$ac_objext conftest
$ac_exeext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31522 (eval $ac_link) 2>conftest.er1
31524 grep -v '^ *+' conftest.er1
>conftest.err
31526 cat conftest.err
>&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } &&
31529 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try
='test -s conftest$ac_exeext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31542 echo "$as_me:$LINENO: result: found in default search path" >&5
31543 echo "${ECHO_T}found in default search path" >&6
31544 COMPILED_X_PROGRAM
=1
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.
$ac_ext >&5
31551 echo "$as_me:$LINENO: result: no" >&5
31552 echo "${ECHO_T}no" >&6
31553 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31554 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31555 { (exit 1); exit 1; }; }
31559 rm -f conftest.err conftest.
$ac_objext \
31560 conftest
$ac_exeext conftest.
$ac_ext
31562 CXXFLAGS
=$save_CXXFLAGS
31566 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31567 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31571 for libp
in "" " -lXp"; do
31572 if test "$libs_found" = "0"; then
31573 for libsm_ice
in "" " -lSM -lICE"; do
31574 if test "$libs_found" = "0"; then
31576 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31577 save_CXXFLAGS
=$CXXFLAGS
31578 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31580 cat >conftest.
$ac_ext <<_ACEOF
31583 cat confdefs.h
>>conftest.
$ac_ext
31584 cat >>conftest.
$ac_ext <<_ACEOF
31585 /* end confdefs.h. */
31588 #include <Xm/List.h>
31594 XmString string = NULL;
31597 XmListAddItem(w, string, position);
31603 rm -f conftest.
$ac_objext conftest
$ac_exeext
31604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31605 (eval $ac_link) 2>conftest.er1
31607 grep -v '^ *+' conftest.er1
>conftest.err
31609 cat conftest.err
>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } &&
31612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; } &&
31618 { ac_try
='test -s conftest$ac_exeext'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; }; then
31626 libsm_ice_link
="$libsm_ice"
31627 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31628 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31632 echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.
$ac_ext >&5
31638 rm -f conftest.err conftest.
$ac_objext \
31639 conftest
$ac_exeext conftest.
$ac_ext
31642 CXXFLAGS
=$save_CXXFLAGS
31648 if test "$libs_found" = "0"; then
31649 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31650 echo "${ECHO_T}can't find the right libraries" >&6
31651 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31652 echo "$as_me: error: can't link a simple motif program" >&2;}
31653 { (exit 1); exit 1; }; }
31656 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31657 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31658 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31659 echo $ECHO_N "(cached) $ECHO_C" >&6
31661 ac_check_lib_save_LIBS
=$LIBS
31663 cat >conftest.
$ac_ext <<_ACEOF
31666 cat confdefs.h
>>conftest.
$ac_ext
31667 cat >>conftest.
$ac_ext <<_ACEOF
31668 /* end confdefs.h. */
31670 /* Override any gcc2 internal prototype to avoid an error. */
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31676 char SgCreateList ();
31685 rm -f conftest.
$ac_objext conftest
$ac_exeext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687 (eval $ac_link) 2>conftest.er1
31689 grep -v '^ *+' conftest.er1
>conftest.err
31691 cat conftest.err
>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31696 (eval $ac_try) 2>&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); }; } &&
31700 { ac_try
='test -s conftest$ac_exeext'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; }; then
31706 ac_cv_lib_Sgm_SgCreateList
=yes
31708 echo "$as_me: failed program was:" >&5
31709 sed 's/^/| /' conftest.
$ac_ext >&5
31711 ac_cv_lib_Sgm_SgCreateList
=no
31713 rm -f conftest.err conftest.
$ac_objext \
31714 conftest
$ac_exeext conftest.
$ac_ext
31715 LIBS
=$ac_check_lib_save_LIBS
31717 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31718 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31719 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31720 libsgm_link
=" -lSgm"
31724 save_CXXFLAGS
=$CXXFLAGS
31725 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31727 echo "$as_me:$LINENO: checking for Motif 2" >&5
31728 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31729 if test "${wx_cv_lib_motif2+set}" = set; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 cat >conftest.
$ac_ext <<_ACEOF
31735 cat confdefs.h
>>conftest.
$ac_ext
31736 cat >>conftest.
$ac_ext <<_ACEOF
31737 /* end confdefs.h. */
31745 #if XmVersion < 2000
31753 rm -f conftest.
$ac_objext
31754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31755 (eval $ac_compile) 2>conftest.er1
31757 grep -v '^ *+' conftest.er1
>conftest.err
31759 cat conftest.err
>&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } &&
31762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; } &&
31768 { ac_try
='test -s conftest.$ac_objext'
31769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770 (eval $ac_try) 2>&5
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); }; }; then
31774 wx_cv_lib_motif2
="yes"
31776 echo "$as_me: failed program was:" >&5
31777 sed 's/^/| /' conftest.
$ac_ext >&5
31779 wx_cv_lib_motif2
="no"
31781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31783 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31784 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31785 if test "$wx_cv_lib_motif2" = "yes"; then
31786 cat >>confdefs.h
<<\_ACEOF
31787 #define __WXMOTIF20__ 1
31791 cat >>confdefs.h
<<\_ACEOF
31792 #define __WXMOTIF20__ 0
31797 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31798 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31799 if test "${wx_cv_lib_lesstif+set}" = set; then
31800 echo $ECHO_N "(cached) $ECHO_C" >&6
31802 cat >conftest.
$ac_ext <<_ACEOF
31805 cat confdefs.h
>>conftest.
$ac_ext
31806 cat >>conftest.
$ac_ext <<_ACEOF
31807 /* end confdefs.h. */
31815 #if !defined(LesstifVersion) || LesstifVersion <= 0
31823 rm -f conftest.
$ac_objext
31824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31825 (eval $ac_compile) 2>conftest.er1
31827 grep -v '^ *+' conftest.er1
>conftest.err
31829 cat conftest.err
>&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } &&
31832 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31834 (eval $ac_try) 2>&5
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); }; } &&
31838 { ac_try
='test -s conftest.$ac_objext'
31839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 (eval $ac_try) 2>&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); }; }; then
31844 wx_cv_lib_lesstif
="yes"
31846 echo "$as_me: failed program was:" >&5
31847 sed 's/^/| /' conftest.
$ac_ext >&5
31849 wx_cv_lib_lesstif
="no"
31851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31854 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31855 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31856 if test "$wx_cv_lib_lesstif" = "yes"; then
31857 cat >>confdefs.h
<<\_ACEOF
31858 #define __WXLESSTIF__ 1
31862 cat >>confdefs.h
<<\_ACEOF
31863 #define __WXLESSTIF__ 0
31868 CXXFLAGS
=$save_CXXFLAGS
31870 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31875 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31876 if test "$wxUSE_LIBXPM" = "sys"; then
31877 echo "$as_me:$LINENO: checking for Xpm library" >&5
31878 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31881 for ac_dir
in $SEARCH_LIB;
31883 for ac_extension
in a so sl dylib dll.a
; do
31884 if test -f "$ac_dir/libXpm.$ac_extension"; then
31885 ac_find_libraries
=$ac_dir
31891 if test "$ac_find_libraries" != "" ; then
31893 if test "$ac_find_libraries" = "default location"; then
31896 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31898 if test $result = 0; then
31901 ac_path_to_link
=" -L$ac_find_libraries"
31905 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31906 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31907 echo "${ECHO_T}found in $ac_find_libraries" >&6
31909 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31910 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31911 if test "${wx_cv_x11_xpm_h+set}" = set; then
31912 echo $ECHO_N "(cached) $ECHO_C" >&6
31915 save_CXXFLAGS
=$CXXFLAGS
31916 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31918 cat >conftest.
$ac_ext <<_ACEOF
31921 cat confdefs.h
>>conftest.
$ac_ext
31922 cat >>conftest.
$ac_ext <<_ACEOF
31923 /* end confdefs.h. */
31925 #include <X11/xpm.h>
31932 version = XpmLibraryVersion();
31938 rm -f conftest.
$ac_objext
31939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31940 (eval $ac_compile) 2>conftest.er1
31942 grep -v '^ *+' conftest.er1
>conftest.err
31944 cat conftest.err
>&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); } &&
31947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 (eval $ac_try) 2>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; } &&
31953 { ac_try
='test -s conftest.$ac_objext'
31954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31955 (eval $ac_try) 2>&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); }; }; then
31959 wx_cv_x11_xpm_h
=yes
31961 echo "$as_me: failed program was:" >&5
31962 sed 's/^/| /' conftest.
$ac_ext >&5
31967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31969 CXXFLAGS
=$save_CXXFLAGS
31973 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31974 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31976 if test $wx_cv_x11_xpm_h = "yes"; then
31977 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31978 cat >>confdefs.h
<<\_ACEOF
31979 #define wxHAVE_LIB_XPM 1
31983 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31984 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31990 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31991 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31992 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 ac_check_lib_save_LIBS
=$LIBS
31996 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31997 cat >conftest.
$ac_ext <<_ACEOF
32000 cat confdefs.h
>>conftest.
$ac_ext
32001 cat >>conftest.
$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32004 /* Override any gcc2 internal prototype to avoid an error. */
32008 /* We use char because int might match the return type of a gcc2
32009 builtin and then its argument prototype would still apply. */
32010 char XShapeQueryExtension ();
32014 XShapeQueryExtension ();
32019 rm -f conftest.
$ac_objext conftest
$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021 (eval $ac_link) 2>conftest.er1
32023 grep -v '^ *+' conftest.er1
>conftest.err
32025 cat conftest.err
>&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } &&
32028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32030 (eval $ac_try) 2>&5
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); }; } &&
32034 { ac_try
='test -s conftest$ac_exeext'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; }; then
32040 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.
$ac_ext >&5
32045 ac_cv_lib_Xext_XShapeQueryExtension
=no
32047 rm -f conftest.err conftest.
$ac_objext \
32048 conftest
$ac_exeext conftest.
$ac_ext
32049 LIBS
=$ac_check_lib_save_LIBS
32051 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32052 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32053 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32055 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32061 if test "$wxHAVE_XEXT_LIB" = 1; then
32062 save_CXXFLAGS
="$CXXFLAGS"
32063 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32065 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32066 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32067 cat >conftest.
$ac_ext <<_ACEOF
32070 cat confdefs.h
>>conftest.
$ac_ext
32071 cat >>conftest.
$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32074 #include <X11/Xlib.h>
32075 #include <X11/extensions/shape.h>
32081 int dummy1, dummy2;
32082 XShapeQueryExtension((Display*)NULL,
32083 (int*)NULL, (int*)NULL);
32089 rm -f conftest.
$ac_objext
32090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32091 (eval $ac_compile) 2>conftest.er1
32093 grep -v '^ *+' conftest.er1
>conftest.err
32095 cat conftest.err
>&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } &&
32098 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; } &&
32104 { ac_try
='test -s conftest.$ac_objext'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; }; then
32111 cat >>confdefs.h
<<\_ACEOF
32112 #define HAVE_XSHAPE 1
32115 echo "$as_me:$LINENO: result: found" >&5
32116 echo "${ECHO_T}found" >&6
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.
$ac_ext >&5
32123 echo "$as_me:$LINENO: result: not found" >&5
32124 echo "${ECHO_T}not found" >&6
32127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32128 CXXFLAGS
="$save_CXXFLAGS"
32133 if test "$wxUSE_MAC" = 1; then
32134 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32135 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32136 if test "$GCC" = yes; then
32137 echo "$as_me:$LINENO: result: gcc" >&5
32138 echo "${ECHO_T}gcc" >&6
32139 CPPFLAGS_PASCAL
="-fpascal-strings"
32140 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32141 echo "$as_me:$LINENO: result: xlc" >&5
32142 echo "${ECHO_T}xlc" >&6
32143 CPPFLAGS_PASCAL
="-qmacpstr"
32145 echo "$as_me:$LINENO: result: none" >&5
32146 echo "${ECHO_T}none" >&6
32149 if test "x$wxUSE_UNIX" = "xyes"; then
32150 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32152 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32157 WXBASEPORT
="_carbon"
32160 if test "$wxUSE_COCOA" = 1; then
32165 if test "$wxUSE_PM" = 1; then
32168 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32169 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32170 if test "${wx_cv_spbcdata+set}" = set; then
32171 echo $ECHO_N "(cached) $ECHO_C" >&6
32174 cat >conftest.
$ac_ext <<_ACEOF
32177 cat confdefs.h
>>conftest.
$ac_ext
32178 cat >>conftest.
$ac_ext <<_ACEOF
32179 /* end confdefs.h. */
32194 rm -f conftest.
$ac_objext
32195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32196 (eval $ac_compile) 2>conftest.er1
32198 grep -v '^ *+' conftest.er1
>conftest.err
32200 cat conftest.err
>&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); } &&
32203 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; } &&
32209 { ac_try
='test -s conftest.$ac_objext'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; }; then
32217 echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.
$ac_ext >&5
32223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32227 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32228 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32230 if test $wx_cv_spbcdata = "yes"; then
32231 cat >>confdefs.h
<<\_ACEOF
32232 #define HAVE_SPBCDATA 1
32238 if test "$TOOLKIT" = "PM" ; then
32241 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32244 if test "$wxUSE_UNIVERSAL" = "yes"; then
32245 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32249 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32250 DISTDIR
="wx\$(TOOLKIT)"
32256 if test "$USE_WIN32" = 1 ; then
32260 GUIDIST
="BASE_DIST"
32265 if test "$wxUSE_GUI" = "yes"; then
32266 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32268 for ac_header
in X
11/Xlib.h
32270 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32272 echo "$as_me:$LINENO: checking for $ac_header" >&5
32273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32280 # Is the header compilable?
32281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32283 cat >conftest.
$ac_ext <<_ACEOF
32286 cat confdefs.h
>>conftest.
$ac_ext
32287 cat >>conftest.
$ac_ext <<_ACEOF
32288 /* end confdefs.h. */
32289 $ac_includes_default
32290 #include <$ac_header>
32292 rm -f conftest.
$ac_objext
32293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32294 (eval $ac_compile) 2>conftest.er1
32296 grep -v '^ *+' conftest.er1
>conftest.err
32298 cat conftest.err
>&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); } &&
32301 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; } &&
32307 { ac_try
='test -s conftest.$ac_objext'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; }; then
32313 ac_header_compiler
=yes
32315 echo "$as_me: failed program was:" >&5
32316 sed 's/^/| /' conftest.
$ac_ext >&5
32318 ac_header_compiler
=no
32320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32322 echo "${ECHO_T}$ac_header_compiler" >&6
32324 # Is the header present?
32325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32327 cat >conftest.
$ac_ext <<_ACEOF
32330 cat confdefs.h
>>conftest.
$ac_ext
32331 cat >>conftest.
$ac_ext <<_ACEOF
32332 /* end confdefs.h. */
32333 #include <$ac_header>
32335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32336 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32338 grep -v '^ *+' conftest.er1
>conftest.err
32340 cat conftest.err
>&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } >/dev
/null
; then
32343 if test -s conftest.err
; then
32344 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32345 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32352 if test -z "$ac_cpp_err"; then
32353 ac_header_preproc
=yes
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.
$ac_ext >&5
32358 ac_header_preproc
=no
32360 rm -f conftest.err conftest.
$ac_ext
32361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32362 echo "${ECHO_T}$ac_header_preproc" >&6
32364 # So? What about this header?
32365 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32371 ac_header_preproc
=yes
32374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32388 ## ----------------------------------------- ##
32389 ## Report this to wx-dev@lists.wxwidgets.org ##
32390 ## ----------------------------------------- ##
32393 sed "s/^/$as_me: WARNING: /" >&2
32396 echo "$as_me:$LINENO: checking for $ac_header" >&5
32397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32401 eval "$as_ac_Header=\$ac_header_preproc"
32403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32408 cat >>confdefs.h
<<_ACEOF
32409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32417 for ac_header
in X
11/XKBlib.h
32419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32420 echo "$as_me:$LINENO: checking for $ac_header" >&5
32421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32423 echo $ECHO_N "(cached) $ECHO_C" >&6
32425 cat >conftest.
$ac_ext <<_ACEOF
32428 cat confdefs.h
>>conftest.
$ac_ext
32429 cat >>conftest.
$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32432 #if HAVE_X11_XLIB_H
32433 #include <X11/Xlib.h>
32437 #include <$ac_header>
32439 rm -f conftest.
$ac_objext
32440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32441 (eval $ac_compile) 2>conftest.er1
32443 grep -v '^ *+' conftest.er1
>conftest.err
32445 cat conftest.err
>&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); } &&
32448 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32450 (eval $ac_try) 2>&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); }; } &&
32454 { ac_try
='test -s conftest.$ac_objext'
32455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32456 (eval $ac_try) 2>&5
32458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32459 (exit $ac_status); }; }; then
32460 eval "$as_ac_Header=yes"
32462 echo "$as_me: failed program was:" >&5
32463 sed 's/^/| /' conftest.
$ac_ext >&5
32465 eval "$as_ac_Header=no"
32467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32472 cat >>confdefs.h
<<_ACEOF
32473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32488 if test "$TOOLKIT" != "MSW" ; then
32490 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32492 if test "${ac_cv_header_sql_h+set}" = set; then
32493 echo "$as_me:$LINENO: checking for sql.h" >&5
32494 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32495 if test "${ac_cv_header_sql_h+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32499 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32501 # Is the header compilable?
32502 echo "$as_me:$LINENO: checking sql.h usability" >&5
32503 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32504 cat >conftest.
$ac_ext <<_ACEOF
32507 cat confdefs.h
>>conftest.
$ac_ext
32508 cat >>conftest.
$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32510 $ac_includes_default
32513 rm -f conftest.
$ac_objext
32514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32515 (eval $ac_compile) 2>conftest.er1
32517 grep -v '^ *+' conftest.er1
>conftest.err
32519 cat conftest.err
>&5
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); } &&
32522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32524 (eval $ac_try) 2>&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); }; } &&
32528 { ac_try
='test -s conftest.$ac_objext'
32529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32530 (eval $ac_try) 2>&5
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); }; }; then
32534 ac_header_compiler
=yes
32536 echo "$as_me: failed program was:" >&5
32537 sed 's/^/| /' conftest.
$ac_ext >&5
32539 ac_header_compiler
=no
32541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32543 echo "${ECHO_T}$ac_header_compiler" >&6
32545 # Is the header present?
32546 echo "$as_me:$LINENO: checking sql.h presence" >&5
32547 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32548 cat >conftest.
$ac_ext <<_ACEOF
32551 cat confdefs.h
>>conftest.
$ac_ext
32552 cat >>conftest.
$ac_ext <<_ACEOF
32553 /* end confdefs.h. */
32556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32559 grep -v '^ *+' conftest.er1
>conftest.err
32561 cat conftest.err
>&5
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); } >/dev
/null
; then
32564 if test -s conftest.err
; then
32565 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32566 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32573 if test -z "$ac_cpp_err"; then
32574 ac_header_preproc
=yes
32576 echo "$as_me: failed program was:" >&5
32577 sed 's/^/| /' conftest.
$ac_ext >&5
32579 ac_header_preproc
=no
32581 rm -f conftest.err conftest.
$ac_ext
32582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32583 echo "${ECHO_T}$ac_header_preproc" >&6
32585 # So? What about this header?
32586 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32588 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32589 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32590 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32591 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32592 ac_header_preproc
=yes
32595 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32596 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32597 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32598 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32599 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32600 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32601 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32602 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32603 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32604 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32605 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32606 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32609 ## ----------------------------------------- ##
32610 ## Report this to wx-dev@lists.wxwidgets.org ##
32611 ## ----------------------------------------- ##
32614 sed "s/^/$as_me: WARNING: /" >&2
32617 echo "$as_me:$LINENO: checking for sql.h" >&5
32618 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32619 if test "${ac_cv_header_sql_h+set}" = set; then
32620 echo $ECHO_N "(cached) $ECHO_C" >&6
32622 ac_cv_header_sql_h
=$ac_header_preproc
32624 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32625 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32628 if test $ac_cv_header_sql_h = yes; then
32633 if test "x$found_sql_h" = "x1" ; then
32634 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32635 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32636 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32637 echo $ECHO_N "(cached) $ECHO_C" >&6
32639 ac_check_lib_save_LIBS
=$LIBS
32640 LIBS
="-liodbc $LIBS"
32641 cat >conftest.
$ac_ext <<_ACEOF
32644 cat confdefs.h
>>conftest.
$ac_ext
32645 cat >>conftest.
$ac_ext <<_ACEOF
32646 /* end confdefs.h. */
32648 /* Override any gcc2 internal prototype to avoid an error. */
32652 /* We use char because int might match the return type of a gcc2
32653 builtin and then its argument prototype would still apply. */
32654 char SQLAllocEnv ();
32663 rm -f conftest.
$ac_objext conftest
$ac_exeext
32664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32665 (eval $ac_link) 2>conftest.er1
32667 grep -v '^ *+' conftest.er1
>conftest.err
32669 cat conftest.err
>&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); } &&
32672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32674 (eval $ac_try) 2>&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); }; } &&
32678 { ac_try
='test -s conftest$ac_exeext'
32679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32680 (eval $ac_try) 2>&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); }; }; then
32684 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32686 echo "$as_me: failed program was:" >&5
32687 sed 's/^/| /' conftest.
$ac_ext >&5
32689 ac_cv_lib_iodbc_SQLAllocEnv
=no
32691 rm -f conftest.err conftest.
$ac_objext \
32692 conftest
$ac_exeext conftest.
$ac_ext
32693 LIBS
=$ac_check_lib_save_LIBS
32695 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32696 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32697 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32698 ODBC_LINK
=" -liodbc"
32701 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32702 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32703 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32704 echo $ECHO_N "(cached) $ECHO_C" >&6
32706 ac_check_lib_save_LIBS
=$LIBS
32707 LIBS
="-lunixodbc $LIBS"
32708 cat >conftest.
$ac_ext <<_ACEOF
32711 cat confdefs.h
>>conftest.
$ac_ext
32712 cat >>conftest.
$ac_ext <<_ACEOF
32713 /* end confdefs.h. */
32715 /* Override any gcc2 internal prototype to avoid an error. */
32719 /* We use char because int might match the return type of a gcc2
32720 builtin and then its argument prototype would still apply. */
32721 char SQLAllocEnv ();
32730 rm -f conftest.
$ac_objext conftest
$ac_exeext
32731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32732 (eval $ac_link) 2>conftest.er1
32734 grep -v '^ *+' conftest.er1
>conftest.err
32736 cat conftest.err
>&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); } &&
32739 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32741 (eval $ac_try) 2>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); }; } &&
32745 { ac_try
='test -s conftest$ac_exeext'
32746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32747 (eval $ac_try) 2>&5
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); }; }; then
32751 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32753 echo "$as_me: failed program was:" >&5
32754 sed 's/^/| /' conftest.
$ac_ext >&5
32756 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32758 rm -f conftest.err conftest.
$ac_objext \
32759 conftest
$ac_exeext conftest.
$ac_ext
32760 LIBS
=$ac_check_lib_save_LIBS
32762 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32763 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32764 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32765 ODBC_LINK
=" -lunixodbc"
32768 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32769 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32770 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32771 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 ac_check_lib_save_LIBS
=$LIBS
32774 LIBS
="-lodbc $LIBS"
32775 cat >conftest.
$ac_ext <<_ACEOF
32778 cat confdefs.h
>>conftest.
$ac_ext
32779 cat >>conftest.
$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32782 /* Override any gcc2 internal prototype to avoid an error. */
32786 /* We use char because int might match the return type of a gcc2
32787 builtin and then its argument prototype would still apply. */
32788 char SQLAllocEnv ();
32797 rm -f conftest.
$ac_objext conftest
$ac_exeext
32798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32799 (eval $ac_link) 2>conftest.er1
32801 grep -v '^ *+' conftest.er1
>conftest.err
32803 cat conftest.err
>&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); } &&
32806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32808 (eval $ac_try) 2>&5
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); }; } &&
32812 { ac_try
='test -s conftest$ac_exeext'
32813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32814 (eval $ac_try) 2>&5
32816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817 (exit $ac_status); }; }; then
32818 ac_cv_lib_odbc_SQLAllocEnv
=yes
32820 echo "$as_me: failed program was:" >&5
32821 sed 's/^/| /' conftest.
$ac_ext >&5
32823 ac_cv_lib_odbc_SQLAllocEnv
=no
32825 rm -f conftest.err conftest.
$ac_objext \
32826 conftest
$ac_exeext conftest.
$ac_ext
32827 LIBS
=$ac_check_lib_save_LIBS
32829 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32830 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32831 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32832 ODBC_LINK
=" -lodbc"
32842 if test "x$ODBC_LINK" = "x" ; then
32843 if test "$wxUSE_ODBC" = "sys" ; then
32844 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32845 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32846 { (exit 1); exit 1; }; }
32848 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32849 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32857 if test "$wxUSE_ODBC" = "builtin" ; then
32858 cat >>confdefs.h
<<\_ACEOF
32859 #define wxUSE_BUILTIN_IODBC 1
32865 if test "$wxUSE_ODBC" != "no" ; then
32866 cat >>confdefs.h
<<\_ACEOF
32867 #define wxUSE_ODBC 1
32870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32872 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32876 if test "$wxUSE_DISPLAY" = "yes"; then
32877 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32878 echo "$as_me:$LINENO: checking for Xinerama" >&5
32879 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32882 for ac_dir
in $SEARCH_LIB;
32884 for ac_extension
in a so sl dylib dll.a
; do
32885 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32886 ac_find_libraries
=$ac_dir
32892 if test "$ac_find_libraries" != "" ; then
32894 if test "$ac_find_libraries" = "default location"; then
32897 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32899 if test $result = 0; then
32902 ac_path_to_link
=" -L$ac_find_libraries"
32906 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32907 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32909 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32910 echo "$as_me:$LINENO: result: yes" >&5
32911 echo "${ECHO_T}yes" >&6
32913 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32914 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32917 for ac_dir
in $SEARCH_LIB;
32919 for ac_extension
in a so sl dylib dll.a
; do
32920 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32921 ac_find_libraries
=$ac_dir
32927 if test "$ac_find_libraries" != "" ; then
32928 echo "$as_me:$LINENO: result: yes" >&5
32929 echo "${ECHO_T}yes" >&6
32931 for ac_header
in X
11/extensions
/xf86vmode.h
32933 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32934 echo "$as_me:$LINENO: checking for $ac_header" >&5
32935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32937 echo $ECHO_N "(cached) $ECHO_C" >&6
32939 cat >conftest.
$ac_ext <<_ACEOF
32942 cat confdefs.h
>>conftest.
$ac_ext
32943 cat >>conftest.
$ac_ext <<_ACEOF
32944 /* end confdefs.h. */
32946 #if HAVE_X11_XLIB_H
32947 #include <X11/Xlib.h>
32951 #include <$ac_header>
32953 rm -f conftest.
$ac_objext
32954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32955 (eval $ac_compile) 2>conftest.er1
32957 grep -v '^ *+' conftest.er1
>conftest.err
32959 cat conftest.err
>&5
32960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32961 (exit $ac_status); } &&
32962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32964 (eval $ac_try) 2>&5
32966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32967 (exit $ac_status); }; } &&
32968 { ac_try
='test -s conftest.$ac_objext'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; }; then
32974 eval "$as_ac_Header=yes"
32976 echo "$as_me: failed program was:" >&5
32977 sed 's/^/| /' conftest.
$ac_ext >&5
32979 eval "$as_ac_Header=no"
32981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32986 cat >>confdefs.h
<<_ACEOF
32987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32990 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32997 echo "$as_me:$LINENO: result: no" >&5
32998 echo "${ECHO_T}no" >&6
33002 echo "$as_me:$LINENO: result: no" >&5
33003 echo "${ECHO_T}no" >&6
33004 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33005 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33008 elif test "$wxUSE_MSW" = 1; then
33010 for ac_header
in ddraw.h
33012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33013 echo "$as_me:$LINENO: checking for $ac_header" >&5
33014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33018 cat >conftest.
$ac_ext <<_ACEOF
33021 cat confdefs.h
>>conftest.
$ac_ext
33022 cat >>conftest.
$ac_ext <<_ACEOF
33023 /* end confdefs.h. */
33024 #include <windows.h>
33026 #include <$ac_header>
33028 rm -f conftest.
$ac_objext
33029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33030 (eval $ac_compile) 2>conftest.er1
33032 grep -v '^ *+' conftest.er1
>conftest.err
33034 cat conftest.err
>&5
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); } &&
33037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; } &&
33043 { ac_try
='test -s conftest.$ac_objext'
33044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33045 (eval $ac_try) 2>&5
33047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048 (exit $ac_status); }; }; then
33049 eval "$as_ac_Header=yes"
33051 echo "$as_me: failed program was:" >&5
33052 sed 's/^/| /' conftest.
$ac_ext >&5
33054 eval "$as_ac_Header=no"
33056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33061 cat >>confdefs.h
<<_ACEOF
33062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33072 if test "$wxUSE_DETECT_SM" = "yes"; then
33073 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33074 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33075 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33078 for ac_dir
in $SEARCH_LIB;
33080 for ac_extension
in a so sl dylib dll.a
; do
33081 if test -f "$ac_dir/libSM.$ac_extension"; then
33082 ac_find_libraries
=$ac_dir
33088 if test "$ac_find_libraries" != "" ; then
33090 if test "$ac_find_libraries" = "default location"; then
33093 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33095 if test $result = 0; then
33098 ac_path_to_link
=" -L$ac_find_libraries"
33102 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33103 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33105 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33106 echo "$as_me:$LINENO: result: yes" >&5
33107 echo "${ECHO_T}yes" >&6
33109 echo "$as_me:$LINENO: result: no" >&5
33110 echo "${ECHO_T}no" >&6
33111 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33112 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33113 wxUSE_DETECT_SM
="no"
33116 wxUSE_DETECT_SM
="no"
33123 if test "$wxUSE_OPENGL" = "yes"; then
33124 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33125 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33126 elif test "$wxUSE_MSW" = 1; then
33127 OPENGL_LIBS
="-lopengl32 -lglu32"
33132 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33134 if test -f "$ac_dir/GL/gl.h"; then
33135 ac_find_includes
=$ac_dir
33140 if test "$ac_find_includes" != "" ; then
33141 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33142 echo "${ECHO_T}found in $ac_find_includes" >&6
33144 if test "x$ac_find_includes" = "x/usr/include"; then
33145 ac_path_to_include
=""
33147 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33149 if test $result = 0; then
33150 ac_path_to_include
=""
33152 ac_path_to_include
=" -I$ac_find_includes"
33156 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33159 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33160 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33161 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33162 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33163 echo $ECHO_N "(cached) $ECHO_C" >&6
33165 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33166 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33168 # Is the header compilable?
33169 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33170 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33171 cat >conftest.
$ac_ext <<_ACEOF
33174 cat confdefs.h
>>conftest.
$ac_ext
33175 cat >>conftest.
$ac_ext <<_ACEOF
33176 /* end confdefs.h. */
33177 $ac_includes_default
33180 rm -f conftest.
$ac_objext
33181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33182 (eval $ac_compile) 2>conftest.er1
33184 grep -v '^ *+' conftest.er1
>conftest.err
33186 cat conftest.err
>&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); } &&
33189 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33191 (eval $ac_try) 2>&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); }; } &&
33195 { ac_try
='test -s conftest.$ac_objext'
33196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197 (eval $ac_try) 2>&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); }; }; then
33201 ac_header_compiler
=yes
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.
$ac_ext >&5
33206 ac_header_compiler
=no
33208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33210 echo "${ECHO_T}$ac_header_compiler" >&6
33212 # Is the header present?
33213 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33214 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33215 cat >conftest.
$ac_ext <<_ACEOF
33218 cat confdefs.h
>>conftest.
$ac_ext
33219 cat >>conftest.
$ac_ext <<_ACEOF
33220 /* end confdefs.h. */
33223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33226 grep -v '^ *+' conftest.er1
>conftest.err
33228 cat conftest.err
>&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); } >/dev
/null
; then
33231 if test -s conftest.err
; then
33232 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33233 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33240 if test -z "$ac_cpp_err"; then
33241 ac_header_preproc
=yes
33243 echo "$as_me: failed program was:" >&5
33244 sed 's/^/| /' conftest.
$ac_ext >&5
33246 ac_header_preproc
=no
33248 rm -f conftest.err conftest.
$ac_ext
33249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33250 echo "${ECHO_T}$ac_header_preproc" >&6
33252 # So? What about this header?
33253 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33255 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33256 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33257 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33258 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33259 ac_header_preproc
=yes
33262 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33263 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33264 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33265 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33266 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33267 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33268 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33269 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33270 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33271 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33272 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33273 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33276 ## ----------------------------------------- ##
33277 ## Report this to wx-dev@lists.wxwidgets.org ##
33278 ## ----------------------------------------- ##
33281 sed "s/^/$as_me: WARNING: /" >&2
33284 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33285 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33286 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33287 echo $ECHO_N "(cached) $ECHO_C" >&6
33289 ac_cv_header_GL_gl_h
=$ac_header_preproc
33291 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33292 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33295 if test $ac_cv_header_GL_gl_h = yes; then
33299 echo "$as_me:$LINENO: checking for -lGL" >&5
33300 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33303 for ac_dir
in $SEARCH_LIB;
33305 for ac_extension
in a so sl dylib dll.a
; do
33306 if test -f "$ac_dir/libGL.$ac_extension"; then
33307 ac_find_libraries
=$ac_dir
33313 if test "$ac_find_libraries" != "" ; then
33314 echo "$as_me:$LINENO: result: yes" >&5
33315 echo "${ECHO_T}yes" >&6
33318 if test "$ac_find_libraries" = "default location"; then
33321 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33323 if test $result = 0; then
33326 ac_path_to_link
=" -L$ac_find_libraries"
33330 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33331 LDFLAGS_GL
="$ac_path_to_link"
33334 echo "$as_me:$LINENO: checking for -lGLU" >&5
33335 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33338 for ac_dir
in $SEARCH_LIB;
33340 for ac_extension
in a so sl dylib dll.a
; do
33341 if test -f "$ac_dir/libGLU.$ac_extension"; then
33342 ac_find_libraries
=$ac_dir
33348 if test "$ac_find_libraries" != "" ; then
33350 if test "$ac_find_libraries" = "default location"; then
33353 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33355 if test $result = 0; then
33358 ac_path_to_link
=" -L$ac_find_libraries"
33362 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33363 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33364 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33368 OPENGL_LIBS
="-lGL -lGLU"
33369 echo "$as_me:$LINENO: result: yes" >&5
33370 echo "${ECHO_T}yes" >&6
33372 echo "$as_me:$LINENO: result: no" >&5
33373 echo "${ECHO_T}no" >&6
33376 echo "$as_me:$LINENO: result: no" >&5
33377 echo "${ECHO_T}no" >&6
33380 if test "$found_gl" != 1; then
33381 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33382 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33385 for ac_dir
in $SEARCH_LIB;
33387 for ac_extension
in a so sl dylib dll.a
; do
33388 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33389 ac_find_libraries
=$ac_dir
33395 if test "$ac_find_libraries" != "" ; then
33397 if test "$ac_find_libraries" = "default location"; then
33400 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33402 if test $result = 0; then
33405 ac_path_to_link
=" -L$ac_find_libraries"
33409 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33410 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33411 echo "$as_me:$LINENO: result: yes" >&5
33412 echo "${ECHO_T}yes" >&6
33414 echo "$as_me:$LINENO: result: no" >&5
33415 echo "${ECHO_T}no" >&6
33423 if test "x$OPENGL_LIBS" = "x"; then
33424 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33425 echo "$as_me: error: OpenGL libraries not available" >&2;}
33426 { (exit 1); exit 1; }; }
33430 if test "$wxUSE_OPENGL" = "yes"; then
33432 cat >>confdefs.h
<<\_ACEOF
33433 #define wxUSE_OPENGL 1
33436 cat >>confdefs.h
<<\_ACEOF
33437 #define wxUSE_GLCANVAS 1
33440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33445 if test -n "$TOOLKIT" ; then
33446 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33451 if test "$wxUSE_SHARED" = "yes"; then
33455 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33456 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33461 if test "$wxUSE_SHARED" = "yes"; then
33464 found_versioning
=no
33467 if test $found_versioning = no
; then
33468 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33469 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33470 if test "${wx_cv_version_script+set}" = set; then
33471 echo $ECHO_N "(cached) $ECHO_C" >&6
33474 echo "VER_1 { *; };" >conftest.sym
33475 echo "int main() { return 0; }" >conftest.cpp
33478 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33479 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; } ; then
33485 if test -s conftest.stderr
; then
33486 wx_cv_version_script
=no
33488 wx_cv_version_script
=yes
33491 wx_cv_version_script
=no
33494 if test $wx_cv_version_script = yes
33496 echo "struct B { virtual ~B() { } }; \
33497 struct D : public B { }; \
33498 void F() { D d; }" > conftest.cpp
33501 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33502 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33504 (eval $ac_try) 2>&5
33506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33507 (exit $ac_status); }; } &&
33509 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33510 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; }
33518 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33519 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; }
33526 wx_cv_version_script
=yes
33528 wx_cv_version_script
=no
33533 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33534 rm -f conftest1.output conftest2.output conftest3.output
33537 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33538 echo "${ECHO_T}$wx_cv_version_script" >&6
33539 if test $wx_cv_version_script = yes ; then
33540 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33546 *-*-linux* | *-*-gnu* )
33547 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33548 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33552 if test "$GCC" = yes ; then
33553 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33555 saveLdflags
="$LDFLAGS"
33556 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33557 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33558 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33559 cat >conftest.
$ac_ext <<_ACEOF
33562 cat confdefs.h
>>conftest.
$ac_ext
33563 cat >>conftest.
$ac_ext <<_ACEOF
33564 /* end confdefs.h. */
33574 rm -f conftest.
$ac_objext conftest
$ac_exeext
33575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33576 (eval $ac_link) 2>conftest.er1
33578 grep -v '^ *+' conftest.er1
>conftest.err
33580 cat conftest.err
>&5
33581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33582 (exit $ac_status); } &&
33583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; } &&
33589 { ac_try
='test -s conftest$ac_exeext'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; }; then
33596 echo "$as_me:$LINENO: result: yes" >&5
33597 echo "${ECHO_T}yes" >&6
33598 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33599 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33602 echo "$as_me: failed program was:" >&5
33603 sed 's/^/| /' conftest.
$ac_ext >&5
33606 echo "$as_me:$LINENO: result: no" >&5
33607 echo "${ECHO_T}no" >&6
33608 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33609 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33610 LDFLAGS
="$saveLdflags -Wl,-R,/"
33611 cat >conftest.
$ac_ext <<_ACEOF
33614 cat confdefs.h
>>conftest.
$ac_ext
33615 cat >>conftest.
$ac_ext <<_ACEOF
33616 /* end confdefs.h. */
33626 rm -f conftest.
$ac_objext conftest
$ac_exeext
33627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33628 (eval $ac_link) 2>conftest.er1
33630 grep -v '^ *+' conftest.er1
>conftest.err
33632 cat conftest.err
>&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); } &&
33635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33637 (eval $ac_try) 2>&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); }; } &&
33641 { ac_try
='test -s conftest$ac_exeext'
33642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33643 (eval $ac_try) 2>&5
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); }; }; then
33648 echo "$as_me:$LINENO: result: yes" >&5
33649 echo "${ECHO_T}yes" >&6
33650 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33651 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33654 echo "$as_me: failed program was:" >&5
33655 sed 's/^/| /' conftest.
$ac_ext >&5
33658 echo "$as_me:$LINENO: result: no" >&5
33659 echo "${ECHO_T}no" >&6
33662 rm -f conftest.err conftest.
$ac_objext \
33663 conftest
$ac_exeext conftest.
$ac_ext
33666 rm -f conftest.err conftest.
$ac_objext \
33667 conftest
$ac_exeext conftest.
$ac_ext
33668 LDFLAGS
="$saveLdflags"
33670 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33671 WXCONFIG_RPATH
="-R\$libdir"
33676 install_name_tool
=`which install_name_tool`
33677 if test "$install_name_tool" -a -x "$install_name_tool"; then
33678 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33679 cat <<EOF >change-install-names
33681 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33682 inst_cmd="install_name_tool "
33683 for i in \${libnames} ; do
33684 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33688 chmod +x change
-install-names
33692 *-*-cygwin* | *-*-mingw32* )
33693 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33697 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33698 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33703 if test $wxUSE_RPATH = "no"; then
33704 SAMPLES_RPATH_FLAG
=''
33705 SAMPLES_RPATH_POSTLINK
=''
33713 config_linkage_component
="-static"
33720 lib_unicode_suffix
=
33722 if test "$wxUSE_UNICODE" = "yes"; then
33723 lib_unicode_suffix
=u
33724 WX_CHARTYPE
="unicode"
33729 WX_DEBUGTYPE
="release"
33731 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33733 WX_DEBUGTYPE
="debug"
33737 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33738 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33741 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33745 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33747 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33749 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33751 if test "$cross_compiling" = "yes"; then
33752 HOST_SUFFIX
="-$host_alias"
33753 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33754 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33757 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33758 if test "${TOOLKIT_DIR}" = "os2"; then
33759 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33761 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33766 if test "$wxUSE_COCOA" = 1; then
33770 ac_cpp
='$CPP $CPPFLAGS'
33771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33777 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33778 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33779 cat >conftest.
$ac_ext <<_ACEOF
33782 cat confdefs.h
>>conftest.
$ac_ext
33783 cat >>conftest.
$ac_ext <<_ACEOF
33784 /* end confdefs.h. */
33785 #include <AppKit/NSEvent.h>
33786 #include <CoreFoundation/CoreFoundation.h>
33796 rm -f conftest.
$ac_objext
33797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33798 (eval $ac_compile) 2>conftest.er1
33800 grep -v '^ *+' conftest.er1
>conftest.err
33802 cat conftest.err
>&5
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); } &&
33805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33807 (eval $ac_try) 2>&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); }; } &&
33811 { ac_try
='test -s conftest.$ac_objext'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; }; then
33817 echo "$as_me:$LINENO: result: no" >&5
33818 echo "${ECHO_T}no" >&6
33820 echo "$as_me: failed program was:" >&5
33821 sed 's/^/| /' conftest.
$ac_ext >&5
33823 echo "$as_me:$LINENO: result: yes" >&5
33824 echo "${ECHO_T}yes" >&6
33825 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33826 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33827 cat >conftest.
$ac_ext <<_ACEOF
33830 cat confdefs.h
>>conftest.
$ac_ext
33831 cat >>conftest.
$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833 #define __Point__ 1
33834 #include <AppKit/NSEvent.h>
33835 #include <CoreFoundation/CoreFoundation.h>
33845 rm -f conftest.
$ac_objext
33846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33847 (eval $ac_compile) 2>conftest.er1
33849 grep -v '^ *+' conftest.er1
>conftest.err
33851 cat conftest.err
>&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); } &&
33854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33856 (eval $ac_try) 2>&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); }; } &&
33860 { ac_try
='test -s conftest.$ac_objext'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; }; then
33866 echo "$as_me:$LINENO: result: yes" >&5
33867 echo "${ECHO_T}yes" >&6
33868 cat >>confdefs.h
<<\_ACEOF
33869 #define __Point__ 1
33874 echo "$as_me: failed program was:" >&5
33875 sed 's/^/| /' conftest.
$ac_ext >&5
33877 { { echo "$as_me:$LINENO: error: no
33878 See \`config.log' for more details." >&5
33879 echo "$as_me: error: no
33880 See \`config.log' for more details." >&2;}
33881 { (exit 1); exit 1; }; }
33884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33889 ac_cpp
='$CXXCPP $CPPFLAGS'
33890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33896 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33897 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33898 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33900 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33902 # Extract the first word of "Rez", so it can be a program name with args.
33903 set dummy Rez
; ac_word
=$2
33904 echo "$as_me:$LINENO: checking for $ac_word" >&5
33905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33906 if test "${ac_cv_prog_REZ+set}" = set; then
33907 echo $ECHO_N "(cached) $ECHO_C" >&6
33909 if test -n "$REZ"; then
33910 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33913 for as_dir
in $PATH
33916 test -z "$as_dir" && as_dir
=.
33917 for ac_exec_ext
in '' $ac_executable_extensions; do
33918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33919 ac_cv_prog_REZ
="Rez"
33920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33926 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33929 REZ
=$ac_cv_prog_REZ
33930 if test -n "$REZ"; then
33931 echo "$as_me:$LINENO: result: $REZ" >&5
33932 echo "${ECHO_T}$REZ" >&6
33934 echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6
33938 # Extract the first word of "DeRez", so it can be a program name with args.
33939 set dummy DeRez
; ac_word
=$2
33940 echo "$as_me:$LINENO: checking for $ac_word" >&5
33941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33942 if test "${ac_cv_prog_DEREZ+set}" = set; then
33943 echo $ECHO_N "(cached) $ECHO_C" >&6
33945 if test -n "$DEREZ"; then
33946 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33949 for as_dir
in $PATH
33952 test -z "$as_dir" && as_dir
=.
33953 for ac_exec_ext
in '' $ac_executable_extensions; do
33954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33955 ac_cv_prog_DEREZ
="DeRez"
33956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33962 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33965 DEREZ
=$ac_cv_prog_DEREZ
33966 if test -n "$DEREZ"; then
33967 echo "$as_me:$LINENO: result: $DEREZ" >&5
33968 echo "${ECHO_T}$DEREZ" >&6
33970 echo "$as_me:$LINENO: result: no" >&5
33971 echo "${ECHO_T}no" >&6
33974 # Extract the first word of "SetFile", so it can be a program name with args.
33975 set dummy SetFile
; ac_word
=$2
33976 echo "$as_me:$LINENO: checking for $ac_word" >&5
33977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33978 if test "${ac_cv_prog_SETFILE+set}" = set; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33981 if test -n "$SETFILE"; then
33982 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33985 for as_dir
in $PATH
33988 test -z "$as_dir" && as_dir
=.
33989 for ac_exec_ext
in '' $ac_executable_extensions; do
33990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33991 ac_cv_prog_SETFILE
="SetFile"
33992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33998 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34001 SETFILE
=$ac_cv_prog_SETFILE
34002 if test -n "$SETFILE"; then
34003 echo "$as_me:$LINENO: result: $SETFILE" >&5
34004 echo "${ECHO_T}$SETFILE" >&6
34006 echo "$as_me:$LINENO: result: no" >&5
34007 echo "${ECHO_T}no" >&6
34011 MACSETFILE
="\$(SETFILE)"
34013 if test "$wxUSE_MAC" = 1; then
34014 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34016 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34018 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34019 RESCOMP
="echo -n \| $REZ"
34020 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34026 if test "$wxUSE_PM" = 1; then
34028 WXCONFIG_RESFLAGS
="-ep"
34030 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34032 POSTLINK_COMMAND
="@true"
34039 echo "$as_me:$LINENO: checking for mode_t" >&5
34040 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34041 if test "${ac_cv_type_mode_t+set}" = set; then
34042 echo $ECHO_N "(cached) $ECHO_C" >&6
34044 cat >conftest.
$ac_ext <<_ACEOF
34047 cat confdefs.h
>>conftest.
$ac_ext
34048 cat >>conftest.
$ac_ext <<_ACEOF
34049 /* end confdefs.h. */
34050 $ac_includes_default
34056 if (sizeof (mode_t))
34062 rm -f conftest.
$ac_objext
34063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34064 (eval $ac_compile) 2>conftest.er1
34066 grep -v '^ *+' conftest.er1
>conftest.err
34068 cat conftest.err
>&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } &&
34071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try
='test -s conftest.$ac_objext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 ac_cv_type_mode_t
=yes
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.
$ac_ext >&5
34088 ac_cv_type_mode_t
=no
34090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34092 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34093 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34094 if test $ac_cv_type_mode_t = yes; then
34098 cat >>confdefs.h
<<_ACEOF
34104 echo "$as_me:$LINENO: checking for off_t" >&5
34105 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34106 if test "${ac_cv_type_off_t+set}" = set; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34109 cat >conftest.
$ac_ext <<_ACEOF
34112 cat confdefs.h
>>conftest.
$ac_ext
34113 cat >>conftest.
$ac_ext <<_ACEOF
34114 /* end confdefs.h. */
34115 $ac_includes_default
34121 if (sizeof (off_t))
34127 rm -f conftest.
$ac_objext
34128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34129 (eval $ac_compile) 2>conftest.er1
34131 grep -v '^ *+' conftest.er1
>conftest.err
34133 cat conftest.err
>&5
34134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34135 (exit $ac_status); } &&
34136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 (eval $ac_try) 2>&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); }; } &&
34142 { ac_try
='test -s conftest.$ac_objext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34148 ac_cv_type_off_t
=yes
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.
$ac_ext >&5
34153 ac_cv_type_off_t
=no
34155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34157 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34158 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34159 if test $ac_cv_type_off_t = yes; then
34163 cat >>confdefs.h
<<_ACEOF
34169 echo "$as_me:$LINENO: checking for pid_t" >&5
34170 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34171 if test "${ac_cv_type_pid_t+set}" = set; then
34172 echo $ECHO_N "(cached) $ECHO_C" >&6
34174 cat >conftest.
$ac_ext <<_ACEOF
34177 cat confdefs.h
>>conftest.
$ac_ext
34178 cat >>conftest.
$ac_ext <<_ACEOF
34179 /* end confdefs.h. */
34180 $ac_includes_default
34186 if (sizeof (pid_t))
34192 rm -f conftest.
$ac_objext
34193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34194 (eval $ac_compile) 2>conftest.er1
34196 grep -v '^ *+' conftest.er1
>conftest.err
34198 cat conftest.err
>&5
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); } &&
34201 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34203 (eval $ac_try) 2>&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); }; } &&
34207 { ac_try
='test -s conftest.$ac_objext'
34208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34209 (eval $ac_try) 2>&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); }; }; then
34213 ac_cv_type_pid_t
=yes
34215 echo "$as_me: failed program was:" >&5
34216 sed 's/^/| /' conftest.
$ac_ext >&5
34218 ac_cv_type_pid_t
=no
34220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34222 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34223 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34224 if test $ac_cv_type_pid_t = yes; then
34228 cat >>confdefs.h
<<_ACEOF
34234 echo "$as_me:$LINENO: checking for size_t" >&5
34235 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34236 if test "${ac_cv_type_size_t+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34239 cat >conftest.
$ac_ext <<_ACEOF
34242 cat confdefs.h
>>conftest.
$ac_ext
34243 cat >>conftest.
$ac_ext <<_ACEOF
34244 /* end confdefs.h. */
34245 $ac_includes_default
34251 if (sizeof (size_t))
34257 rm -f conftest.
$ac_objext
34258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34259 (eval $ac_compile) 2>conftest.er1
34261 grep -v '^ *+' conftest.er1
>conftest.err
34263 cat conftest.err
>&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); } &&
34266 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34268 (eval $ac_try) 2>&5
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); }; } &&
34272 { ac_try
='test -s conftest.$ac_objext'
34273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34274 (eval $ac_try) 2>&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); }; }; then
34278 ac_cv_type_size_t
=yes
34280 echo "$as_me: failed program was:" >&5
34281 sed 's/^/| /' conftest.
$ac_ext >&5
34283 ac_cv_type_size_t
=no
34285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34287 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34288 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34289 if test $ac_cv_type_size_t = yes; then
34293 cat >>confdefs.h
<<_ACEOF
34294 #define size_t unsigned
34299 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34300 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34301 if test "${ac_cv_type_uid_t+set}" = set; then
34302 echo $ECHO_N "(cached) $ECHO_C" >&6
34304 cat >conftest.
$ac_ext <<_ACEOF
34307 cat confdefs.h
>>conftest.
$ac_ext
34308 cat >>conftest.
$ac_ext <<_ACEOF
34309 /* end confdefs.h. */
34310 #include <sys/types.h>
34313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34314 $EGREP "uid_t" >/dev
/null
2>&1; then
34315 ac_cv_type_uid_t
=yes
34317 ac_cv_type_uid_t
=no
34322 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34323 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34324 if test $ac_cv_type_uid_t = no
; then
34326 cat >>confdefs.h
<<\_ACEOF
34331 cat >>confdefs.h
<<\_ACEOF
34338 echo "$as_me:$LINENO: checking for ssize_t" >&5
34339 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34340 if test "${ac_cv_type_ssize_t+set}" = set; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34343 cat >conftest.
$ac_ext <<_ACEOF
34346 cat confdefs.h
>>conftest.
$ac_ext
34347 cat >>conftest.
$ac_ext <<_ACEOF
34348 /* end confdefs.h. */
34349 $ac_includes_default
34355 if (sizeof (ssize_t))
34361 rm -f conftest.
$ac_objext
34362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34363 (eval $ac_compile) 2>conftest.er1
34365 grep -v '^ *+' conftest.er1
>conftest.err
34367 cat conftest.err
>&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } &&
34370 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34372 (eval $ac_try) 2>&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); }; } &&
34376 { ac_try
='test -s conftest.$ac_objext'
34377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34378 (eval $ac_try) 2>&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); }; }; then
34382 ac_cv_type_ssize_t
=yes
34384 echo "$as_me: failed program was:" >&5
34385 sed 's/^/| /' conftest.
$ac_ext >&5
34387 ac_cv_type_ssize_t
=no
34389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34391 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34392 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34393 if test $ac_cv_type_ssize_t = yes; then
34395 cat >>confdefs.h
<<_ACEOF
34396 #define HAVE_SSIZE_T 1
34403 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34404 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34405 if test "${wx_cv_size_t_is_uint+set}" = set; then
34406 echo $ECHO_N "(cached) $ECHO_C" >&6
34409 cat >conftest.
$ac_ext <<_ACEOF
34412 cat confdefs.h
>>conftest.
$ac_ext
34413 cat >>conftest.
$ac_ext <<_ACEOF
34414 /* end confdefs.h. */
34415 #include <stddef.h>
34422 struct Foo { void foo(size_t); void foo(unsigned int); };
34430 rm -f conftest.
$ac_objext
34431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34432 (eval $ac_compile) 2>conftest.er1
34434 grep -v '^ *+' conftest.er1
>conftest.err
34436 cat conftest.err
>&5
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); } &&
34439 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34441 (eval $ac_try) 2>&5
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); }; } &&
34445 { ac_try
='test -s conftest.$ac_objext'
34446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34447 (eval $ac_try) 2>&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); }; }; then
34451 wx_cv_size_t_is_uint
=no
34453 echo "$as_me: failed program was:" >&5
34454 sed 's/^/| /' conftest.
$ac_ext >&5
34456 wx_cv_size_t_is_uint
=yes
34459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34463 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34464 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34466 if test "$wx_cv_size_t_is_uint" = "yes"; then
34467 cat >>confdefs.h
<<\_ACEOF
34468 #define wxSIZE_T_IS_UINT 1
34472 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34473 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34474 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34475 echo $ECHO_N "(cached) $ECHO_C" >&6
34477 cat >conftest.
$ac_ext <<_ACEOF
34480 cat confdefs.h
>>conftest.
$ac_ext
34481 cat >>conftest.
$ac_ext <<_ACEOF
34482 /* end confdefs.h. */
34483 #include <stddef.h>
34490 struct Foo { void foo(size_t); void foo(unsigned long); };
34498 rm -f conftest.
$ac_objext
34499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34500 (eval $ac_compile) 2>conftest.er1
34502 grep -v '^ *+' conftest.er1
>conftest.err
34504 cat conftest.err
>&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); } &&
34507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34509 (eval $ac_try) 2>&5
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); }; } &&
34513 { ac_try
='test -s conftest.$ac_objext'
34514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34515 (eval $ac_try) 2>&5
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); }; }; then
34519 wx_cv_size_t_is_ulong
=no
34521 echo "$as_me: failed program was:" >&5
34522 sed 's/^/| /' conftest.
$ac_ext >&5
34524 wx_cv_size_t_is_ulong
=yes
34527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34530 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34531 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34533 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34534 cat >>confdefs.h
<<\_ACEOF
34535 #define wxSIZE_T_IS_ULONG 1
34542 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34543 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34544 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34548 cat >conftest.
$ac_ext <<_ACEOF
34551 cat confdefs.h
>>conftest.
$ac_ext
34552 cat >>conftest.
$ac_ext <<_ACEOF
34553 /* end confdefs.h. */
34567 rm -f conftest.
$ac_objext
34568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34569 (eval $ac_compile) 2>conftest.er1
34571 grep -v '^ *+' conftest.er1
>conftest.err
34573 cat conftest.err
>&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } &&
34576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34578 (eval $ac_try) 2>&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); }; } &&
34582 { ac_try
='test -s conftest.$ac_objext'
34583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34584 (eval $ac_try) 2>&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); }; }; then
34589 wx_cv_struct_pw_gecos
=yes
34592 echo "$as_me: failed program was:" >&5
34593 sed 's/^/| /' conftest.
$ac_ext >&5
34596 wx_cv_struct_pw_gecos
=no
34600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34604 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34605 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34607 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34608 cat >>confdefs.h
<<\_ACEOF
34609 #define HAVE_PW_GECOS 1
34615 if test "$wxUSE_WCHAR_T" = "yes"; then
34616 cat >>confdefs.h
<<\_ACEOF
34617 #define wxUSE_WCHAR_T 1
34624 for ac_func
in wcslen
34626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34627 echo "$as_me:$LINENO: checking for $ac_func" >&5
34628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34629 if eval "test \"\${$as_ac_var+set}\" = set"; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34632 cat >conftest.
$ac_ext <<_ACEOF
34635 cat confdefs.h
>>conftest.
$ac_ext
34636 cat >>conftest.
$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34640 #define $ac_func innocuous_$ac_func
34642 /* System header to define __stub macros and hopefully few prototypes,
34643 which can conflict with char $ac_func (); below.
34644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34645 <limits.h> exists even on freestanding compilers. */
34648 # include <limits.h>
34650 # include <assert.h>
34655 /* Override any gcc2 internal prototype to avoid an error. */
34660 /* We use char because int might match the return type of a gcc2
34661 builtin and then its argument prototype would still apply. */
34663 /* The GNU C library defines this for functions which it implements
34664 to always fail with ENOSYS. Some functions are actually named
34665 something starting with __ and the normal name is an alias. */
34666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34669 char (*f) () = $ac_func;
34678 return f != $ac_func;
34683 rm -f conftest.
$ac_objext conftest
$ac_exeext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34685 (eval $ac_link) 2>conftest.er1
34687 grep -v '^ *+' conftest.er1
>conftest.err
34689 cat conftest.err
>&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; } &&
34698 { ac_try
='test -s conftest$ac_exeext'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }; then
34704 eval "$as_ac_var=yes"
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.
$ac_ext >&5
34709 eval "$as_ac_var=no"
34711 rm -f conftest.err conftest.
$ac_objext \
34712 conftest
$ac_exeext conftest.
$ac_ext
34714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34716 if test `eval echo '${'$as_ac_var'}'` = yes; then
34717 cat >>confdefs.h
<<_ACEOF
34718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34725 if test "$WCSLEN_FOUND" = 0; then
34726 if test "$TOOLKIT" = "MSW"; then
34727 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34728 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34729 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34732 ac_check_lib_save_LIBS
=$LIBS
34733 LIBS
="-lmsvcrt $LIBS"
34734 cat >conftest.
$ac_ext <<_ACEOF
34737 cat confdefs.h
>>conftest.
$ac_ext
34738 cat >>conftest.
$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34741 /* Override any gcc2 internal prototype to avoid an error. */
34745 /* We use char because int might match the return type of a gcc2
34746 builtin and then its argument prototype would still apply. */
34756 rm -f conftest.
$ac_objext conftest
$ac_exeext
34757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34758 (eval $ac_link) 2>conftest.er1
34760 grep -v '^ *+' conftest.er1
>conftest.err
34762 cat conftest.err
>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } &&
34765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; } &&
34771 { ac_try
='test -s conftest$ac_exeext'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; }; then
34777 ac_cv_lib_msvcrt_wcslen
=yes
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.
$ac_ext >&5
34782 ac_cv_lib_msvcrt_wcslen
=no
34784 rm -f conftest.err conftest.
$ac_objext \
34785 conftest
$ac_exeext conftest.
$ac_ext
34786 LIBS
=$ac_check_lib_save_LIBS
34788 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34789 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34790 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34795 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34796 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34797 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34798 echo $ECHO_N "(cached) $ECHO_C" >&6
34800 ac_check_lib_save_LIBS
=$LIBS
34802 cat >conftest.
$ac_ext <<_ACEOF
34805 cat confdefs.h
>>conftest.
$ac_ext
34806 cat >>conftest.
$ac_ext <<_ACEOF
34807 /* end confdefs.h. */
34809 /* Override any gcc2 internal prototype to avoid an error. */
34813 /* We use char because int might match the return type of a gcc2
34814 builtin and then its argument prototype would still apply. */
34824 rm -f conftest.
$ac_objext conftest
$ac_exeext
34825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34826 (eval $ac_link) 2>conftest.er1
34828 grep -v '^ *+' conftest.er1
>conftest.err
34830 cat conftest.err
>&5
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); } &&
34833 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34835 (eval $ac_try) 2>&5
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); }; } &&
34839 { ac_try
='test -s conftest$ac_exeext'
34840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841 (eval $ac_try) 2>&5
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); }; }; then
34845 ac_cv_lib_w_wcslen
=yes
34847 echo "$as_me: failed program was:" >&5
34848 sed 's/^/| /' conftest.
$ac_ext >&5
34850 ac_cv_lib_w_wcslen
=no
34852 rm -f conftest.err conftest.
$ac_objext \
34853 conftest
$ac_exeext conftest.
$ac_ext
34854 LIBS
=$ac_check_lib_save_LIBS
34856 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34857 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34858 if test $ac_cv_lib_w_wcslen = yes; then
34868 if test "$WCSLEN_FOUND" = 1; then
34869 cat >>confdefs.h
<<\_ACEOF
34870 #define HAVE_WCSLEN 1
34875 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34876 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34879 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34880 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34881 if test "${ac_cv_type_mbstate_t+set}" = set; then
34882 echo $ECHO_N "(cached) $ECHO_C" >&6
34884 cat >conftest.
$ac_ext <<_ACEOF
34887 cat confdefs.h
>>conftest.
$ac_ext
34888 cat >>conftest.
$ac_ext <<_ACEOF
34889 /* end confdefs.h. */
34895 if ((mbstate_t *) 0)
34897 if (sizeof (mbstate_t))
34903 rm -f conftest.
$ac_objext
34904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34905 (eval $ac_compile) 2>conftest.er1
34907 grep -v '^ *+' conftest.er1
>conftest.err
34909 cat conftest.err
>&5
34910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34911 (exit $ac_status); } &&
34912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; } &&
34918 { ac_try
='test -s conftest.$ac_objext'
34919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 (eval $ac_try) 2>&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); }; }; then
34924 ac_cv_type_mbstate_t
=yes
34926 echo "$as_me: failed program was:" >&5
34927 sed 's/^/| /' conftest.
$ac_ext >&5
34929 ac_cv_type_mbstate_t
=no
34931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34933 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34934 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34935 if test $ac_cv_type_mbstate_t = yes; then
34937 cat >>confdefs.h
<<_ACEOF
34938 #define HAVE_MBSTATE_T 1
34942 for ac_func
in wcsrtombs
34944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34945 echo "$as_me:$LINENO: checking for $ac_func" >&5
34946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34947 if eval "test \"\${$as_ac_var+set}\" = set"; then
34948 echo $ECHO_N "(cached) $ECHO_C" >&6
34950 cat >conftest.
$ac_ext <<_ACEOF
34953 cat confdefs.h
>>conftest.
$ac_ext
34954 cat >>conftest.
$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34958 #define $ac_func innocuous_$ac_func
34960 /* System header to define __stub macros and hopefully few prototypes,
34961 which can conflict with char $ac_func (); below.
34962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34963 <limits.h> exists even on freestanding compilers. */
34966 # include <limits.h>
34968 # include <assert.h>
34973 /* Override any gcc2 internal prototype to avoid an error. */
34978 /* We use char because int might match the return type of a gcc2
34979 builtin and then its argument prototype would still apply. */
34981 /* The GNU C library defines this for functions which it implements
34982 to always fail with ENOSYS. Some functions are actually named
34983 something starting with __ and the normal name is an alias. */
34984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34987 char (*f) () = $ac_func;
34996 return f != $ac_func;
35001 rm -f conftest.
$ac_objext conftest
$ac_exeext
35002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35003 (eval $ac_link) 2>conftest.er1
35005 grep -v '^ *+' conftest.er1
>conftest.err
35007 cat conftest.err
>&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } &&
35010 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35012 (eval $ac_try) 2>&5
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); }; } &&
35016 { ac_try
='test -s conftest$ac_exeext'
35017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35018 (eval $ac_try) 2>&5
35020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35021 (exit $ac_status); }; }; then
35022 eval "$as_ac_var=yes"
35024 echo "$as_me: failed program was:" >&5
35025 sed 's/^/| /' conftest.
$ac_ext >&5
35027 eval "$as_ac_var=no"
35029 rm -f conftest.err conftest.
$ac_objext \
35030 conftest
$ac_exeext conftest.
$ac_ext
35032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35034 if test `eval echo '${'$as_ac_var'}'` = yes; then
35035 cat >>confdefs.h
<<_ACEOF
35036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35045 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35046 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35051 for ac_func
in snprintf vsnprintf
35053 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35054 echo "$as_me:$LINENO: checking for $ac_func" >&5
35055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35056 if eval "test \"\${$as_ac_var+set}\" = set"; then
35057 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 cat >conftest.
$ac_ext <<_ACEOF
35062 cat confdefs.h
>>conftest.
$ac_ext
35063 cat >>conftest.
$ac_ext <<_ACEOF
35064 /* end confdefs.h. */
35065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35067 #define $ac_func innocuous_$ac_func
35069 /* System header to define __stub macros and hopefully few prototypes,
35070 which can conflict with char $ac_func (); below.
35071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35072 <limits.h> exists even on freestanding compilers. */
35075 # include <limits.h>
35077 # include <assert.h>
35082 /* Override any gcc2 internal prototype to avoid an error. */
35087 /* We use char because int might match the return type of a gcc2
35088 builtin and then its argument prototype would still apply. */
35090 /* The GNU C library defines this for functions which it implements
35091 to always fail with ENOSYS. Some functions are actually named
35092 something starting with __ and the normal name is an alias. */
35093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35096 char (*f) () = $ac_func;
35105 return f != $ac_func;
35110 rm -f conftest.
$ac_objext conftest
$ac_exeext
35111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35112 (eval $ac_link) 2>conftest.er1
35114 grep -v '^ *+' conftest.er1
>conftest.err
35116 cat conftest.err
>&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; } &&
35125 { ac_try
='test -s conftest$ac_exeext'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; }; then
35131 eval "$as_ac_var=yes"
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.
$ac_ext >&5
35136 eval "$as_ac_var=no"
35138 rm -f conftest.err conftest.
$ac_objext \
35139 conftest
$ac_exeext conftest.
$ac_ext
35141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35143 if test `eval echo '${'$as_ac_var'}'` = yes; then
35144 cat >>confdefs.h
<<_ACEOF
35145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35152 if test "$ac_cv_func_vsnprintf" = "yes"; then
35153 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35154 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35155 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35159 cat >conftest.
$ac_ext <<_ACEOF
35162 cat confdefs.h
>>conftest.
$ac_ext
35163 cat >>conftest.
$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35167 #include <stdarg.h>
35169 #if __MSL__ >= 0x6000
35171 using namespace std;
35181 vsnprintf(buf, 10u, "%s", ap);
35187 rm -f conftest.
$ac_objext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35189 (eval $ac_compile) 2>conftest.er1
35191 grep -v '^ *+' conftest.er1
>conftest.err
35193 cat conftest.err
>&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try
='test -s conftest.$ac_objext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 wx_cv_func_vsnprintf_decl
=yes
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.
$ac_ext >&5
35213 wx_cv_func_vsnprintf_decl
=no
35216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35220 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35221 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35223 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35224 cat >>confdefs.h
<<\_ACEOF
35225 #define HAVE_VSNPRINTF_DECL 1
35229 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35230 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35231 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35232 echo $ECHO_N "(cached) $ECHO_C" >&6
35235 cat >conftest.
$ac_ext <<_ACEOF
35238 cat confdefs.h
>>conftest.
$ac_ext
35239 cat >>conftest.
$ac_ext <<_ACEOF
35240 /* end confdefs.h. */
35243 #include <stdarg.h>
35245 #if __MSL__ >= 0x6000
35247 using namespace std;
35257 const char *fmt = "%s";
35258 vsnprintf(buf, 10u, fmt, ap);
35264 rm -f conftest.
$ac_objext
35265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35266 (eval $ac_compile) 2>conftest.er1
35268 grep -v '^ *+' conftest.er1
>conftest.err
35270 cat conftest.err
>&5
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); } &&
35273 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35275 (eval $ac_try) 2>&5
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); }; } &&
35279 { ac_try
='test -s conftest.$ac_objext'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; }; then
35285 wx_cv_func_broken_vsnprintf_decl
=no
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.
$ac_ext >&5
35290 wx_cv_func_broken_vsnprintf_decl
=yes
35293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35297 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35298 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35300 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35301 cat >>confdefs.h
<<\_ACEOF
35302 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35309 if test "$ac_cv_func_snprintf" = "yes"; then
35310 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35311 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35312 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35316 cat >conftest.
$ac_ext <<_ACEOF
35319 cat confdefs.h
>>conftest.
$ac_ext
35320 cat >>conftest.
$ac_ext <<_ACEOF
35321 /* end confdefs.h. */
35324 #include <stdarg.h>
35326 #if __MSL__ >= 0x6000
35328 using namespace std;
35337 snprintf(buf, 10u, "%s", "wx");
35343 rm -f conftest.
$ac_objext
35344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35345 (eval $ac_compile) 2>conftest.er1
35347 grep -v '^ *+' conftest.er1
>conftest.err
35349 cat conftest.err
>&5
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); } &&
35352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35354 (eval $ac_try) 2>&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); }; } &&
35358 { ac_try
='test -s conftest.$ac_objext'
35359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35360 (eval $ac_try) 2>&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; }; then
35364 wx_cv_func_snprintf_decl
=yes
35366 echo "$as_me: failed program was:" >&5
35367 sed 's/^/| /' conftest.
$ac_ext >&5
35369 wx_cv_func_snprintf_decl
=no
35372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35376 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35377 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35379 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35380 cat >>confdefs.h
<<\_ACEOF
35381 #define HAVE_SNPRINTF_DECL 1
35385 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35386 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35387 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35388 echo $ECHO_N "(cached) $ECHO_C" >&6
35391 cat >conftest.
$ac_ext <<_ACEOF
35394 cat confdefs.h
>>conftest.
$ac_ext
35395 cat >>conftest.
$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35399 #include <stdarg.h>
35401 #if __MSL__ >= 0x6000
35403 using namespace std;
35412 const char *fmt = "%s";
35413 snprintf(buf, 10u, fmt, "wx");
35419 rm -f conftest.
$ac_objext
35420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35421 (eval $ac_compile) 2>conftest.er1
35423 grep -v '^ *+' conftest.er1
>conftest.err
35425 cat conftest.err
>&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); } &&
35428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35430 (eval $ac_try) 2>&5
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); }; } &&
35434 { ac_try
='test -s conftest.$ac_objext'
35435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35436 (eval $ac_try) 2>&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); }; }; then
35440 wx_cv_func_broken_snprintf_decl
=no
35442 echo "$as_me: failed program was:" >&5
35443 sed 's/^/| /' conftest.
$ac_ext >&5
35445 wx_cv_func_broken_snprintf_decl
=yes
35448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35452 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35453 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35455 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35456 cat >>confdefs.h
<<\_ACEOF
35457 #define HAVE_BROKEN_SNPRINTF_DECL 1
35463 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35465 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35466 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35467 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35468 echo $ECHO_N "(cached) $ECHO_C" >&6
35471 if test "$cross_compiling" = yes; then
35473 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35474 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35475 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35476 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35477 wx_cv_func_snprintf_pos_params
=no
35481 cat >conftest.
$ac_ext <<_ACEOF
35484 cat confdefs.h
>>conftest.
$ac_ext
35485 cat >>conftest.
$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35493 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35494 if (strcmp ("2 3 1", buffer) == 0)
35500 rm -f conftest
$ac_exeext
35501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35502 (eval $ac_link) 2>&5
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35507 (eval $ac_try) 2>&5
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); }; }; then
35511 wx_cv_func_snprintf_pos_params
=no
35513 echo "$as_me: program exited with status $ac_status" >&5
35514 echo "$as_me: failed program was:" >&5
35515 sed 's/^/| /' conftest.
$ac_ext >&5
35517 ( exit $ac_status )
35518 wx_cv_func_snprintf_pos_params
=yes
35520 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35525 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35526 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35528 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35529 cat >>confdefs.h
<<\_ACEOF
35530 #define HAVE_UNIX98_PRINTF 1
35537 if test "$wxUSE_UNICODE" = yes; then
35540 for ac_func
in swprintf
35542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35543 echo "$as_me:$LINENO: checking for $ac_func" >&5
35544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35545 if eval "test \"\${$as_ac_var+set}\" = set"; then
35546 echo $ECHO_N "(cached) $ECHO_C" >&6
35548 cat >conftest.
$ac_ext <<_ACEOF
35551 cat confdefs.h
>>conftest.
$ac_ext
35552 cat >>conftest.
$ac_ext <<_ACEOF
35553 /* end confdefs.h. */
35554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35556 #define $ac_func innocuous_$ac_func
35558 /* System header to define __stub macros and hopefully few prototypes,
35559 which can conflict with char $ac_func (); below.
35560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35561 <limits.h> exists even on freestanding compilers. */
35564 # include <limits.h>
35566 # include <assert.h>
35571 /* Override any gcc2 internal prototype to avoid an error. */
35576 /* We use char because int might match the return type of a gcc2
35577 builtin and then its argument prototype would still apply. */
35579 /* The GNU C library defines this for functions which it implements
35580 to always fail with ENOSYS. Some functions are actually named
35581 something starting with __ and the normal name is an alias. */
35582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35585 char (*f) () = $ac_func;
35594 return f != $ac_func;
35599 rm -f conftest.
$ac_objext conftest
$ac_exeext
35600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35601 (eval $ac_link) 2>conftest.er1
35603 grep -v '^ *+' conftest.er1
>conftest.err
35605 cat conftest.err
>&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); } &&
35608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; } &&
35614 { ac_try
='test -s conftest$ac_exeext'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; }; then
35620 eval "$as_ac_var=yes"
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.
$ac_ext >&5
35625 eval "$as_ac_var=no"
35627 rm -f conftest.err conftest.
$ac_objext \
35628 conftest
$ac_exeext conftest.
$ac_ext
35630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35632 if test `eval echo '${'$as_ac_var'}'` = yes; then
35633 cat >>confdefs.h
<<_ACEOF
35634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35641 if test "$ac_cv_func_swprintf" = "yes"; then
35642 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35643 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35644 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35645 echo $ECHO_N "(cached) $ECHO_C" >&6
35648 cat >conftest.
$ac_ext <<_ACEOF
35651 cat confdefs.h
>>conftest.
$ac_ext
35652 cat >>conftest.
$ac_ext <<_ACEOF
35653 /* end confdefs.h. */
35656 #include <stdarg.h>
35664 const wchar_t *fmt = L"test";
35665 swprintf(buf, 10u, fmt);
35671 rm -f conftest.
$ac_objext
35672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35673 (eval $ac_compile) 2>conftest.er1
35675 grep -v '^ *+' conftest.er1
>conftest.err
35677 cat conftest.err
>&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } &&
35680 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35682 (eval $ac_try) 2>&5
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); }; } &&
35686 { ac_try
='test -s conftest.$ac_objext'
35687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35688 (eval $ac_try) 2>&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); }; }; then
35692 wx_cv_func_broken_swprintf_decl
=no
35694 echo "$as_me: failed program was:" >&5
35695 sed 's/^/| /' conftest.
$ac_ext >&5
35697 wx_cv_func_broken_swprintf_decl
=yes
35700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35704 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35705 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35707 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35708 cat >>confdefs.h
<<\_ACEOF
35709 #define HAVE_BROKEN_SWPRINTF_DECL 1
35721 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35724 echo "$as_me:$LINENO: checking for $ac_func" >&5
35725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35726 if eval "test \"\${$as_ac_var+set}\" = set"; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 cat >conftest.
$ac_ext <<_ACEOF
35732 cat confdefs.h
>>conftest.
$ac_ext
35733 cat >>conftest.
$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35737 #define $ac_func innocuous_$ac_func
35739 /* System header to define __stub macros and hopefully few prototypes,
35740 which can conflict with char $ac_func (); below.
35741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35742 <limits.h> exists even on freestanding compilers. */
35745 # include <limits.h>
35747 # include <assert.h>
35752 /* Override any gcc2 internal prototype to avoid an error. */
35757 /* We use char because int might match the return type of a gcc2
35758 builtin and then its argument prototype would still apply. */
35760 /* The GNU C library defines this for functions which it implements
35761 to always fail with ENOSYS. Some functions are actually named
35762 something starting with __ and the normal name is an alias. */
35763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35766 char (*f) () = $ac_func;
35775 return f != $ac_func;
35780 rm -f conftest.
$ac_objext conftest
$ac_exeext
35781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35782 (eval $ac_link) 2>conftest.er1
35784 grep -v '^ *+' conftest.er1
>conftest.err
35786 cat conftest.err
>&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } &&
35789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35791 (eval $ac_try) 2>&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); }; } &&
35795 { ac_try
='test -s conftest$ac_exeext'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; }; then
35801 eval "$as_ac_var=yes"
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.
$ac_ext >&5
35806 eval "$as_ac_var=no"
35808 rm -f conftest.err conftest.
$ac_objext \
35809 conftest
$ac_exeext conftest.
$ac_ext
35811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35813 if test `eval echo '${'$as_ac_var'}'` = yes; then
35814 cat >>confdefs.h
<<_ACEOF
35815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35822 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35823 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35824 cat >conftest.
$ac_ext <<_ACEOF
35827 cat confdefs.h
>>conftest.
$ac_ext
35828 cat >>conftest.
$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35839 rm -f conftest.
$ac_objext
35840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35841 (eval $ac_compile) 2>conftest.er1
35843 grep -v '^ *+' conftest.er1
>conftest.err
35845 cat conftest.err
>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); } &&
35848 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; } &&
35854 { ac_try
='test -s conftest.$ac_objext'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; }; then
35860 echo "$as_me:$LINENO: result: yes" >&5
35861 echo "${ECHO_T}yes" >&6
35862 cat >>confdefs.h
<<\_ACEOF
35863 #define HAVE__VSNWPRINTF 1
35867 echo "$as_me: failed program was:" >&5
35868 sed 's/^/| /' conftest.
$ac_ext >&5
35870 echo "$as_me:$LINENO: result: no" >&5
35871 echo "${ECHO_T}no" >&6
35873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35876 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35878 for ac_func
in fnmatch
35880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35881 echo "$as_me:$LINENO: checking for $ac_func" >&5
35882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35883 if eval "test \"\${$as_ac_var+set}\" = set"; then
35884 echo $ECHO_N "(cached) $ECHO_C" >&6
35886 cat >conftest.
$ac_ext <<_ACEOF
35889 cat confdefs.h
>>conftest.
$ac_ext
35890 cat >>conftest.
$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35894 #define $ac_func innocuous_$ac_func
35896 /* System header to define __stub macros and hopefully few prototypes,
35897 which can conflict with char $ac_func (); below.
35898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35899 <limits.h> exists even on freestanding compilers. */
35902 # include <limits.h>
35904 # include <assert.h>
35909 /* Override any gcc2 internal prototype to avoid an error. */
35914 /* We use char because int might match the return type of a gcc2
35915 builtin and then its argument prototype would still apply. */
35917 /* The GNU C library defines this for functions which it implements
35918 to always fail with ENOSYS. Some functions are actually named
35919 something starting with __ and the normal name is an alias. */
35920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35923 char (*f) () = $ac_func;
35932 return f != $ac_func;
35937 rm -f conftest.
$ac_objext conftest
$ac_exeext
35938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35939 (eval $ac_link) 2>conftest.er1
35941 grep -v '^ *+' conftest.er1
>conftest.err
35943 cat conftest.err
>&5
35944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945 (exit $ac_status); } &&
35946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35948 (eval $ac_try) 2>&5
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); }; } &&
35952 { ac_try
='test -s conftest$ac_exeext'
35953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35954 (eval $ac_try) 2>&5
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); }; }; then
35958 eval "$as_ac_var=yes"
35960 echo "$as_me: failed program was:" >&5
35961 sed 's/^/| /' conftest.
$ac_ext >&5
35963 eval "$as_ac_var=no"
35965 rm -f conftest.err conftest.
$ac_objext \
35966 conftest
$ac_exeext conftest.
$ac_ext
35968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35970 if test `eval echo '${'$as_ac_var'}'` = yes; then
35971 cat >>confdefs.h
<<_ACEOF
35972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35980 if test "$wxUSE_FILE" = "yes"; then
35982 for ac_func
in fsync
35984 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35985 echo "$as_me:$LINENO: checking for $ac_func" >&5
35986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35987 if eval "test \"\${$as_ac_var+set}\" = set"; then
35988 echo $ECHO_N "(cached) $ECHO_C" >&6
35990 cat >conftest.
$ac_ext <<_ACEOF
35993 cat confdefs.h
>>conftest.
$ac_ext
35994 cat >>conftest.
$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35998 #define $ac_func innocuous_$ac_func
36000 /* System header to define __stub macros and hopefully few prototypes,
36001 which can conflict with char $ac_func (); below.
36002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36003 <limits.h> exists even on freestanding compilers. */
36006 # include <limits.h>
36008 # include <assert.h>
36013 /* Override any gcc2 internal prototype to avoid an error. */
36018 /* We use char because int might match the return type of a gcc2
36019 builtin and then its argument prototype would still apply. */
36021 /* The GNU C library defines this for functions which it implements
36022 to always fail with ENOSYS. Some functions are actually named
36023 something starting with __ and the normal name is an alias. */
36024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36027 char (*f) () = $ac_func;
36036 return f != $ac_func;
36041 rm -f conftest.
$ac_objext conftest
$ac_exeext
36042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36043 (eval $ac_link) 2>conftest.er1
36045 grep -v '^ *+' conftest.er1
>conftest.err
36047 cat conftest.err
>&5
36048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36049 (exit $ac_status); } &&
36050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36052 (eval $ac_try) 2>&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); }; } &&
36056 { ac_try
='test -s conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 eval "$as_ac_var=yes"
36064 echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.
$ac_ext >&5
36067 eval "$as_ac_var=no"
36069 rm -f conftest.err conftest.
$ac_objext \
36070 conftest
$ac_exeext conftest.
$ac_ext
36072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36074 if test `eval echo '${'$as_ac_var'}'` = yes; then
36075 cat >>confdefs.h
<<_ACEOF
36076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36085 for ac_func
in round
36087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36088 echo "$as_me:$LINENO: checking for $ac_func" >&5
36089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36090 if eval "test \"\${$as_ac_var+set}\" = set"; then
36091 echo $ECHO_N "(cached) $ECHO_C" >&6
36093 cat >conftest.
$ac_ext <<_ACEOF
36096 cat confdefs.h
>>conftest.
$ac_ext
36097 cat >>conftest.
$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36101 #define $ac_func innocuous_$ac_func
36103 /* System header to define __stub macros and hopefully few prototypes,
36104 which can conflict with char $ac_func (); below.
36105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36106 <limits.h> exists even on freestanding compilers. */
36109 # include <limits.h>
36111 # include <assert.h>
36116 /* Override any gcc2 internal prototype to avoid an error. */
36121 /* We use char because int might match the return type of a gcc2
36122 builtin and then its argument prototype would still apply. */
36124 /* The GNU C library defines this for functions which it implements
36125 to always fail with ENOSYS. Some functions are actually named
36126 something starting with __ and the normal name is an alias. */
36127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36130 char (*f) () = $ac_func;
36139 return f != $ac_func;
36144 rm -f conftest.
$ac_objext conftest
$ac_exeext
36145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36146 (eval $ac_link) 2>conftest.er1
36148 grep -v '^ *+' conftest.er1
>conftest.err
36150 cat conftest.err
>&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); } &&
36153 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36155 (eval $ac_try) 2>&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); }; } &&
36159 { ac_try
='test -s conftest$ac_exeext'
36160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36161 (eval $ac_try) 2>&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); }; }; then
36165 eval "$as_ac_var=yes"
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.
$ac_ext >&5
36170 eval "$as_ac_var=no"
36172 rm -f conftest.err conftest.
$ac_objext \
36173 conftest
$ac_exeext conftest.
$ac_ext
36175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36177 if test `eval echo '${'$as_ac_var'}'` = yes; then
36178 cat >>confdefs.h
<<_ACEOF
36179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36185 if test "$ac_cv_func_round" = yes; then
36186 echo "$as_me:$LINENO: checking whether round is declared" >&5
36187 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36188 if test "${ac_cv_have_decl_round+set}" = set; then
36189 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 cat >conftest.
$ac_ext <<_ACEOF
36194 cat confdefs.h
>>conftest.
$ac_ext
36195 cat >>conftest.
$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36203 char *p = (char *) round;
36210 rm -f conftest.
$ac_objext
36211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36212 (eval $ac_compile) 2>conftest.er1
36214 grep -v '^ *+' conftest.er1
>conftest.err
36216 cat conftest.err
>&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); } &&
36219 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36221 (eval $ac_try) 2>&5
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); }; } &&
36225 { ac_try
='test -s conftest.$ac_objext'
36226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36227 (eval $ac_try) 2>&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); }; }; then
36231 ac_cv_have_decl_round
=yes
36233 echo "$as_me: failed program was:" >&5
36234 sed 's/^/| /' conftest.
$ac_ext >&5
36236 ac_cv_have_decl_round
=no
36238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36240 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36241 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36242 if test $ac_cv_have_decl_round = yes; then
36244 cat >>confdefs.h
<<_ACEOF
36245 #define HAVE_DECL_ROUND 1
36250 cat >>confdefs.h
<<_ACEOF
36251 #define HAVE_DECL_ROUND 0
36261 if test "$TOOLKIT" != "MSW"; then
36267 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36268 if test "${with_libiconv_prefix+set}" = set; then
36269 withval
="$with_libiconv_prefix"
36271 for dir
in `echo "$withval" | tr : ' '`; do
36272 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36273 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36278 echo "$as_me:$LINENO: checking for iconv" >&5
36279 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36280 if test "${am_cv_func_iconv+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 am_cv_func_iconv
="no, consider installing GNU libiconv"
36286 cat >conftest.
$ac_ext <<_ACEOF
36289 cat confdefs.h
>>conftest.
$ac_ext
36290 cat >>conftest.
$ac_ext <<_ACEOF
36291 /* end confdefs.h. */
36292 #include <stdlib.h>
36297 iconv_t cd = iconv_open("","");
36298 iconv(cd,NULL,NULL,NULL,NULL);
36304 rm -f conftest.
$ac_objext conftest
$ac_exeext
36305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36306 (eval $ac_link) 2>conftest.er1
36308 grep -v '^ *+' conftest.er1
>conftest.err
36310 cat conftest.err
>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } &&
36313 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; } &&
36319 { ac_try
='test -s conftest$ac_exeext'
36320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321 (eval $ac_try) 2>&5
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); }; }; then
36325 am_cv_func_iconv
=yes
36327 echo "$as_me: failed program was:" >&5
36328 sed 's/^/| /' conftest.
$ac_ext >&5
36331 rm -f conftest.err conftest.
$ac_objext \
36332 conftest
$ac_exeext conftest.
$ac_ext
36333 if test "$am_cv_func_iconv" != yes; then
36334 am_save_LIBS
="$LIBS"
36335 LIBS
="$LIBS -liconv"
36336 cat >conftest.
$ac_ext <<_ACEOF
36339 cat confdefs.h
>>conftest.
$ac_ext
36340 cat >>conftest.
$ac_ext <<_ACEOF
36341 /* end confdefs.h. */
36342 #include <stdlib.h>
36347 iconv_t cd = iconv_open("","");
36348 iconv(cd,NULL,NULL,NULL,NULL);
36354 rm -f conftest.
$ac_objext conftest
$ac_exeext
36355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36356 (eval $ac_link) 2>conftest.er1
36358 grep -v '^ *+' conftest.er1
>conftest.err
36360 cat conftest.err
>&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); } &&
36363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36365 (eval $ac_try) 2>&5
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); }; } &&
36369 { ac_try
='test -s conftest$ac_exeext'
36370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36371 (eval $ac_try) 2>&5
36373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36374 (exit $ac_status); }; }; then
36375 am_cv_lib_iconv
=yes
36376 am_cv_func_iconv
=yes
36378 echo "$as_me: failed program was:" >&5
36379 sed 's/^/| /' conftest.
$ac_ext >&5
36382 rm -f conftest.err conftest.
$ac_objext \
36383 conftest
$ac_exeext conftest.
$ac_ext
36384 LIBS
="$am_save_LIBS"
36388 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36389 echo "${ECHO_T}$am_cv_func_iconv" >&6
36390 if test "$am_cv_func_iconv" = yes; then
36392 cat >>confdefs.h
<<\_ACEOF
36393 #define HAVE_ICONV 1
36396 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36397 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36398 if test "${wx_cv_func_iconv_const+set}" = set; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36401 cat >conftest.
$ac_ext <<_ACEOF
36404 cat confdefs.h
>>conftest.
$ac_ext
36405 cat >>conftest.
$ac_ext <<_ACEOF
36406 /* end confdefs.h. */
36408 #include <stdlib.h>
36414 #if defined(__STDC__) || defined(__cplusplus)
36415 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36428 rm -f conftest.
$ac_objext
36429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36430 (eval $ac_compile) 2>conftest.er1
36432 grep -v '^ *+' conftest.er1
>conftest.err
36434 cat conftest.err
>&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); } &&
36437 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36439 (eval $ac_try) 2>&5
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); }; } &&
36443 { ac_try
='test -s conftest.$ac_objext'
36444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36445 (eval $ac_try) 2>&5
36447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36448 (exit $ac_status); }; }; then
36449 wx_cv_func_iconv_const
="no"
36451 echo "$as_me: failed program was:" >&5
36452 sed 's/^/| /' conftest.
$ac_ext >&5
36454 wx_cv_func_iconv_const
="yes"
36457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36460 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36461 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36464 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36465 iconv_const
="const"
36469 cat >>confdefs.h
<<_ACEOF
36470 #define ICONV_CONST $iconv_const
36475 if test "$am_cv_lib_iconv" = yes; then
36480 LIBS
="$LIBICONV $LIBS"
36482 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36484 for ac_func
in sigaction
36486 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36487 echo "$as_me:$LINENO: checking for $ac_func" >&5
36488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36489 if eval "test \"\${$as_ac_var+set}\" = set"; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36492 cat >conftest.
$ac_ext <<_ACEOF
36495 cat confdefs.h
>>conftest.
$ac_ext
36496 cat >>conftest.
$ac_ext <<_ACEOF
36497 /* end confdefs.h. */
36498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36500 #define $ac_func innocuous_$ac_func
36502 /* System header to define __stub macros and hopefully few prototypes,
36503 which can conflict with char $ac_func (); below.
36504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36505 <limits.h> exists even on freestanding compilers. */
36508 # include <limits.h>
36510 # include <assert.h>
36515 /* Override any gcc2 internal prototype to avoid an error. */
36520 /* We use char because int might match the return type of a gcc2
36521 builtin and then its argument prototype would still apply. */
36523 /* The GNU C library defines this for functions which it implements
36524 to always fail with ENOSYS. Some functions are actually named
36525 something starting with __ and the normal name is an alias. */
36526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36529 char (*f) () = $ac_func;
36538 return f != $ac_func;
36543 rm -f conftest.
$ac_objext conftest
$ac_exeext
36544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36545 (eval $ac_link) 2>conftest.er1
36547 grep -v '^ *+' conftest.er1
>conftest.err
36549 cat conftest.err
>&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); } &&
36552 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36554 (eval $ac_try) 2>&5
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); }; } &&
36558 { ac_try
='test -s conftest$ac_exeext'
36559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36560 (eval $ac_try) 2>&5
36562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36563 (exit $ac_status); }; }; then
36564 eval "$as_ac_var=yes"
36566 echo "$as_me: failed program was:" >&5
36567 sed 's/^/| /' conftest.
$ac_ext >&5
36569 eval "$as_ac_var=no"
36571 rm -f conftest.err conftest.
$ac_objext \
36572 conftest
$ac_exeext conftest.
$ac_ext
36574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36576 if test `eval echo '${'$as_ac_var'}'` = yes; then
36577 cat >>confdefs.h
<<_ACEOF
36578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36585 if test "$ac_cv_func_sigaction" = "no"; then
36586 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36587 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36588 wxUSE_ON_FATAL_EXCEPTION
=no
36591 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36592 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36593 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36594 if test "${wx_cv_type_sa_handler+set}" = set; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36598 cat >conftest.
$ac_ext <<_ACEOF
36601 cat confdefs.h
>>conftest.
$ac_ext
36602 cat >>conftest.
$ac_ext <<_ACEOF
36603 /* end confdefs.h. */
36604 #include <signal.h>
36609 extern void testSigHandler(int);
36611 struct sigaction sa;
36612 sa.sa_handler = testSigHandler;
36618 rm -f conftest.
$ac_objext
36619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36620 (eval $ac_compile) 2>conftest.er1
36622 grep -v '^ *+' conftest.er1
>conftest.err
36624 cat conftest.err
>&5
36625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36626 (exit $ac_status); } &&
36627 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; } &&
36633 { ac_try
='test -s conftest.$ac_objext'
36634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635 (eval $ac_try) 2>&5
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); }; }; then
36640 wx_cv_type_sa_handler
=int
36643 echo "$as_me: failed program was:" >&5
36644 sed 's/^/| /' conftest.
$ac_ext >&5
36647 wx_cv_type_sa_handler
=void
36650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36653 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36654 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36656 cat >>confdefs.h
<<_ACEOF
36657 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36663 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36664 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36665 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36666 if test "${wx_cv_func_backtrace+set}" = set; then
36667 echo $ECHO_N "(cached) $ECHO_C" >&6
36670 cat >conftest.
$ac_ext <<_ACEOF
36673 cat confdefs.h
>>conftest.
$ac_ext
36674 cat >>conftest.
$ac_ext <<_ACEOF
36675 /* end confdefs.h. */
36676 #include <execinfo.h>
36684 backtrace(trace, 1);
36685 messages = backtrace_symbols(trace, 1);
36691 rm -f conftest.
$ac_objext
36692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36693 (eval $ac_compile) 2>conftest.er1
36695 grep -v '^ *+' conftest.er1
>conftest.err
36697 cat conftest.err
>&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } &&
36700 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36702 (eval $ac_try) 2>&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); }; } &&
36706 { ac_try
='test -s conftest.$ac_objext'
36707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36708 (eval $ac_try) 2>&5
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); }; }; then
36712 wx_cv_func_backtrace
=yes
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.
$ac_ext >&5
36717 wx_cv_func_backtrace
=no
36720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36724 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36725 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36728 if test "$wx_cv_func_backtrace" = "no"; then
36729 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36730 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36731 wxUSE_STACKWALKER
=no
36733 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36734 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36735 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36736 echo $ECHO_N "(cached) $ECHO_C" >&6
36739 cat >conftest.
$ac_ext <<_ACEOF
36742 cat confdefs.h
>>conftest.
$ac_ext
36743 cat >>conftest.
$ac_ext <<_ACEOF
36744 /* end confdefs.h. */
36745 #include <cxxabi.h>
36751 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36757 rm -f conftest.
$ac_objext conftest
$ac_exeext
36758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36759 (eval $ac_link) 2>conftest.er1
36761 grep -v '^ *+' conftest.er1
>conftest.err
36763 cat conftest.err
>&5
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); } &&
36766 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768 (eval $ac_try) 2>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; } &&
36772 { ac_try
='test -s conftest$ac_exeext'
36773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774 (eval $ac_try) 2>&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; }; then
36778 wx_cv_func_cxa_demangle
=yes
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.
$ac_ext >&5
36783 wx_cv_func_cxa_demangle
=no
36786 rm -f conftest.err conftest.
$ac_objext \
36787 conftest
$ac_exeext conftest.
$ac_ext
36791 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36792 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36794 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36795 cat >>confdefs.h
<<\_ACEOF
36796 #define HAVE_CXA_DEMANGLE 1
36803 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36804 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36805 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36806 wxUSE_STACKWALKER
=no
36812 for ac_func
in mkstemp mktemp
36814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36815 echo "$as_me:$LINENO: checking for $ac_func" >&5
36816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36817 if eval "test \"\${$as_ac_var+set}\" = set"; then
36818 echo $ECHO_N "(cached) $ECHO_C" >&6
36820 cat >conftest.
$ac_ext <<_ACEOF
36823 cat confdefs.h
>>conftest.
$ac_ext
36824 cat >>conftest.
$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36828 #define $ac_func innocuous_$ac_func
36830 /* System header to define __stub macros and hopefully few prototypes,
36831 which can conflict with char $ac_func (); below.
36832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36833 <limits.h> exists even on freestanding compilers. */
36836 # include <limits.h>
36838 # include <assert.h>
36843 /* Override any gcc2 internal prototype to avoid an error. */
36848 /* We use char because int might match the return type of a gcc2
36849 builtin and then its argument prototype would still apply. */
36851 /* The GNU C library defines this for functions which it implements
36852 to always fail with ENOSYS. Some functions are actually named
36853 something starting with __ and the normal name is an alias. */
36854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36857 char (*f) () = $ac_func;
36866 return f != $ac_func;
36871 rm -f conftest.
$ac_objext conftest
$ac_exeext
36872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36873 (eval $ac_link) 2>conftest.er1
36875 grep -v '^ *+' conftest.er1
>conftest.err
36877 cat conftest.err
>&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } &&
36880 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; } &&
36886 { ac_try
='test -s conftest$ac_exeext'
36887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36888 (eval $ac_try) 2>&5
36890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891 (exit $ac_status); }; }; then
36892 eval "$as_ac_var=yes"
36894 echo "$as_me: failed program was:" >&5
36895 sed 's/^/| /' conftest.
$ac_ext >&5
36897 eval "$as_ac_var=no"
36899 rm -f conftest.err conftest.
$ac_objext \
36900 conftest
$ac_exeext conftest.
$ac_ext
36902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36904 if test `eval echo '${'$as_ac_var'}'` = yes; then
36905 cat >>confdefs.h
<<_ACEOF
36906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36913 echo "$as_me:$LINENO: checking for statfs" >&5
36914 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36915 if test "${wx_cv_func_statfs+set}" = set; then
36916 echo $ECHO_N "(cached) $ECHO_C" >&6
36918 cat >conftest.
$ac_ext <<_ACEOF
36921 cat confdefs.h
>>conftest.
$ac_ext
36922 cat >>conftest.
$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36925 #if defined(__BSD__)
36926 #include <sys/param.h>
36927 #include <sys/mount.h>
36929 #include <sys/vfs.h>
36947 rm -f conftest.
$ac_objext
36948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36949 (eval $ac_compile) 2>conftest.er1
36951 grep -v '^ *+' conftest.er1
>conftest.err
36953 cat conftest.err
>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } &&
36956 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; } &&
36962 { ac_try
='test -s conftest.$ac_objext'
36963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36964 (eval $ac_try) 2>&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); }; }; then
36968 wx_cv_func_statfs
=yes
36970 echo "$as_me: failed program was:" >&5
36971 sed 's/^/| /' conftest.
$ac_ext >&5
36973 wx_cv_func_statfs
=no
36976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36979 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36980 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36982 if test "$wx_cv_func_statfs" = "yes"; then
36983 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36984 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36985 if test "${wx_cv_func_statfs_decl+set}" = set; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36988 cat >conftest.
$ac_ext <<_ACEOF
36991 cat confdefs.h
>>conftest.
$ac_ext
36992 cat >>conftest.
$ac_ext <<_ACEOF
36993 /* end confdefs.h. */
36995 #if defined(__BSD__)
36996 #include <sys/param.h>
36997 #include <sys/mount.h>
36999 #include <sys/vfs.h>
37013 rm -f conftest.
$ac_objext
37014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37015 (eval $ac_compile) 2>conftest.er1
37017 grep -v '^ *+' conftest.er1
>conftest.err
37019 cat conftest.err
>&5
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); } &&
37022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37024 (eval $ac_try) 2>&5
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); }; } &&
37028 { ac_try
='test -s conftest.$ac_objext'
37029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37030 (eval $ac_try) 2>&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); }; }; then
37034 wx_cv_func_statfs_decl
=yes
37036 echo "$as_me: failed program was:" >&5
37037 sed 's/^/| /' conftest.
$ac_ext >&5
37039 wx_cv_func_statfs_decl
=no
37042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37045 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37046 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37048 if test "$wx_cv_func_statfs_decl" = "yes"; then
37049 cat >>confdefs.h
<<\_ACEOF
37050 #define HAVE_STATFS_DECL 1
37055 wx_cv_type_statvfs_t
="struct statfs"
37056 cat >>confdefs.h
<<\_ACEOF
37057 #define HAVE_STATFS 1
37061 echo "$as_me:$LINENO: checking for statvfs" >&5
37062 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37063 if test "${wx_cv_func_statvfs+set}" = set; then
37064 echo $ECHO_N "(cached) $ECHO_C" >&6
37066 cat >conftest.
$ac_ext <<_ACEOF
37069 cat confdefs.h
>>conftest.
$ac_ext
37070 cat >>conftest.
$ac_ext <<_ACEOF
37071 /* end confdefs.h. */
37073 #include <stddef.h>
37074 #include <sys/statvfs.h>
37080 statvfs("/", NULL);
37086 rm -f conftest.
$ac_objext
37087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37088 (eval $ac_compile) 2>conftest.er1
37090 grep -v '^ *+' conftest.er1
>conftest.err
37092 cat conftest.err
>&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); } &&
37095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097 (eval $ac_try) 2>&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); }; } &&
37101 { ac_try
='test -s conftest.$ac_objext'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; }; then
37107 wx_cv_func_statvfs
=yes
37109 echo "$as_me: failed program was:" >&5
37110 sed 's/^/| /' conftest.
$ac_ext >&5
37112 wx_cv_func_statvfs
=no
37115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37118 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37119 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37121 if test "$wx_cv_func_statvfs" = "yes"; then
37122 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37123 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37124 if test "${wx_cv_type_statvfs_t+set}" = set; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37127 cat >conftest.
$ac_ext <<_ACEOF
37130 cat confdefs.h
>>conftest.
$ac_ext
37131 cat >>conftest.
$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37134 #include <sys/statvfs.h>
37151 rm -f conftest.
$ac_objext
37152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37153 (eval $ac_compile) 2>conftest.er1
37155 grep -v '^ *+' conftest.er1
>conftest.err
37157 cat conftest.err
>&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); } &&
37160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37162 (eval $ac_try) 2>&5
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); }; } &&
37166 { ac_try
='test -s conftest.$ac_objext'
37167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37168 (eval $ac_try) 2>&5
37170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37171 (exit $ac_status); }; }; then
37172 wx_cv_type_statvfs_t
=statvfs_t
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.
$ac_ext >&5
37178 cat >conftest.
$ac_ext <<_ACEOF
37181 cat confdefs.h
>>conftest.
$ac_ext
37182 cat >>conftest.
$ac_ext <<_ACEOF
37183 /* end confdefs.h. */
37185 #include <sys/statvfs.h>
37202 rm -f conftest.
$ac_objext
37203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37204 (eval $ac_compile) 2>conftest.er1
37206 grep -v '^ *+' conftest.er1
>conftest.err
37208 cat conftest.err
>&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } &&
37211 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37213 (eval $ac_try) 2>&5
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); }; } &&
37217 { ac_try
='test -s conftest.$ac_objext'
37218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37219 (eval $ac_try) 2>&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); }; }; then
37223 wx_cv_type_statvfs_t
="struct statvfs"
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.
$ac_ext >&5
37228 wx_cv_type_statvfs_t
="unknown"
37231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37238 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37239 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37241 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37242 cat >>confdefs.h
<<\_ACEOF
37243 #define HAVE_STATVFS 1
37248 wx_cv_type_statvfs_t
="unknown"
37252 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37253 cat >>confdefs.h
<<_ACEOF
37254 #define WX_STATFS_T $wx_cv_type_statvfs_t
37258 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37259 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37262 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37265 for ac_func
in fcntl flock
37267 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37268 echo "$as_me:$LINENO: checking for $ac_func" >&5
37269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37270 if eval "test \"\${$as_ac_var+set}\" = set"; then
37271 echo $ECHO_N "(cached) $ECHO_C" >&6
37273 cat >conftest.
$ac_ext <<_ACEOF
37276 cat confdefs.h
>>conftest.
$ac_ext
37277 cat >>conftest.
$ac_ext <<_ACEOF
37278 /* end confdefs.h. */
37279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37281 #define $ac_func innocuous_$ac_func
37283 /* System header to define __stub macros and hopefully few prototypes,
37284 which can conflict with char $ac_func (); below.
37285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37286 <limits.h> exists even on freestanding compilers. */
37289 # include <limits.h>
37291 # include <assert.h>
37296 /* Override any gcc2 internal prototype to avoid an error. */
37301 /* We use char because int might match the return type of a gcc2
37302 builtin and then its argument prototype would still apply. */
37304 /* The GNU C library defines this for functions which it implements
37305 to always fail with ENOSYS. Some functions are actually named
37306 something starting with __ and the normal name is an alias. */
37307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37310 char (*f) () = $ac_func;
37319 return f != $ac_func;
37324 rm -f conftest.
$ac_objext conftest
$ac_exeext
37325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37326 (eval $ac_link) 2>conftest.er1
37328 grep -v '^ *+' conftest.er1
>conftest.err
37330 cat conftest.err
>&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); } &&
37333 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37335 (eval $ac_try) 2>&5
37337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37338 (exit $ac_status); }; } &&
37339 { ac_try
='test -s conftest$ac_exeext'
37340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37341 (eval $ac_try) 2>&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); }; }; then
37345 eval "$as_ac_var=yes"
37347 echo "$as_me: failed program was:" >&5
37348 sed 's/^/| /' conftest.
$ac_ext >&5
37350 eval "$as_ac_var=no"
37352 rm -f conftest.err conftest.
$ac_objext \
37353 conftest
$ac_exeext conftest.
$ac_ext
37355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37357 if test `eval echo '${'$as_ac_var'}'` = yes; then
37358 cat >>confdefs.h
<<_ACEOF
37359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37366 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37367 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37368 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37369 wxUSE_SNGLINST_CHECKER
=no
37374 for ac_func
in timegm
37376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37377 echo "$as_me:$LINENO: checking for $ac_func" >&5
37378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37379 if eval "test \"\${$as_ac_var+set}\" = set"; then
37380 echo $ECHO_N "(cached) $ECHO_C" >&6
37382 cat >conftest.
$ac_ext <<_ACEOF
37385 cat confdefs.h
>>conftest.
$ac_ext
37386 cat >>conftest.
$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37390 #define $ac_func innocuous_$ac_func
37392 /* System header to define __stub macros and hopefully few prototypes,
37393 which can conflict with char $ac_func (); below.
37394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37395 <limits.h> exists even on freestanding compilers. */
37398 # include <limits.h>
37400 # include <assert.h>
37405 /* Override any gcc2 internal prototype to avoid an error. */
37410 /* We use char because int might match the return type of a gcc2
37411 builtin and then its argument prototype would still apply. */
37413 /* The GNU C library defines this for functions which it implements
37414 to always fail with ENOSYS. Some functions are actually named
37415 something starting with __ and the normal name is an alias. */
37416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37419 char (*f) () = $ac_func;
37428 return f != $ac_func;
37433 rm -f conftest.
$ac_objext conftest
$ac_exeext
37434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37435 (eval $ac_link) 2>conftest.er1
37437 grep -v '^ *+' conftest.er1
>conftest.err
37439 cat conftest.err
>&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); } &&
37442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37444 (eval $ac_try) 2>&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); }; } &&
37448 { ac_try
='test -s conftest$ac_exeext'
37449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37450 (eval $ac_try) 2>&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); }; }; then
37454 eval "$as_ac_var=yes"
37456 echo "$as_me: failed program was:" >&5
37457 sed 's/^/| /' conftest.
$ac_ext >&5
37459 eval "$as_ac_var=no"
37461 rm -f conftest.err conftest.
$ac_objext \
37462 conftest
$ac_exeext conftest.
$ac_ext
37464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37466 if test `eval echo '${'$as_ac_var'}'` = yes; then
37467 cat >>confdefs.h
<<_ACEOF
37468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37477 for ac_func
in putenv setenv
37479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37480 echo "$as_me:$LINENO: checking for $ac_func" >&5
37481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37482 if eval "test \"\${$as_ac_var+set}\" = set"; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37485 cat >conftest.
$ac_ext <<_ACEOF
37488 cat confdefs.h
>>conftest.
$ac_ext
37489 cat >>conftest.
$ac_ext <<_ACEOF
37490 /* end confdefs.h. */
37491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37493 #define $ac_func innocuous_$ac_func
37495 /* System header to define __stub macros and hopefully few prototypes,
37496 which can conflict with char $ac_func (); below.
37497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37498 <limits.h> exists even on freestanding compilers. */
37501 # include <limits.h>
37503 # include <assert.h>
37508 /* Override any gcc2 internal prototype to avoid an error. */
37513 /* We use char because int might match the return type of a gcc2
37514 builtin and then its argument prototype would still apply. */
37516 /* The GNU C library defines this for functions which it implements
37517 to always fail with ENOSYS. Some functions are actually named
37518 something starting with __ and the normal name is an alias. */
37519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37522 char (*f) () = $ac_func;
37531 return f != $ac_func;
37536 rm -f conftest.
$ac_objext conftest
$ac_exeext
37537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37538 (eval $ac_link) 2>conftest.er1
37540 grep -v '^ *+' conftest.er1
>conftest.err
37542 cat conftest.err
>&5
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); } &&
37545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37547 (eval $ac_try) 2>&5
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); }; } &&
37551 { ac_try
='test -s conftest$ac_exeext'
37552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37553 (eval $ac_try) 2>&5
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); }; }; then
37557 eval "$as_ac_var=yes"
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.
$ac_ext >&5
37562 eval "$as_ac_var=no"
37564 rm -f conftest.err conftest.
$ac_objext \
37565 conftest
$ac_exeext conftest.
$ac_ext
37567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37569 if test `eval echo '${'$as_ac_var'}'` = yes; then
37570 cat >>confdefs.h
<<_ACEOF
37571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37578 HAVE_SOME_SLEEP_FUNC
=0
37579 if test "$USE_BEOS" = 1; then
37580 cat >>confdefs.h
<<\_ACEOF
37581 #define HAVE_SLEEP 1
37584 HAVE_SOME_SLEEP_FUNC
=1
37587 if test "$USE_DARWIN" = 1; then
37588 cat >>confdefs.h
<<\_ACEOF
37589 #define HAVE_USLEEP 1
37592 HAVE_SOME_SLEEP_FUNC
=1
37595 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37598 for ac_func
in nanosleep
37600 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37601 echo "$as_me:$LINENO: checking for $ac_func" >&5
37602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37603 if eval "test \"\${$as_ac_var+set}\" = set"; then
37604 echo $ECHO_N "(cached) $ECHO_C" >&6
37606 cat >conftest.
$ac_ext <<_ACEOF
37609 cat confdefs.h
>>conftest.
$ac_ext
37610 cat >>conftest.
$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37614 #define $ac_func innocuous_$ac_func
37616 /* System header to define __stub macros and hopefully few prototypes,
37617 which can conflict with char $ac_func (); below.
37618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37619 <limits.h> exists even on freestanding compilers. */
37622 # include <limits.h>
37624 # include <assert.h>
37629 /* Override any gcc2 internal prototype to avoid an error. */
37634 /* We use char because int might match the return type of a gcc2
37635 builtin and then its argument prototype would still apply. */
37637 /* The GNU C library defines this for functions which it implements
37638 to always fail with ENOSYS. Some functions are actually named
37639 something starting with __ and the normal name is an alias. */
37640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37643 char (*f) () = $ac_func;
37652 return f != $ac_func;
37657 rm -f conftest.
$ac_objext conftest
$ac_exeext
37658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37659 (eval $ac_link) 2>conftest.er1
37661 grep -v '^ *+' conftest.er1
>conftest.err
37663 cat conftest.err
>&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); } &&
37666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; } &&
37672 { ac_try
='test -s conftest$ac_exeext'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; }; then
37678 eval "$as_ac_var=yes"
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.
$ac_ext >&5
37683 eval "$as_ac_var=no"
37685 rm -f conftest.err conftest.
$ac_objext \
37686 conftest
$ac_exeext conftest.
$ac_ext
37688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37690 if test `eval echo '${'$as_ac_var'}'` = yes; then
37691 cat >>confdefs.h
<<_ACEOF
37692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37694 cat >>confdefs.h
<<\_ACEOF
37695 #define HAVE_NANOSLEEP 1
37700 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37701 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37702 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37705 ac_check_lib_save_LIBS
=$LIBS
37706 LIBS
="-lposix4 $LIBS"
37707 cat >conftest.
$ac_ext <<_ACEOF
37710 cat confdefs.h
>>conftest.
$ac_ext
37711 cat >>conftest.
$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37714 /* Override any gcc2 internal prototype to avoid an error. */
37718 /* We use char because int might match the return type of a gcc2
37719 builtin and then its argument prototype would still apply. */
37729 rm -f conftest.
$ac_objext conftest
$ac_exeext
37730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37731 (eval $ac_link) 2>conftest.er1
37733 grep -v '^ *+' conftest.er1
>conftest.err
37735 cat conftest.err
>&5
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); } &&
37738 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37740 (eval $ac_try) 2>&5
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); }; } &&
37744 { ac_try
='test -s conftest$ac_exeext'
37745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37746 (eval $ac_try) 2>&5
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); }; }; then
37750 ac_cv_lib_posix4_nanosleep
=yes
37752 echo "$as_me: failed program was:" >&5
37753 sed 's/^/| /' conftest.
$ac_ext >&5
37755 ac_cv_lib_posix4_nanosleep
=no
37757 rm -f conftest.err conftest.
$ac_objext \
37758 conftest
$ac_exeext conftest.
$ac_ext
37759 LIBS
=$ac_check_lib_save_LIBS
37761 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37762 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37763 if test $ac_cv_lib_posix4_nanosleep = yes; then
37765 cat >>confdefs.h
<<\_ACEOF
37766 #define HAVE_NANOSLEEP 1
37769 POSIX4_LINK
=" -lposix4"
37774 for ac_func
in usleep
37776 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37777 echo "$as_me:$LINENO: checking for $ac_func" >&5
37778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37779 if eval "test \"\${$as_ac_var+set}\" = set"; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37782 cat >conftest.
$ac_ext <<_ACEOF
37785 cat confdefs.h
>>conftest.
$ac_ext
37786 cat >>conftest.
$ac_ext <<_ACEOF
37787 /* end confdefs.h. */
37788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37790 #define $ac_func innocuous_$ac_func
37792 /* System header to define __stub macros and hopefully few prototypes,
37793 which can conflict with char $ac_func (); below.
37794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37795 <limits.h> exists even on freestanding compilers. */
37798 # include <limits.h>
37800 # include <assert.h>
37805 /* Override any gcc2 internal prototype to avoid an error. */
37810 /* We use char because int might match the return type of a gcc2
37811 builtin and then its argument prototype would still apply. */
37813 /* The GNU C library defines this for functions which it implements
37814 to always fail with ENOSYS. Some functions are actually named
37815 something starting with __ and the normal name is an alias. */
37816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37819 char (*f) () = $ac_func;
37828 return f != $ac_func;
37833 rm -f conftest.
$ac_objext conftest
$ac_exeext
37834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37835 (eval $ac_link) 2>conftest.er1
37837 grep -v '^ *+' conftest.er1
>conftest.err
37839 cat conftest.err
>&5
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); } &&
37842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37844 (eval $ac_try) 2>&5
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); }; } &&
37848 { ac_try
='test -s conftest$ac_exeext'
37849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850 (eval $ac_try) 2>&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); }; }; then
37854 eval "$as_ac_var=yes"
37856 echo "$as_me: failed program was:" >&5
37857 sed 's/^/| /' conftest.
$ac_ext >&5
37859 eval "$as_ac_var=no"
37861 rm -f conftest.err conftest.
$ac_objext \
37862 conftest
$ac_exeext conftest.
$ac_ext
37864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37866 if test `eval echo '${'$as_ac_var'}'` = yes; then
37867 cat >>confdefs.h
<<_ACEOF
37868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37870 cat >>confdefs.h
<<\_ACEOF
37871 #define HAVE_USLEEP 1
37875 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37876 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37894 for ac_func
in uname gethostname
37896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37897 echo "$as_me:$LINENO: checking for $ac_func" >&5
37898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37899 if eval "test \"\${$as_ac_var+set}\" = set"; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37902 cat >conftest.
$ac_ext <<_ACEOF
37905 cat confdefs.h
>>conftest.
$ac_ext
37906 cat >>conftest.
$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37910 #define $ac_func innocuous_$ac_func
37912 /* System header to define __stub macros and hopefully few prototypes,
37913 which can conflict with char $ac_func (); below.
37914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37915 <limits.h> exists even on freestanding compilers. */
37918 # include <limits.h>
37920 # include <assert.h>
37925 /* Override any gcc2 internal prototype to avoid an error. */
37930 /* We use char because int might match the return type of a gcc2
37931 builtin and then its argument prototype would still apply. */
37933 /* The GNU C library defines this for functions which it implements
37934 to always fail with ENOSYS. Some functions are actually named
37935 something starting with __ and the normal name is an alias. */
37936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37939 char (*f) () = $ac_func;
37948 return f != $ac_func;
37953 rm -f conftest.
$ac_objext conftest
$ac_exeext
37954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37955 (eval $ac_link) 2>conftest.er1
37957 grep -v '^ *+' conftest.er1
>conftest.err
37959 cat conftest.err
>&5
37960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37961 (exit $ac_status); } &&
37962 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37964 (eval $ac_try) 2>&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); }; } &&
37968 { ac_try
='test -s conftest$ac_exeext'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; }; then
37974 eval "$as_ac_var=yes"
37976 echo "$as_me: failed program was:" >&5
37977 sed 's/^/| /' conftest.
$ac_ext >&5
37979 eval "$as_ac_var=no"
37981 rm -f conftest.err conftest.
$ac_objext \
37982 conftest
$ac_exeext conftest.
$ac_ext
37984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37986 if test `eval echo '${'$as_ac_var'}'` = yes; then
37987 cat >>confdefs.h
<<_ACEOF
37988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37996 for wx_func
in strtok_r
37998 echo "$as_me:$LINENO: checking for $wx_func" >&5
37999 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38000 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38001 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 cat >conftest.
$ac_ext <<_ACEOF
38008 cat confdefs.h
>>conftest.
$ac_ext
38009 cat >>conftest.
$ac_ext <<_ACEOF
38010 /* end confdefs.h. */
38013 $ac_includes_default
38029 rm -f conftest.
$ac_objext conftest
$ac_exeext
38030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38031 (eval $ac_link) 2>conftest.er1
38033 grep -v '^ *+' conftest.er1
>conftest.err
38035 cat conftest.err
>&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } &&
38038 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
38044 { ac_try
='test -s conftest$ac_exeext'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; }; then
38050 eval wx_cv_func_
$wx_func=yes
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.
$ac_ext >&5
38055 eval wx_cv_func_
$wx_func=no
38057 rm -f conftest.err conftest.
$ac_objext \
38058 conftest
$ac_exeext conftest.
$ac_ext
38061 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38062 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38064 if eval test \
$wx_cv_func_$wx_func = yes
38066 cat >>confdefs.h
<<_ACEOF
38067 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38080 for ac_func
in inet_addr
38082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38083 echo "$as_me:$LINENO: checking for $ac_func" >&5
38084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38085 if eval "test \"\${$as_ac_var+set}\" = set"; then
38086 echo $ECHO_N "(cached) $ECHO_C" >&6
38088 cat >conftest.
$ac_ext <<_ACEOF
38091 cat confdefs.h
>>conftest.
$ac_ext
38092 cat >>conftest.
$ac_ext <<_ACEOF
38093 /* end confdefs.h. */
38094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38096 #define $ac_func innocuous_$ac_func
38098 /* System header to define __stub macros and hopefully few prototypes,
38099 which can conflict with char $ac_func (); below.
38100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38101 <limits.h> exists even on freestanding compilers. */
38104 # include <limits.h>
38106 # include <assert.h>
38111 /* Override any gcc2 internal prototype to avoid an error. */
38116 /* We use char because int might match the return type of a gcc2
38117 builtin and then its argument prototype would still apply. */
38119 /* The GNU C library defines this for functions which it implements
38120 to always fail with ENOSYS. Some functions are actually named
38121 something starting with __ and the normal name is an alias. */
38122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38125 char (*f) () = $ac_func;
38134 return f != $ac_func;
38139 rm -f conftest.
$ac_objext conftest
$ac_exeext
38140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38141 (eval $ac_link) 2>conftest.er1
38143 grep -v '^ *+' conftest.er1
>conftest.err
38145 cat conftest.err
>&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } &&
38148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38150 (eval $ac_try) 2>&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); }; } &&
38154 { ac_try
='test -s conftest$ac_exeext'
38155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156 (eval $ac_try) 2>&5
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); }; }; then
38160 eval "$as_ac_var=yes"
38162 echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.
$ac_ext >&5
38165 eval "$as_ac_var=no"
38167 rm -f conftest.err conftest.
$ac_objext \
38168 conftest
$ac_exeext conftest.
$ac_ext
38170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38172 if test `eval echo '${'$as_ac_var'}'` = yes; then
38173 cat >>confdefs.h
<<_ACEOF
38174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38176 cat >>confdefs.h
<<\_ACEOF
38177 #define HAVE_INET_ADDR 1
38182 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38183 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38184 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38185 echo $ECHO_N "(cached) $ECHO_C" >&6
38187 ac_check_lib_save_LIBS
=$LIBS
38189 cat >conftest.
$ac_ext <<_ACEOF
38192 cat confdefs.h
>>conftest.
$ac_ext
38193 cat >>conftest.
$ac_ext <<_ACEOF
38194 /* end confdefs.h. */
38196 /* Override any gcc2 internal prototype to avoid an error. */
38200 /* We use char because int might match the return type of a gcc2
38201 builtin and then its argument prototype would still apply. */
38211 rm -f conftest.
$ac_objext conftest
$ac_exeext
38212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38213 (eval $ac_link) 2>conftest.er1
38215 grep -v '^ *+' conftest.er1
>conftest.err
38217 cat conftest.err
>&5
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); } &&
38220 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222 (eval $ac_try) 2>&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); }; } &&
38226 { ac_try
='test -s conftest$ac_exeext'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; }; then
38232 ac_cv_lib_nsl_inet_addr
=yes
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.
$ac_ext >&5
38237 ac_cv_lib_nsl_inet_addr
=no
38239 rm -f conftest.err conftest.
$ac_objext \
38240 conftest
$ac_exeext conftest.
$ac_ext
38241 LIBS
=$ac_check_lib_save_LIBS
38243 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38244 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38245 if test $ac_cv_lib_nsl_inet_addr = yes; then
38249 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38250 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38251 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38252 echo $ECHO_N "(cached) $ECHO_C" >&6
38254 ac_check_lib_save_LIBS
=$LIBS
38255 LIBS
="-lresolv $LIBS"
38256 cat >conftest.
$ac_ext <<_ACEOF
38259 cat confdefs.h
>>conftest.
$ac_ext
38260 cat >>conftest.
$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38263 /* Override any gcc2 internal prototype to avoid an error. */
38267 /* We use char because int might match the return type of a gcc2
38268 builtin and then its argument prototype would still apply. */
38278 rm -f conftest.
$ac_objext conftest
$ac_exeext
38279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38280 (eval $ac_link) 2>conftest.er1
38282 grep -v '^ *+' conftest.er1
>conftest.err
38284 cat conftest.err
>&5
38285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38286 (exit $ac_status); } &&
38287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38289 (eval $ac_try) 2>&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); }; } &&
38293 { ac_try
='test -s conftest$ac_exeext'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; }; then
38299 ac_cv_lib_resolv_inet_addr
=yes
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.
$ac_ext >&5
38304 ac_cv_lib_resolv_inet_addr
=no
38306 rm -f conftest.err conftest.
$ac_objext \
38307 conftest
$ac_exeext conftest.
$ac_ext
38308 LIBS
=$ac_check_lib_save_LIBS
38310 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38311 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38312 if test $ac_cv_lib_resolv_inet_addr = yes; then
38316 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38317 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38318 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38319 echo $ECHO_N "(cached) $ECHO_C" >&6
38321 ac_check_lib_save_LIBS
=$LIBS
38322 LIBS
="-lsocket $LIBS"
38323 cat >conftest.
$ac_ext <<_ACEOF
38326 cat confdefs.h
>>conftest.
$ac_ext
38327 cat >>conftest.
$ac_ext <<_ACEOF
38328 /* end confdefs.h. */
38330 /* Override any gcc2 internal prototype to avoid an error. */
38334 /* We use char because int might match the return type of a gcc2
38335 builtin and then its argument prototype would still apply. */
38345 rm -f conftest.
$ac_objext conftest
$ac_exeext
38346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38347 (eval $ac_link) 2>conftest.er1
38349 grep -v '^ *+' conftest.er1
>conftest.err
38351 cat conftest.err
>&5
38352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353 (exit $ac_status); } &&
38354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38356 (eval $ac_try) 2>&5
38358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38359 (exit $ac_status); }; } &&
38360 { ac_try
='test -s conftest$ac_exeext'
38361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38362 (eval $ac_try) 2>&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); }; }; then
38366 ac_cv_lib_socket_inet_addr
=yes
38368 echo "$as_me: failed program was:" >&5
38369 sed 's/^/| /' conftest.
$ac_ext >&5
38371 ac_cv_lib_socket_inet_addr
=no
38373 rm -f conftest.err conftest.
$ac_objext \
38374 conftest
$ac_exeext conftest.
$ac_ext
38375 LIBS
=$ac_check_lib_save_LIBS
38377 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38378 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38379 if test $ac_cv_lib_socket_inet_addr = yes; then
38399 for ac_func
in inet_aton
38401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38402 echo "$as_me:$LINENO: checking for $ac_func" >&5
38403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38404 if eval "test \"\${$as_ac_var+set}\" = set"; then
38405 echo $ECHO_N "(cached) $ECHO_C" >&6
38407 cat >conftest.
$ac_ext <<_ACEOF
38410 cat confdefs.h
>>conftest.
$ac_ext
38411 cat >>conftest.
$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38415 #define $ac_func innocuous_$ac_func
38417 /* System header to define __stub macros and hopefully few prototypes,
38418 which can conflict with char $ac_func (); below.
38419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38420 <limits.h> exists even on freestanding compilers. */
38423 # include <limits.h>
38425 # include <assert.h>
38430 /* Override any gcc2 internal prototype to avoid an error. */
38435 /* We use char because int might match the return type of a gcc2
38436 builtin and then its argument prototype would still apply. */
38438 /* The GNU C library defines this for functions which it implements
38439 to always fail with ENOSYS. Some functions are actually named
38440 something starting with __ and the normal name is an alias. */
38441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38444 char (*f) () = $ac_func;
38453 return f != $ac_func;
38458 rm -f conftest.
$ac_objext conftest
$ac_exeext
38459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38460 (eval $ac_link) 2>conftest.er1
38462 grep -v '^ *+' conftest.er1
>conftest.err
38464 cat conftest.err
>&5
38465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38466 (exit $ac_status); } &&
38467 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38469 (eval $ac_try) 2>&5
38471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472 (exit $ac_status); }; } &&
38473 { ac_try
='test -s conftest$ac_exeext'
38474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38475 (eval $ac_try) 2>&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); }; }; then
38479 eval "$as_ac_var=yes"
38481 echo "$as_me: failed program was:" >&5
38482 sed 's/^/| /' conftest.
$ac_ext >&5
38484 eval "$as_ac_var=no"
38486 rm -f conftest.err conftest.
$ac_objext \
38487 conftest
$ac_exeext conftest.
$ac_ext
38489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38491 if test `eval echo '${'$as_ac_var'}'` = yes; then
38492 cat >>confdefs.h
<<_ACEOF
38493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38495 cat >>confdefs.h
<<\_ACEOF
38496 #define HAVE_INET_ATON 1
38501 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38502 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38503 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38504 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38505 echo $ECHO_N "(cached) $ECHO_C" >&6
38507 ac_check_lib_save_LIBS
=$LIBS
38508 LIBS
="-l$INET_LINK $LIBS"
38509 cat >conftest.
$ac_ext <<_ACEOF
38512 cat confdefs.h
>>conftest.
$ac_ext
38513 cat >>conftest.
$ac_ext <<_ACEOF
38514 /* end confdefs.h. */
38516 /* Override any gcc2 internal prototype to avoid an error. */
38520 /* We use char because int might match the return type of a gcc2
38521 builtin and then its argument prototype would still apply. */
38531 rm -f conftest.
$ac_objext conftest
$ac_exeext
38532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38533 (eval $ac_link) 2>conftest.er1
38535 grep -v '^ *+' conftest.er1
>conftest.err
38537 cat conftest.err
>&5
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); } &&
38540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38542 (eval $ac_try) 2>&5
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); }; } &&
38546 { ac_try
='test -s conftest$ac_exeext'
38547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38548 (eval $ac_try) 2>&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); }; }; then
38552 eval "$as_ac_Lib=yes"
38554 echo "$as_me: failed program was:" >&5
38555 sed 's/^/| /' conftest.
$ac_ext >&5
38557 eval "$as_ac_Lib=no"
38559 rm -f conftest.err conftest.
$ac_objext \
38560 conftest
$ac_exeext conftest.
$ac_ext
38561 LIBS
=$ac_check_lib_save_LIBS
38563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38564 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38565 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38566 cat >>confdefs.h
<<\_ACEOF
38567 #define HAVE_INET_ATON 1
38577 if test "x$INET_LINK" != "x"; then
38578 cat >>confdefs.h
<<\_ACEOF
38579 #define HAVE_INET_ADDR 1
38582 INET_LINK
=" -l$INET_LINK"
38586 for wx_func
in fdopen
38588 echo "$as_me:$LINENO: checking for $wx_func" >&5
38589 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38590 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38591 echo $ECHO_N "(cached) $ECHO_C" >&6
38594 cat >conftest.
$ac_ext <<_ACEOF
38598 cat confdefs.h
>>conftest.
$ac_ext
38599 cat >>conftest.
$ac_ext <<_ACEOF
38600 /* end confdefs.h. */
38603 $ac_includes_default
38619 rm -f conftest.
$ac_objext conftest
$ac_exeext
38620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38621 (eval $ac_link) 2>conftest.er1
38623 grep -v '^ *+' conftest.er1
>conftest.err
38625 cat conftest.err
>&5
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); } &&
38628 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38630 (eval $ac_try) 2>&5
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); }; } &&
38634 { ac_try
='test -s conftest$ac_exeext'
38635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38636 (eval $ac_try) 2>&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); }; }; then
38640 eval wx_cv_func_
$wx_func=yes
38642 echo "$as_me: failed program was:" >&5
38643 sed 's/^/| /' conftest.
$ac_ext >&5
38645 eval wx_cv_func_
$wx_func=no
38647 rm -f conftest.err conftest.
$ac_objext \
38648 conftest
$ac_exeext conftest.
$ac_ext
38651 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38652 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38654 if eval test \
$wx_cv_func_$wx_func = yes
38656 cat >>confdefs.h
<<_ACEOF
38657 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38674 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38675 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38676 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38677 echo $ECHO_N "(cached) $ECHO_C" >&6
38679 ac_check_lib_save_LIBS
=$LIBS
38681 cat >conftest.
$ac_ext <<_ACEOF
38684 cat confdefs.h
>>conftest.
$ac_ext
38685 cat >>conftest.
$ac_ext <<_ACEOF
38686 /* end confdefs.h. */
38688 /* Override any gcc2 internal prototype to avoid an error. */
38692 /* We use char because int might match the return type of a gcc2
38693 builtin and then its argument prototype would still apply. */
38703 rm -f conftest.
$ac_objext conftest
$ac_exeext
38704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38705 (eval $ac_link) 2>conftest.er1
38707 grep -v '^ *+' conftest.er1
>conftest.err
38709 cat conftest.err
>&5
38710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38711 (exit $ac_status); } &&
38712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38714 (eval $ac_try) 2>&5
38716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38717 (exit $ac_status); }; } &&
38718 { ac_try
='test -s conftest$ac_exeext'
38719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38720 (eval $ac_try) 2>&5
38722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38723 (exit $ac_status); }; }; then
38724 ac_cv_lib_esd_esd_close
=yes
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.
$ac_ext >&5
38729 ac_cv_lib_esd_esd_close
=no
38731 rm -f conftest.err conftest.
$ac_objext \
38732 conftest
$ac_exeext conftest.
$ac_ext
38733 LIBS
=$ac_check_lib_save_LIBS
38735 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38736 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38737 if test $ac_cv_lib_esd_esd_close = yes; then
38740 for ac_header
in esd.h
38742 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38744 echo "$as_me:$LINENO: checking for $ac_header" >&5
38745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38747 echo $ECHO_N "(cached) $ECHO_C" >&6
38749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38752 # Is the header compilable?
38753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38755 cat >conftest.
$ac_ext <<_ACEOF
38758 cat confdefs.h
>>conftest.
$ac_ext
38759 cat >>conftest.
$ac_ext <<_ACEOF
38760 /* end confdefs.h. */
38761 $ac_includes_default
38762 #include <$ac_header>
38764 rm -f conftest.
$ac_objext
38765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38766 (eval $ac_compile) 2>conftest.er1
38768 grep -v '^ *+' conftest.er1
>conftest.err
38770 cat conftest.err
>&5
38771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772 (exit $ac_status); } &&
38773 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38775 (eval $ac_try) 2>&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); }; } &&
38779 { ac_try
='test -s conftest.$ac_objext'
38780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38781 (eval $ac_try) 2>&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); }; }; then
38785 ac_header_compiler
=yes
38787 echo "$as_me: failed program was:" >&5
38788 sed 's/^/| /' conftest.
$ac_ext >&5
38790 ac_header_compiler
=no
38792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38794 echo "${ECHO_T}$ac_header_compiler" >&6
38796 # Is the header present?
38797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38799 cat >conftest.
$ac_ext <<_ACEOF
38802 cat confdefs.h
>>conftest.
$ac_ext
38803 cat >>conftest.
$ac_ext <<_ACEOF
38804 /* end confdefs.h. */
38805 #include <$ac_header>
38807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38810 grep -v '^ *+' conftest.er1
>conftest.err
38812 cat conftest.err
>&5
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); } >/dev
/null
; then
38815 if test -s conftest.err
; then
38816 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38817 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38824 if test -z "$ac_cpp_err"; then
38825 ac_header_preproc
=yes
38827 echo "$as_me: failed program was:" >&5
38828 sed 's/^/| /' conftest.
$ac_ext >&5
38830 ac_header_preproc
=no
38832 rm -f conftest.err conftest.
$ac_ext
38833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38834 echo "${ECHO_T}$ac_header_preproc" >&6
38836 # So? What about this header?
38837 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38843 ac_header_preproc
=yes
38846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38860 ## ----------------------------------------- ##
38861 ## Report this to wx-dev@lists.wxwidgets.org ##
38862 ## ----------------------------------------- ##
38865 sed "s/^/$as_me: WARNING: /" >&2
38868 echo "$as_me:$LINENO: checking for $ac_header" >&5
38869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38871 echo $ECHO_N "(cached) $ECHO_C" >&6
38873 eval "$as_ac_Header=\$ac_header_preproc"
38875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38880 cat >>confdefs.h
<<_ACEOF
38881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38884 EXTRALIBS_ESD
="-lesd"
38895 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38896 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38897 cat >conftest.
$ac_ext <<_ACEOF
38900 cat confdefs.h
>>conftest.
$ac_ext
38901 cat >>conftest.
$ac_ext <<_ACEOF
38902 /* end confdefs.h. */
38904 #include <linux/cdrom.h>
38907 #include <sys/cdio.h>
38913 struct cdrom_tocentry entry, old_entry;
38918 rm -f conftest.
$ac_objext
38919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38920 (eval $ac_compile) 2>conftest.er1
38922 grep -v '^ *+' conftest.er1
>conftest.err
38924 cat conftest.err
>&5
38925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926 (exit $ac_status); } &&
38927 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38929 (eval $ac_try) 2>&5
38931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38932 (exit $ac_status); }; } &&
38933 { ac_try
='test -s conftest.$ac_objext'
38934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38935 (eval $ac_try) 2>&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); }; }; then
38939 echo "$as_me:$LINENO: result: yes" >&5
38940 echo "${ECHO_T}yes" >&6
38941 cat >>confdefs.h
<<\_ACEOF
38942 #define HAVE_KNOWN_CDROM_INTERFACE 1
38946 echo "$as_me: failed program was:" >&5
38947 sed 's/^/| /' conftest.
$ac_ext >&5
38949 echo "$as_me:$LINENO: result: no" >&5
38950 echo "${ECHO_T}no" >&6
38952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38955 cat >confcache
<<\_ACEOF
38956 # This file is a shell script that caches the results of configure
38957 # tests run on this system so they can be shared between configure
38958 # scripts and configure runs, see configure's option --config-cache.
38959 # It is not useful on other systems. If it contains results you don't
38960 # want to keep, you may remove or edit it.
38962 # config.status only pays attention to the cache file if you give it
38963 # the --recheck option to rerun configure.
38965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38967 # following values.
38971 # The following way of writing the cache mishandles newlines in values,
38972 # but we know of no workaround that is simple, portable, and efficient.
38973 # So, don't put newlines in cache variables' values.
38974 # Ultrix sh set writes to stderr and can't be redirected directly,
38975 # and sets the high bit in the cache file unless we assign to the vars.
38978 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38980 # `set' does not quote correctly, so add quotes (double-quote
38981 # substitution turns \\\\ into \\, and sed turns \\ into \).
38984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38987 # `set' quotes correctly as required by POSIX, so do not add quotes.
38989 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38998 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39000 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39001 if test -w $cache_file; then
39002 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39003 cat confcache
>$cache_file
39005 echo "not updating unwritable cache $cache_file"
39011 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39017 if test "$wxUSE_THREADS" = "yes" ; then
39018 if test "$USE_BEOS" = 1; then
39019 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39020 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39025 if test "$wxUSE_THREADS" = "yes" ; then
39028 THREAD_OPTS
="-pthread"
39030 *-*-solaris2* | *-*-sunos4* )
39031 if test "x$GCC" = "xyes"; then
39032 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39034 THREAD_OPTS
="-mt $THREAD_OPTS"
39038 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39040 *-*-darwin* | *-*-cygwin* )
39044 THREAD_OPTS
="pthreads"
39047 if test "x$GCC" = "xyes"; then
39048 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39056 if test "x$GCC" = "xyes"; then
39062 if test "x$GCC" != "xyes"; then
39063 THREAD_OPTS
="-Ethread"
39068 THREAD_OPTS
="$THREAD_OPTS pthread none"
39071 for flag
in $THREAD_OPTS; do
39074 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39075 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39079 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39080 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39081 THREADS_CXXFLAGS
="$flag"
39085 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39086 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39087 THREADS_LINK
="-l$flag"
39092 save_CXXFLAGS
="$CXXFLAGS"
39093 LIBS
="$THREADS_LINK $LIBS"
39094 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
39096 cat >conftest.
$ac_ext <<_ACEOF
39099 cat confdefs.h
>>conftest.
$ac_ext
39100 cat >>conftest.
$ac_ext <<_ACEOF
39101 /* end confdefs.h. */
39102 #include <pthread.h>
39106 pthread_create(0,0,0,0);
39111 rm -f conftest.
$ac_objext conftest
$ac_exeext
39112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39113 (eval $ac_link) 2>conftest.er1
39115 grep -v '^ *+' conftest.er1
>conftest.err
39117 cat conftest.err
>&5
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); } &&
39120 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39122 (eval $ac_try) 2>&5
39124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125 (exit $ac_status); }; } &&
39126 { ac_try
='test -s conftest$ac_exeext'
39127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39128 (eval $ac_try) 2>&5
39130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39131 (exit $ac_status); }; }; then
39134 echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.
$ac_ext >&5
39138 rm -f conftest.err conftest.
$ac_objext \
39139 conftest
$ac_exeext conftest.
$ac_ext
39142 CXXFLAGS
="$save_CXXFLAGS"
39144 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39145 echo "${ECHO_T}$THREADS_OK" >&6
39146 if test "x$THREADS_OK" = "xyes"; then
39151 THREADS_CXXFLAGS
=""
39154 if test "x$THREADS_OK" != "xyes"; then
39156 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39157 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39159 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39160 LIBS
="$THREADS_LINK $LIBS"
39162 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39163 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39167 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39168 flag
="-D_THREAD_SAFE"
39171 flag
="-D_THREAD_SAFE"
39174 flag
="-D_REENTRANT"
39175 if test "x$GCC" != "xyes"; then
39176 flag
="$flag -D_RWSTD_MULTI_THREAD"
39179 *solaris
* | alpha
*-osf*)
39180 flag
="-D_REENTRANT"
39183 echo "$as_me:$LINENO: result: ${flag}" >&5
39184 echo "${ECHO_T}${flag}" >&6
39185 if test "x$flag" != xno
; then
39186 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39189 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39193 if test "$wxUSE_THREADS" = "yes" ; then
39195 for ac_func
in thr_setconcurrency
39197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39198 echo "$as_me:$LINENO: checking for $ac_func" >&5
39199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39200 if eval "test \"\${$as_ac_var+set}\" = set"; then
39201 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 cat >conftest.
$ac_ext <<_ACEOF
39206 cat confdefs.h
>>conftest.
$ac_ext
39207 cat >>conftest.
$ac_ext <<_ACEOF
39208 /* end confdefs.h. */
39209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39211 #define $ac_func innocuous_$ac_func
39213 /* System header to define __stub macros and hopefully few prototypes,
39214 which can conflict with char $ac_func (); below.
39215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39216 <limits.h> exists even on freestanding compilers. */
39219 # include <limits.h>
39221 # include <assert.h>
39226 /* Override any gcc2 internal prototype to avoid an error. */
39231 /* We use char because int might match the return type of a gcc2
39232 builtin and then its argument prototype would still apply. */
39234 /* The GNU C library defines this for functions which it implements
39235 to always fail with ENOSYS. Some functions are actually named
39236 something starting with __ and the normal name is an alias. */
39237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39240 char (*f) () = $ac_func;
39249 return f != $ac_func;
39254 rm -f conftest.
$ac_objext conftest
$ac_exeext
39255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39256 (eval $ac_link) 2>conftest.er1
39258 grep -v '^ *+' conftest.er1
>conftest.err
39260 cat conftest.err
>&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } &&
39263 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265 (eval $ac_try) 2>&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); }; } &&
39269 { ac_try
='test -s conftest$ac_exeext'
39270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271 (eval $ac_try) 2>&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); }; }; then
39275 eval "$as_ac_var=yes"
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.
$ac_ext >&5
39280 eval "$as_ac_var=no"
39282 rm -f conftest.err conftest.
$ac_objext \
39283 conftest
$ac_exeext conftest.
$ac_ext
39285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39287 if test `eval echo '${'$as_ac_var'}'` = yes; then
39288 cat >>confdefs.h
<<_ACEOF
39289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39296 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39297 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39298 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39299 echo $ECHO_N "(cached) $ECHO_C" >&6
39302 cat >conftest.
$ac_ext <<_ACEOF
39305 cat confdefs.h
>>conftest.
$ac_ext
39306 cat >>conftest.
$ac_ext <<_ACEOF
39307 /* end confdefs.h. */
39308 #include <pthread.h>
39309 void ThreadCleanupFunc(void *p);
39316 pthread_cleanup_push(ThreadCleanupFunc, p);
39317 pthread_cleanup_pop(0);
39323 rm -f conftest.
$ac_objext
39324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39325 (eval $ac_compile) 2>conftest.er1
39327 grep -v '^ *+' conftest.er1
>conftest.err
39329 cat conftest.err
>&5
39330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331 (exit $ac_status); } &&
39332 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39334 (eval $ac_try) 2>&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); }; } &&
39338 { ac_try
='test -s conftest.$ac_objext'
39339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39340 (eval $ac_try) 2>&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); }; }; then
39345 wx_cv_func_pthread_cleanup
=yes
39348 echo "$as_me: failed program was:" >&5
39349 sed 's/^/| /' conftest.
$ac_ext >&5
39352 wx_cv_func_pthread_cleanup
=no
39356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39359 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39360 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39361 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39362 cat >>confdefs.h
<<\_ACEOF
39363 #define wxHAVE_PTHREAD_CLEANUP 1
39369 for ac_header
in sched.h
39371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39373 echo "$as_me:$LINENO: checking for $ac_header" >&5
39374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39376 echo $ECHO_N "(cached) $ECHO_C" >&6
39378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39381 # Is the header compilable?
39382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39384 cat >conftest.
$ac_ext <<_ACEOF
39387 cat confdefs.h
>>conftest.
$ac_ext
39388 cat >>conftest.
$ac_ext <<_ACEOF
39389 /* end confdefs.h. */
39390 $ac_includes_default
39391 #include <$ac_header>
39393 rm -f conftest.
$ac_objext
39394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39395 (eval $ac_compile) 2>conftest.er1
39397 grep -v '^ *+' conftest.er1
>conftest.err
39399 cat conftest.err
>&5
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); } &&
39402 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39404 (eval $ac_try) 2>&5
39406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407 (exit $ac_status); }; } &&
39408 { ac_try
='test -s conftest.$ac_objext'
39409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39410 (eval $ac_try) 2>&5
39412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39413 (exit $ac_status); }; }; then
39414 ac_header_compiler
=yes
39416 echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.
$ac_ext >&5
39419 ac_header_compiler
=no
39421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39423 echo "${ECHO_T}$ac_header_compiler" >&6
39425 # Is the header present?
39426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39428 cat >conftest.
$ac_ext <<_ACEOF
39431 cat confdefs.h
>>conftest.
$ac_ext
39432 cat >>conftest.
$ac_ext <<_ACEOF
39433 /* end confdefs.h. */
39434 #include <$ac_header>
39436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39439 grep -v '^ *+' conftest.er1
>conftest.err
39441 cat conftest.err
>&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } >/dev
/null
; then
39444 if test -s conftest.err
; then
39445 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39446 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39453 if test -z "$ac_cpp_err"; then
39454 ac_header_preproc
=yes
39456 echo "$as_me: failed program was:" >&5
39457 sed 's/^/| /' conftest.
$ac_ext >&5
39459 ac_header_preproc
=no
39461 rm -f conftest.err conftest.
$ac_ext
39462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39463 echo "${ECHO_T}$ac_header_preproc" >&6
39465 # So? What about this header?
39466 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39472 ac_header_preproc
=yes
39475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39489 ## ----------------------------------------- ##
39490 ## Report this to wx-dev@lists.wxwidgets.org ##
39491 ## ----------------------------------------- ##
39494 sed "s/^/$as_me: WARNING: /" >&2
39497 echo "$as_me:$LINENO: checking for $ac_header" >&5
39498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39500 echo $ECHO_N "(cached) $ECHO_C" >&6
39502 eval "$as_ac_Header=\$ac_header_preproc"
39504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39509 cat >>confdefs.h
<<_ACEOF
39510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39517 if test "$ac_cv_header_sched_h" = "yes"; then
39518 echo "$as_me:$LINENO: checking for sched_yield" >&5
39519 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39520 if test "${ac_cv_func_sched_yield+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39523 cat >conftest.
$ac_ext <<_ACEOF
39526 cat confdefs.h
>>conftest.
$ac_ext
39527 cat >>conftest.
$ac_ext <<_ACEOF
39528 /* end confdefs.h. */
39529 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39531 #define sched_yield innocuous_sched_yield
39533 /* System header to define __stub macros and hopefully few prototypes,
39534 which can conflict with char sched_yield (); below.
39535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39536 <limits.h> exists even on freestanding compilers. */
39539 # include <limits.h>
39541 # include <assert.h>
39546 /* Override any gcc2 internal prototype to avoid an error. */
39551 /* We use char because int might match the return type of a gcc2
39552 builtin and then its argument prototype would still apply. */
39553 char sched_yield ();
39554 /* The GNU C library defines this for functions which it implements
39555 to always fail with ENOSYS. Some functions are actually named
39556 something starting with __ and the normal name is an alias. */
39557 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39560 char (*f) () = sched_yield;
39569 return f != sched_yield;
39574 rm -f conftest.
$ac_objext conftest
$ac_exeext
39575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39576 (eval $ac_link) 2>conftest.er1
39578 grep -v '^ *+' conftest.er1
>conftest.err
39580 cat conftest.err
>&5
39581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39582 (exit $ac_status); } &&
39583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39585 (eval $ac_try) 2>&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); }; } &&
39589 { ac_try
='test -s conftest$ac_exeext'
39590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39591 (eval $ac_try) 2>&5
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); }; }; then
39595 ac_cv_func_sched_yield
=yes
39597 echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.
$ac_ext >&5
39600 ac_cv_func_sched_yield
=no
39602 rm -f conftest.err conftest.
$ac_objext \
39603 conftest
$ac_exeext conftest.
$ac_ext
39605 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39606 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39607 if test $ac_cv_func_sched_yield = yes; then
39608 cat >>confdefs.h
<<\_ACEOF
39609 #define HAVE_SCHED_YIELD 1
39614 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39615 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39616 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39617 echo $ECHO_N "(cached) $ECHO_C" >&6
39619 ac_check_lib_save_LIBS
=$LIBS
39620 LIBS
="-lposix4 $LIBS"
39621 cat >conftest.
$ac_ext <<_ACEOF
39624 cat confdefs.h
>>conftest.
$ac_ext
39625 cat >>conftest.
$ac_ext <<_ACEOF
39626 /* end confdefs.h. */
39628 /* Override any gcc2 internal prototype to avoid an error. */
39632 /* We use char because int might match the return type of a gcc2
39633 builtin and then its argument prototype would still apply. */
39634 char sched_yield ();
39643 rm -f conftest.
$ac_objext conftest
$ac_exeext
39644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39645 (eval $ac_link) 2>conftest.er1
39647 grep -v '^ *+' conftest.er1
>conftest.err
39649 cat conftest.err
>&5
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); } &&
39652 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; } &&
39658 { ac_try
='test -s conftest$ac_exeext'
39659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660 (eval $ac_try) 2>&5
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); }; }; then
39664 ac_cv_lib_posix4_sched_yield
=yes
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.
$ac_ext >&5
39669 ac_cv_lib_posix4_sched_yield
=no
39671 rm -f conftest.err conftest.
$ac_objext \
39672 conftest
$ac_exeext conftest.
$ac_ext
39673 LIBS
=$ac_check_lib_save_LIBS
39675 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39676 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39677 if test $ac_cv_lib_posix4_sched_yield = yes; then
39678 cat >>confdefs.h
<<\_ACEOF
39679 #define HAVE_SCHED_YIELD 1
39681 POSIX4_LINK
=" -lposix4"
39683 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39684 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39695 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39696 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39697 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39698 echo $ECHO_N "(cached) $ECHO_C" >&6
39700 cat >conftest.
$ac_ext <<_ACEOF
39703 cat confdefs.h
>>conftest.
$ac_ext
39704 cat >>conftest.
$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39706 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39708 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39710 /* System header to define __stub macros and hopefully few prototypes,
39711 which can conflict with char pthread_attr_getschedpolicy (); below.
39712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39713 <limits.h> exists even on freestanding compilers. */
39716 # include <limits.h>
39718 # include <assert.h>
39721 #undef pthread_attr_getschedpolicy
39723 /* Override any gcc2 internal prototype to avoid an error. */
39728 /* We use char because int might match the return type of a gcc2
39729 builtin and then its argument prototype would still apply. */
39730 char pthread_attr_getschedpolicy ();
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39737 char (*f) () = pthread_attr_getschedpolicy;
39746 return f != pthread_attr_getschedpolicy;
39751 rm -f conftest.
$ac_objext conftest
$ac_exeext
39752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39753 (eval $ac_link) 2>conftest.er1
39755 grep -v '^ *+' conftest.er1
>conftest.err
39757 cat conftest.err
>&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } &&
39760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39762 (eval $ac_try) 2>&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); }; } &&
39766 { ac_try
='test -s conftest$ac_exeext'
39767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39768 (eval $ac_try) 2>&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); }; }; then
39772 ac_cv_func_pthread_attr_getschedpolicy
=yes
39774 echo "$as_me: failed program was:" >&5
39775 sed 's/^/| /' conftest.
$ac_ext >&5
39777 ac_cv_func_pthread_attr_getschedpolicy
=no
39779 rm -f conftest.err conftest.
$ac_objext \
39780 conftest
$ac_exeext conftest.
$ac_ext
39782 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39783 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39784 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39785 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39786 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39787 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39788 echo $ECHO_N "(cached) $ECHO_C" >&6
39790 cat >conftest.
$ac_ext <<_ACEOF
39793 cat confdefs.h
>>conftest.
$ac_ext
39794 cat >>conftest.
$ac_ext <<_ACEOF
39795 /* end confdefs.h. */
39796 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39798 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39800 /* System header to define __stub macros and hopefully few prototypes,
39801 which can conflict with char pthread_attr_setschedparam (); below.
39802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39803 <limits.h> exists even on freestanding compilers. */
39806 # include <limits.h>
39808 # include <assert.h>
39811 #undef pthread_attr_setschedparam
39813 /* Override any gcc2 internal prototype to avoid an error. */
39818 /* We use char because int might match the return type of a gcc2
39819 builtin and then its argument prototype would still apply. */
39820 char pthread_attr_setschedparam ();
39821 /* The GNU C library defines this for functions which it implements
39822 to always fail with ENOSYS. Some functions are actually named
39823 something starting with __ and the normal name is an alias. */
39824 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39827 char (*f) () = pthread_attr_setschedparam;
39836 return f != pthread_attr_setschedparam;
39841 rm -f conftest.
$ac_objext conftest
$ac_exeext
39842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39843 (eval $ac_link) 2>conftest.er1
39845 grep -v '^ *+' conftest.er1
>conftest.err
39847 cat conftest.err
>&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); } &&
39850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39852 (eval $ac_try) 2>&5
39854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39855 (exit $ac_status); }; } &&
39856 { ac_try
='test -s conftest$ac_exeext'
39857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39858 (eval $ac_try) 2>&5
39860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861 (exit $ac_status); }; }; then
39862 ac_cv_func_pthread_attr_setschedparam
=yes
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.
$ac_ext >&5
39867 ac_cv_func_pthread_attr_setschedparam
=no
39869 rm -f conftest.err conftest.
$ac_objext \
39870 conftest
$ac_exeext conftest.
$ac_ext
39872 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39873 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39874 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39875 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39876 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39877 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39880 cat >conftest.
$ac_ext <<_ACEOF
39883 cat confdefs.h
>>conftest.
$ac_ext
39884 cat >>conftest.
$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39888 #define sched_get_priority_max innocuous_sched_get_priority_max
39890 /* System header to define __stub macros and hopefully few prototypes,
39891 which can conflict with char sched_get_priority_max (); below.
39892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39893 <limits.h> exists even on freestanding compilers. */
39896 # include <limits.h>
39898 # include <assert.h>
39901 #undef sched_get_priority_max
39903 /* Override any gcc2 internal prototype to avoid an error. */
39908 /* We use char because int might match the return type of a gcc2
39909 builtin and then its argument prototype would still apply. */
39910 char sched_get_priority_max ();
39911 /* The GNU C library defines this for functions which it implements
39912 to always fail with ENOSYS. Some functions are actually named
39913 something starting with __ and the normal name is an alias. */
39914 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39917 char (*f) () = sched_get_priority_max;
39926 return f != sched_get_priority_max;
39931 rm -f conftest.
$ac_objext conftest
$ac_exeext
39932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39933 (eval $ac_link) 2>conftest.er1
39935 grep -v '^ *+' conftest.er1
>conftest.err
39937 cat conftest.err
>&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); } &&
39940 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39942 (eval $ac_try) 2>&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); }; } &&
39946 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
39952 ac_cv_func_sched_get_priority_max
=yes
39954 echo "$as_me: failed program was:" >&5
39955 sed 's/^/| /' conftest.
$ac_ext >&5
39957 ac_cv_func_sched_get_priority_max
=no
39959 rm -f conftest.err conftest.
$ac_objext \
39960 conftest
$ac_exeext conftest.
$ac_ext
39962 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39963 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39964 if test $ac_cv_func_sched_get_priority_max = yes; then
39967 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39968 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39969 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39970 echo $ECHO_N "(cached) $ECHO_C" >&6
39972 ac_check_lib_save_LIBS
=$LIBS
39973 LIBS
="-lposix4 $LIBS"
39974 cat >conftest.
$ac_ext <<_ACEOF
39977 cat confdefs.h
>>conftest.
$ac_ext
39978 cat >>conftest.
$ac_ext <<_ACEOF
39979 /* end confdefs.h. */
39981 /* Override any gcc2 internal prototype to avoid an error. */
39985 /* We use char because int might match the return type of a gcc2
39986 builtin and then its argument prototype would still apply. */
39987 char sched_get_priority_max ();
39991 sched_get_priority_max ();
39996 rm -f conftest.
$ac_objext conftest
$ac_exeext
39997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39998 (eval $ac_link) 2>conftest.er1
40000 grep -v '^ *+' conftest.er1
>conftest.err
40002 cat conftest.err
>&5
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); } &&
40005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40007 (eval $ac_try) 2>&5
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); }; } &&
40011 { ac_try
='test -s conftest$ac_exeext'
40012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40013 (eval $ac_try) 2>&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); }; }; then
40017 ac_cv_lib_posix4_sched_get_priority_max
=yes
40019 echo "$as_me: failed program was:" >&5
40020 sed 's/^/| /' conftest.
$ac_ext >&5
40022 ac_cv_lib_posix4_sched_get_priority_max
=no
40024 rm -f conftest.err conftest.
$ac_objext \
40025 conftest
$ac_exeext conftest.
$ac_ext
40026 LIBS
=$ac_check_lib_save_LIBS
40028 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40029 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40030 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40033 POSIX4_LINK
=" -lposix4"
40047 if test "$HAVE_PRIOR_FUNCS" = 1; then
40048 cat >>confdefs.h
<<\_ACEOF
40049 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40053 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40054 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40057 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40058 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40059 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 cat >conftest.
$ac_ext <<_ACEOF
40065 cat confdefs.h
>>conftest.
$ac_ext
40066 cat >>conftest.
$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40070 #define pthread_cancel innocuous_pthread_cancel
40072 /* System header to define __stub macros and hopefully few prototypes,
40073 which can conflict with char pthread_cancel (); below.
40074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40075 <limits.h> exists even on freestanding compilers. */
40078 # include <limits.h>
40080 # include <assert.h>
40083 #undef pthread_cancel
40085 /* Override any gcc2 internal prototype to avoid an error. */
40090 /* We use char because int might match the return type of a gcc2
40091 builtin and then its argument prototype would still apply. */
40092 char pthread_cancel ();
40093 /* The GNU C library defines this for functions which it implements
40094 to always fail with ENOSYS. Some functions are actually named
40095 something starting with __ and the normal name is an alias. */
40096 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40099 char (*f) () = pthread_cancel;
40108 return f != pthread_cancel;
40113 rm -f conftest.
$ac_objext conftest
$ac_exeext
40114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40115 (eval $ac_link) 2>conftest.er1
40117 grep -v '^ *+' conftest.er1
>conftest.err
40119 cat conftest.err
>&5
40120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121 (exit $ac_status); } &&
40122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40124 (eval $ac_try) 2>&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); }; } &&
40128 { ac_try
='test -s conftest$ac_exeext'
40129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40130 (eval $ac_try) 2>&5
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); }; }; then
40134 ac_cv_func_pthread_cancel
=yes
40136 echo "$as_me: failed program was:" >&5
40137 sed 's/^/| /' conftest.
$ac_ext >&5
40139 ac_cv_func_pthread_cancel
=no
40141 rm -f conftest.err conftest.
$ac_objext \
40142 conftest
$ac_exeext conftest.
$ac_ext
40144 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40145 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40146 if test $ac_cv_func_pthread_cancel = yes; then
40147 cat >>confdefs.h
<<\_ACEOF
40148 #define HAVE_PTHREAD_CANCEL 1
40152 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40153 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40157 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40158 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40159 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40160 echo $ECHO_N "(cached) $ECHO_C" >&6
40162 cat >conftest.
$ac_ext <<_ACEOF
40165 cat confdefs.h
>>conftest.
$ac_ext
40166 cat >>conftest.
$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40168 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40170 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40172 /* System header to define __stub macros and hopefully few prototypes,
40173 which can conflict with char pthread_attr_setstacksize (); below.
40174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40175 <limits.h> exists even on freestanding compilers. */
40178 # include <limits.h>
40180 # include <assert.h>
40183 #undef pthread_attr_setstacksize
40185 /* Override any gcc2 internal prototype to avoid an error. */
40190 /* We use char because int might match the return type of a gcc2
40191 builtin and then its argument prototype would still apply. */
40192 char pthread_attr_setstacksize ();
40193 /* The GNU C library defines this for functions which it implements
40194 to always fail with ENOSYS. Some functions are actually named
40195 something starting with __ and the normal name is an alias. */
40196 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40199 char (*f) () = pthread_attr_setstacksize;
40208 return f != pthread_attr_setstacksize;
40213 rm -f conftest.
$ac_objext conftest
$ac_exeext
40214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40215 (eval $ac_link) 2>conftest.er1
40217 grep -v '^ *+' conftest.er1
>conftest.err
40219 cat conftest.err
>&5
40220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221 (exit $ac_status); } &&
40222 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40224 (eval $ac_try) 2>&5
40226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40227 (exit $ac_status); }; } &&
40228 { ac_try
='test -s conftest$ac_exeext'
40229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40230 (eval $ac_try) 2>&5
40232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40233 (exit $ac_status); }; }; then
40234 ac_cv_func_pthread_attr_setstacksize
=yes
40236 echo "$as_me: failed program was:" >&5
40237 sed 's/^/| /' conftest.
$ac_ext >&5
40239 ac_cv_func_pthread_attr_setstacksize
=no
40241 rm -f conftest.err conftest.
$ac_objext \
40242 conftest
$ac_exeext conftest.
$ac_ext
40244 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40245 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40246 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40247 cat >>confdefs.h
<<\_ACEOF
40248 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40255 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40256 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40257 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40258 echo $ECHO_N "(cached) $ECHO_C" >&6
40261 cat >conftest.
$ac_ext <<_ACEOF
40264 cat confdefs.h
>>conftest.
$ac_ext
40265 cat >>conftest.
$ac_ext <<_ACEOF
40266 /* end confdefs.h. */
40267 #include <pthread.h>
40272 pthread_mutexattr_t attr;
40273 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40279 rm -f conftest.
$ac_objext
40280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40281 (eval $ac_compile) 2>conftest.er1
40283 grep -v '^ *+' conftest.er1
>conftest.err
40285 cat conftest.err
>&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); } &&
40288 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40290 (eval $ac_try) 2>&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); }; } &&
40294 { ac_try
='test -s conftest.$ac_objext'
40295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40296 (eval $ac_try) 2>&5
40298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299 (exit $ac_status); }; }; then
40300 wx_cv_type_pthread_mutexattr_t
=yes
40302 echo "$as_me: failed program was:" >&5
40303 sed 's/^/| /' conftest.
$ac_ext >&5
40305 wx_cv_type_pthread_mutexattr_t
=no
40308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40311 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40312 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40314 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40315 cat >>confdefs.h
<<\_ACEOF
40316 #define HAVE_PTHREAD_MUTEXATTR_T 1
40320 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40321 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40322 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40323 echo $ECHO_N "(cached) $ECHO_C" >&6
40326 cat >conftest.
$ac_ext <<_ACEOF
40329 cat confdefs.h
>>conftest.
$ac_ext
40330 cat >>conftest.
$ac_ext <<_ACEOF
40331 /* end confdefs.h. */
40332 #include <pthread.h>
40337 pthread_mutexattr_t attr;
40338 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40344 rm -f conftest.
$ac_objext
40345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40346 (eval $ac_compile) 2>conftest.er1
40348 grep -v '^ *+' conftest.er1
>conftest.err
40350 cat conftest.err
>&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } &&
40353 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40355 (eval $ac_try) 2>&5
40357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40358 (exit $ac_status); }; } &&
40359 { ac_try
='test -s conftest.$ac_objext'
40360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40361 (eval $ac_try) 2>&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); }; }; then
40365 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40367 echo "$as_me: failed program was:" >&5
40368 sed 's/^/| /' conftest.
$ac_ext >&5
40370 wx_cv_func_pthread_mutexattr_settype_decl
=no
40373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40376 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40377 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40378 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40379 cat >>confdefs.h
<<\_ACEOF
40380 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40385 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40386 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40387 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40388 echo $ECHO_N "(cached) $ECHO_C" >&6
40391 cat >conftest.
$ac_ext <<_ACEOF
40394 cat confdefs.h
>>conftest.
$ac_ext
40395 cat >>conftest.
$ac_ext <<_ACEOF
40396 /* end confdefs.h. */
40397 #include <pthread.h>
40402 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40408 rm -f conftest.
$ac_objext
40409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40410 (eval $ac_compile) 2>conftest.er1
40412 grep -v '^ *+' conftest.er1
>conftest.err
40414 cat conftest.err
>&5
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); } &&
40417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40419 (eval $ac_try) 2>&5
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); }; } &&
40423 { ac_try
='test -s conftest.$ac_objext'
40424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40425 (eval $ac_try) 2>&5
40427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40428 (exit $ac_status); }; }; then
40430 wx_cv_type_pthread_rec_mutex_init
=yes
40433 echo "$as_me: failed program was:" >&5
40434 sed 's/^/| /' conftest.
$ac_ext >&5
40437 wx_cv_type_pthread_rec_mutex_init
=no
40441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40444 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40445 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40446 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40447 cat >>confdefs.h
<<\_ACEOF
40448 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40452 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40453 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40459 if test "$wxUSE_THREADS" = "yes" ; then
40462 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40463 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40464 if test "${wx_cv_cflags_mthread+set}" = set; then
40465 echo $ECHO_N "(cached) $ECHO_C" >&6
40468 CXXFLAGS_OLD
="$CXXFLAGS"
40469 CXXFLAGS
="-mthreads $CXXFLAGS"
40470 cat >conftest.
$ac_ext <<_ACEOF
40473 cat confdefs.h
>>conftest.
$ac_ext
40474 cat >>conftest.
$ac_ext <<_ACEOF
40475 /* end confdefs.h. */
40485 rm -f conftest.
$ac_objext
40486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40487 (eval $ac_compile) 2>conftest.er1
40489 grep -v '^ *+' conftest.er1
>conftest.err
40491 cat conftest.err
>&5
40492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40493 (exit $ac_status); } &&
40494 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40496 (eval $ac_try) 2>&5
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); }; } &&
40500 { ac_try
='test -s conftest.$ac_objext'
40501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40502 (eval $ac_try) 2>&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); }; }; then
40506 wx_cv_cflags_mthread
=yes
40508 echo "$as_me: failed program was:" >&5
40509 sed 's/^/| /' conftest.
$ac_ext >&5
40511 wx_cv_cflags_mthread
=no
40514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40518 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40519 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40521 if test "$wx_cv_cflags_mthread" = "yes"; then
40522 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40523 LDFLAGS
="$LDFLAGS -mthreads"
40525 CXXFLAGS
="$CXXFLAGS_OLD"
40529 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40530 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40531 LDFLAGS
="$LDFLAGS -Zmt"
40537 echo "$as_me:$LINENO: checking for localtime_r" >&5
40538 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40539 if test "${ac_cv_func_localtime_r+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40542 cat >conftest.
$ac_ext <<_ACEOF
40545 cat confdefs.h
>>conftest.
$ac_ext
40546 cat >>conftest.
$ac_ext <<_ACEOF
40547 /* end confdefs.h. */
40548 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40550 #define localtime_r innocuous_localtime_r
40552 /* System header to define __stub macros and hopefully few prototypes,
40553 which can conflict with char localtime_r (); below.
40554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40555 <limits.h> exists even on freestanding compilers. */
40558 # include <limits.h>
40560 # include <assert.h>
40565 /* Override any gcc2 internal prototype to avoid an error. */
40570 /* We use char because int might match the return type of a gcc2
40571 builtin and then its argument prototype would still apply. */
40572 char localtime_r ();
40573 /* The GNU C library defines this for functions which it implements
40574 to always fail with ENOSYS. Some functions are actually named
40575 something starting with __ and the normal name is an alias. */
40576 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40579 char (*f) () = localtime_r;
40588 return f != localtime_r;
40593 rm -f conftest.
$ac_objext conftest
$ac_exeext
40594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40595 (eval $ac_link) 2>conftest.er1
40597 grep -v '^ *+' conftest.er1
>conftest.err
40599 cat conftest.err
>&5
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); } &&
40602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40604 (eval $ac_try) 2>&5
40606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40607 (exit $ac_status); }; } &&
40608 { ac_try
='test -s conftest$ac_exeext'
40609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40610 (eval $ac_try) 2>&5
40612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40613 (exit $ac_status); }; }; then
40614 ac_cv_func_localtime_r
=yes
40616 echo "$as_me: failed program was:" >&5
40617 sed 's/^/| /' conftest.
$ac_ext >&5
40619 ac_cv_func_localtime_r
=no
40621 rm -f conftest.err conftest.
$ac_objext \
40622 conftest
$ac_exeext conftest.
$ac_ext
40624 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40625 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40626 if test $ac_cv_func_localtime_r = yes; then
40627 cat >>confdefs.h
<<\_ACEOF
40628 #define HAVE_LOCALTIME_R 1
40633 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40634 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40635 if test "${ac_cv_func_gmtime_r+set}" = set; then
40636 echo $ECHO_N "(cached) $ECHO_C" >&6
40638 cat >conftest.
$ac_ext <<_ACEOF
40641 cat confdefs.h
>>conftest.
$ac_ext
40642 cat >>conftest.
$ac_ext <<_ACEOF
40643 /* end confdefs.h. */
40644 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40646 #define gmtime_r innocuous_gmtime_r
40648 /* System header to define __stub macros and hopefully few prototypes,
40649 which can conflict with char gmtime_r (); below.
40650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40651 <limits.h> exists even on freestanding compilers. */
40654 # include <limits.h>
40656 # include <assert.h>
40661 /* Override any gcc2 internal prototype to avoid an error. */
40666 /* We use char because int might match the return type of a gcc2
40667 builtin and then its argument prototype would still apply. */
40669 /* The GNU C library defines this for functions which it implements
40670 to always fail with ENOSYS. Some functions are actually named
40671 something starting with __ and the normal name is an alias. */
40672 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40675 char (*f) () = gmtime_r;
40684 return f != gmtime_r;
40689 rm -f conftest.
$ac_objext conftest
$ac_exeext
40690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40691 (eval $ac_link) 2>conftest.er1
40693 grep -v '^ *+' conftest.er1
>conftest.err
40695 cat conftest.err
>&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); } &&
40698 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700 (eval $ac_try) 2>&5
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); }; } &&
40704 { ac_try
='test -s conftest$ac_exeext'
40705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40706 (eval $ac_try) 2>&5
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); }; }; then
40710 ac_cv_func_gmtime_r
=yes
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.
$ac_ext >&5
40715 ac_cv_func_gmtime_r
=no
40717 rm -f conftest.err conftest.
$ac_objext \
40718 conftest
$ac_exeext conftest.
$ac_ext
40720 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40721 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40722 if test $ac_cv_func_gmtime_r = yes; then
40723 cat >>confdefs.h
<<\_ACEOF
40724 #define HAVE_GMTIME_R 1
40729 echo "$as_me:$LINENO: checking for readdir_r" >&5
40730 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40731 if test "${ac_cv_func_readdir_r+set}" = set; then
40732 echo $ECHO_N "(cached) $ECHO_C" >&6
40734 cat >conftest.
$ac_ext <<_ACEOF
40737 cat confdefs.h
>>conftest.
$ac_ext
40738 cat >>conftest.
$ac_ext <<_ACEOF
40739 /* end confdefs.h. */
40740 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40742 #define readdir_r innocuous_readdir_r
40744 /* System header to define __stub macros and hopefully few prototypes,
40745 which can conflict with char readdir_r (); below.
40746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40747 <limits.h> exists even on freestanding compilers. */
40750 # include <limits.h>
40752 # include <assert.h>
40757 /* Override any gcc2 internal prototype to avoid an error. */
40762 /* We use char because int might match the return type of a gcc2
40763 builtin and then its argument prototype would still apply. */
40765 /* The GNU C library defines this for functions which it implements
40766 to always fail with ENOSYS. Some functions are actually named
40767 something starting with __ and the normal name is an alias. */
40768 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40771 char (*f) () = readdir_r;
40780 return f != readdir_r;
40785 rm -f conftest.
$ac_objext conftest
$ac_exeext
40786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40787 (eval $ac_link) 2>conftest.er1
40789 grep -v '^ *+' conftest.er1
>conftest.err
40791 cat conftest.err
>&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } &&
40794 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
40800 { ac_try
='test -s conftest$ac_exeext'
40801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40802 (eval $ac_try) 2>&5
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); }; }; then
40806 ac_cv_func_readdir_r
=yes
40808 echo "$as_me: failed program was:" >&5
40809 sed 's/^/| /' conftest.
$ac_ext >&5
40811 ac_cv_func_readdir_r
=no
40813 rm -f conftest.err conftest.
$ac_objext \
40814 conftest
$ac_exeext conftest.
$ac_ext
40816 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40817 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40818 if test $ac_cv_func_readdir_r = yes; then
40819 cat >>confdefs.h
<<\_ACEOF
40820 #define HAVE_READDIR_R 1
40829 ac_cpp
='$CPP $CPPFLAGS'
40830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40834 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40835 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40837 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40838 echo $ECHO_N "(cached) $ECHO_C" >&6
40842 ################################################################
40844 ac_cv_func_which_gethostbyname_r
=unknown
40847 # ONE ARGUMENT (sanity check)
40850 # This should fail, as there is no variant of gethostbyname_r() that takes
40851 # a single argument. If it actually compiles, then we can assume that
40852 # netdb.h is not declaring the function, and the compiler is thereby
40853 # assuming an implicit prototype. In which case, we're out of luck.
40855 cat >conftest.
$ac_ext <<_ACEOF
40858 cat confdefs.h
>>conftest.
$ac_ext
40859 cat >>conftest.
$ac_ext <<_ACEOF
40860 /* end confdefs.h. */
40866 char *name = "www.gnu.org";
40867 (void)gethostbyname_r(name) /* ; */
40873 rm -f conftest.
$ac_objext
40874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40875 (eval $ac_compile) 2>conftest.er1
40877 grep -v '^ *+' conftest.er1
>conftest.err
40879 cat conftest.err
>&5
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); } &&
40882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40884 (eval $ac_try) 2>&5
40886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40887 (exit $ac_status); }; } &&
40888 { ac_try
='test -s conftest.$ac_objext'
40889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40890 (eval $ac_try) 2>&5
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); }; }; then
40894 ac_cv_func_which_gethostbyname_r
=no
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.
$ac_ext >&5
40900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40907 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40909 cat >conftest.
$ac_ext <<_ACEOF
40912 cat confdefs.h
>>conftest.
$ac_ext
40913 cat >>conftest.
$ac_ext <<_ACEOF
40914 /* end confdefs.h. */
40920 char *name = "www.gnu.org";
40921 struct hostent ret, *retp;
40925 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40931 rm -f conftest.
$ac_objext
40932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40933 (eval $ac_compile) 2>conftest.er1
40935 grep -v '^ *+' conftest.er1
>conftest.err
40937 cat conftest.err
>&5
40938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40939 (exit $ac_status); } &&
40940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40942 (eval $ac_try) 2>&5
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); }; } &&
40946 { ac_try
='test -s conftest.$ac_objext'
40947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40948 (eval $ac_try) 2>&5
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); }; }; then
40952 ac_cv_func_which_gethostbyname_r
=six
40954 echo "$as_me: failed program was:" >&5
40955 sed 's/^/| /' conftest.
$ac_ext >&5
40958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40967 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40969 cat >conftest.
$ac_ext <<_ACEOF
40972 cat confdefs.h
>>conftest.
$ac_ext
40973 cat >>conftest.
$ac_ext <<_ACEOF
40974 /* end confdefs.h. */
40980 char *name = "www.gnu.org";
40981 struct hostent ret;
40985 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40991 rm -f conftest.
$ac_objext
40992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40993 (eval $ac_compile) 2>conftest.er1
40995 grep -v '^ *+' conftest.er1
>conftest.err
40997 cat conftest.err
>&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); } &&
41000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41002 (eval $ac_try) 2>&5
41004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005 (exit $ac_status); }; } &&
41006 { ac_try
='test -s conftest.$ac_objext'
41007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41008 (eval $ac_try) 2>&5
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); }; }; then
41012 ac_cv_func_which_gethostbyname_r
=five
41014 echo "$as_me: failed program was:" >&5
41015 sed 's/^/| /' conftest.
$ac_ext >&5
41018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41024 # (e.g. AIX, HP-UX, Tru64)
41027 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41029 cat >conftest.
$ac_ext <<_ACEOF
41032 cat confdefs.h
>>conftest.
$ac_ext
41033 cat >>conftest.
$ac_ext <<_ACEOF
41034 /* end confdefs.h. */
41040 char *name = "www.gnu.org";
41041 struct hostent ret;
41042 struct hostent_data data;
41043 (void)gethostbyname_r(name, &ret, &data) /* ; */
41049 rm -f conftest.
$ac_objext
41050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41051 (eval $ac_compile) 2>conftest.er1
41053 grep -v '^ *+' conftest.er1
>conftest.err
41055 cat conftest.err
>&5
41056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057 (exit $ac_status); } &&
41058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41060 (eval $ac_try) 2>&5
41062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41063 (exit $ac_status); }; } &&
41064 { ac_try
='test -s conftest.$ac_objext'
41065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41066 (eval $ac_try) 2>&5
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); }; }; then
41070 ac_cv_func_which_gethostbyname_r
=three
41072 echo "$as_me: failed program was:" >&5
41073 sed 's/^/| /' conftest.
$ac_ext >&5
41076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41080 ################################################################
41085 case "$ac_cv_func_which_gethostbyname_r" in
41087 echo "$as_me:$LINENO: result: three" >&5
41088 echo "${ECHO_T}three" >&6
41089 cat >>confdefs.h
<<\_ACEOF
41090 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41096 echo "$as_me:$LINENO: result: five" >&5
41097 echo "${ECHO_T}five" >&6
41098 cat >>confdefs.h
<<\_ACEOF
41099 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41105 echo "$as_me:$LINENO: result: six" >&5
41106 echo "${ECHO_T}six" >&6
41107 cat >>confdefs.h
<<\_ACEOF
41108 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41114 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41115 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41119 echo "$as_me:$LINENO: result: can't tell" >&5
41120 echo "${ECHO_T}can't tell" >&6
41124 { { echo "$as_me:$LINENO: error: internal error" >&5
41125 echo "$as_me: error: internal error" >&2;}
41126 { (exit 1); exit 1; }; }
41131 ac_cpp
='$CXXCPP $CPPFLAGS'
41132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41138 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41139 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41140 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41141 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41142 if test "${ac_cv_func_gethostbyname+set}" = set; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41145 cat >conftest.
$ac_ext <<_ACEOF
41148 cat confdefs.h
>>conftest.
$ac_ext
41149 cat >>conftest.
$ac_ext <<_ACEOF
41150 /* end confdefs.h. */
41151 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41153 #define gethostbyname innocuous_gethostbyname
41155 /* System header to define __stub macros and hopefully few prototypes,
41156 which can conflict with char gethostbyname (); below.
41157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41158 <limits.h> exists even on freestanding compilers. */
41161 # include <limits.h>
41163 # include <assert.h>
41166 #undef gethostbyname
41168 /* Override any gcc2 internal prototype to avoid an error. */
41173 /* We use char because int might match the return type of a gcc2
41174 builtin and then its argument prototype would still apply. */
41175 char gethostbyname ();
41176 /* The GNU C library defines this for functions which it implements
41177 to always fail with ENOSYS. Some functions are actually named
41178 something starting with __ and the normal name is an alias. */
41179 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41182 char (*f) () = gethostbyname;
41191 return f != gethostbyname;
41196 rm -f conftest.
$ac_objext conftest
$ac_exeext
41197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41198 (eval $ac_link) 2>conftest.er1
41200 grep -v '^ *+' conftest.er1
>conftest.err
41202 cat conftest.err
>&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); } &&
41205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41207 (eval $ac_try) 2>&5
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); }; } &&
41211 { ac_try
='test -s conftest$ac_exeext'
41212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41213 (eval $ac_try) 2>&5
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); }; }; then
41217 ac_cv_func_gethostbyname
=yes
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.
$ac_ext >&5
41222 ac_cv_func_gethostbyname
=no
41224 rm -f conftest.err conftest.
$ac_objext \
41225 conftest
$ac_exeext conftest.
$ac_ext
41227 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41228 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41229 if test $ac_cv_func_gethostbyname = yes; then
41230 cat >>confdefs.h
<<\_ACEOF
41231 #define HAVE_GETHOSTBYNAME 1
41238 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41239 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41240 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41241 echo $ECHO_N "(cached) $ECHO_C" >&6
41244 cat >conftest.
$ac_ext <<_ACEOF
41247 cat confdefs.h
>>conftest.
$ac_ext
41248 cat >>conftest.
$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41257 struct servent *se, *res;
41260 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41266 rm -f conftest.
$ac_objext
41267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41268 (eval $ac_compile) 2>conftest.er1
41270 grep -v '^ *+' conftest.er1
>conftest.err
41272 cat conftest.err
>&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } &&
41275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41277 (eval $ac_try) 2>&5
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); }; } &&
41281 { ac_try
='test -s conftest.$ac_objext'
41282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41283 (eval $ac_try) 2>&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); }; }; then
41287 ac_cv_func_which_getservbyname_r
=six
41289 echo "$as_me: failed program was:" >&5
41290 sed 's/^/| /' conftest.
$ac_ext >&5
41293 cat >conftest.
$ac_ext <<_ACEOF
41296 cat confdefs.h
>>conftest.
$ac_ext
41297 cat >>conftest.
$ac_ext <<_ACEOF
41298 /* end confdefs.h. */
41306 struct servent *se;
41309 (void) getservbyname_r(name, proto, se, buffer, buflen)
41315 rm -f conftest.
$ac_objext
41316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41317 (eval $ac_compile) 2>conftest.er1
41319 grep -v '^ *+' conftest.er1
>conftest.err
41321 cat conftest.err
>&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } &&
41324 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41326 (eval $ac_try) 2>&5
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); }; } &&
41330 { ac_try
='test -s conftest.$ac_objext'
41331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41332 (eval $ac_try) 2>&5
41334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41335 (exit $ac_status); }; }; then
41336 ac_cv_func_which_getservbyname_r
=five
41338 echo "$as_me: failed program was:" >&5
41339 sed 's/^/| /' conftest.
$ac_ext >&5
41342 cat >conftest.
$ac_ext <<_ACEOF
41345 cat confdefs.h
>>conftest.
$ac_ext
41346 cat >>conftest.
$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41355 struct servent *se;
41356 struct servent_data data;
41357 (void) getservbyname_r(name, proto, se, &data);
41363 rm -f conftest.
$ac_objext
41364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41365 (eval $ac_compile) 2>conftest.er1
41367 grep -v '^ *+' conftest.er1
>conftest.err
41369 cat conftest.err
>&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); } &&
41372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41374 (eval $ac_try) 2>&5
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); }; } &&
41378 { ac_try
='test -s conftest.$ac_objext'
41379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41380 (eval $ac_try) 2>&5
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); }; }; then
41384 ac_cv_func_which_getservbyname_r
=four
41386 echo "$as_me: failed program was:" >&5
41387 sed 's/^/| /' conftest.
$ac_ext >&5
41389 ac_cv_func_which_getservbyname_r
=no
41392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41404 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41405 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41407 if test $ac_cv_func_which_getservbyname_r = six
; then
41408 cat >>confdefs.h
<<\_ACEOF
41409 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41412 elif test $ac_cv_func_which_getservbyname_r = five
; then
41413 cat >>confdefs.h
<<\_ACEOF
41414 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41417 elif test $ac_cv_func_which_getservbyname_r = four
; then
41418 cat >>confdefs.h
<<\_ACEOF
41419 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41425 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41426 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41428 for ac_func
in getservbyname
41430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41431 echo "$as_me:$LINENO: checking for $ac_func" >&5
41432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41433 if eval "test \"\${$as_ac_var+set}\" = set"; then
41434 echo $ECHO_N "(cached) $ECHO_C" >&6
41436 cat >conftest.
$ac_ext <<_ACEOF
41439 cat confdefs.h
>>conftest.
$ac_ext
41440 cat >>conftest.
$ac_ext <<_ACEOF
41441 /* end confdefs.h. */
41442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41444 #define $ac_func innocuous_$ac_func
41446 /* System header to define __stub macros and hopefully few prototypes,
41447 which can conflict with char $ac_func (); below.
41448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41449 <limits.h> exists even on freestanding compilers. */
41452 # include <limits.h>
41454 # include <assert.h>
41459 /* Override any gcc2 internal prototype to avoid an error. */
41464 /* We use char because int might match the return type of a gcc2
41465 builtin and then its argument prototype would still apply. */
41467 /* The GNU C library defines this for functions which it implements
41468 to always fail with ENOSYS. Some functions are actually named
41469 something starting with __ and the normal name is an alias. */
41470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41473 char (*f) () = $ac_func;
41482 return f != $ac_func;
41487 rm -f conftest.
$ac_objext conftest
$ac_exeext
41488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41489 (eval $ac_link) 2>conftest.er1
41491 grep -v '^ *+' conftest.er1
>conftest.err
41493 cat conftest.err
>&5
41494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41495 (exit $ac_status); } &&
41496 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41498 (eval $ac_try) 2>&5
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); }; } &&
41502 { ac_try
='test -s conftest$ac_exeext'
41503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41504 (eval $ac_try) 2>&5
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); }; }; then
41508 eval "$as_ac_var=yes"
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.
$ac_ext >&5
41513 eval "$as_ac_var=no"
41515 rm -f conftest.err conftest.
$ac_objext \
41516 conftest
$ac_exeext conftest.
$ac_ext
41518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41520 if test `eval echo '${'$as_ac_var'}'` = yes; then
41521 cat >>confdefs.h
<<_ACEOF
41522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41524 cat >>confdefs.h
<<\_ACEOF
41525 #define HAVE_GETSERVBYNAME 1
41533 if test "$wxUSE_THREADS" = "yes"; then
41534 cat >>confdefs.h
<<\_ACEOF
41535 #define wxUSE_THREADS 1
41539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41541 if test "$wx_cv_func_strtok_r" = "yes"; then
41542 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41543 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41544 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41545 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41546 echo "$as_me:$LINENO: result: yes" >&5
41547 echo "${ECHO_T}yes" >&6
41549 echo "$as_me:$LINENO: result: no" >&5
41550 echo "${ECHO_T}no" >&6
41555 if test "$WXGTK20" = 1 ; then
41556 cat >>confdefs.h
<<_ACEOF
41557 #define __WXGTK20__ $WXGTK20
41563 if test "$WXGTK12" = 1 ; then
41564 cat >>confdefs.h
<<_ACEOF
41565 #define __WXGTK12__ $WXGTK12
41570 if test "$WXGTK127" = 1 ; then
41571 cat >>confdefs.h
<<_ACEOF
41572 #define __WXGTK127__ $WXGTK127
41577 if test "$WXGPE" = 1 ; then
41578 cat >>confdefs.h
<<_ACEOF
41579 #define __WXGPE__ $WXGPE
41585 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41590 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41591 wxUSE_DEBUG_INFO
=yes
41592 if test "$GCC" = yes; then
41593 DEBUG_CFLAGS
="-ggdb"
41597 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41598 cat >>confdefs.h
<<\_ACEOF
41602 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41604 if test "$wxUSE_GTK" = 1 ; then
41605 if test "x$wxGTK_VERSION" = "x1" ; then
41606 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41611 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41612 cat >>confdefs.h
<<\_ACEOF
41613 #define wxUSE_MEMORY_TRACING 1
41616 cat >>confdefs.h
<<\_ACEOF
41617 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41620 cat >>confdefs.h
<<\_ACEOF
41621 #define wxUSE_DEBUG_NEW_ALWAYS 1
41624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41627 if test "$wxUSE_DMALLOC" = "yes" ; then
41628 DMALLOC_LIBS
="-ldmallocthcxx"
41632 if test "$wxUSE_PROFILE" = "yes" ; then
41633 PROFILE_FLAGS
=" -pg"
41636 if test "$GCC" = "yes" ; then
41637 if test "$wxUSE_NO_RTTI" = "yes" ; then
41638 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41640 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41641 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41643 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41644 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41649 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41652 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41658 if test "$wxUSE_OPTIMISE" = "no" ; then
41659 if test "$GCC" = yes ; then
41660 OPTIMISE_CFLAGS
="-O0"
41663 if test "$GCC" = yes ; then
41665 *-pc-os2_emx | *-pc-os2-emx )
41666 OPTIMISE_CFLAGS
="-O2"
41669 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41673 OPTIMISE_CFLAGS
="-O"
41678 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41679 cat >>confdefs.h
<<\_ACEOF
41680 #define WXWIN_COMPATIBILITY_2_4 1
41684 WXWIN_COMPATIBILITY_2_6
="yes"
41687 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41688 cat >>confdefs.h
<<\_ACEOF
41689 #define WXWIN_COMPATIBILITY_2_6 1
41695 if test "$wxUSE_GUI" = "yes"; then
41696 cat >>confdefs.h
<<\_ACEOF
41697 #define wxUSE_GUI 1
41704 if test "$wxUSE_UNIX" = "yes"; then
41705 cat >>confdefs.h
<<\_ACEOF
41706 #define wxUSE_UNIX 1
41712 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41716 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41717 if test "$USE_DARWIN" = 1; then
41719 elif test "$USE_DOS" = 1; then
41723 for ac_func
in dlopen
41725 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41726 echo "$as_me:$LINENO: checking for $ac_func" >&5
41727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41728 if eval "test \"\${$as_ac_var+set}\" = set"; then
41729 echo $ECHO_N "(cached) $ECHO_C" >&6
41731 cat >conftest.
$ac_ext <<_ACEOF
41734 cat confdefs.h
>>conftest.
$ac_ext
41735 cat >>conftest.
$ac_ext <<_ACEOF
41736 /* end confdefs.h. */
41737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41739 #define $ac_func innocuous_$ac_func
41741 /* System header to define __stub macros and hopefully few prototypes,
41742 which can conflict with char $ac_func (); below.
41743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41744 <limits.h> exists even on freestanding compilers. */
41747 # include <limits.h>
41749 # include <assert.h>
41754 /* Override any gcc2 internal prototype to avoid an error. */
41759 /* We use char because int might match the return type of a gcc2
41760 builtin and then its argument prototype would still apply. */
41762 /* The GNU C library defines this for functions which it implements
41763 to always fail with ENOSYS. Some functions are actually named
41764 something starting with __ and the normal name is an alias. */
41765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41768 char (*f) () = $ac_func;
41777 return f != $ac_func;
41782 rm -f conftest.
$ac_objext conftest
$ac_exeext
41783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41784 (eval $ac_link) 2>conftest.er1
41786 grep -v '^ *+' conftest.er1
>conftest.err
41788 cat conftest.err
>&5
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); } &&
41791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41793 (eval $ac_try) 2>&5
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); }; } &&
41797 { ac_try
='test -s conftest$ac_exeext'
41798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41799 (eval $ac_try) 2>&5
41801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41802 (exit $ac_status); }; }; then
41803 eval "$as_ac_var=yes"
41805 echo "$as_me: failed program was:" >&5
41806 sed 's/^/| /' conftest.
$ac_ext >&5
41808 eval "$as_ac_var=no"
41810 rm -f conftest.err conftest.
$ac_objext \
41811 conftest
$ac_exeext conftest.
$ac_ext
41813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41815 if test `eval echo '${'$as_ac_var'}'` = yes; then
41816 cat >>confdefs.h
<<_ACEOF
41817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41820 cat >>confdefs.h
<<\_ACEOF
41821 #define HAVE_DLOPEN 1
41828 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41829 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41830 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41831 echo $ECHO_N "(cached) $ECHO_C" >&6
41833 ac_check_lib_save_LIBS
=$LIBS
41835 cat >conftest.
$ac_ext <<_ACEOF
41838 cat confdefs.h
>>conftest.
$ac_ext
41839 cat >>conftest.
$ac_ext <<_ACEOF
41840 /* end confdefs.h. */
41842 /* Override any gcc2 internal prototype to avoid an error. */
41846 /* We use char because int might match the return type of a gcc2
41847 builtin and then its argument prototype would still apply. */
41857 rm -f conftest.
$ac_objext conftest
$ac_exeext
41858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41859 (eval $ac_link) 2>conftest.er1
41861 grep -v '^ *+' conftest.er1
>conftest.err
41863 cat conftest.err
>&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); } &&
41866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41868 (eval $ac_try) 2>&5
41870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871 (exit $ac_status); }; } &&
41872 { ac_try
='test -s conftest$ac_exeext'
41873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41874 (eval $ac_try) 2>&5
41876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877 (exit $ac_status); }; }; then
41878 ac_cv_lib_dl_dlopen
=yes
41880 echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.
$ac_ext >&5
41883 ac_cv_lib_dl_dlopen
=no
41885 rm -f conftest.err conftest.
$ac_objext \
41886 conftest
$ac_exeext conftest.
$ac_ext
41887 LIBS
=$ac_check_lib_save_LIBS
41889 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41890 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41891 if test $ac_cv_lib_dl_dlopen = yes; then
41893 cat >>confdefs.h
<<\_ACEOF
41894 #define HAVE_DLOPEN 1
41898 DL_LINK
=" -ldl$DL_LINK"
41903 for ac_func
in shl_load
41905 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41906 echo "$as_me:$LINENO: checking for $ac_func" >&5
41907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41908 if eval "test \"\${$as_ac_var+set}\" = set"; then
41909 echo $ECHO_N "(cached) $ECHO_C" >&6
41911 cat >conftest.
$ac_ext <<_ACEOF
41914 cat confdefs.h
>>conftest.
$ac_ext
41915 cat >>conftest.
$ac_ext <<_ACEOF
41916 /* end confdefs.h. */
41917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41919 #define $ac_func innocuous_$ac_func
41921 /* System header to define __stub macros and hopefully few prototypes,
41922 which can conflict with char $ac_func (); below.
41923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41924 <limits.h> exists even on freestanding compilers. */
41927 # include <limits.h>
41929 # include <assert.h>
41934 /* Override any gcc2 internal prototype to avoid an error. */
41939 /* We use char because int might match the return type of a gcc2
41940 builtin and then its argument prototype would still apply. */
41942 /* The GNU C library defines this for functions which it implements
41943 to always fail with ENOSYS. Some functions are actually named
41944 something starting with __ and the normal name is an alias. */
41945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41948 char (*f) () = $ac_func;
41957 return f != $ac_func;
41962 rm -f conftest.
$ac_objext conftest
$ac_exeext
41963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41964 (eval $ac_link) 2>conftest.er1
41966 grep -v '^ *+' conftest.er1
>conftest.err
41968 cat conftest.err
>&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); } &&
41971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41973 (eval $ac_try) 2>&5
41975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976 (exit $ac_status); }; } &&
41977 { ac_try
='test -s conftest$ac_exeext'
41978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41979 (eval $ac_try) 2>&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); }; }; then
41983 eval "$as_ac_var=yes"
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.
$ac_ext >&5
41988 eval "$as_ac_var=no"
41990 rm -f conftest.err conftest.
$ac_objext \
41991 conftest
$ac_exeext conftest.
$ac_ext
41993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41995 if test `eval echo '${'$as_ac_var'}'` = yes; then
41996 cat >>confdefs.h
<<_ACEOF
41997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42000 cat >>confdefs.h
<<\_ACEOF
42001 #define HAVE_SHL_LOAD 1
42008 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42009 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42010 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42011 echo $ECHO_N "(cached) $ECHO_C" >&6
42013 ac_check_lib_save_LIBS
=$LIBS
42014 LIBS
="-lshl_load $LIBS"
42015 cat >conftest.
$ac_ext <<_ACEOF
42018 cat confdefs.h
>>conftest.
$ac_ext
42019 cat >>conftest.
$ac_ext <<_ACEOF
42020 /* end confdefs.h. */
42022 /* Override any gcc2 internal prototype to avoid an error. */
42026 /* We use char because int might match the return type of a gcc2
42027 builtin and then its argument prototype would still apply. */
42037 rm -f conftest.
$ac_objext conftest
$ac_exeext
42038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42039 (eval $ac_link) 2>conftest.er1
42041 grep -v '^ *+' conftest.er1
>conftest.err
42043 cat conftest.err
>&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } &&
42046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42048 (eval $ac_try) 2>&5
42050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42051 (exit $ac_status); }; } &&
42052 { ac_try
='test -s conftest$ac_exeext'
42053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42054 (eval $ac_try) 2>&5
42056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42057 (exit $ac_status); }; }; then
42058 ac_cv_lib_shl_load_dld
=yes
42060 echo "$as_me: failed program was:" >&5
42061 sed 's/^/| /' conftest.
$ac_ext >&5
42063 ac_cv_lib_shl_load_dld
=no
42065 rm -f conftest.err conftest.
$ac_objext \
42066 conftest
$ac_exeext conftest.
$ac_ext
42067 LIBS
=$ac_check_lib_save_LIBS
42069 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42070 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42071 if test $ac_cv_lib_shl_load_dld = yes; then
42074 DL_LINK
=" -ldld$DL_LINK"
42090 if test "$HAVE_DL_FUNCS" = 1; then
42092 for ac_func
in dlerror
42094 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42095 echo "$as_me:$LINENO: checking for $ac_func" >&5
42096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42097 if eval "test \"\${$as_ac_var+set}\" = set"; then
42098 echo $ECHO_N "(cached) $ECHO_C" >&6
42100 cat >conftest.
$ac_ext <<_ACEOF
42103 cat confdefs.h
>>conftest.
$ac_ext
42104 cat >>conftest.
$ac_ext <<_ACEOF
42105 /* end confdefs.h. */
42106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42108 #define $ac_func innocuous_$ac_func
42110 /* System header to define __stub macros and hopefully few prototypes,
42111 which can conflict with char $ac_func (); below.
42112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42113 <limits.h> exists even on freestanding compilers. */
42116 # include <limits.h>
42118 # include <assert.h>
42123 /* Override any gcc2 internal prototype to avoid an error. */
42128 /* We use char because int might match the return type of a gcc2
42129 builtin and then its argument prototype would still apply. */
42131 /* The GNU C library defines this for functions which it implements
42132 to always fail with ENOSYS. Some functions are actually named
42133 something starting with __ and the normal name is an alias. */
42134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42137 char (*f) () = $ac_func;
42146 return f != $ac_func;
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 eval "$as_ac_var=yes"
42174 echo "$as_me: failed program was:" >&5
42175 sed 's/^/| /' conftest.
$ac_ext >&5
42177 eval "$as_ac_var=no"
42179 rm -f conftest.err conftest.
$ac_objext \
42180 conftest
$ac_exeext conftest.
$ac_ext
42182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42184 if test `eval echo '${'$as_ac_var'}'` = yes; then
42185 cat >>confdefs.h
<<_ACEOF
42186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42188 cat >>confdefs.h
<<\_ACEOF
42189 #define HAVE_DLERROR 1
42194 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42195 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42196 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42197 echo $ECHO_N "(cached) $ECHO_C" >&6
42199 ac_check_lib_save_LIBS
=$LIBS
42201 cat >conftest.
$ac_ext <<_ACEOF
42204 cat confdefs.h
>>conftest.
$ac_ext
42205 cat >>conftest.
$ac_ext <<_ACEOF
42206 /* end confdefs.h. */
42208 /* Override any gcc2 internal prototype to avoid an error. */
42212 /* We use char because int might match the return type of a gcc2
42213 builtin and then its argument prototype would still apply. */
42223 rm -f conftest.
$ac_objext conftest
$ac_exeext
42224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42225 (eval $ac_link) 2>conftest.er1
42227 grep -v '^ *+' conftest.er1
>conftest.err
42229 cat conftest.err
>&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } &&
42232 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42234 (eval $ac_try) 2>&5
42236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237 (exit $ac_status); }; } &&
42238 { ac_try
='test -s conftest$ac_exeext'
42239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42240 (eval $ac_try) 2>&5
42242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42243 (exit $ac_status); }; }; then
42244 ac_cv_lib_dl_dlerror
=yes
42246 echo "$as_me: failed program was:" >&5
42247 sed 's/^/| /' conftest.
$ac_ext >&5
42249 ac_cv_lib_dl_dlerror
=no
42251 rm -f conftest.err conftest.
$ac_objext \
42252 conftest
$ac_exeext conftest.
$ac_ext
42253 LIBS
=$ac_check_lib_save_LIBS
42255 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42256 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42257 if test $ac_cv_lib_dl_dlerror = yes; then
42258 cat >>confdefs.h
<<\_ACEOF
42259 #define HAVE_DLERROR 1
42272 if test "$HAVE_DL_FUNCS" = 0; then
42273 if test "$HAVE_SHL_FUNCS" = 0; then
42274 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42275 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42276 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42277 wxUSE_DYNAMIC_LOADER
=no
42278 wxUSE_DYNLIB_CLASS
=no
42280 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42281 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42288 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42289 cat >>confdefs.h
<<\_ACEOF
42290 #define wxUSE_DYNAMIC_LOADER 1
42294 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42295 cat >>confdefs.h
<<\_ACEOF
42296 #define wxUSE_DYNLIB_CLASS 1
42303 if test "$wxUSE_PLUGINS" = "yes" ; then
42304 if test "$wxUSE_SHARED" = "no" ; then
42305 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42306 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42309 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42310 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42311 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42314 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42315 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42316 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42319 if test "$wxUSE_PLUGINS" = "yes" ; then
42320 cat >>confdefs.h
<<\_ACEOF
42321 #define wxUSE_PLUGINS 1
42328 if test "$wxUSE_STL" = "yes"; then
42329 cat >>confdefs.h
<<\_ACEOF
42330 #define wxUSE_STL 1
42335 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42336 cat >>confdefs.h
<<\_ACEOF
42337 #define wxUSE_APPLE_IEEE 1
42342 if test "$wxUSE_TIMER" = "yes"; then
42343 cat >>confdefs.h
<<\_ACEOF
42344 #define wxUSE_TIMER 1
42349 if test "$USE_UNIX" = "1" ; then
42350 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42351 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42352 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42353 echo $ECHO_N "(cached) $ECHO_C" >&6
42356 cat >conftest.
$ac_ext <<_ACEOF
42359 cat confdefs.h
>>conftest.
$ac_ext
42360 cat >>conftest.
$ac_ext <<_ACEOF
42361 /* end confdefs.h. */
42363 #include <sys/ioctl.h>
42364 #include <sys/soundcard.h>
42370 ioctl(0, SNDCTL_DSP_SPEED, 0);
42376 rm -f conftest.
$ac_objext conftest
$ac_exeext
42377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42378 (eval $ac_link) 2>conftest.er1
42380 grep -v '^ *+' conftest.er1
>conftest.err
42382 cat conftest.err
>&5
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); } &&
42385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42387 (eval $ac_try) 2>&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; } &&
42391 { ac_try
='test -s conftest$ac_exeext'
42392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42393 (eval $ac_try) 2>&5
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); }; }; then
42397 ac_cv_header_sys_soundcard
=yes
42399 echo "$as_me: failed program was:" >&5
42400 sed 's/^/| /' conftest.
$ac_ext >&5
42404 LIBS
="$saveLibs -lossaudio"
42405 cat >conftest.
$ac_ext <<_ACEOF
42408 cat confdefs.h
>>conftest.
$ac_ext
42409 cat >>conftest.
$ac_ext <<_ACEOF
42410 /* end confdefs.h. */
42412 #include <sys/ioctl.h>
42413 #include <sys/soundcard.h>
42419 ioctl(0, SNDCTL_DSP_SPEED, 0);
42425 rm -f conftest.
$ac_objext conftest
$ac_exeext
42426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42427 (eval $ac_link) 2>conftest.er1
42429 grep -v '^ *+' conftest.er1
>conftest.err
42431 cat conftest.err
>&5
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); } &&
42434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42436 (eval $ac_try) 2>&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); }; } &&
42440 { ac_try
='test -s conftest$ac_exeext'
42441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42442 (eval $ac_try) 2>&5
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); }; }; then
42446 ac_cv_header_sys_soundcard
=yes
42448 echo "$as_me: failed program was:" >&5
42449 sed 's/^/| /' conftest.
$ac_ext >&5
42453 ac_cv_header_sys_soundcard
=no
42457 rm -f conftest.err conftest.
$ac_objext \
42458 conftest
$ac_exeext conftest.
$ac_ext
42462 rm -f conftest.err conftest.
$ac_objext \
42463 conftest
$ac_exeext conftest.
$ac_ext
42466 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42467 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42469 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42470 cat >>confdefs.h
<<\_ACEOF
42471 #define HAVE_SYS_SOUNDCARD_H 1
42475 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42479 if test "$wxUSE_SOUND" = "yes"; then
42480 if test "$USE_UNIX" = "1" ; then
42481 if test "$wxUSE_LIBSDL" != "no"; then
42483 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42484 if test "${with_sdl_prefix+set}" = set; then
42485 withval
="$with_sdl_prefix"
42486 sdl_prefix
="$withval"
42491 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42492 if test "${with_sdl_exec_prefix+set}" = set; then
42493 withval
="$with_sdl_exec_prefix"
42494 sdl_exec_prefix
="$withval"
42498 # Check whether --enable-sdltest or --disable-sdltest was given.
42499 if test "${enable_sdltest+set}" = set; then
42500 enableval
="$enable_sdltest"
42506 if test x
$sdl_exec_prefix != x
; then
42507 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42508 if test x
${SDL_CONFIG+set} != xset
; then
42509 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42512 if test x
$sdl_prefix != x
; then
42513 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42514 if test x
${SDL_CONFIG+set} != xset
; then
42515 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42519 if test "x$prefix" != xNONE
; then
42520 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42522 # Extract the first word of "sdl-config", so it can be a program name with args.
42523 set dummy sdl
-config; ac_word
=$2
42524 echo "$as_me:$LINENO: checking for $ac_word" >&5
42525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42526 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42527 echo $ECHO_N "(cached) $ECHO_C" >&6
42529 case $SDL_CONFIG in
42531 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42535 for as_dir
in $PATH
42538 test -z "$as_dir" && as_dir
=.
42539 for ac_exec_ext
in '' $ac_executable_extensions; do
42540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42541 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42548 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42552 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42554 if test -n "$SDL_CONFIG"; then
42555 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42556 echo "${ECHO_T}$SDL_CONFIG" >&6
42558 echo "$as_me:$LINENO: result: no" >&5
42559 echo "${ECHO_T}no" >&6
42562 min_sdl_version
=1.2.0
42563 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42564 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42566 if test "$SDL_CONFIG" = "no" ; then
42569 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42570 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42572 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42574 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42576 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42578 if test "x$enable_sdltest" = "xyes" ; then
42579 ac_save_CFLAGS
="$CFLAGS"
42580 ac_save_CXXFLAGS
="$CXXFLAGS"
42581 ac_save_LIBS
="$LIBS"
42582 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42583 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42584 LIBS
="$LIBS $SDL_LIBS"
42586 if test "$cross_compiling" = yes; then
42587 echo $ac_n "cross compiling; assumed OK... $ac_c"
42589 cat >conftest.
$ac_ext <<_ACEOF
42592 cat confdefs.h
>>conftest.
$ac_ext
42593 cat >>conftest.
$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42597 #include <stdlib.h>
42598 #include <string.h>
42602 my_strdup (char *str)
42608 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42609 strcpy (new_str, str);
42617 int main (int argc, char *argv[])
42619 int major, minor, micro;
42622 /* This hangs on some systems (?)
42623 system ("touch conf.sdltest");
42625 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42627 /* HP/UX 9 (%@#!) writes to sscanf strings */
42628 tmp_version = my_strdup("$min_sdl_version");
42629 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42630 printf("%s, bad version string\n", "$min_sdl_version");
42634 if (($sdl_major_version > major) ||
42635 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42636 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42642 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42643 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42644 printf("*** best to upgrade to the required version.\n");
42645 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42646 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42647 printf("*** config.cache before re-running configure\n");
42654 rm -f conftest
$ac_exeext
42655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42656 (eval $ac_link) 2>&5
42658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42659 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42661 (eval $ac_try) 2>&5
42663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664 (exit $ac_status); }; }; then
42667 echo "$as_me: program exited with status $ac_status" >&5
42668 echo "$as_me: failed program was:" >&5
42669 sed 's/^/| /' conftest.
$ac_ext >&5
42671 ( exit $ac_status )
42674 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42676 CFLAGS
="$ac_save_CFLAGS"
42677 CXXFLAGS
="$ac_save_CXXFLAGS"
42678 LIBS
="$ac_save_LIBS"
42681 if test "x$no_sdl" = x
; then
42682 echo "$as_me:$LINENO: result: yes" >&5
42683 echo "${ECHO_T}yes" >&6
42685 EXTRALIBS_SDL
="$SDL_LIBS"
42686 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42687 cat >>confdefs.h
<<\_ACEOF
42688 #define wxUSE_LIBSDL 1
42693 echo "$as_me:$LINENO: result: no" >&5
42694 echo "${ECHO_T}no" >&6
42695 if test "$SDL_CONFIG" = "no" ; then
42696 echo "*** The sdl-config script installed by SDL could not be found"
42697 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42698 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42699 echo "*** full path to sdl-config."
42701 if test -f conf.sdltest
; then
42704 echo "*** Could not run SDL test program, checking why..."
42705 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42706 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42707 LIBS
="$LIBS $SDL_LIBS"
42708 cat >conftest.
$ac_ext <<_ACEOF
42711 cat confdefs.h
>>conftest.
$ac_ext
42712 cat >>conftest.
$ac_ext <<_ACEOF
42713 /* end confdefs.h. */
42718 int main(int argc, char *argv[])
42721 #define main K_and_R_C_main
42731 rm -f conftest.
$ac_objext conftest
$ac_exeext
42732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42733 (eval $ac_link) 2>conftest.er1
42735 grep -v '^ *+' conftest.er1
>conftest.err
42737 cat conftest.err
>&5
42738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42739 (exit $ac_status); } &&
42740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42742 (eval $ac_try) 2>&5
42744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42745 (exit $ac_status); }; } &&
42746 { ac_try
='test -s conftest$ac_exeext'
42747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42748 (eval $ac_try) 2>&5
42750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42751 (exit $ac_status); }; }; then
42752 echo "*** The test program compiled, but did not run. This usually means"
42753 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42754 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42755 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42756 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42757 echo "*** is required on your system"
42759 echo "*** If you have an old version installed, it is best to remove it, although"
42760 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42762 echo "$as_me: failed program was:" >&5
42763 sed 's/^/| /' conftest.
$ac_ext >&5
42765 echo "*** The test program failed to compile or link. See the file config.log for the"
42766 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42767 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42768 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42770 rm -f conftest.err conftest.
$ac_objext \
42771 conftest
$ac_exeext conftest.
$ac_ext
42772 CFLAGS
="$ac_save_CFLAGS"
42773 CXXFLAGS
="$ac_save_CXXFLAGS"
42774 LIBS
="$ac_save_LIBS"
42785 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42791 cat >>confdefs.h
<<\_ACEOF
42792 #define wxUSE_SOUND 1
42795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42798 if test "$WXGTK20" = 1; then
42799 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42800 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42804 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42805 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42807 if test -n "$PKG_CONFIG"; then
42808 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42809 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42811 if test -n "$PKG_CONFIG" && \
42812 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42813 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816 (exit $ac_status); }; then
42817 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42825 if test -n "$PKG_CONFIG"; then
42826 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42827 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42829 if test -n "$PKG_CONFIG" && \
42830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42831 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42834 (exit $ac_status); }; then
42835 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42846 if test $pkg_failed = yes; then
42848 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42849 _pkg_short_errors_supported
=yes
42851 _pkg_short_errors_supported
=no
42853 if test $_pkg_short_errors_supported = yes; then
42854 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42856 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42858 # Put the nasty error message in config.log where it belongs
42859 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42862 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42863 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42864 wxUSE_LIBGNOMEPRINT
="no"
42867 elif test $pkg_failed = untried
; then
42869 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42870 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42871 wxUSE_LIBGNOMEPRINT
="no"
42875 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42876 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42877 echo "$as_me:$LINENO: result: yes" >&5
42878 echo "${ECHO_T}yes" >&6
42880 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42881 cat >>confdefs.h
<<\_ACEOF
42882 #define wxUSE_LIBGNOMEPRINT 1
42891 if test "$WXGTK20" = 1; then
42892 if test "$wxUSE_MIMETYPE" = "yes" ; then
42893 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42897 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42898 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42900 if test -n "$PKG_CONFIG"; then
42901 if test -n "$GNOMEVFS_CFLAGS"; then
42902 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42904 if test -n "$PKG_CONFIG" && \
42905 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42906 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); }; then
42910 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42918 if test -n "$PKG_CONFIG"; then
42919 if test -n "$GNOMEVFS_LIBS"; then
42920 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42922 if test -n "$PKG_CONFIG" && \
42923 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42924 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42927 (exit $ac_status); }; then
42928 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42939 if test $pkg_failed = yes; then
42941 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42942 _pkg_short_errors_supported
=yes
42944 _pkg_short_errors_supported
=no
42946 if test $_pkg_short_errors_supported = yes; then
42947 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42949 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42951 # Put the nasty error message in config.log where it belongs
42952 echo "$GNOMEVFS_PKG_ERRORS" >&5
42955 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42956 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42957 wxUSE_LIBGNOMEVFS
="no"
42960 elif test $pkg_failed = untried
; then
42962 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42963 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42964 wxUSE_LIBGNOMEVFS
="no"
42968 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42969 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42970 echo "$as_me:$LINENO: result: yes" >&5
42971 echo "${ECHO_T}yes" >&6
42973 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42974 cat >>confdefs.h
<<\_ACEOF
42975 #define wxUSE_LIBGNOMEVFS 1
42984 if test "$WXGTK20" = 1; then
42985 if test "$wxUSE_LIBHILDON" = "yes" ; then
42988 echo "$as_me:$LINENO: checking for HILDON" >&5
42989 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42991 if test -n "$PKG_CONFIG"; then
42992 if test -n "$HILDON_CFLAGS"; then
42993 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42995 if test -n "$PKG_CONFIG" && \
42996 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42997 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); }; then
43001 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43009 if test -n "$PKG_CONFIG"; then
43010 if test -n "$HILDON_LIBS"; then
43011 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43013 if test -n "$PKG_CONFIG" && \
43014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43015 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); }; then
43019 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43030 if test $pkg_failed = yes; then
43032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43033 _pkg_short_errors_supported
=yes
43035 _pkg_short_errors_supported
=no
43037 if test $_pkg_short_errors_supported = yes; then
43038 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43040 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43042 # Put the nasty error message in config.log where it belongs
43043 echo "$HILDON_PKG_ERRORS" >&5
43046 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43047 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43048 wxUSE_LIBHILDON
="no"
43051 elif test $pkg_failed = untried
; then
43053 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43054 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43055 wxUSE_LIBHILDON
="no"
43059 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43060 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43061 echo "$as_me:$LINENO: result: yes" >&5
43062 echo "${ECHO_T}yes" >&6
43064 EXTRALIBS_HILDON
="$HILDON_LIBS"
43065 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43066 cat >>confdefs.h
<<\_ACEOF
43067 #define wxUSE_LIBHILDON 1
43075 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43076 cat >>confdefs.h
<<\_ACEOF
43077 #define wxUSE_CMDLINE_PARSER 1
43082 if test "$wxUSE_STOPWATCH" = "yes"; then
43083 cat >>confdefs.h
<<\_ACEOF
43084 #define wxUSE_STOPWATCH 1
43089 if test "$wxUSE_DATETIME" = "yes"; then
43090 cat >>confdefs.h
<<\_ACEOF
43091 #define wxUSE_DATETIME 1
43096 if test "$wxUSE_FILE" = "yes"; then
43097 cat >>confdefs.h
<<\_ACEOF
43098 #define wxUSE_FILE 1
43103 if test "$wxUSE_FFILE" = "yes"; then
43104 cat >>confdefs.h
<<\_ACEOF
43105 #define wxUSE_FFILE 1
43110 if test "$wxUSE_FILESYSTEM" = "yes"; then
43111 cat >>confdefs.h
<<\_ACEOF
43112 #define wxUSE_FILESYSTEM 1
43117 if test "$wxUSE_FS_ZIP" = "yes"; then
43118 cat >>confdefs.h
<<\_ACEOF
43119 #define wxUSE_FS_ZIP 1
43124 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43125 cat >>confdefs.h
<<\_ACEOF
43126 #define wxUSE_ARCHIVE_STREAMS 1
43131 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43132 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43133 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43134 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43135 elif test "$wxUSE_ZLIB" = "no"; then
43136 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43137 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43139 cat >>confdefs.h
<<\_ACEOF
43140 #define wxUSE_ZIPSTREAM 1
43146 if test "$wxUSE_BACKINGFILE" = "yes"; then
43147 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43148 { echo "$as_me:$LINENO: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&5
43149 echo "$as_me: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43151 cat >>confdefs.h
<<\_ACEOF
43152 #define wxUSE_BACKINGFILE 1
43158 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43159 if test "$USE_UNIX" != 1; then
43160 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43161 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43162 wxUSE_ON_FATAL_EXCEPTION
=no
43164 cat >>confdefs.h
<<\_ACEOF
43165 #define wxUSE_ON_FATAL_EXCEPTION 1
43171 if test "$wxUSE_STACKWALKER" = "yes"; then
43172 cat >>confdefs.h
<<\_ACEOF
43173 #define wxUSE_STACKWALKER 1
43178 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43179 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43180 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43181 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43182 wxUSE_DEBUGREPORT
=no
43184 cat >>confdefs.h
<<\_ACEOF
43185 #define wxUSE_DEBUGREPORT 1
43188 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43194 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43195 cat >>confdefs.h
<<\_ACEOF
43196 #define wxUSE_SNGLINST_CHECKER 1
43201 if test "$wxUSE_BUSYINFO" = "yes"; then
43202 cat >>confdefs.h
<<\_ACEOF
43203 #define wxUSE_BUSYINFO 1
43208 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43209 cat >>confdefs.h
<<\_ACEOF
43210 #define wxUSE_STD_IOSTREAM 1
43215 if test "$wxUSE_STD_STRING" = "yes"; then
43216 cat >>confdefs.h
<<\_ACEOF
43217 #define wxUSE_STD_STRING 1
43222 if test "$wxUSE_STDPATHS" = "yes"; then
43223 cat >>confdefs.h
<<\_ACEOF
43224 #define wxUSE_STDPATHS 1
43229 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43230 cat >>confdefs.h
<<\_ACEOF
43231 #define wxUSE_TEXTBUFFER 1
43236 if test "$wxUSE_TEXTFILE" = "yes"; then
43237 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43238 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43239 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43241 cat >>confdefs.h
<<\_ACEOF
43242 #define wxUSE_TEXTFILE 1
43248 if test "$wxUSE_CONFIG" = "yes" ; then
43249 if test "$wxUSE_TEXTFILE" != "yes"; then
43250 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43251 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43253 cat >>confdefs.h
<<\_ACEOF
43254 #define wxUSE_CONFIG 1
43257 cat >>confdefs.h
<<\_ACEOF
43258 #define wxUSE_CONFIG_NATIVE 1
43261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43265 if test "$wxUSE_INTL" = "yes" ; then
43266 if test "$wxUSE_FILE" != "yes"; then
43267 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43268 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43270 cat >>confdefs.h
<<\_ACEOF
43271 #define wxUSE_INTL 1
43274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43275 GUIDIST
="$GUIDIST INTL_DIST"
43279 if test "$wxUSE_LOG" = "yes"; then
43280 cat >>confdefs.h
<<\_ACEOF
43281 #define wxUSE_LOG 1
43285 if test "$wxUSE_LOGGUI" = "yes"; then
43286 cat >>confdefs.h
<<\_ACEOF
43287 #define wxUSE_LOGGUI 1
43292 if test "$wxUSE_LOGWINDOW" = "yes"; then
43293 cat >>confdefs.h
<<\_ACEOF
43294 #define wxUSE_LOGWINDOW 1
43299 if test "$wxUSE_LOGDIALOG" = "yes"; then
43300 cat >>confdefs.h
<<\_ACEOF
43301 #define wxUSE_LOG_DIALOG 1
43306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43309 if test "$wxUSE_LONGLONG" = "yes"; then
43310 cat >>confdefs.h
<<\_ACEOF
43311 #define wxUSE_LONGLONG 1
43316 if test "$wxUSE_GEOMETRY" = "yes"; then
43317 cat >>confdefs.h
<<\_ACEOF
43318 #define wxUSE_GEOMETRY 1
43323 if test "$wxUSE_STREAMS" = "yes" ; then
43324 cat >>confdefs.h
<<\_ACEOF
43325 #define wxUSE_STREAMS 1
43330 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43331 cat >>confdefs.h
<<\_ACEOF
43332 #define wxUSE_PRINTF_POS_PARAMS 1
43339 if test "$wxUSE_DATETIME" = "yes"; then
43341 for ac_func
in strptime
43343 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43344 echo "$as_me:$LINENO: checking for $ac_func" >&5
43345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43346 if eval "test \"\${$as_ac_var+set}\" = set"; then
43347 echo $ECHO_N "(cached) $ECHO_C" >&6
43349 cat >conftest.
$ac_ext <<_ACEOF
43352 cat confdefs.h
>>conftest.
$ac_ext
43353 cat >>conftest.
$ac_ext <<_ACEOF
43354 /* end confdefs.h. */
43355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43357 #define $ac_func innocuous_$ac_func
43359 /* System header to define __stub macros and hopefully few prototypes,
43360 which can conflict with char $ac_func (); below.
43361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43362 <limits.h> exists even on freestanding compilers. */
43365 # include <limits.h>
43367 # include <assert.h>
43372 /* Override any gcc2 internal prototype to avoid an error. */
43377 /* We use char because int might match the return type of a gcc2
43378 builtin and then its argument prototype would still apply. */
43380 /* The GNU C library defines this for functions which it implements
43381 to always fail with ENOSYS. Some functions are actually named
43382 something starting with __ and the normal name is an alias. */
43383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43386 char (*f) () = $ac_func;
43395 return f != $ac_func;
43400 rm -f conftest.
$ac_objext conftest
$ac_exeext
43401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43402 (eval $ac_link) 2>conftest.er1
43404 grep -v '^ *+' conftest.er1
>conftest.err
43406 cat conftest.err
>&5
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); } &&
43409 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43411 (eval $ac_try) 2>&5
43413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414 (exit $ac_status); }; } &&
43415 { ac_try
='test -s conftest$ac_exeext'
43416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43417 (eval $ac_try) 2>&5
43419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43420 (exit $ac_status); }; }; then
43421 eval "$as_ac_var=yes"
43423 echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.
$ac_ext >&5
43426 eval "$as_ac_var=no"
43428 rm -f conftest.err conftest.
$ac_objext \
43429 conftest
$ac_exeext conftest.
$ac_ext
43431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43433 if test `eval echo '${'$as_ac_var'}'` = yes; then
43434 cat >>confdefs.h
<<_ACEOF
43435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43441 if test "$ac_cv_func_strptime" = "yes"; then
43442 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43443 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43444 if test "${wx_cv_func_strptime_decl+set}" = set; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43448 cat >conftest.
$ac_ext <<_ACEOF
43451 cat confdefs.h
>>conftest.
$ac_ext
43452 cat >>conftest.
$ac_ext <<_ACEOF
43453 /* end confdefs.h. */
43462 strptime("foo", "bar", &t);
43468 rm -f conftest.
$ac_objext
43469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43470 (eval $ac_compile) 2>conftest.er1
43472 grep -v '^ *+' conftest.er1
>conftest.err
43474 cat conftest.err
>&5
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); } &&
43477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43479 (eval $ac_try) 2>&5
43481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482 (exit $ac_status); }; } &&
43483 { ac_try
='test -s conftest.$ac_objext'
43484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43485 (eval $ac_try) 2>&5
43487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43488 (exit $ac_status); }; }; then
43489 wx_cv_func_strptime_decl
=yes
43491 echo "$as_me: failed program was:" >&5
43492 sed 's/^/| /' conftest.
$ac_ext >&5
43494 wx_cv_func_strptime_decl
=no
43497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43501 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43502 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43504 if test "$wx_cv_func_strptime_decl" = "yes"; then
43505 cat >>confdefs.h
<<\_ACEOF
43506 #define HAVE_STRPTIME_DECL 1
43511 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43512 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43513 if test "${wx_cv_var_timezone+set}" = set; then
43514 echo $ECHO_N "(cached) $ECHO_C" >&6
43517 cat >conftest.
$ac_ext <<_ACEOF
43520 cat confdefs.h
>>conftest.
$ac_ext
43521 cat >>conftest.
$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43537 rm -f conftest.
$ac_objext
43538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43539 (eval $ac_compile) 2>conftest.er1
43541 grep -v '^ *+' conftest.er1
>conftest.err
43543 cat conftest.err
>&5
43544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545 (exit $ac_status); } &&
43546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43548 (eval $ac_try) 2>&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); }; } &&
43552 { ac_try
='test -s conftest.$ac_objext'
43553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43554 (eval $ac_try) 2>&5
43556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557 (exit $ac_status); }; }; then
43559 wx_cv_var_timezone
=timezone
43562 echo "$as_me: failed program was:" >&5
43563 sed 's/^/| /' conftest.
$ac_ext >&5
43566 cat >conftest.
$ac_ext <<_ACEOF
43569 cat confdefs.h
>>conftest.
$ac_ext
43570 cat >>conftest.
$ac_ext <<_ACEOF
43571 /* end confdefs.h. */
43586 rm -f conftest.
$ac_objext
43587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43588 (eval $ac_compile) 2>conftest.er1
43590 grep -v '^ *+' conftest.er1
>conftest.err
43592 cat conftest.err
>&5
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); } &&
43595 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43597 (eval $ac_try) 2>&5
43599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43600 (exit $ac_status); }; } &&
43601 { ac_try
='test -s conftest.$ac_objext'
43602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43603 (eval $ac_try) 2>&5
43605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43606 (exit $ac_status); }; }; then
43608 wx_cv_var_timezone
=_timezone
43611 echo "$as_me: failed program was:" >&5
43612 sed 's/^/| /' conftest.
$ac_ext >&5
43615 cat >conftest.
$ac_ext <<_ACEOF
43618 cat confdefs.h
>>conftest.
$ac_ext
43619 cat >>conftest.
$ac_ext <<_ACEOF
43620 /* end confdefs.h. */
43635 rm -f conftest.
$ac_objext
43636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43637 (eval $ac_compile) 2>conftest.er1
43639 grep -v '^ *+' conftest.er1
>conftest.err
43641 cat conftest.err
>&5
43642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43643 (exit $ac_status); } &&
43644 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43646 (eval $ac_try) 2>&5
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); }; } &&
43650 { ac_try
='test -s conftest.$ac_objext'
43651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43652 (eval $ac_try) 2>&5
43654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655 (exit $ac_status); }; }; then
43657 wx_cv_var_timezone
=__timezone
43660 echo "$as_me: failed program was:" >&5
43661 sed 's/^/| /' conftest.
$ac_ext >&5
43664 if test "$USE_DOS" = 0 ; then
43665 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43666 echo "$as_me: WARNING: no timezone variable" >&2;}
43671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43683 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43684 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43686 if test "x$wx_cv_var_timezone" != x
; then
43687 cat >>confdefs.h
<<_ACEOF
43688 #define WX_TIMEZONE $wx_cv_var_timezone
43694 for ac_func
in localtime
43696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43697 echo "$as_me:$LINENO: checking for $ac_func" >&5
43698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43699 if eval "test \"\${$as_ac_var+set}\" = set"; then
43700 echo $ECHO_N "(cached) $ECHO_C" >&6
43702 cat >conftest.
$ac_ext <<_ACEOF
43705 cat confdefs.h
>>conftest.
$ac_ext
43706 cat >>conftest.
$ac_ext <<_ACEOF
43707 /* end confdefs.h. */
43708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43710 #define $ac_func innocuous_$ac_func
43712 /* System header to define __stub macros and hopefully few prototypes,
43713 which can conflict with char $ac_func (); below.
43714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43715 <limits.h> exists even on freestanding compilers. */
43718 # include <limits.h>
43720 # include <assert.h>
43725 /* Override any gcc2 internal prototype to avoid an error. */
43730 /* We use char because int might match the return type of a gcc2
43731 builtin and then its argument prototype would still apply. */
43733 /* The GNU C library defines this for functions which it implements
43734 to always fail with ENOSYS. Some functions are actually named
43735 something starting with __ and the normal name is an alias. */
43736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43739 char (*f) () = $ac_func;
43748 return f != $ac_func;
43753 rm -f conftest.
$ac_objext conftest
$ac_exeext
43754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43755 (eval $ac_link) 2>conftest.er1
43757 grep -v '^ *+' conftest.er1
>conftest.err
43759 cat conftest.err
>&5
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); } &&
43762 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764 (eval $ac_try) 2>&5
43766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767 (exit $ac_status); }; } &&
43768 { ac_try
='test -s conftest$ac_exeext'
43769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43770 (eval $ac_try) 2>&5
43772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43773 (exit $ac_status); }; }; then
43774 eval "$as_ac_var=yes"
43776 echo "$as_me: failed program was:" >&5
43777 sed 's/^/| /' conftest.
$ac_ext >&5
43779 eval "$as_ac_var=no"
43781 rm -f conftest.err conftest.
$ac_objext \
43782 conftest
$ac_exeext conftest.
$ac_ext
43784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43786 if test `eval echo '${'$as_ac_var'}'` = yes; then
43787 cat >>confdefs.h
<<_ACEOF
43788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43795 if test "$ac_cv_func_localtime" = "yes"; then
43796 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43797 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43798 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43799 echo $ECHO_N "(cached) $ECHO_C" >&6
43802 cat >conftest.
$ac_ext <<_ACEOF
43805 cat confdefs.h
>>conftest.
$ac_ext
43806 cat >>conftest.
$ac_ext <<_ACEOF
43807 /* end confdefs.h. */
43822 rm -f conftest.
$ac_objext
43823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43824 (eval $ac_compile) 2>conftest.er1
43826 grep -v '^ *+' conftest.er1
>conftest.err
43828 cat conftest.err
>&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); } &&
43831 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43833 (eval $ac_try) 2>&5
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; } &&
43837 { ac_try
='test -s conftest.$ac_objext'
43838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43839 (eval $ac_try) 2>&5
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); }; }; then
43844 wx_cv_struct_tm_has_gmtoff
=yes
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.
$ac_ext >&5
43850 wx_cv_struct_tm_has_gmtoff
=no
43853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43856 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43857 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43860 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43861 cat >>confdefs.h
<<\_ACEOF
43862 #define WX_GMTOFF_IN_TM 1
43869 for ac_func
in gettimeofday ftime
43871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43872 echo "$as_me:$LINENO: checking for $ac_func" >&5
43873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43874 if eval "test \"\${$as_ac_var+set}\" = set"; then
43875 echo $ECHO_N "(cached) $ECHO_C" >&6
43877 cat >conftest.
$ac_ext <<_ACEOF
43880 cat confdefs.h
>>conftest.
$ac_ext
43881 cat >>conftest.
$ac_ext <<_ACEOF
43882 /* end confdefs.h. */
43883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43885 #define $ac_func innocuous_$ac_func
43887 /* System header to define __stub macros and hopefully few prototypes,
43888 which can conflict with char $ac_func (); below.
43889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43890 <limits.h> exists even on freestanding compilers. */
43893 # include <limits.h>
43895 # include <assert.h>
43900 /* Override any gcc2 internal prototype to avoid an error. */
43905 /* We use char because int might match the return type of a gcc2
43906 builtin and then its argument prototype would still apply. */
43908 /* The GNU C library defines this for functions which it implements
43909 to always fail with ENOSYS. Some functions are actually named
43910 something starting with __ and the normal name is an alias. */
43911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43914 char (*f) () = $ac_func;
43923 return f != $ac_func;
43928 rm -f conftest.
$ac_objext conftest
$ac_exeext
43929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43930 (eval $ac_link) 2>conftest.er1
43932 grep -v '^ *+' conftest.er1
>conftest.err
43934 cat conftest.err
>&5
43935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43936 (exit $ac_status); } &&
43937 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43939 (eval $ac_try) 2>&5
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); }; } &&
43943 { ac_try
='test -s conftest$ac_exeext'
43944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43945 (eval $ac_try) 2>&5
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); }; }; then
43949 eval "$as_ac_var=yes"
43951 echo "$as_me: failed program was:" >&5
43952 sed 's/^/| /' conftest.
$ac_ext >&5
43954 eval "$as_ac_var=no"
43956 rm -f conftest.err conftest.
$ac_objext \
43957 conftest
$ac_exeext conftest.
$ac_ext
43959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43961 if test `eval echo '${'$as_ac_var'}'` = yes; then
43962 cat >>confdefs.h
<<_ACEOF
43963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43970 if test "$ac_cv_func_gettimeofday" = "yes"; then
43971 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43972 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43973 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43977 cat >conftest.
$ac_ext <<_ACEOF
43980 cat confdefs.h
>>conftest.
$ac_ext
43981 cat >>conftest.
$ac_ext <<_ACEOF
43982 /* end confdefs.h. */
43984 #include <sys/time.h>
43985 #include <unistd.h>
43992 gettimeofday(&tv, NULL);
43998 rm -f conftest.
$ac_objext
43999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44000 (eval $ac_compile) 2>conftest.er1
44002 grep -v '^ *+' conftest.er1
>conftest.err
44004 cat conftest.err
>&5
44005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44006 (exit $ac_status); } &&
44007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44009 (eval $ac_try) 2>&5
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); }; } &&
44013 { ac_try
='test -s conftest.$ac_objext'
44014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44015 (eval $ac_try) 2>&5
44017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018 (exit $ac_status); }; }; then
44019 wx_cv_func_gettimeofday_has_2_args
=yes
44021 echo "$as_me: failed program was:" >&5
44022 sed 's/^/| /' conftest.
$ac_ext >&5
44024 cat >conftest.
$ac_ext <<_ACEOF
44027 cat confdefs.h
>>conftest.
$ac_ext
44028 cat >>conftest.
$ac_ext <<_ACEOF
44029 /* end confdefs.h. */
44031 #include <sys/time.h>
44032 #include <unistd.h>
44045 rm -f conftest.
$ac_objext
44046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44047 (eval $ac_compile) 2>conftest.er1
44049 grep -v '^ *+' conftest.er1
>conftest.err
44051 cat conftest.err
>&5
44052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44053 (exit $ac_status); } &&
44054 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44056 (eval $ac_try) 2>&5
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; } &&
44060 { ac_try
='test -s conftest.$ac_objext'
44061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44062 (eval $ac_try) 2>&5
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); }; }; then
44066 wx_cv_func_gettimeofday_has_2_args
=no
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.
$ac_ext >&5
44072 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44073 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44074 wx_cv_func_gettimeofday_has_2_args
=unknown
44078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44084 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44085 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44087 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44088 cat >>confdefs.h
<<\_ACEOF
44089 #define WX_GETTIMEOFDAY_NO_TZ 1
44095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44099 if test "$wxUSE_SOCKETS" = "yes"; then
44100 if test "$wxUSE_MGL" = "1"; then
44101 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44102 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44107 if test "$wxUSE_SOCKETS" = "yes"; then
44108 if test "$TOOLKIT" != "MSW"; then
44109 echo "$as_me:$LINENO: checking for socket" >&5
44110 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44111 if test "${ac_cv_func_socket+set}" = set; then
44112 echo $ECHO_N "(cached) $ECHO_C" >&6
44114 cat >conftest.
$ac_ext <<_ACEOF
44117 cat confdefs.h
>>conftest.
$ac_ext
44118 cat >>conftest.
$ac_ext <<_ACEOF
44119 /* end confdefs.h. */
44120 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44122 #define socket innocuous_socket
44124 /* System header to define __stub macros and hopefully few prototypes,
44125 which can conflict with char socket (); below.
44126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44127 <limits.h> exists even on freestanding compilers. */
44130 # include <limits.h>
44132 # include <assert.h>
44137 /* Override any gcc2 internal prototype to avoid an error. */
44142 /* We use char because int might match the return type of a gcc2
44143 builtin and then its argument prototype would still apply. */
44145 /* The GNU C library defines this for functions which it implements
44146 to always fail with ENOSYS. Some functions are actually named
44147 something starting with __ and the normal name is an alias. */
44148 #if defined (__stub_socket) || defined (__stub___socket)
44151 char (*f) () = socket;
44160 return f != socket;
44165 rm -f conftest.
$ac_objext conftest
$ac_exeext
44166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44167 (eval $ac_link) 2>conftest.er1
44169 grep -v '^ *+' conftest.er1
>conftest.err
44171 cat conftest.err
>&5
44172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173 (exit $ac_status); } &&
44174 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; } &&
44180 { ac_try
='test -s conftest$ac_exeext'
44181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44182 (eval $ac_try) 2>&5
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); }; }; then
44186 ac_cv_func_socket
=yes
44188 echo "$as_me: failed program was:" >&5
44189 sed 's/^/| /' conftest.
$ac_ext >&5
44191 ac_cv_func_socket
=no
44193 rm -f conftest.err conftest.
$ac_objext \
44194 conftest
$ac_exeext conftest.
$ac_ext
44196 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44197 echo "${ECHO_T}$ac_cv_func_socket" >&6
44198 if test $ac_cv_func_socket = yes; then
44202 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44203 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44204 if test "${ac_cv_lib_socket_socket+set}" = set; then
44205 echo $ECHO_N "(cached) $ECHO_C" >&6
44207 ac_check_lib_save_LIBS
=$LIBS
44208 LIBS
="-lsocket $LIBS"
44209 cat >conftest.
$ac_ext <<_ACEOF
44212 cat confdefs.h
>>conftest.
$ac_ext
44213 cat >>conftest.
$ac_ext <<_ACEOF
44214 /* end confdefs.h. */
44216 /* Override any gcc2 internal prototype to avoid an error. */
44220 /* We use char because int might match the return type of a gcc2
44221 builtin and then its argument prototype would still apply. */
44231 rm -f conftest.
$ac_objext conftest
$ac_exeext
44232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44233 (eval $ac_link) 2>conftest.er1
44235 grep -v '^ *+' conftest.er1
>conftest.err
44237 cat conftest.err
>&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); } &&
44240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44242 (eval $ac_try) 2>&5
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; } &&
44246 { ac_try
='test -s conftest$ac_exeext'
44247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44248 (eval $ac_try) 2>&5
44250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44251 (exit $ac_status); }; }; then
44252 ac_cv_lib_socket_socket
=yes
44254 echo "$as_me: failed program was:" >&5
44255 sed 's/^/| /' conftest.
$ac_ext >&5
44257 ac_cv_lib_socket_socket
=no
44259 rm -f conftest.err conftest.
$ac_objext \
44260 conftest
$ac_exeext conftest.
$ac_ext
44261 LIBS
=$ac_check_lib_save_LIBS
44263 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44264 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44265 if test $ac_cv_lib_socket_socket = yes; then
44266 if test "$INET_LINK" != " -lsocket"; then
44267 INET_LINK
="$INET_LINK -lsocket"
44271 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44272 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44285 if test "$wxUSE_SOCKETS" = "yes" ; then
44286 if test "$TOOLKIT" != "MSW"; then
44287 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44288 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44289 if test "${wx_cv_type_getsockname3+set}" = set; then
44290 echo $ECHO_N "(cached) $ECHO_C" >&6
44293 cat >conftest.
$ac_ext <<_ACEOF
44296 cat confdefs.h
>>conftest.
$ac_ext
44297 cat >>conftest.
$ac_ext <<_ACEOF
44298 /* end confdefs.h. */
44300 #include <sys/types.h>
44301 #include <sys/socket.h>
44308 getsockname(0, 0, &len);
44314 rm -f conftest.
$ac_objext
44315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44316 (eval $ac_compile) 2>conftest.er1
44318 grep -v '^ *+' conftest.er1
>conftest.err
44320 cat conftest.err
>&5
44321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44322 (exit $ac_status); } &&
44323 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44325 (eval $ac_try) 2>&5
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); }; } &&
44329 { ac_try
='test -s conftest.$ac_objext'
44330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331 (eval $ac_try) 2>&5
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); }; }; then
44335 wx_cv_type_getsockname3
=socklen_t
44337 echo "$as_me: failed program was:" >&5
44338 sed 's/^/| /' conftest.
$ac_ext >&5
44341 CXXFLAGS_OLD
="$CXXFLAGS"
44342 if test "$GCC" = yes ; then
44343 CXXFLAGS
="-Werror $CXXFLAGS"
44346 cat >conftest.
$ac_ext <<_ACEOF
44349 cat confdefs.h
>>conftest.
$ac_ext
44350 cat >>conftest.
$ac_ext <<_ACEOF
44351 /* end confdefs.h. */
44353 #include <sys/types.h>
44354 #include <sys/socket.h>
44361 getsockname(0, 0, &len);
44367 rm -f conftest.
$ac_objext
44368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44369 (eval $ac_compile) 2>conftest.er1
44371 grep -v '^ *+' conftest.er1
>conftest.err
44373 cat conftest.err
>&5
44374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44375 (exit $ac_status); } &&
44376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44378 (eval $ac_try) 2>&5
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); }; } &&
44382 { ac_try
='test -s conftest.$ac_objext'
44383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44384 (eval $ac_try) 2>&5
44386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44387 (exit $ac_status); }; }; then
44388 wx_cv_type_getsockname3
=size_t
44390 echo "$as_me: failed program was:" >&5
44391 sed 's/^/| /' conftest.
$ac_ext >&5
44393 cat >conftest.
$ac_ext <<_ACEOF
44396 cat confdefs.h
>>conftest.
$ac_ext
44397 cat >>conftest.
$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44400 #include <sys/types.h>
44401 #include <sys/socket.h>
44408 getsockname(0, 0, &len);
44414 rm -f conftest.
$ac_objext
44415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44416 (eval $ac_compile) 2>conftest.er1
44418 grep -v '^ *+' conftest.er1
>conftest.err
44420 cat conftest.err
>&5
44421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422 (exit $ac_status); } &&
44423 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44425 (eval $ac_try) 2>&5
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); }; } &&
44429 { ac_try
='test -s conftest.$ac_objext'
44430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44431 (eval $ac_try) 2>&5
44433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44434 (exit $ac_status); }; }; then
44435 wx_cv_type_getsockname3
=int
44437 echo "$as_me: failed program was:" >&5
44438 sed 's/^/| /' conftest.
$ac_ext >&5
44440 wx_cv_type_getsockname3
=unknown
44443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44448 CXXFLAGS
="$CXXFLAGS_OLD"
44452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44455 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44456 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44458 if test "$wx_cv_type_getsockname3" = "unknown"; then
44460 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44461 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44463 cat >>confdefs.h
<<_ACEOF
44464 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44468 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44469 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44470 if test "${wx_cv_type_getsockopt5+set}" = set; then
44471 echo $ECHO_N "(cached) $ECHO_C" >&6
44474 cat >conftest.
$ac_ext <<_ACEOF
44477 cat confdefs.h
>>conftest.
$ac_ext
44478 cat >>conftest.
$ac_ext <<_ACEOF
44479 /* end confdefs.h. */
44481 #include <sys/types.h>
44482 #include <sys/socket.h>
44489 getsockopt(0, 0, 0, 0, &len);
44495 rm -f conftest.
$ac_objext
44496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44497 (eval $ac_compile) 2>conftest.er1
44499 grep -v '^ *+' conftest.er1
>conftest.err
44501 cat conftest.err
>&5
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); } &&
44504 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44506 (eval $ac_try) 2>&5
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); }; } &&
44510 { ac_try
='test -s conftest.$ac_objext'
44511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44512 (eval $ac_try) 2>&5
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); }; }; then
44516 wx_cv_type_getsockopt5
=socklen_t
44518 echo "$as_me: failed program was:" >&5
44519 sed 's/^/| /' conftest.
$ac_ext >&5
44522 CXXFLAGS_OLD
="$CXXFLAGS"
44523 if test "$GCC" = yes ; then
44524 CXXFLAGS
="-Werror $CXXFLAGS"
44527 cat >conftest.
$ac_ext <<_ACEOF
44530 cat confdefs.h
>>conftest.
$ac_ext
44531 cat >>conftest.
$ac_ext <<_ACEOF
44532 /* end confdefs.h. */
44534 #include <sys/types.h>
44535 #include <sys/socket.h>
44542 getsockopt(0, 0, 0, 0, &len);
44548 rm -f conftest.
$ac_objext
44549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44550 (eval $ac_compile) 2>conftest.er1
44552 grep -v '^ *+' conftest.er1
>conftest.err
44554 cat conftest.err
>&5
44555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44556 (exit $ac_status); } &&
44557 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44559 (eval $ac_try) 2>&5
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); }; } &&
44563 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
44569 wx_cv_type_getsockopt5
=size_t
44571 echo "$as_me: failed program was:" >&5
44572 sed 's/^/| /' conftest.
$ac_ext >&5
44574 cat >conftest.
$ac_ext <<_ACEOF
44577 cat confdefs.h
>>conftest.
$ac_ext
44578 cat >>conftest.
$ac_ext <<_ACEOF
44579 /* end confdefs.h. */
44581 #include <sys/types.h>
44582 #include <sys/socket.h>
44589 getsockopt(0, 0, 0, 0, &len);
44595 rm -f conftest.
$ac_objext
44596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44597 (eval $ac_compile) 2>conftest.er1
44599 grep -v '^ *+' conftest.er1
>conftest.err
44601 cat conftest.err
>&5
44602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603 (exit $ac_status); } &&
44604 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44606 (eval $ac_try) 2>&5
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); }; } &&
44610 { ac_try
='test -s conftest.$ac_objext'
44611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44612 (eval $ac_try) 2>&5
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); }; }; then
44616 wx_cv_type_getsockopt5
=int
44618 echo "$as_me: failed program was:" >&5
44619 sed 's/^/| /' conftest.
$ac_ext >&5
44621 wx_cv_type_getsockopt5
=unknown
44624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44629 CXXFLAGS
="$CXXFLAGS_OLD"
44633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44636 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44637 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44639 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44641 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44642 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44644 cat >>confdefs.h
<<_ACEOF
44645 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44652 if test "$wxUSE_SOCKETS" = "yes" ; then
44653 cat >>confdefs.h
<<\_ACEOF
44654 #define wxUSE_SOCKETS 1
44657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44660 if test "$wxUSE_PROTOCOL" = "yes"; then
44661 if test "$wxUSE_SOCKETS" != "yes"; then
44662 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44663 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44668 if test "$wxUSE_PROTOCOL" = "yes"; then
44669 cat >>confdefs.h
<<\_ACEOF
44670 #define wxUSE_PROTOCOL 1
44674 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44675 cat >>confdefs.h
<<\_ACEOF
44676 #define wxUSE_PROTOCOL_HTTP 1
44680 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44681 cat >>confdefs.h
<<\_ACEOF
44682 #define wxUSE_PROTOCOL_FTP 1
44686 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44687 cat >>confdefs.h
<<\_ACEOF
44688 #define wxUSE_PROTOCOL_FILE 1
44693 if test "$wxUSE_FS_INET" = "yes"; then
44694 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44695 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44700 if test "$wxUSE_URL" = "yes"; then
44701 if test "$wxUSE_PROTOCOL" != "yes"; then
44702 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44703 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44706 if test "$wxUSE_URL" = "yes"; then
44707 cat >>confdefs.h
<<\_ACEOF
44708 #define wxUSE_URL 1
44714 if test "$wxUSE_VARIANT" = "yes"; then
44715 cat >>confdefs.h
<<\_ACEOF
44716 #define wxUSE_VARIANT 1
44721 if test "$wxUSE_FS_INET" = "yes"; then
44722 cat >>confdefs.h
<<\_ACEOF
44723 #define wxUSE_FS_INET 1
44729 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44732 if test "$TOOLKIT" = "MSW"; then
44735 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44736 if test "$USE_DARWIN" = 1; then
44737 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44738 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44739 cat >conftest.
$ac_ext <<_ACEOF
44742 cat confdefs.h
>>conftest.
$ac_ext
44743 cat >>conftest.
$ac_ext <<_ACEOF
44744 /* end confdefs.h. */
44745 #include <IOKit/hid/IOHIDLib.h>
44749 IOHIDQueueInterface *qi = NULL;
44750 IOHIDCallbackFunction cb = NULL;
44751 qi->setEventCallout(NULL, cb, NULL, NULL);
44756 rm -f conftest.
$ac_objext
44757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44758 (eval $ac_compile) 2>conftest.er1
44760 grep -v '^ *+' conftest.er1
>conftest.err
44762 cat conftest.err
>&5
44763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764 (exit $ac_status); } &&
44765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44767 (eval $ac_try) 2>&5
44769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44770 (exit $ac_status); }; } &&
44771 { ac_try
='test -s conftest.$ac_objext'
44772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44773 (eval $ac_try) 2>&5
44775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44776 (exit $ac_status); }; }; then
44780 echo "$as_me: failed program was:" >&5
44781 sed 's/^/| /' conftest.
$ac_ext >&5
44784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44785 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44786 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44791 for ac_header
in linux
/joystick.h
44793 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44795 echo "$as_me:$LINENO: checking for $ac_header" >&5
44796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44798 echo $ECHO_N "(cached) $ECHO_C" >&6
44800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44803 # Is the header compilable?
44804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44806 cat >conftest.
$ac_ext <<_ACEOF
44809 cat confdefs.h
>>conftest.
$ac_ext
44810 cat >>conftest.
$ac_ext <<_ACEOF
44811 /* end confdefs.h. */
44812 $ac_includes_default
44813 #include <$ac_header>
44815 rm -f conftest.
$ac_objext
44816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44817 (eval $ac_compile) 2>conftest.er1
44819 grep -v '^ *+' conftest.er1
>conftest.err
44821 cat conftest.err
>&5
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); } &&
44824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44826 (eval $ac_try) 2>&5
44828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44829 (exit $ac_status); }; } &&
44830 { ac_try
='test -s conftest.$ac_objext'
44831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44832 (eval $ac_try) 2>&5
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); }; }; then
44836 ac_header_compiler
=yes
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.
$ac_ext >&5
44841 ac_header_compiler
=no
44843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44845 echo "${ECHO_T}$ac_header_compiler" >&6
44847 # Is the header present?
44848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44850 cat >conftest.
$ac_ext <<_ACEOF
44853 cat confdefs.h
>>conftest.
$ac_ext
44854 cat >>conftest.
$ac_ext <<_ACEOF
44855 /* end confdefs.h. */
44856 #include <$ac_header>
44858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44861 grep -v '^ *+' conftest.er1
>conftest.err
44863 cat conftest.err
>&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); } >/dev
/null
; then
44866 if test -s conftest.err
; then
44867 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44868 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44875 if test -z "$ac_cpp_err"; then
44876 ac_header_preproc
=yes
44878 echo "$as_me: failed program was:" >&5
44879 sed 's/^/| /' conftest.
$ac_ext >&5
44881 ac_header_preproc
=no
44883 rm -f conftest.err conftest.
$ac_ext
44884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44885 echo "${ECHO_T}$ac_header_preproc" >&6
44887 # So? What about this header?
44888 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44894 ac_header_preproc
=yes
44897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44911 ## ----------------------------------------- ##
44912 ## Report this to wx-dev@lists.wxwidgets.org ##
44913 ## ----------------------------------------- ##
44916 sed "s/^/$as_me: WARNING: /" >&2
44919 echo "$as_me:$LINENO: checking for $ac_header" >&5
44920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44922 echo $ECHO_N "(cached) $ECHO_C" >&6
44924 eval "$as_ac_Header=\$ac_header_preproc"
44926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44931 cat >>confdefs.h
<<_ACEOF
44932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44941 if test "$wxUSE_JOYSTICK" = "yes"; then
44942 cat >>confdefs.h
<<\_ACEOF
44943 #define wxUSE_JOYSTICK 1
44946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44948 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44949 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44955 if test "$wxUSE_FONTMAP" = "yes" ; then
44956 cat >>confdefs.h
<<\_ACEOF
44957 #define wxUSE_FONTMAP 1
44962 if test "$wxUSE_UNICODE" = "yes" ; then
44963 cat >>confdefs.h
<<\_ACEOF
44964 #define wxUSE_UNICODE 1
44968 if test "$USE_WIN32" != 1; then
44969 wxUSE_UNICODE_MSLU
=no
44972 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44973 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44974 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44975 if test "${ac_cv_lib_unicows_main+set}" = set; then
44976 echo $ECHO_N "(cached) $ECHO_C" >&6
44978 ac_check_lib_save_LIBS
=$LIBS
44979 LIBS
="-lunicows $LIBS"
44980 cat >conftest.
$ac_ext <<_ACEOF
44983 cat confdefs.h
>>conftest.
$ac_ext
44984 cat >>conftest.
$ac_ext <<_ACEOF
44985 /* end confdefs.h. */
44996 rm -f conftest.
$ac_objext conftest
$ac_exeext
44997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44998 (eval $ac_link) 2>conftest.er1
45000 grep -v '^ *+' conftest.er1
>conftest.err
45002 cat conftest.err
>&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); } &&
45005 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45007 (eval $ac_try) 2>&5
45009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45010 (exit $ac_status); }; } &&
45011 { ac_try
='test -s conftest$ac_exeext'
45012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45013 (eval $ac_try) 2>&5
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); }; }; then
45017 ac_cv_lib_unicows_main
=yes
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.
$ac_ext >&5
45022 ac_cv_lib_unicows_main
=no
45024 rm -f conftest.err conftest.
$ac_objext \
45025 conftest
$ac_exeext conftest.
$ac_ext
45026 LIBS
=$ac_check_lib_save_LIBS
45028 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45029 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45030 if test $ac_cv_lib_unicows_main = yes; then
45032 cat >>confdefs.h
<<\_ACEOF
45033 #define wxUSE_UNICODE_MSLU 1
45039 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45040 Applications will only run on Windows NT/2000/XP!" >&5
45041 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45042 Applications will only run on Windows NT/2000/XP!" >&2;}
45043 wxUSE_UNICODE_MSLU
=no
45050 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45051 cat >>confdefs.h
<<\_ACEOF
45052 #define wxUSE_EXPERIMENTAL_PRINTF 1
45058 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45059 cat >>confdefs.h
<<\_ACEOF
45060 #define wxUSE_POSTSCRIPT 1
45065 cat >>confdefs.h
<<\_ACEOF
45066 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45070 cat >>confdefs.h
<<\_ACEOF
45071 #define wxUSE_NORMALIZED_PS_FONTS 1
45076 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45077 cat >>confdefs.h
<<\_ACEOF
45078 #define wxUSE_CONSTRAINTS 1
45081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45084 if test "$wxUSE_MDI" = "yes"; then
45085 cat >>confdefs.h
<<\_ACEOF
45086 #define wxUSE_MDI 1
45090 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45091 cat >>confdefs.h
<<\_ACEOF
45092 #define wxUSE_MDI_ARCHITECTURE 1
45095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45099 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45100 cat >>confdefs.h
<<\_ACEOF
45101 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45105 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45110 if test "$wxUSE_HELP" = "yes"; then
45111 cat >>confdefs.h
<<\_ACEOF
45112 #define wxUSE_HELP 1
45115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45117 if test "$wxUSE_MSW" = 1; then
45118 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45119 cat >>confdefs.h
<<\_ACEOF
45120 #define wxUSE_MS_HTML_HELP 1
45126 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45127 if test "$wxUSE_HTML" = "yes"; then
45128 cat >>confdefs.h
<<\_ACEOF
45129 #define wxUSE_WXHTML_HELP 1
45133 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45134 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45135 wxUSE_WXHTML_HELP
=no
45140 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45141 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45142 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45143 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45145 cat >>confdefs.h
<<\_ACEOF
45146 #define wxUSE_PRINTING_ARCHITECTURE 1
45150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45153 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45154 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45155 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45156 { (exit 1); exit 1; }; }
45160 if test "$wxUSE_METAFILE" = "yes"; then
45161 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45162 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45163 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45169 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45170 -o "$wxUSE_CLIPBOARD" = "yes" \
45171 -o "$wxUSE_OLE" = "yes" \
45172 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45174 for ac_header
in ole2.h
45176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45178 echo "$as_me:$LINENO: checking for $ac_header" >&5
45179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45181 echo $ECHO_N "(cached) $ECHO_C" >&6
45183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45186 # Is the header compilable?
45187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45189 cat >conftest.
$ac_ext <<_ACEOF
45192 cat confdefs.h
>>conftest.
$ac_ext
45193 cat >>conftest.
$ac_ext <<_ACEOF
45194 /* end confdefs.h. */
45195 $ac_includes_default
45196 #include <$ac_header>
45198 rm -f conftest.
$ac_objext
45199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45200 (eval $ac_compile) 2>conftest.er1
45202 grep -v '^ *+' conftest.er1
>conftest.err
45204 cat conftest.err
>&5
45205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45206 (exit $ac_status); } &&
45207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45209 (eval $ac_try) 2>&5
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); }; } &&
45213 { ac_try
='test -s conftest.$ac_objext'
45214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45215 (eval $ac_try) 2>&5
45217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218 (exit $ac_status); }; }; then
45219 ac_header_compiler
=yes
45221 echo "$as_me: failed program was:" >&5
45222 sed 's/^/| /' conftest.
$ac_ext >&5
45224 ac_header_compiler
=no
45226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45228 echo "${ECHO_T}$ac_header_compiler" >&6
45230 # Is the header present?
45231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45233 cat >conftest.
$ac_ext <<_ACEOF
45236 cat confdefs.h
>>conftest.
$ac_ext
45237 cat >>conftest.
$ac_ext <<_ACEOF
45238 /* end confdefs.h. */
45239 #include <$ac_header>
45241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45244 grep -v '^ *+' conftest.er1
>conftest.err
45246 cat conftest.err
>&5
45247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45248 (exit $ac_status); } >/dev
/null
; then
45249 if test -s conftest.err
; then
45250 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45251 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45258 if test -z "$ac_cpp_err"; then
45259 ac_header_preproc
=yes
45261 echo "$as_me: failed program was:" >&5
45262 sed 's/^/| /' conftest.
$ac_ext >&5
45264 ac_header_preproc
=no
45266 rm -f conftest.err conftest.
$ac_ext
45267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45268 echo "${ECHO_T}$ac_header_preproc" >&6
45270 # So? What about this header?
45271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45277 ac_header_preproc
=yes
45280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45294 ## ----------------------------------------- ##
45295 ## Report this to wx-dev@lists.wxwidgets.org ##
45296 ## ----------------------------------------- ##
45299 sed "s/^/$as_me: WARNING: /" >&2
45302 echo "$as_me:$LINENO: checking for $ac_header" >&5
45303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45305 echo $ECHO_N "(cached) $ECHO_C" >&6
45307 eval "$as_ac_Header=\$ac_header_preproc"
45309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45314 cat >>confdefs.h
<<_ACEOF
45315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45323 if test "$ac_cv_header_ole2_h" = "yes" ; then
45324 if test "$GCC" = yes ; then
45325 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45326 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45327 cat >conftest.
$ac_ext <<_ACEOF
45330 cat confdefs.h
>>conftest.
$ac_ext
45331 cat >>conftest.
$ac_ext <<_ACEOF
45332 /* end confdefs.h. */
45333 #include <windows.h>
45343 rm -f conftest.
$ac_objext
45344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45345 (eval $ac_compile) 2>conftest.er1
45347 grep -v '^ *+' conftest.er1
>conftest.err
45349 cat conftest.err
>&5
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); } &&
45352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45354 (eval $ac_try) 2>&5
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); }; } &&
45358 { ac_try
='test -s conftest.$ac_objext'
45359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45360 (eval $ac_try) 2>&5
45362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45363 (exit $ac_status); }; }; then
45364 echo "$as_me:$LINENO: result: no" >&5
45365 echo "${ECHO_T}no" >&6
45367 echo "$as_me: failed program was:" >&5
45368 sed 's/^/| /' conftest.
$ac_ext >&5
45370 echo "$as_me:$LINENO: result: yes" >&5
45371 echo "${ECHO_T}yes" >&6
45372 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45375 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45376 if test "$wxUSE_OLE" = "yes" ; then
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_OLE 1
45381 cat >>confdefs.h
<<\_ACEOF
45382 #define wxUSE_OLE_AUTOMATION 1
45385 cat >>confdefs.h
<<\_ACEOF
45386 #define wxUSE_OLE_ACTIVEX 1
45389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45393 if test "$wxUSE_DATAOBJ" = "yes" ; then
45394 cat >>confdefs.h
<<\_ACEOF
45395 #define wxUSE_DATAOBJ 1
45400 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45401 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45404 wxUSE_DRAG_AND_DROP
=no
45409 if test "$wxUSE_METAFILE" = "yes"; then
45410 cat >>confdefs.h
<<\_ACEOF
45411 #define wxUSE_METAFILE 1
45415 cat >>confdefs.h
<<\_ACEOF
45416 #define wxUSE_ENH_METAFILE 1
45422 if test "$wxUSE_IPC" = "yes"; then
45423 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45424 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45425 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45429 if test "$wxUSE_IPC" = "yes"; then
45430 cat >>confdefs.h
<<\_ACEOF
45431 #define wxUSE_IPC 1
45434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45438 if test "$wxUSE_DATAOBJ" = "yes"; then
45439 if test "$wxUSE_MGL" = 1; then
45440 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45441 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45444 cat >>confdefs.h
<<\_ACEOF
45445 #define wxUSE_DATAOBJ 1
45450 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45451 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45453 wxUSE_DRAG_AND_DROP
=no
45456 if test "$wxUSE_CLIPBOARD" = "yes"; then
45457 if test "$wxUSE_MGL" = 1; then
45458 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45459 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45463 if test "$wxUSE_CLIPBOARD" = "yes"; then
45464 cat >>confdefs.h
<<\_ACEOF
45465 #define wxUSE_CLIPBOARD 1
45471 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45472 if test "$wxUSE_GTK" = 1; then
45473 if test "$WXGTK12" != 1; then
45474 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45475 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45476 wxUSE_DRAG_AND_DROP
=no
45480 if test "$wxUSE_MOTIF" = 1; then
45481 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45482 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45483 wxUSE_DRAG_AND_DROP
=no
45486 if test "$wxUSE_X11" = 1; then
45487 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45488 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45489 wxUSE_DRAG_AND_DROP
=no
45492 if test "$wxUSE_MGL" = 1; then
45493 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45494 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45495 wxUSE_DRAG_AND_DROP
=no
45498 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45499 cat >>confdefs.h
<<\_ACEOF
45500 #define wxUSE_DRAG_AND_DROP 1
45507 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45511 if test "$wxUSE_SPLINES" = "yes" ; then
45512 cat >>confdefs.h
<<\_ACEOF
45513 #define wxUSE_SPLINES 1
45518 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45519 cat >>confdefs.h
<<\_ACEOF
45520 #define wxUSE_MOUSEWHEEL 1
45527 if test "$wxUSE_CONTROLS" = "yes"; then
45531 if test "$wxUSE_ACCEL" = "yes"; then
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define wxUSE_ACCEL 1
45539 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45540 cat >>confdefs.h
<<\_ACEOF
45541 #define wxUSE_ANIMATIONCTRL 1
45545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45548 if test "$wxUSE_BUTTON" = "yes"; then
45549 cat >>confdefs.h
<<\_ACEOF
45550 #define wxUSE_BUTTON 1
45556 if test "$wxUSE_BMPBUTTON" = "yes"; then
45557 cat >>confdefs.h
<<\_ACEOF
45558 #define wxUSE_BMPBUTTON 1
45564 if test "$wxUSE_CALCTRL" = "yes"; then
45565 cat >>confdefs.h
<<\_ACEOF
45566 #define wxUSE_CALENDARCTRL 1
45570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45573 if test "$wxUSE_CARET" = "yes"; then
45574 cat >>confdefs.h
<<\_ACEOF
45575 #define wxUSE_CARET 1
45579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45582 if test "$wxUSE_COMBOBOX" = "yes"; then
45583 cat >>confdefs.h
<<\_ACEOF
45584 #define wxUSE_COMBOBOX 1
45590 if test "$wxUSE_COMBOCTRL" = "yes"; then
45591 cat >>confdefs.h
<<\_ACEOF
45592 #define wxUSE_COMBOCTRL 1
45598 if test "$wxUSE_CHOICE" = "yes"; then
45599 cat >>confdefs.h
<<\_ACEOF
45600 #define wxUSE_CHOICE 1
45606 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45607 cat >>confdefs.h
<<\_ACEOF
45608 #define wxUSE_CHOICEBOOK 1
45614 if test "$wxUSE_CHECKBOX" = "yes"; then
45615 cat >>confdefs.h
<<\_ACEOF
45616 #define wxUSE_CHECKBOX 1
45622 if test "$wxUSE_CHECKLST" = "yes"; then
45623 cat >>confdefs.h
<<\_ACEOF
45624 #define wxUSE_CHECKLISTBOX 1
45628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45631 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45632 cat >>confdefs.h
<<\_ACEOF
45633 #define wxUSE_COLOURPICKERCTRL 1
45639 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45640 cat >>confdefs.h
<<\_ACEOF
45641 #define wxUSE_DATEPICKCTRL 1
45647 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45648 cat >>confdefs.h
<<\_ACEOF
45649 #define wxUSE_DIRPICKERCTRL 1
45655 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45656 cat >>confdefs.h
<<\_ACEOF
45657 #define wxUSE_FILEPICKERCTRL 1
45663 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45664 cat >>confdefs.h
<<\_ACEOF
45665 #define wxUSE_FONTPICKERCTRL 1
45671 if test "$wxUSE_DISPLAY" = "yes"; then
45672 cat >>confdefs.h
<<\_ACEOF
45673 #define wxUSE_DISPLAY 1
45676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45679 if test "$wxUSE_DETECT_SM" = "yes"; then
45680 cat >>confdefs.h
<<\_ACEOF
45681 #define wxUSE_DETECT_SM 1
45686 if test "$wxUSE_GAUGE" = "yes"; then
45687 cat >>confdefs.h
<<\_ACEOF
45688 #define wxUSE_GAUGE 1
45694 if test "$wxUSE_GRID" = "yes"; then
45695 cat >>confdefs.h
<<\_ACEOF
45696 #define wxUSE_GRID 1
45700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45703 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45704 cat >>confdefs.h
<<\_ACEOF
45705 #define wxUSE_HYPERLINKCTRL 1
45711 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45712 cat >>confdefs.h
<<\_ACEOF
45713 #define wxUSE_BITMAPCOMBOBOX 1
45719 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45720 cat >>confdefs.h
<<\_ACEOF
45721 #define wxUSE_DATAVIEWCTRL 1
45725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45728 if test "$wxUSE_IMAGLIST" = "yes"; then
45729 cat >>confdefs.h
<<\_ACEOF
45730 #define wxUSE_IMAGLIST 1
45735 if test "$wxUSE_LISTBOOK" = "yes"; then
45736 cat >>confdefs.h
<<\_ACEOF
45737 #define wxUSE_LISTBOOK 1
45743 if test "$wxUSE_LISTBOX" = "yes"; then
45744 cat >>confdefs.h
<<\_ACEOF
45745 #define wxUSE_LISTBOX 1
45749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45752 if test "$wxUSE_LISTCTRL" = "yes"; then
45753 if test "$wxUSE_IMAGLIST" = "yes"; then
45754 cat >>confdefs.h
<<\_ACEOF
45755 #define wxUSE_LISTCTRL 1
45759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45761 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45762 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45766 if test "$wxUSE_NOTEBOOK" = "yes"; then
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_NOTEBOOK 1
45772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45775 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45776 cat >>confdefs.h
<<\_ACEOF
45777 #define wxUSE_ODCOMBOBOX 1
45781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45785 if test "$wxUSE_RADIOBOX" = "yes"; then
45786 cat >>confdefs.h
<<\_ACEOF
45787 #define wxUSE_RADIOBOX 1
45793 if test "$wxUSE_RADIOBTN" = "yes"; then
45794 cat >>confdefs.h
<<\_ACEOF
45795 #define wxUSE_RADIOBTN 1
45801 if test "$wxUSE_SASH" = "yes"; then
45802 cat >>confdefs.h
<<\_ACEOF
45803 #define wxUSE_SASH 1
45806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45809 if test "$wxUSE_SCROLLBAR" = "yes"; then
45810 cat >>confdefs.h
<<\_ACEOF
45811 #define wxUSE_SCROLLBAR 1
45815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45818 if test "$wxUSE_SLIDER" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_SLIDER 1
45826 if test "$wxUSE_SPINBTN" = "yes"; then
45827 cat >>confdefs.h
<<\_ACEOF
45828 #define wxUSE_SPINBTN 1
45834 if test "$wxUSE_SPINCTRL" = "yes"; then
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_SPINCTRL 1
45842 if test "$wxUSE_SPLITTER" = "yes"; then
45843 cat >>confdefs.h
<<\_ACEOF
45844 #define wxUSE_SPLITTER 1
45847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45850 if test "$wxUSE_STATBMP" = "yes"; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_STATBMP 1
45858 if test "$wxUSE_STATBOX" = "yes"; then
45859 cat >>confdefs.h
<<\_ACEOF
45860 #define wxUSE_STATBOX 1
45866 if test "$wxUSE_STATTEXT" = "yes"; then
45867 cat >>confdefs.h
<<\_ACEOF
45868 #define wxUSE_STATTEXT 1
45874 if test "$wxUSE_STATLINE" = "yes"; then
45875 cat >>confdefs.h
<<\_ACEOF
45876 #define wxUSE_STATLINE 1
45882 if test "$wxUSE_STATUSBAR" = "yes"; then
45883 cat >>confdefs.h
<<\_ACEOF
45884 #define wxUSE_NATIVE_STATUSBAR 1
45887 cat >>confdefs.h
<<\_ACEOF
45888 #define wxUSE_STATUSBAR 1
45893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45896 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45897 cat >>confdefs.h
<<\_ACEOF
45898 #define wxUSE_TAB_DIALOG 1
45903 if test "$wxUSE_TEXTCTRL" = "yes"; then
45904 cat >>confdefs.h
<<\_ACEOF
45905 #define wxUSE_TEXTCTRL 1
45909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45912 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45913 if test "$wxUSE_COCOA" = 1 ; then
45914 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45915 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45919 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45920 cat >>confdefs.h
<<\_ACEOF
45921 #define wxUSE_TOGGLEBTN 1
45928 if test "$wxUSE_TOOLBAR" = "yes"; then
45929 cat >>confdefs.h
<<\_ACEOF
45930 #define wxUSE_TOOLBAR 1
45935 if test "$wxUSE_UNIVERSAL" = "yes"; then
45936 wxUSE_TOOLBAR_NATIVE
="no"
45938 wxUSE_TOOLBAR_NATIVE
="yes"
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_TOOLBAR_NATIVE 1
45945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45948 if test "$wxUSE_TOOLTIPS" = "yes"; then
45949 if test "$wxUSE_MOTIF" = 1; then
45950 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45951 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45953 if test "$wxUSE_UNIVERSAL" = "yes"; then
45954 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45955 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45957 cat >>confdefs.h
<<\_ACEOF
45958 #define wxUSE_TOOLTIPS 1
45965 if test "$wxUSE_TREEBOOK" = "yes"; then
45966 cat >>confdefs.h
<<\_ACEOF
45967 #define wxUSE_TREEBOOK 1
45973 if test "$wxUSE_TOOLBOOK" = "yes"; then
45974 cat >>confdefs.h
<<\_ACEOF
45975 #define wxUSE_TOOLBOOK 1
45981 if test "$wxUSE_TREECTRL" = "yes"; then
45982 if test "$wxUSE_IMAGLIST" = "yes"; then
45983 cat >>confdefs.h
<<\_ACEOF
45984 #define wxUSE_TREECTRL 1
45988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
45990 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45991 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45995 if test "$wxUSE_POPUPWIN" = "yes"; then
45996 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45997 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45998 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46000 if test "$wxUSE_PM" = 1; then
46001 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46002 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46004 cat >>confdefs.h
<<\_ACEOF
46005 #define wxUSE_POPUPWIN 1
46008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46015 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46016 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46017 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46018 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46020 cat >>confdefs.h
<<\_ACEOF
46021 #define wxUSE_DIALUP_MANAGER 1
46024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46028 if test "$wxUSE_TIPWINDOW" = "yes"; then
46029 if test "$wxUSE_PM" = 1; then
46030 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46031 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46033 cat >>confdefs.h
<<\_ACEOF
46034 #define wxUSE_TIPWINDOW 1
46040 if test "$USES_CONTROLS" = 1; then
46041 cat >>confdefs.h
<<\_ACEOF
46042 #define wxUSE_CONTROLS 1
46048 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46049 cat >>confdefs.h
<<\_ACEOF
46050 #define wxUSE_ACCESSIBILITY 1
46053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46056 if test "$wxUSE_DC_CACHEING" = "yes"; then
46057 cat >>confdefs.h
<<\_ACEOF
46058 #define wxUSE_DC_CACHEING 1
46063 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46064 cat >>confdefs.h
<<\_ACEOF
46065 #define wxUSE_DRAGIMAGE 1
46068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46071 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46072 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46073 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46074 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46076 cat >>confdefs.h
<<\_ACEOF
46077 #define wxUSE_EXCEPTIONS 1
46080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46085 if test "$wxUSE_HTML" = "yes"; then
46086 cat >>confdefs.h
<<\_ACEOF
46087 #define wxUSE_HTML 1
46091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46092 if test "$wxUSE_MAC" = 1; then
46093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46096 if test "$wxUSE_WEBKIT" = "yes"; then
46097 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46098 old_CPPFLAGS
="$CPPFLAGS"
46099 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46100 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46101 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46102 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46103 echo $ECHO_N "(cached) $ECHO_C" >&6
46105 cat >conftest.
$ac_ext <<_ACEOF
46108 cat confdefs.h
>>conftest.
$ac_ext
46109 cat >>conftest.
$ac_ext <<_ACEOF
46110 /* end confdefs.h. */
46111 #include <Carbon/Carbon.h>
46113 #include <WebKit/HIWebView.h>
46115 rm -f conftest.
$ac_objext
46116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46117 (eval $ac_compile) 2>conftest.er1
46119 grep -v '^ *+' conftest.er1
>conftest.err
46121 cat conftest.err
>&5
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); } &&
46124 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46126 (eval $ac_try) 2>&5
46128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46129 (exit $ac_status); }; } &&
46130 { ac_try
='test -s conftest.$ac_objext'
46131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46132 (eval $ac_try) 2>&5
46134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46135 (exit $ac_status); }; }; then
46136 ac_cv_header_WebKit_HIWebView_h
=yes
46138 echo "$as_me: failed program was:" >&5
46139 sed 's/^/| /' conftest.
$ac_ext >&5
46141 ac_cv_header_WebKit_HIWebView_h
=no
46143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46145 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46146 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46147 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46149 cat >>confdefs.h
<<\_ACEOF
46150 #define wxUSE_WEBKIT 1
46153 WEBKIT_LINK
="-framework WebKit"
46157 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46158 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46164 CPPFLAGS
="$old_CPPFLAGS"
46165 elif test "$wxUSE_COCOA" = 1; then
46166 cat >>confdefs.h
<<\_ACEOF
46167 #define wxUSE_WEBKIT 1
46176 if test "$wxUSE_XRC" = "yes"; then
46177 if test "$wxUSE_XML" != "yes"; then
46178 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46179 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46182 cat >>confdefs.h
<<\_ACEOF
46183 #define wxUSE_XRC 1
46187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46192 if test "$wxUSE_AUI" = "yes"; then
46193 cat >>confdefs.h
<<\_ACEOF
46194 #define wxUSE_AUI 1
46198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46201 if test "$wxUSE_MENUS" = "yes"; then
46202 cat >>confdefs.h
<<\_ACEOF
46203 #define wxUSE_MENUS 1
46206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46209 if test "$wxUSE_METAFILE" = "yes"; then
46210 cat >>confdefs.h
<<\_ACEOF
46211 #define wxUSE_METAFILE 1
46216 if test "$wxUSE_MIMETYPE" = "yes"; then
46217 cat >>confdefs.h
<<\_ACEOF
46218 #define wxUSE_MIMETYPE 1
46223 if test "$wxUSE_MINIFRAME" = "yes"; then
46224 cat >>confdefs.h
<<\_ACEOF
46225 #define wxUSE_MINIFRAME 1
46228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46231 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46232 cat >>confdefs.h
<<\_ACEOF
46233 #define wxUSE_SYSTEM_OPTIONS 1
46236 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46237 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46243 if test "$wxUSE_VALIDATORS" = "yes"; then
46244 cat >>confdefs.h
<<\_ACEOF
46245 #define wxUSE_VALIDATORS 1
46248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46251 if test "$wxUSE_PALETTE" = "yes" ; then
46252 cat >>confdefs.h
<<\_ACEOF
46253 #define wxUSE_PALETTE 1
46258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46259 LIBS
=" -lunicows $LIBS"
46263 if test "$wxUSE_RICHTEXT" = "yes"; then
46264 cat >>confdefs.h
<<\_ACEOF
46265 #define wxUSE_RICHTEXT 1
46269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46273 if test "$wxUSE_IMAGE" = "yes" ; then
46274 cat >>confdefs.h
<<\_ACEOF
46275 #define wxUSE_IMAGE 1
46279 if test "$wxUSE_GIF" = "yes" ; then
46280 cat >>confdefs.h
<<\_ACEOF
46281 #define wxUSE_GIF 1
46286 if test "$wxUSE_PCX" = "yes" ; then
46287 cat >>confdefs.h
<<\_ACEOF
46288 #define wxUSE_PCX 1
46293 if test "$wxUSE_IFF" = "yes" ; then
46294 cat >>confdefs.h
<<\_ACEOF
46295 #define wxUSE_IFF 1
46300 if test "$wxUSE_PNM" = "yes" ; then
46301 cat >>confdefs.h
<<\_ACEOF
46302 #define wxUSE_PNM 1
46307 if test "$wxUSE_XPM" = "yes" ; then
46308 cat >>confdefs.h
<<\_ACEOF
46309 #define wxUSE_XPM 1
46314 if test "$wxUSE_ICO_CUR" = "yes" ; then
46315 cat >>confdefs.h
<<\_ACEOF
46316 #define wxUSE_ICO_CUR 1
46323 if test "$wxUSE_ABOUTDLG" = "yes"; then
46324 cat >>confdefs.h
<<\_ACEOF
46325 #define wxUSE_ABOUTDLG 1
46330 if test "$wxUSE_CHOICEDLG" = "yes"; then
46331 cat >>confdefs.h
<<\_ACEOF
46332 #define wxUSE_CHOICEDLG 1
46337 if test "$wxUSE_COLOURDLG" = "yes"; then
46338 cat >>confdefs.h
<<\_ACEOF
46339 #define wxUSE_COLOURDLG 1
46344 if test "$wxUSE_FILEDLG" = "yes"; then
46345 cat >>confdefs.h
<<\_ACEOF
46346 #define wxUSE_FILEDLG 1
46351 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46352 cat >>confdefs.h
<<\_ACEOF
46353 #define wxUSE_FINDREPLDLG 1
46358 if test "$wxUSE_FONTDLG" = "yes"; then
46359 cat >>confdefs.h
<<\_ACEOF
46360 #define wxUSE_FONTDLG 1
46365 if test "$wxUSE_DIRDLG" = "yes"; then
46366 if test "$wxUSE_TREECTRL" != "yes"; then
46367 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46368 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46370 cat >>confdefs.h
<<\_ACEOF
46371 #define wxUSE_DIRDLG 1
46377 if test "$wxUSE_MSGDLG" = "yes"; then
46378 cat >>confdefs.h
<<\_ACEOF
46379 #define wxUSE_MSGDLG 1
46384 if test "$wxUSE_NUMBERDLG" = "yes"; then
46385 cat >>confdefs.h
<<\_ACEOF
46386 #define wxUSE_NUMBERDLG 1
46391 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46392 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46393 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46394 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46396 cat >>confdefs.h
<<\_ACEOF
46397 #define wxUSE_PROGRESSDLG 1
46403 if test "$wxUSE_SPLASH" = "yes"; then
46404 cat >>confdefs.h
<<\_ACEOF
46405 #define wxUSE_SPLASH 1
46408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46411 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46412 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46413 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46414 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46416 cat >>confdefs.h
<<\_ACEOF
46417 #define wxUSE_STARTUP_TIPS 1
46423 if test "$wxUSE_TEXTDLG" = "yes"; then
46424 cat >>confdefs.h
<<\_ACEOF
46425 #define wxUSE_TEXTDLG 1
46430 if test "$wxUSE_WIZARDDLG" = "yes"; then
46431 cat >>confdefs.h
<<\_ACEOF
46432 #define wxUSE_WIZARDDLG 1
46435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46439 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46440 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46441 cat >>confdefs.h
<<\_ACEOF
46442 #define wxUSE_GRAPHICS_CONTEXT 1
46445 elif test "$wxUSE_GTK" != 1; then
46446 cat >>confdefs.h
<<\_ACEOF
46447 #define wxUSE_GRAPHICS_CONTEXT 1
46453 echo "$as_me:$LINENO: checking for CAIRO" >&5
46454 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46456 if test -n "$PKG_CONFIG"; then
46457 if test -n "$CAIRO_CFLAGS"; then
46458 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46460 if test -n "$PKG_CONFIG" && \
46461 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46462 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46465 (exit $ac_status); }; then
46466 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46474 if test -n "$PKG_CONFIG"; then
46475 if test -n "$CAIRO_LIBS"; then
46476 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46478 if test -n "$PKG_CONFIG" && \
46479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46480 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); }; then
46484 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46495 if test $pkg_failed = yes; then
46497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46498 _pkg_short_errors_supported
=yes
46500 _pkg_short_errors_supported
=no
46502 if test $_pkg_short_errors_supported = yes; then
46503 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46505 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46507 # Put the nasty error message in config.log where it belongs
46508 echo "$CAIRO_PKG_ERRORS" >&5
46511 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46512 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46515 elif test $pkg_failed = untried
; then
46517 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46518 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46522 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
46523 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
46524 echo "$as_me:$LINENO: result: yes" >&5
46525 echo "${ECHO_T}yes" >&6
46527 cat >>confdefs.h
<<\_ACEOF
46528 #define wxUSE_GRAPHICS_CONTEXT 1
46539 if test "$wxUSE_MEDIACTRL" = "yes"; then
46542 if test "$wxUSE_GTK" = 1; then
46543 wxUSE_GSTREAMER
="no"
46545 GST_VERSION_MAJOR
=0
46546 GST_VERSION_MINOR
=10
46547 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46549 if test "$wxUSE_GSTREAMER8" = "no"; then
46552 echo "$as_me:$LINENO: checking for GST" >&5
46553 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46555 if test -n "$PKG_CONFIG"; then
46556 if test -n "$GST_CFLAGS"; then
46557 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46559 if test -n "$PKG_CONFIG" && \
46560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46561 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); }; then
46565 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46573 if test -n "$PKG_CONFIG"; then
46574 if test -n "$GST_LIBS"; then
46575 pkg_cv_GST_LIBS
="$GST_LIBS"
46577 if test -n "$PKG_CONFIG" && \
46578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46579 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); }; then
46583 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46594 if test $pkg_failed = yes; then
46596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46597 _pkg_short_errors_supported
=yes
46599 _pkg_short_errors_supported
=no
46601 if test $_pkg_short_errors_supported = yes; then
46602 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46604 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46606 # Put the nasty error message in config.log where it belongs
46607 echo "$GST_PKG_ERRORS" >&5
46610 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46611 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46612 GST_VERSION_MINOR
=8
46615 elif test $pkg_failed = untried
; then
46617 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46618 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46619 GST_VERSION_MINOR
=8
46623 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46624 GST_LIBS
=$pkg_cv_GST_LIBS
46625 echo "$as_me:$LINENO: result: yes" >&5
46626 echo "${ECHO_T}yes" >&6
46628 wxUSE_GSTREAMER
="yes"
46629 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46633 GST_VERSION_MINOR
=8
46636 if test $GST_VERSION_MINOR = "8"; then
46637 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46640 echo "$as_me:$LINENO: checking for GST" >&5
46641 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46643 if test -n "$PKG_CONFIG"; then
46644 if test -n "$GST_CFLAGS"; then
46645 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46647 if test -n "$PKG_CONFIG" && \
46648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46649 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); }; then
46653 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46661 if test -n "$PKG_CONFIG"; then
46662 if test -n "$GST_LIBS"; then
46663 pkg_cv_GST_LIBS
="$GST_LIBS"
46665 if test -n "$PKG_CONFIG" && \
46666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46667 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46670 (exit $ac_status); }; then
46671 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46682 if test $pkg_failed = yes; then
46684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46685 _pkg_short_errors_supported
=yes
46687 _pkg_short_errors_supported
=no
46689 if test $_pkg_short_errors_supported = yes; then
46690 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46692 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46694 # Put the nasty error message in config.log where it belongs
46695 echo "$GST_PKG_ERRORS" >&5
46698 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46699 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46701 elif test $pkg_failed = untried
; then
46703 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46704 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46707 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46708 GST_LIBS
=$pkg_cv_GST_LIBS
46709 echo "$as_me:$LINENO: result: yes" >&5
46710 echo "${ECHO_T}yes" >&6
46711 wxUSE_GSTREAMER
="yes"
46716 if test "$wxUSE_GSTREAMER" = "yes"; then
46719 if "$GCC" = yes; then
46720 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46721 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46725 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46726 LIBS
="$GST_LIBS $LIBS"
46728 cat >>confdefs.h
<<\_ACEOF
46729 #define wxUSE_GSTREAMER 1
46737 if test $USE_MEDIA = 1; then
46738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46739 cat >>confdefs.h
<<\_ACEOF
46740 #define wxUSE_MEDIACTRL 1
46747 if test "$cross_compiling" = "yes"; then
46750 OSINFO
=`uname -s -r -m`
46751 OSINFO
="\"$OSINFO\""
46754 cat >>confdefs.h
<<_ACEOF
46755 #define WXWIN_OS_DESCRIPTION $OSINFO
46760 if test "x$prefix" != "xNONE"; then
46763 wxPREFIX
=$ac_default_prefix
46766 cat >>confdefs.h
<<_ACEOF
46767 #define wxINSTALL_PREFIX "$wxPREFIX"
46773 CORE_BASE_LIBS
="net base"
46774 CORE_GUI_LIBS
="adv core"
46776 if test "$wxUSE_XML" = "yes" ; then
46777 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46779 if test "$wxUSE_ODBC" != "no" ; then
46780 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46781 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46783 if test "$wxUSE_HTML" = "yes" ; then
46784 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46786 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46787 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46789 if test "$wxUSE_XRC" = "yes" ; then
46790 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46792 if test "$wxUSE_AUI" = "yes" ; then
46793 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46796 if test "$wxUSE_GUI" != "yes"; then
46805 ac_cpp
='$CPP $CPPFLAGS'
46806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46812 if test "$wxUSE_MAC" = 1 ; then
46813 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46814 if test "$USE_DARWIN" = 1; then
46815 LDFLAGS
="$LDFLAGS -framework QuickTime"
46817 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46820 if test "$USE_DARWIN" = 1; then
46821 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46823 LDFLAGS
="$LDFLAGS -lCarbonLib"
46826 if test "$wxUSE_COCOA" = 1 ; then
46827 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46828 if test "$wxUSE_MEDIACTRL" = "yes"; then
46829 LDFLAGS
="$LDFLAGS -framework QuickTime"
46832 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46833 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46836 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46838 if test "$wxUSE_GUI" = "yes"; then
46841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46842 dynamic erase event exec font image minimal mobile \
46843 mobile/wxedit mobile/styles propsize render \
46844 rotate shaped vscroll widgets"
46846 if test "$wxUSE_MONOLITHIC" != "yes"; then
46847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46849 if test "$TOOLKIT" = "MSW"; then
46850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46851 if test "$wxUSE_UNIVERSAL" != "yes"; then
46852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46855 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46859 SAMPLES_SUBDIRS
="console"
46863 if test "x$INTELCC" = "xyes" ; then
46864 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46865 elif test "$GCC" = yes ; then
46866 CWARNINGS
="-Wall -Wundef"
46869 if test "x$INTELCXX" = "xyes" ; then
46870 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46871 elif test "$GXX" = yes ; then
46872 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46876 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46877 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46880 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46881 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46882 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46885 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46886 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46887 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46889 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46892 if test "x$MWCC" = "xyes"; then
46894 CC
="$CC -cwd source -I-"
46895 CXX
="$CXX -cwd source -I-"
46900 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46901 EXTRALIBS_XML
="$EXPAT_LINK"
46902 EXTRALIBS_HTML
="$MSPACK_LINK"
46903 EXTRALIBS_ODBC
="$ODBC_LINK"
46904 if test "$wxUSE_GUI" = "yes"; then
46905 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46907 if test "$wxUSE_OPENGL" = "yes"; then
46908 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46911 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46913 WXCONFIG_LIBS
="$LIBS"
46915 if test "$wxUSE_REGEX" = "builtin" ; then
46916 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46918 if test "$wxUSE_EXPAT" = "builtin" ; then
46919 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46921 if test "$wxUSE_ODBC" = "builtin" ; then
46922 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46924 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46925 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46927 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46928 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46930 if test "$wxUSE_LIBPNG" = "builtin" ; then
46931 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46933 if test "$wxUSE_ZLIB" = "builtin" ; then
46934 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46937 for i
in $wxconfig_3rdparty ; do
46938 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46942 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46945 case "$wxUNIV_THEMES" in
46947 cat >>confdefs.h
<<\_ACEOF
46948 #define wxUSE_ALL_THEMES 1
46954 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46955 cat >>confdefs.h
<<_ACEOF
46956 #define wxUSE_THEME_$t 1
46973 if test $wxUSE_MONOLITHIC = "yes" ; then
46979 if test $wxUSE_PLUGINS = "yes" ; then
46985 if test $wxUSE_ODBC != "no" ; then
46991 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46997 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47027 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47038 TOOLKIT_DESC
="GTK+"
47039 if test "$WXGTK20" = 1; then
47040 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47041 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47042 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47044 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47045 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47047 if test "$wxUSE_LIBHILDON" = "yes"; then
47048 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47051 if test "$TOOLKIT_EXTRA" != ""; then
47052 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47058 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47062 TOOLKIT_DESC
="base only"
47066 if test "$wxUSE_WINE" = "yes"; then
47067 BAKEFILE_FORCE_PLATFORM
=win32
47070 if test "$wxUSE_MAC" = 1 ; then
47071 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47072 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47073 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47075 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47077 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47078 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47079 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47080 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47083 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47084 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47087 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47089 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47090 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47091 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47092 echo $ECHO_N "(cached) $ECHO_C" >&6
47095 wx_cv_gcc_pch_bug
=no
47096 echo 'const wchar_t test_var[] = L"wide string";' > conftest.h
47098 if $CXX conftest.h
>& /dev
/null
47101 echo '#include "conftest.h"'
47102 echo 'const wchar_t *test() { return test_var; }'
47105 if $CXX -c -o conftest.o conftest.cpp
>& /dev
/null
47107 tr -dc 'a-z' < conftest.o
|
47108 grep 'widestring' >& /dev
/null
||
47109 wx_cv_gcc_pch_bug
=yes
47113 rm -f conftest.h conftest.gch conftest.cpp conftest.o
47116 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47117 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47119 if test "$wx_cv_gcc_pch_bug" = yes; then
47127 if test "x$BAKEFILE_HOST" = "x"; then
47128 if test "x${host}" = "x" ; then
47129 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47130 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47131 { (exit 1); exit 1; }; }
47134 BAKEFILE_HOST
="${host}"
47137 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47139 if test -n "$ac_tool_prefix"; then
47140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47141 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47142 echo "$as_me:$LINENO: checking for $ac_word" >&5
47143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47144 if test "${ac_cv_prog_RANLIB+set}" = set; then
47145 echo $ECHO_N "(cached) $ECHO_C" >&6
47147 if test -n "$RANLIB"; then
47148 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47151 for as_dir
in $PATH
47154 test -z "$as_dir" && as_dir
=.
47155 for ac_exec_ext
in '' $ac_executable_extensions; do
47156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47157 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47166 RANLIB
=$ac_cv_prog_RANLIB
47167 if test -n "$RANLIB"; then
47168 echo "$as_me:$LINENO: result: $RANLIB" >&5
47169 echo "${ECHO_T}$RANLIB" >&6
47171 echo "$as_me:$LINENO: result: no" >&5
47172 echo "${ECHO_T}no" >&6
47176 if test -z "$ac_cv_prog_RANLIB"; then
47177 ac_ct_RANLIB
=$RANLIB
47178 # Extract the first word of "ranlib", so it can be a program name with args.
47179 set dummy ranlib
; ac_word
=$2
47180 echo "$as_me:$LINENO: checking for $ac_word" >&5
47181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47183 echo $ECHO_N "(cached) $ECHO_C" >&6
47185 if test -n "$ac_ct_RANLIB"; then
47186 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47189 for as_dir
in $PATH
47192 test -z "$as_dir" && as_dir
=.
47193 for ac_exec_ext
in '' $ac_executable_extensions; do
47194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47195 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47202 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47205 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47206 if test -n "$ac_ct_RANLIB"; then
47207 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47208 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47210 echo "$as_me:$LINENO: result: no" >&5
47211 echo "${ECHO_T}no" >&6
47214 RANLIB
=$ac_ct_RANLIB
47216 RANLIB
="$ac_cv_prog_RANLIB"
47219 # Find a good install program. We prefer a C program (faster),
47220 # so one script is as good as another. But avoid the broken or
47221 # incompatible versions:
47222 # SysV /etc/install, /usr/sbin/install
47223 # SunOS /usr/etc/install
47224 # IRIX /sbin/install
47226 # AmigaOS /C/install, which installs bootblocks on floppy discs
47227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47230 # OS/2's system install, which has a completely different semantic
47231 # ./install, which can be erroneously created by make from ./install.sh.
47232 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47233 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47234 if test -z "$INSTALL"; then
47235 if test "${ac_cv_path_install+set}" = set; then
47236 echo $ECHO_N "(cached) $ECHO_C" >&6
47238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47239 for as_dir
in $PATH
47242 test -z "$as_dir" && as_dir
=.
47243 # Account for people who put trailing slashes in PATH elements.
47245 .
/ | .
// | /cC
/* | \
47246 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47247 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47250 # OSF1 and SCO ODT 3.0 have their own names for install.
47251 # Don't use installbsd from OSF since it installs stuff as root
47253 for ac_prog
in ginstall scoinst
install; do
47254 for ac_exec_ext
in '' $ac_executable_extensions; do
47255 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47256 if test $ac_prog = install &&
47257 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47258 # AIX install. It has an incompatible calling convention.
47260 elif test $ac_prog = install &&
47261 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47262 # program-specific install script used by HP pwplus--don't use.
47265 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47277 if test "${ac_cv_path_install+set}" = set; then
47278 INSTALL
=$ac_cv_path_install
47280 # As a last resort, use the slow shell script. We don't cache a
47281 # path for INSTALL within a source directory, because that will
47282 # break other packages using the cache if that directory is
47283 # removed, or if the path is relative.
47284 INSTALL
=$ac_install_sh
47287 echo "$as_me:$LINENO: result: $INSTALL" >&5
47288 echo "${ECHO_T}$INSTALL" >&6
47290 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47291 # It thinks the first close brace ends the variable substitution.
47292 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47294 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47296 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47298 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47299 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47301 if test "$LN_S" = "ln -s"; then
47302 echo "$as_me:$LINENO: result: yes" >&5
47303 echo "${ECHO_T}yes" >&6
47305 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47306 echo "${ECHO_T}no, using $LN_S" >&6
47310 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47311 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47312 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47313 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47316 cat >conftest.
make <<\_ACEOF
47318 @
echo 'ac_maketemp="$(MAKE)"'
47320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47321 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47322 if test -n "$ac_maketemp"; then
47323 eval ac_cv_prog_make_
${ac_make}_set
=yes
47325 eval ac_cv_prog_make_
${ac_make}_set
=no
47327 rm -f conftest.
make
47329 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47330 echo "$as_me:$LINENO: result: yes" >&5
47331 echo "${ECHO_T}yes" >&6
47334 echo "$as_me:$LINENO: result: no" >&5
47335 echo "${ECHO_T}no" >&6
47336 SET_MAKE
="MAKE=${MAKE-make}"
47341 if test -n "$ac_tool_prefix"; then
47342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47343 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47344 echo "$as_me:$LINENO: checking for $ac_word" >&5
47345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47346 if test "${ac_cv_prog_AR+set}" = set; then
47347 echo $ECHO_N "(cached) $ECHO_C" >&6
47349 if test -n "$AR"; then
47350 ac_cv_prog_AR
="$AR" # Let the user override the test.
47352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47353 for as_dir
in $PATH
47356 test -z "$as_dir" && as_dir
=.
47357 for ac_exec_ext
in '' $ac_executable_extensions; do
47358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47359 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47369 if test -n "$AR"; then
47370 echo "$as_me:$LINENO: result: $AR" >&5
47371 echo "${ECHO_T}$AR" >&6
47373 echo "$as_me:$LINENO: result: no" >&5
47374 echo "${ECHO_T}no" >&6
47378 if test -z "$ac_cv_prog_AR"; then
47380 # Extract the first word of "ar", so it can be a program name with args.
47381 set dummy
ar; ac_word
=$2
47382 echo "$as_me:$LINENO: checking for $ac_word" >&5
47383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47384 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47385 echo $ECHO_N "(cached) $ECHO_C" >&6
47387 if test -n "$ac_ct_AR"; then
47388 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47391 for as_dir
in $PATH
47394 test -z "$as_dir" && as_dir
=.
47395 for ac_exec_ext
in '' $ac_executable_extensions; do
47396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47397 ac_cv_prog_ac_ct_AR
="ar"
47398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47404 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47407 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47408 if test -n "$ac_ct_AR"; then
47409 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47410 echo "${ECHO_T}$ac_ct_AR" >&6
47412 echo "$as_me:$LINENO: result: no" >&5
47413 echo "${ECHO_T}no" >&6
47418 AR
="$ac_cv_prog_AR"
47421 if test -n "$ac_tool_prefix"; then
47422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47423 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47424 echo "$as_me:$LINENO: checking for $ac_word" >&5
47425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47426 if test "${ac_cv_prog_STRIP+set}" = set; then
47427 echo $ECHO_N "(cached) $ECHO_C" >&6
47429 if test -n "$STRIP"; then
47430 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47433 for as_dir
in $PATH
47436 test -z "$as_dir" && as_dir
=.
47437 for ac_exec_ext
in '' $ac_executable_extensions; do
47438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47439 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47448 STRIP
=$ac_cv_prog_STRIP
47449 if test -n "$STRIP"; then
47450 echo "$as_me:$LINENO: result: $STRIP" >&5
47451 echo "${ECHO_T}$STRIP" >&6
47453 echo "$as_me:$LINENO: result: no" >&5
47454 echo "${ECHO_T}no" >&6
47458 if test -z "$ac_cv_prog_STRIP"; then
47460 # Extract the first word of "strip", so it can be a program name with args.
47461 set dummy strip
; ac_word
=$2
47462 echo "$as_me:$LINENO: checking for $ac_word" >&5
47463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47464 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47465 echo $ECHO_N "(cached) $ECHO_C" >&6
47467 if test -n "$ac_ct_STRIP"; then
47468 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47471 for as_dir
in $PATH
47474 test -z "$as_dir" && as_dir
=.
47475 for ac_exec_ext
in '' $ac_executable_extensions; do
47476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47477 ac_cv_prog_ac_ct_STRIP
="strip"
47478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47484 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47487 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47488 if test -n "$ac_ct_STRIP"; then
47489 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47490 echo "${ECHO_T}$ac_ct_STRIP" >&6
47492 echo "$as_me:$LINENO: result: no" >&5
47493 echo "${ECHO_T}no" >&6
47498 STRIP
="$ac_cv_prog_STRIP"
47501 if test -n "$ac_tool_prefix"; then
47502 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47503 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47504 echo "$as_me:$LINENO: checking for $ac_word" >&5
47505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47506 if test "${ac_cv_prog_NM+set}" = set; then
47507 echo $ECHO_N "(cached) $ECHO_C" >&6
47509 if test -n "$NM"; then
47510 ac_cv_prog_NM
="$NM" # Let the user override the test.
47512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47513 for as_dir
in $PATH
47516 test -z "$as_dir" && as_dir
=.
47517 for ac_exec_ext
in '' $ac_executable_extensions; do
47518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47519 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47529 if test -n "$NM"; then
47530 echo "$as_me:$LINENO: result: $NM" >&5
47531 echo "${ECHO_T}$NM" >&6
47533 echo "$as_me:$LINENO: result: no" >&5
47534 echo "${ECHO_T}no" >&6
47538 if test -z "$ac_cv_prog_NM"; then
47540 # Extract the first word of "nm", so it can be a program name with args.
47541 set dummy nm
; ac_word
=$2
47542 echo "$as_me:$LINENO: checking for $ac_word" >&5
47543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47544 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47545 echo $ECHO_N "(cached) $ECHO_C" >&6
47547 if test -n "$ac_ct_NM"; then
47548 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47551 for as_dir
in $PATH
47554 test -z "$as_dir" && as_dir
=.
47555 for ac_exec_ext
in '' $ac_executable_extensions; do
47556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47557 ac_cv_prog_ac_ct_NM
="nm"
47558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47564 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47567 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47568 if test -n "$ac_ct_NM"; then
47569 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47570 echo "${ECHO_T}$ac_ct_NM" >&6
47572 echo "$as_me:$LINENO: result: no" >&5
47573 echo "${ECHO_T}no" >&6
47578 NM
="$ac_cv_prog_NM"
47582 case ${BAKEFILE_HOST} in
47584 INSTALL_DIR
="mkdir -p"
47586 *) INSTALL_DIR
="$INSTALL -d"
47592 case ${BAKEFILE_HOST} in
47593 *-*-cygwin* | *-*-mingw32* )
47594 LDFLAGS_GUI
="-mwindows"
47600 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47601 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47602 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47603 echo $ECHO_N "(cached) $ECHO_C" >&6
47606 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47607 egrep -s GNU
> /dev
/null
); then
47608 bakefile_cv_prog_makeisgnu
="yes"
47610 bakefile_cv_prog_makeisgnu
="no"
47614 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47615 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47617 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47634 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47635 case "${BAKEFILE_HOST}" in
47642 *-pc-os2_emx | *-pc-os2-emx )
47652 powerpc
-apple-macos* )
47661 case "$BAKEFILE_FORCE_PLATFORM" in
47682 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47683 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47684 { (exit 1); exit 1; }; }
47699 # Check whether --enable-omf or --disable-omf was given.
47700 if test "${enable_omf+set}" = set; then
47701 enableval
="$enable_omf"
47702 bk_os2_use_omf
="$enableval"
47705 case "${BAKEFILE_HOST}" in
47707 if test "x$GCC" = "xyes"; then
47708 CFLAGS
="$CFLAGS -fno-common"
47709 CXXFLAGS
="$CXXFLAGS -fno-common"
47711 if test "x$XLCC" = "xyes"; then
47712 CFLAGS
="$CFLAGS -qnocommon"
47713 CXXFLAGS
="$CXXFLAGS -qnocommon"
47717 *-pc-os2_emx | *-pc-os2-emx )
47718 if test "x$bk_os2_use_omf" = "xyes" ; then
47721 LDFLAGS
="-Zomf $LDFLAGS"
47722 CFLAGS
="-Zomf $CFLAGS"
47723 CXXFLAGS
="-Zomf $CXXFLAGS"
47731 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47737 SO_SUFFIX_MODULE
="so"
47742 DLLPREFIX_MODULE
=""
47746 case "${BAKEFILE_HOST}" in
47749 SO_SUFFIX_MODULE
="sl"
47753 SO_SUFFIX_MODULE
="a"
47757 SO_SUFFIX_MODULE
="dll"
47758 DLLIMP_SUFFIX
="dll.a"
47765 SO_SUFFIX_MODULE
="dll"
47766 DLLIMP_SUFFIX
="dll.a"
47776 *-pc-os2_emx | *-pc-os2-emx )
47778 SO_SUFFIX_MODULE
="dll"
47779 DLLIMP_SUFFIX
=$OS2_LIBEXT
47783 LIBEXT
=".$OS2_LIBEXT"
47788 SO_SUFFIX_MODULE
="bundle"
47792 if test "x$DLLIMP_SUFFIX" = "x" ; then
47793 DLLIMP_SUFFIX
="$SO_SUFFIX"
47808 if test "x$GCC" = "xyes"; then
47812 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47813 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47816 case "${BAKEFILE_HOST}" in
47818 if test "x$GCC" != "xyes"; then
47819 LDFLAGS
="$LDFLAGS -L/usr/lib"
47821 SHARED_LD_CC
="${CC} -b -o"
47822 SHARED_LD_CXX
="${CXX} -b -o"
47828 if test "x$GCC" != "xyes"; then
47829 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47830 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47831 if test "${bakefile_cv_prog_icc+set}" = set; then
47832 echo $ECHO_N "(cached) $ECHO_C" >&6
47835 cat >conftest.
$ac_ext <<_ACEOF
47838 cat confdefs.h
>>conftest.
$ac_ext
47839 cat >>conftest.
$ac_ext <<_ACEOF
47840 /* end confdefs.h. */
47846 #ifndef __INTEL_COMPILER
47854 rm -f conftest.
$ac_objext
47855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47856 (eval $ac_compile) 2>conftest.er1
47858 grep -v '^ *+' conftest.er1
>conftest.err
47860 cat conftest.err
>&5
47861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47862 (exit $ac_status); } &&
47863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47865 (eval $ac_try) 2>&5
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); }; } &&
47869 { ac_try
='test -s conftest.$ac_objext'
47870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47871 (eval $ac_try) 2>&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); }; }; then
47875 bakefile_cv_prog_icc
=yes
47877 echo "$as_me: failed program was:" >&5
47878 sed 's/^/| /' conftest.
$ac_ext >&5
47880 bakefile_cv_prog_icc
=no
47883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47886 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47887 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47888 if test "$bakefile_cv_prog_icc" = "yes"; then
47895 if test "x$GCC" != xyes
; then
47896 SHARED_LD_CC
="${CC} -G -o"
47897 SHARED_LD_CXX
="${CXX} -G -o"
47905 cat <<EOF >shared-ld-sh
47907 #-----------------------------------------------------------------------------
47908 #-- Name: distrib/mac/shared-ld-sh
47909 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47910 #-- Author: Gilles Depeyrot
47911 #-- Copyright: (c) 2002 Gilles Depeyrot
47912 #-- Licence: any use permitted
47913 #-----------------------------------------------------------------------------
47918 linking_flag="-dynamiclib"
47919 ldargs="-r -keep_private_externs -nostdlib"
47921 while test ${D}# -gt 0; do
47928 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47929 # collect these options and values
47930 args="${D}{args} ${D}1 ${D}2"
47935 # collect these load args
47936 ldargs="${D}{ldargs} ${D}1"
47939 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47940 # collect these options
47941 args="${D}{args} ${D}1"
47944 -dynamiclib|-bundle)
47945 linking_flag="${D}1"
47949 echo "shared-ld: unhandled option '${D}1'"
47953 *.o | *.a | *.dylib)
47954 # collect object files
47955 objects="${D}{objects} ${D}1"
47959 echo "shared-ld: unhandled argument '${D}1'"
47970 # Link one module containing all the others
47972 if test ${D}{verbose} = 1; then
47973 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47975 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47979 # Link the shared library from the single module created, but only if the
47980 # previous command didn't fail:
47982 if test ${D}{status} = 0; then
47983 if test ${D}{verbose} = 1; then
47984 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47986 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47991 # Remove intermediate module
47993 rm -f master.${D}${D}.o
47998 chmod +x shared
-ld-sh
48000 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48001 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48004 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48005 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48006 if test "${bakefile_cv_gcc31+set}" = set; then
48007 echo $ECHO_N "(cached) $ECHO_C" >&6
48010 cat >conftest.
$ac_ext <<_ACEOF
48013 cat confdefs.h
>>conftest.
$ac_ext
48014 cat >>conftest.
$ac_ext <<_ACEOF
48015 /* end confdefs.h. */
48021 #if (__GNUC__ < 3) || \
48022 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48030 rm -f conftest.
$ac_objext
48031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48032 (eval $ac_compile) 2>conftest.er1
48034 grep -v '^ *+' conftest.er1
>conftest.err
48036 cat conftest.err
>&5
48037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038 (exit $ac_status); } &&
48039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48041 (eval $ac_try) 2>&5
48043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044 (exit $ac_status); }; } &&
48045 { ac_try
='test -s conftest.$ac_objext'
48046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48047 (eval $ac_try) 2>&5
48049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48050 (exit $ac_status); }; }; then
48052 bakefile_cv_gcc31
=yes
48055 echo "$as_me: failed program was:" >&5
48056 sed 's/^/| /' conftest.
$ac_ext >&5
48059 bakefile_cv_gcc31
=no
48063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48066 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48067 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48068 if test "$bakefile_cv_gcc31" = "no"; then
48069 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48070 SHARED_LD_CXX
="$SHARED_LD_CC"
48072 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48073 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48076 if test "x$GCC" == "xyes"; then
48077 PIC_FLAG
="-dynamic -fPIC"
48079 if test "x$XLCC" = "xyes"; then
48080 PIC_FLAG
="-dynamic -DPIC"
48085 if test "x$GCC" = "xyes"; then
48088 case "${BAKEFILE_HOST}" in
48090 LD_EXPFULL
="-Wl,-bexpfull"
48094 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48095 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48097 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48098 set dummy makeC
++SharedLib
; ac_word
=$2
48099 echo "$as_me:$LINENO: checking for $ac_word" >&5
48100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48101 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48102 echo $ECHO_N "(cached) $ECHO_C" >&6
48104 if test -n "$AIX_CXX_LD"; then
48105 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48108 for as_dir
in $PATH
48111 test -z "$as_dir" && as_dir
=.
48112 for ac_exec_ext
in '' $ac_executable_extensions; do
48113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48114 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48121 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48124 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48125 if test -n "$AIX_CXX_LD"; then
48126 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48127 echo "${ECHO_T}$AIX_CXX_LD" >&6
48129 echo "$as_me:$LINENO: result: no" >&5
48130 echo "${ECHO_T}no" >&6
48133 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48134 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48139 SHARED_LD_CC
="${LD} -nostart -o"
48140 SHARED_LD_CXX
="${LD} -nostart -o"
48144 if test "x$GCC" != "xyes"; then
48149 *-*-cygwin* | *-*-mingw32* )
48151 SHARED_LD_CC
="\$(CC) -shared -o"
48152 SHARED_LD_CXX
="\$(CXX) -shared -o"
48156 *-pc-os2_emx | *-pc-os2-emx )
48157 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48158 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48162 cat <<EOF >dllar.sh
48165 # dllar - a tool to build both a .dll and an .a file
48166 # from a set of object (.o) files for EMX/OS2.
48168 # Written by Andrew Zabolotny, bit@freya.etu.ru
48169 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48171 # This script will accept a set of files on the command line.
48172 # All the public symbols from the .o files will be exported into
48173 # a .DEF file, then linker will be run (through gcc) against them to
48174 # build a shared library consisting of all given .o files. All libraries
48175 # (.a) will be first decompressed into component .o files then act as
48176 # described above. You can optionally give a description (-d "description")
48177 # which will be put into .DLL. To see the list of accepted options (as well
48178 # as command-line format) simply run this program without options. The .DLL
48179 # is built to be imported by name (there is no guarantee that new versions
48180 # of the library you build will have same ordinals for same symbols).
48182 # dllar is free software; you can redistribute it and/or modify
48183 # it under the terms of the GNU General Public License as published by
48184 # the Free Software Foundation; either version 2, or (at your option)
48185 # any later version.
48187 # dllar is distributed in the hope that it will be useful,
48188 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48189 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48190 # GNU General Public License for more details.
48192 # You should have received a copy of the GNU General Public License
48193 # along with dllar; see the file COPYING. If not, write to the Free
48194 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48197 # To successfuly run this program you will need:
48198 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48199 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48201 # (used to build the .dll)
48203 # (used to create .def file from .o files)
48205 # (used to create .a file from .def file)
48206 # - GNU text utilites (cat, sort, uniq)
48207 # used to process emxexp output
48208 # - GNU file utilities (mv, rm)
48210 # - lxlite (optional, see flag below)
48211 # (used for general .dll cleanup)
48218 # basnam, variant of basename, which does _not_ remove the path, _iff_
48219 # second argument (suffix to remove) is given
48223 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48226 echo ${D}1 | sed 's/'${D}2'${D}//'
48229 echo "error in basnam ${D}*"
48235 # Cleanup temporary files and output
48238 for i in ${D}inputFiles ; do
48241 rm -rf \`basnam ${D}i !\`
48248 # Kill result in case of failure as there is just to many stupid make/nmake
48249 # things out there which doesn't do this.
48250 if [ ${D}# -eq 0 ]; then
48251 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48255 # Print usage and exit script with rc=1.
48257 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48258 echo ' [-name-mangler-script script.sh]'
48259 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48260 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48261 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48262 echo ' [*.o] [*.a]'
48263 echo '*> "output_file" should have no extension.'
48264 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48265 echo ' The import library name is derived from this and is set to "name".a,'
48266 echo ' unless overridden by -import'
48267 echo '*> "importlib_name" should have no extension.'
48268 echo ' If it has the .o, or .a extension, it is automatically removed.'
48269 echo ' This name is used as the import library name and may be longer and'
48270 echo ' more descriptive than the DLL name which has to follow the old '
48271 echo ' 8.3 convention of FAT.'
48272 echo '*> "script.sh may be given to override the output_file name by a'
48273 echo ' different name. It is mainly useful if the regular make process'
48274 echo ' of some package does not take into account OS/2 restriction of'
48275 echo ' DLL name lengths. It takes the importlib name as input and is'
48276 echo ' supposed to procude a shorter name as output. The script should'
48277 echo ' expect to get importlib_name without extension and should produce'
48278 echo ' a (max.) 8 letter name without extension.'
48279 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48280 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48281 echo ' These flags will be put at the start of GCC command line.'
48282 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48283 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48284 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48285 echo ' If the last character of a symbol is "*", all symbols beginning'
48286 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48287 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48288 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48289 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48290 echo ' C runtime DLLs.'
48291 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48292 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48293 echo ' unchanged to GCC at the end of command line.'
48294 echo '*> If you create a DLL from a library and you do not specify -o,'
48295 echo ' the basename for DLL and import library will be set to library name,'
48296 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48297 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48298 echo ' library will be renamed into gcc_s.a.'
48301 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48302 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48307 # Execute a command.
48308 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48309 # @Uses Whatever CleanUp() uses.
48315 if [ ${D}rcCmd -ne 0 ]; then
48316 echo "command failed, exit code="${D}rcCmd
48331 CFLAGS="-s -Zcrtdll"
48333 EXPORT_BY_ORDINALS=0
48338 case ${D}curDirS in
48342 curDirS=${D}{curDirS}"/"
48345 # Parse commandline
48348 while [ ${D}1 ]; do
48351 EXPORT_BY_ORDINALS=1;
48361 -name-mangler-script)
48382 exclude_symbols=${D}{exclude_symbols}${D}1" "
48386 library_flags=${D}{library_flags}${D}1" "
48405 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48408 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48409 if [ ${D}omfLinking -eq 1 ]; then
48410 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48412 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48417 if [ ${D}libsToLink -ne 0 ]; then
48418 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48420 for file in ${D}1 ; do
48421 if [ -f ${D}file ]; then
48422 inputFiles="${D}{inputFiles} ${D}file"
48426 if [ ${D}found -eq 0 ]; then
48427 echo "ERROR: No file(s) found: "${D}1
48434 done # iterate cmdline words
48437 if [ -z "${D}inputFiles" ]; then
48438 echo "dllar: no input files"
48442 # Now extract all .o files from .a files
48444 for file in ${D}inputFiles ; do
48455 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48460 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48462 if [ ${D}? -ne 0 ]; then
48463 echo "Failed to create subdirectory ./${D}dirname"
48467 # Append '!' to indicate archive
48468 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48469 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48472 for subfile in ${D}dirname/*.o* ; do
48473 if [ -f ${D}subfile ]; then
48475 if [ -s ${D}subfile ]; then
48476 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48477 newInputFiles="${D}newInputFiles ${D}subfile"
48481 if [ ${D}found -eq 0 ]; then
48482 echo "WARNING: there are no files in archive \\'${D}file\\'"
48486 newInputFiles="${D}{newInputFiles} ${D}file"
48490 inputFiles="${D}newInputFiles"
48492 # Output filename(s).
48494 if [ -z ${D}outFile ]; then
48496 set outFile ${D}inputFiles; outFile=${D}2
48499 # If it is an archive, remove the '!' and the '_%' suffixes
48500 case ${D}outFile in
48502 outFile=\`basnam ${D}outFile _%!\`
48507 case ${D}outFile in
48509 outFile=\`basnam ${D}outFile .dll\`
48512 outFile=\`basnam ${D}outFile .DLL\`
48515 outFile=\`basnam ${D}outFile .o\`
48518 outFile=\`basnam ${D}outFile .obj\`
48521 outFile=\`basnam ${D}outFile .a\`
48524 outFile=\`basnam ${D}outFile .lib\`
48529 case ${D}outimpFile in
48531 outimpFile=\`basnam ${D}outimpFile .a\`
48534 outimpFile=\`basnam ${D}outimpFile .lib\`
48539 if [ -z ${D}outimpFile ]; then
48540 outimpFile=${D}outFile
48542 defFile="${D}{outFile}.def"
48543 arcFile="${D}{outimpFile}.a"
48544 arcFile2="${D}{outimpFile}.lib"
48546 #create ${D}dllFile as something matching 8.3 restrictions,
48547 if [ -z ${D}renameScript ] ; then
48548 dllFile="${D}outFile"
48550 dllFile=\`${D}renameScript ${D}outimpFile\`
48553 if [ ${D}do_backup -ne 0 ] ; then
48554 if [ -f ${D}arcFile ] ; then
48555 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48557 if [ -f ${D}arcFile2 ] ; then
48558 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48562 # Extract public symbols from all the object files.
48563 tmpdefFile=${D}{defFile}_%
48564 rm -f ${D}tmpdefFile
48565 for file in ${D}inputFiles ; do
48570 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48575 # Create the def file.
48577 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48578 dllFile="${D}{dllFile}.dll"
48579 if [ ! -z ${D}description ]; then
48580 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48582 echo "EXPORTS" >> ${D}defFile
48584 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48585 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48587 # Checks if the export is ok or not.
48588 for word in ${D}exclude_symbols; do
48589 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48590 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48594 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48595 sed "=" < ${D}tmpdefFile | \\
48599 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48601 ' > ${D}{tmpdefFile}%
48602 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48604 rm -f ${D}{tmpdefFile}%
48606 cat ${D}tmpdefFile >> ${D}defFile
48607 rm -f ${D}tmpdefFile
48609 # Do linking, create implib, and apply lxlite.
48611 for file in ${D}inputFiles ; do
48616 gccCmdl="${D}gccCmdl ${D}file"
48620 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48621 touch "${D}{outFile}.dll"
48623 doCommand "emximp -o ${D}arcFile ${D}defFile"
48624 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48626 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48629 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48631 doCommand "emxomf -s -l ${D}arcFile"
48641 powerpc
-apple-macos* | \
48642 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48653 if test "x$PIC_FLAG" != "x" ; then
48654 PIC_FLAG
="$PIC_FLAG -DPIC"
48657 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48658 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48660 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48661 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48680 case "${BAKEFILE_HOST}" in
48681 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48682 SONAME_FLAG
="-Wl,-soname,"
48716 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48717 if test "${enable_dependency_tracking+set}" = set; then
48718 enableval
="$enable_dependency_tracking"
48719 bk_use_trackdeps
="$enableval"
48722 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48723 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48725 if test "x$bk_use_trackdeps" = "xno" ; then
48727 echo "$as_me:$LINENO: result: disabled" >&5
48728 echo "${ECHO_T}disabled" >&6
48732 if test "x$GCC" = "xyes"; then
48734 case "${BAKEFILE_HOST}" in
48736 DEPSFLAG
="-no-cpp-precomp -MMD"
48742 echo "$as_me:$LINENO: result: gcc" >&5
48743 echo "${ECHO_T}gcc" >&6
48744 elif test "x$MWCC" = "xyes"; then
48747 echo "$as_me:$LINENO: result: mwcc" >&5
48748 echo "${ECHO_T}mwcc" >&6
48749 elif test "x$SUNCC" = "xyes"; then
48752 echo "$as_me:$LINENO: result: Sun cc" >&5
48753 echo "${ECHO_T}Sun cc" >&6
48754 elif test "x$SGICC" = "xyes"; then
48757 echo "$as_me:$LINENO: result: SGI cc" >&5
48758 echo "${ECHO_T}SGI cc" >&6
48759 elif test "x$HPCC" = "xyes"; then
48762 echo "$as_me:$LINENO: result: HP cc" >&5
48763 echo "${ECHO_T}HP cc" >&6
48764 elif test "x$COMPAQCC" = "xyes"; then
48767 echo "$as_me:$LINENO: result: Compaq cc" >&5
48768 echo "${ECHO_T}Compaq cc" >&6
48771 echo "$as_me:$LINENO: result: none" >&5
48772 echo "${ECHO_T}none" >&6
48775 if test $DEPS_TRACKING = 1 ; then
48781 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48782 # script. It is used to track C/C++ files dependencies in portable way.
48784 # Permission is given to use this file in any way.
48786 DEPSMODE=${DEPSMODE}
48788 DEPSFLAG="${DEPSFLAG}"
48790 mkdir -p ${D}DEPSDIR
48792 if test ${D}DEPSMODE = gcc ; then
48793 ${D}* ${D}{DEPSFLAG}
48795 if test ${D}{status} != 0 ; then
48798 # move created file to the location we want it in:
48799 while test ${D}# -gt 0; do
48813 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48814 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48815 if test -f ${D}depfile ; then
48816 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48819 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48820 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48821 if test ! -f ${D}depfile ; then
48822 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48823 depfile="${D}objfile.d"
48825 if test -f ${D}depfile ; then
48826 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48831 elif test ${D}DEPSMODE = mwcc ; then
48832 ${D}* || exit ${D}?
48833 # Run mwcc again with -MM and redirect into the dep file we want
48834 # NOTE: We can't use shift here because we need ${D}* to be valid
48836 for arg in ${D}* ; do
48837 if test "${D}prevarg" = "-o"; then
48850 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48852 elif test ${D}DEPSMODE = unixcc; then
48853 ${D}* || exit ${D}?
48854 # Run compiler again with deps flag and redirect into the dep file.
48855 # It doesn't work if the '-o FILE' option is used, but without it the
48856 # dependency file will contain the wrong name for the object. So it is
48857 # removed from the command line, and the dep file is fixed with sed.
48859 while test ${D}# -gt 0; do
48866 eval arg${D}#=\\${D}1
48867 cmd="${D}cmd \\${D}arg${D}#"
48872 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48887 case ${BAKEFILE_HOST} in
48888 *-*-cygwin* | *-*-mingw32* )
48889 if test -n "$ac_tool_prefix"; then
48890 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48891 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
48892 echo "$as_me:$LINENO: checking for $ac_word" >&5
48893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48894 if test "${ac_cv_prog_WINDRES+set}" = set; then
48895 echo $ECHO_N "(cached) $ECHO_C" >&6
48897 if test -n "$WINDRES"; then
48898 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
48900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48901 for as_dir
in $PATH
48904 test -z "$as_dir" && as_dir
=.
48905 for ac_exec_ext
in '' $ac_executable_extensions; do
48906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48907 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
48908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48916 WINDRES
=$ac_cv_prog_WINDRES
48917 if test -n "$WINDRES"; then
48918 echo "$as_me:$LINENO: result: $WINDRES" >&5
48919 echo "${ECHO_T}$WINDRES" >&6
48921 echo "$as_me:$LINENO: result: no" >&5
48922 echo "${ECHO_T}no" >&6
48926 if test -z "$ac_cv_prog_WINDRES"; then
48927 ac_ct_WINDRES
=$WINDRES
48928 # Extract the first word of "windres", so it can be a program name with args.
48929 set dummy windres
; ac_word
=$2
48930 echo "$as_me:$LINENO: checking for $ac_word" >&5
48931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48932 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48935 if test -n "$ac_ct_WINDRES"; then
48936 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
48938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48939 for as_dir
in $PATH
48942 test -z "$as_dir" && as_dir
=.
48943 for ac_exec_ext
in '' $ac_executable_extensions; do
48944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48945 ac_cv_prog_ac_ct_WINDRES
="windres"
48946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48954 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
48955 if test -n "$ac_ct_WINDRES"; then
48956 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48957 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48959 echo "$as_me:$LINENO: result: no" >&5
48960 echo "${ECHO_T}no" >&6
48963 WINDRES
=$ac_ct_WINDRES
48965 WINDRES
="$ac_cv_prog_WINDRES"
48970 *-*-darwin* | powerpc
-apple-macos* )
48971 # Extract the first word of "Rez", so it can be a program name with args.
48972 set dummy Rez
; ac_word
=$2
48973 echo "$as_me:$LINENO: checking for $ac_word" >&5
48974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48975 if test "${ac_cv_prog_REZ+set}" = set; then
48976 echo $ECHO_N "(cached) $ECHO_C" >&6
48978 if test -n "$REZ"; then
48979 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
48981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48982 for as_dir
in $PATH
48985 test -z "$as_dir" && as_dir
=.
48986 for ac_exec_ext
in '' $ac_executable_extensions; do
48987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48988 ac_cv_prog_REZ
="Rez"
48989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48995 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
48998 REZ
=$ac_cv_prog_REZ
48999 if test -n "$REZ"; then
49000 echo "$as_me:$LINENO: result: $REZ" >&5
49001 echo "${ECHO_T}$REZ" >&6
49003 echo "$as_me:$LINENO: result: no" >&5
49004 echo "${ECHO_T}no" >&6
49007 # Extract the first word of "SetFile", so it can be a program name with args.
49008 set dummy SetFile
; ac_word
=$2
49009 echo "$as_me:$LINENO: checking for $ac_word" >&5
49010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49011 if test "${ac_cv_prog_SETFILE+set}" = set; then
49012 echo $ECHO_N "(cached) $ECHO_C" >&6
49014 if test -n "$SETFILE"; then
49015 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49018 for as_dir
in $PATH
49021 test -z "$as_dir" && as_dir
=.
49022 for ac_exec_ext
in '' $ac_executable_extensions; do
49023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49024 ac_cv_prog_SETFILE
="SetFile"
49025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49031 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49034 SETFILE
=$ac_cv_prog_SETFILE
49035 if test -n "$SETFILE"; then
49036 echo "$as_me:$LINENO: result: $SETFILE" >&5
49037 echo "${ECHO_T}$SETFILE" >&6
49039 echo "$as_me:$LINENO: result: no" >&5
49040 echo "${ECHO_T}no" >&6
49051 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
49054 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
49058 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49059 if test "${enable_precomp_headers+set}" = set; then
49060 enableval
="$enable_precomp_headers"
49061 bk_use_pch
="$enableval"
49068 case ${BAKEFILE_HOST} in
49074 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49075 if test "x$GCC" = "xyes"; then
49076 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49077 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49078 cat >conftest.
$ac_ext <<_ACEOF
49081 cat confdefs.h
>>conftest.
$ac_ext
49082 cat >>conftest.
$ac_ext <<_ACEOF
49083 /* end confdefs.h. */
49089 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49090 There is no PCH support
49093 There is no PCH support
49095 #if (__GNUC__ == 3) && \
49096 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49097 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49098 ( defined(__INTEL_COMPILER) )
49099 There is no PCH support
49106 rm -f conftest.
$ac_objext
49107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49108 (eval $ac_compile) 2>conftest.er1
49110 grep -v '^ *+' conftest.er1
>conftest.err
49112 cat conftest.err
>&5
49113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49114 (exit $ac_status); } &&
49115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49117 (eval $ac_try) 2>&5
49119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49120 (exit $ac_status); }; } &&
49121 { ac_try
='test -s conftest.$ac_objext'
49122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49123 (eval $ac_try) 2>&5
49125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49126 (exit $ac_status); }; }; then
49128 echo "$as_me:$LINENO: result: yes" >&5
49129 echo "${ECHO_T}yes" >&6
49133 echo "$as_me: failed program was:" >&5
49134 sed 's/^/| /' conftest.
$ac_ext >&5
49137 cat >conftest.
$ac_ext <<_ACEOF
49140 cat confdefs.h
>>conftest.
$ac_ext
49141 cat >>conftest.
$ac_ext <<_ACEOF
49142 /* end confdefs.h. */
49148 #if !defined(__INTEL_COMPILER) || \
49149 (__INTEL_COMPILER < 800)
49150 There is no PCH support
49157 rm -f conftest.
$ac_objext
49158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49159 (eval $ac_compile) 2>conftest.er1
49161 grep -v '^ *+' conftest.er1
>conftest.err
49163 cat conftest.err
>&5
49164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49165 (exit $ac_status); } &&
49166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49168 (eval $ac_try) 2>&5
49170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49171 (exit $ac_status); }; } &&
49172 { ac_try
='test -s conftest.$ac_objext'
49173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49174 (eval $ac_try) 2>&5
49176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49177 (exit $ac_status); }; }; then
49179 echo "$as_me:$LINENO: result: yes" >&5
49180 echo "${ECHO_T}yes" >&6
49184 echo "$as_me: failed program was:" >&5
49185 sed 's/^/| /' conftest.
$ac_ext >&5
49188 echo "$as_me:$LINENO: result: no" >&5
49189 echo "${ECHO_T}no" >&6
49192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49196 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49200 cat <<EOF >bk-make-pch
49203 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49204 # script. It is used to generated precompiled headers.
49206 # Permission is given to use this file in any way.
49216 while test ${D}{#} -gt 0; do
49220 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49221 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49222 headerfile="${D}{incdir}/${D}{header}"
49225 -use-pch|-use_pch )
49230 if test ${D}add_to_cmdline = 1 ; then
49231 compiler="${D}{compiler} ${D}{1}"
49236 if test "x${D}{headerfile}" = "x" ; then
49237 echo "error: can't find header ${D}{header} in include paths" >&2
49239 if test -f ${D}{outfile} ; then
49240 rm -f ${D}{outfile}
49242 mkdir -p \`dirname ${D}{outfile}\`
49244 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49246 if test "x${GCC_PCH}" = "x1" ; then
49247 # can do this because gcc is >= 3.4:
49248 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49249 elif test "x${ICC_PCH}" = "x1" ; then
49250 filename=pch_gen-${D}${D}
49251 file=${D}{filename}.c
49252 dfile=${D}{filename}.d
49253 cat > ${D}file <<EOT
49254 #include "${D}header"
49256 # using -MF icc complains about differing command lines in creation/use
49257 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49258 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49259 rm -f ${D}file ${D}dfile ${D}{filename}.o
49265 chmod +x bk
-make-pch
49273 COND_BUILD_DEBUG
="#"
49274 if test "x$BUILD" = "xdebug" ; then
49275 COND_BUILD_DEBUG
=""
49278 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49279 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49280 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49283 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49284 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49285 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49288 COND_BUILD_DEBUG_UNICODE_0
="#"
49289 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49290 COND_BUILD_DEBUG_UNICODE_0
=""
49293 COND_BUILD_DEBUG_UNICODE_1
="#"
49294 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49295 COND_BUILD_DEBUG_UNICODE_1
=""
49298 COND_BUILD_RELEASE
="#"
49299 if test "x$BUILD" = "xrelease" ; then
49300 COND_BUILD_RELEASE
=""
49303 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49304 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49305 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49308 COND_BUILD_RELEASE_UNICODE_0
="#"
49309 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49310 COND_BUILD_RELEASE_UNICODE_0
=""
49313 COND_BUILD_RELEASE_UNICODE_1
="#"
49314 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49315 COND_BUILD_RELEASE_UNICODE_1
=""
49318 COND_DEBUG_FLAG_1
="#"
49319 if test "x$DEBUG_FLAG" = "x1" ; then
49320 COND_DEBUG_FLAG_1
=""
49323 COND_DEBUG_INFO_0
="#"
49324 if test "x$DEBUG_INFO" = "x0" ; then
49325 COND_DEBUG_INFO_0
=""
49328 COND_DEBUG_INFO_1
="#"
49329 if test "x$DEBUG_INFO" = "x1" ; then
49330 COND_DEBUG_INFO_1
=""
49333 COND_DEPS_TRACKING_0
="#"
49334 if test "x$DEPS_TRACKING" = "x0" ; then
49335 COND_DEPS_TRACKING_0
=""
49338 COND_DEPS_TRACKING_1
="#"
49339 if test "x$DEPS_TRACKING" = "x1" ; then
49340 COND_DEPS_TRACKING_1
=""
49344 if test "x$GCC_PCH" = "x1" ; then
49349 if test "x$ICC_PCH" = "x1" ; then
49353 COND_MONOLITHIC_0
="#"
49354 if test "x$MONOLITHIC" = "x0" ; then
49355 COND_MONOLITHIC_0
=""
49358 COND_MONOLITHIC_0_SHARED_0
="#"
49359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49360 COND_MONOLITHIC_0_SHARED_0
=""
49363 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49365 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49368 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49370 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49373 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49375 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49378 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49380 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49383 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49385 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49388 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49390 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49393 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49395 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49398 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49400 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49403 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49405 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49408 COND_MONOLITHIC_0_SHARED_1
="#"
49409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49410 COND_MONOLITHIC_0_SHARED_1
=""
49413 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49415 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49418 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49420 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49423 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49425 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49428 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49430 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49433 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49435 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49438 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49440 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49443 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49445 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49448 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49450 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49453 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49455 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49458 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49459 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49460 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49463 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49464 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49465 COND_MONOLITHIC_0_USE_ODBC_1
=""
49468 COND_MONOLITHIC_1
="#"
49469 if test "x$MONOLITHIC" = "x1" ; then
49470 COND_MONOLITHIC_1
=""
49473 COND_MONOLITHIC_1_SHARED_0
="#"
49474 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49475 COND_MONOLITHIC_1_SHARED_0
=""
49478 COND_MONOLITHIC_1_SHARED_1
="#"
49479 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49480 COND_MONOLITHIC_1_SHARED_1
=""
49483 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49484 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49485 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49488 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49489 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49490 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49493 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49494 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49495 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49498 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49499 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49500 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49503 COND_PLATFORM_MACOSX_1
="#"
49504 if test "x$PLATFORM_MACOSX" = "x1" ; then
49505 COND_PLATFORM_MACOSX_1
=""
49508 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49509 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49510 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49513 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49514 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49515 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49518 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49519 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49520 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49523 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49524 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49525 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49528 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49529 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49530 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49533 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49534 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49535 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49538 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49539 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49540 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49543 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49544 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49545 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49548 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49549 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49550 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49553 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49554 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49555 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49558 COND_PLATFORM_MACOS_1
="#"
49559 if test "x$PLATFORM_MACOS" = "x1" ; then
49560 COND_PLATFORM_MACOS_1
=""
49563 COND_PLATFORM_MAC_1
="#"
49564 if test "x$PLATFORM_MAC" = "x1" ; then
49565 COND_PLATFORM_MAC_1
=""
49568 COND_PLATFORM_MSDOS_0
="#"
49569 if test "x$PLATFORM_MSDOS" = "x0" ; then
49570 COND_PLATFORM_MSDOS_0
=""
49573 COND_PLATFORM_MSDOS_1
="#"
49574 if test "x$PLATFORM_MSDOS" = "x1" ; then
49575 COND_PLATFORM_MSDOS_1
=""
49578 COND_PLATFORM_OS2_1
="#"
49579 if test "x$PLATFORM_OS2" = "x1" ; then
49580 COND_PLATFORM_OS2_1
=""
49583 COND_PLATFORM_UNIX_0
="#"
49584 if test "x$PLATFORM_UNIX" = "x0" ; then
49585 COND_PLATFORM_UNIX_0
=""
49588 COND_PLATFORM_UNIX_1
="#"
49589 if test "x$PLATFORM_UNIX" = "x1" ; then
49590 COND_PLATFORM_UNIX_1
=""
49593 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49594 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49595 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49598 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49599 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49600 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49603 COND_PLATFORM_WIN32_0
="#"
49604 if test "x$PLATFORM_WIN32" = "x0" ; then
49605 COND_PLATFORM_WIN32_0
=""
49608 COND_PLATFORM_WIN32_1
="#"
49609 if test "x$PLATFORM_WIN32" = "x1" ; then
49610 COND_PLATFORM_WIN32_1
=""
49614 if test "x$SHARED" = "x0" ; then
49618 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49619 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49620 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49623 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49624 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49625 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49628 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49629 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49630 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49633 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49635 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49638 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49643 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49644 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49645 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49648 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49649 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49650 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49653 COND_SHARED_0_USE_XRC_1
="#"
49654 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49655 COND_SHARED_0_USE_XRC_1
=""
49658 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49659 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49660 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49663 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49664 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49665 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49668 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49669 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49670 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49673 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49674 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49675 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49679 if test "x$SHARED" = "x1" ; then
49683 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49684 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49685 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49688 COND_SHARED_1_USE_XRC_1
="#"
49689 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49690 COND_SHARED_1_USE_XRC_1
=""
49694 if test "x$TOOLKIT" = "x" ; then
49698 COND_TOOLKIT_COCOA
="#"
49699 if test "x$TOOLKIT" = "xCOCOA" ; then
49700 COND_TOOLKIT_COCOA
=""
49703 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49704 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49705 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49708 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49709 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49710 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49713 COND_TOOLKIT_DFB
="#"
49714 if test "x$TOOLKIT" = "xDFB" ; then
49715 COND_TOOLKIT_DFB
=""
49718 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49719 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49720 COND_TOOLKIT_DFB_USE_GUI_1
=""
49723 COND_TOOLKIT_GTK
="#"
49724 if test "x$TOOLKIT" = "xGTK" ; then
49725 COND_TOOLKIT_GTK
=""
49728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49729 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49734 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49739 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49744 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49748 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49749 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49750 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49753 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49754 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49755 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49758 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49759 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49760 COND_TOOLKIT_GTK_USE_GUI_1
=""
49763 COND_TOOLKIT_MAC
="#"
49764 if test "x$TOOLKIT" = "xMAC" ; then
49765 COND_TOOLKIT_MAC
=""
49768 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49769 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49770 COND_TOOLKIT_MAC_USE_GUI_1
=""
49773 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49774 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49775 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49778 COND_TOOLKIT_MGL
="#"
49779 if test "x$TOOLKIT" = "xMGL" ; then
49780 COND_TOOLKIT_MGL
=""
49783 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49784 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49785 COND_TOOLKIT_MGL_USE_GUI_1
=""
49788 COND_TOOLKIT_MOTIF
="#"
49789 if test "x$TOOLKIT" = "xMOTIF" ; then
49790 COND_TOOLKIT_MOTIF
=""
49793 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49794 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49795 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49798 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49799 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49800 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49803 COND_TOOLKIT_MSW
="#"
49804 if test "x$TOOLKIT" = "xMSW" ; then
49805 COND_TOOLKIT_MSW
=""
49808 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49809 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49810 COND_TOOLKIT_MSW_USE_GUI_1
=""
49813 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49814 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49815 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49818 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49819 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49820 COND_TOOLKIT_MSW_WXUNIV_0
=""
49823 COND_TOOLKIT_PM
="#"
49824 if test "x$TOOLKIT" = "xPM" ; then
49828 COND_TOOLKIT_PM_USE_GUI_1
="#"
49829 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49830 COND_TOOLKIT_PM_USE_GUI_1
=""
49833 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49834 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49835 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49838 COND_TOOLKIT_WINCE
="#"
49839 if test "x$TOOLKIT" = "xWINCE" ; then
49840 COND_TOOLKIT_WINCE
=""
49843 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49844 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49845 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49848 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49849 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49850 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49853 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49854 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49855 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49858 COND_TOOLKIT_X11
="#"
49859 if test "x$TOOLKIT" = "xX11" ; then
49860 COND_TOOLKIT_X11
=""
49863 COND_TOOLKIT_X11_USE_GUI_1
="#"
49864 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49865 COND_TOOLKIT_X11_USE_GUI_1
=""
49869 if test "x$UNICODE" = "x1" ; then
49873 COND_USE_EXCEPTIONS_0
="#"
49874 if test "x$USE_EXCEPTIONS" = "x0" ; then
49875 COND_USE_EXCEPTIONS_0
=""
49878 COND_USE_EXCEPTIONS_1
="#"
49879 if test "x$USE_EXCEPTIONS" = "x1" ; then
49880 COND_USE_EXCEPTIONS_1
=""
49884 if test "x$USE_GUI" = "x0" ; then
49889 if test "x$USE_GUI" = "x1" ; then
49893 COND_USE_GUI_1_WXUNIV_0
="#"
49894 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49895 COND_USE_GUI_1_WXUNIV_0
=""
49898 COND_USE_GUI_1_WXUNIV_1
="#"
49899 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49900 COND_USE_GUI_1_WXUNIV_1
=""
49903 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49904 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49905 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49908 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49909 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49910 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49913 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49914 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49915 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49918 COND_USE_ODBC_1
="#"
49919 if test "x$USE_ODBC" = "x1" ; then
49923 COND_USE_OPENGL_1
="#"
49924 if test "x$USE_OPENGL" = "x1" ; then
49925 COND_USE_OPENGL_1
=""
49929 if test "x$USE_PCH" = "x1" ; then
49933 COND_USE_PLUGINS_0
="#"
49934 if test "x$USE_PLUGINS" = "x0" ; then
49935 COND_USE_PLUGINS_0
=""
49938 COND_USE_RTTI_0
="#"
49939 if test "x$USE_RTTI" = "x0" ; then
49943 COND_USE_RTTI_1
="#"
49944 if test "x$USE_RTTI" = "x1" ; then
49948 COND_USE_SOSYMLINKS_1
="#"
49949 if test "x$USE_SOSYMLINKS" = "x1" ; then
49950 COND_USE_SOSYMLINKS_1
=""
49953 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
49954 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49955 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
49958 COND_USE_SOVERLINUX_1
="#"
49959 if test "x$USE_SOVERLINUX" = "x1" ; then
49960 COND_USE_SOVERLINUX_1
=""
49963 COND_USE_SOVERSION_0
="#"
49964 if test "x$USE_SOVERSION" = "x0" ; then
49965 COND_USE_SOVERSION_0
=""
49968 COND_USE_SOVERSOLARIS_1
="#"
49969 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49970 COND_USE_SOVERSOLARIS_1
=""
49973 COND_USE_THREADS_0
="#"
49974 if test "x$USE_THREADS" = "x0" ; then
49975 COND_USE_THREADS_0
=""
49978 COND_USE_THREADS_1
="#"
49979 if test "x$USE_THREADS" = "x1" ; then
49980 COND_USE_THREADS_1
=""
49984 if test "x$USE_XRC" = "x1" ; then
49988 COND_WINDOWS_IMPLIB_1
="#"
49989 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49990 COND_WINDOWS_IMPLIB_1
=""
49993 COND_WITH_PLUGIN_SDL_1
="#"
49994 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49995 COND_WITH_PLUGIN_SDL_1
=""
49999 if test "x$WXUNIV" = "x0" ; then
50004 if test "x$WXUNIV" = "x1" ; then
50008 COND_WXUSE_EXPAT_BUILTIN
="#"
50009 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50010 COND_WXUSE_EXPAT_BUILTIN
=""
50013 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50014 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50015 COND_WXUSE_LIBJPEG_BUILTIN
=""
50018 COND_WXUSE_LIBPNG_BUILTIN
="#"
50019 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50020 COND_WXUSE_LIBPNG_BUILTIN
=""
50023 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50024 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50025 COND_WXUSE_LIBTIFF_BUILTIN
=""
50028 COND_WXUSE_ODBC_BUILTIN
="#"
50029 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50030 COND_WXUSE_ODBC_BUILTIN
=""
50033 COND_WXUSE_REGEX_BUILTIN
="#"
50034 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50035 COND_WXUSE_REGEX_BUILTIN
=""
50038 COND_WXUSE_ZLIB_BUILTIN
="#"
50039 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50040 COND_WXUSE_ZLIB_BUILTIN
=""
50045 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50046 { { 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
50047 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;}
50048 { (exit 1); exit 1; }; }
50051 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50052 { { 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
50053 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;}
50054 { (exit 1); exit 1; }; }
50058 if test $GCC_PCH = 1
50060 if test "$wx_cv_gcc_pch_bug" = yes; then
50061 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50062 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50063 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50064 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50065 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50066 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50069 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50073 if test "$wxUSE_MAC" = 1 ; then
50074 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50075 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50081 if test "$wxUSE_SHARED" = "yes"; then
50083 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50084 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50087 *-pc-os2_emx | *-pc-os2-emx )
50088 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50089 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50090 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50091 cp -p ${srcdir}/src
/os
2/dllar.sh .
50096 EXE_LINKER
="$CXX -o"
50099 if test "$wxUSE_OMF" = "yes"; then
50101 *-pc-os2_emx | *-pc-os2-emx )
50102 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50103 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50104 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50109 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50111 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50173 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50174 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50175 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50176 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50177 echo $ECHO_N "(cached) $ECHO_C" >&6
50179 cat >conftest.
make <<\_ACEOF
50181 @
echo 'ac_maketemp="$(MAKE)"'
50183 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50184 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50185 if test -n "$ac_maketemp"; then
50186 eval ac_cv_prog_make_
${ac_make}_set
=yes
50188 eval ac_cv_prog_make_
${ac_make}_set
=no
50190 rm -f conftest.
make
50192 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50193 echo "$as_me:$LINENO: result: yes" >&5
50194 echo "${ECHO_T}yes" >&6
50197 echo "$as_me:$LINENO: result: no" >&5
50198 echo "${ECHO_T}no" >&6
50199 SET_MAKE
="MAKE=${MAKE-make}"
50204 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50207 if test "$USE_WIN32" = 1; then
50208 ac_config_commands
="$ac_config_commands
50214 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50217 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50220 ac_config_files
="$ac_config_files version-script Makefile"
50223 ac_config_commands
="$ac_config_commands wx-config"
50227 if test "$wxWITH_SUBDIRS" != "no"; then
50228 if test "$wxUSE_GUI" = "yes"; then
50229 SUBDIRS
="samples demos utils contrib"
50230 else SUBDIRS
="samples utils"
50235 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50236 if test "${with_cppunit_prefix+set}" = set; then
50237 withval
="$with_cppunit_prefix"
50238 cppunit_config_prefix
="$withval"
50240 cppunit_config_prefix
=""
50243 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50244 if test "${with_cppunit_exec_prefix+set}" = set; then
50245 withval
="$with_cppunit_exec_prefix"
50246 cppunit_config_exec_prefix
="$withval"
50248 cppunit_config_exec_prefix
=""
50251 if test x
$cppunit_config_exec_prefix != x
; then
50252 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50253 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50254 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50257 if test x
$cppunit_config_prefix != x
; then
50258 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50259 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50260 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50264 # Extract the first word of "cppunit-config", so it can be a program name with args.
50265 set dummy cppunit
-config; ac_word
=$2
50266 echo "$as_me:$LINENO: checking for $ac_word" >&5
50267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50268 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50269 echo $ECHO_N "(cached) $ECHO_C" >&6
50271 case $CPPUNIT_CONFIG in
50273 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50277 for as_dir
in $PATH
50280 test -z "$as_dir" && as_dir
=.
50281 for ac_exec_ext
in '' $ac_executable_extensions; do
50282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50283 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50290 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50294 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50296 if test -n "$CPPUNIT_CONFIG"; then
50297 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50298 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50300 echo "$as_me:$LINENO: result: no" >&5
50301 echo "${ECHO_T}no" >&6
50304 cppunit_version_min
=1.8.0
50306 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50307 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50309 if test "$CPPUNIT_CONFIG" = "no" ; then
50310 echo "$as_me:$LINENO: result: no" >&5
50311 echo "${ECHO_T}no" >&6
50314 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50315 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50316 cppunit_version
=`$CPPUNIT_CONFIG --version`
50318 cppunit_major_version
=`echo $cppunit_version | \
50319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50320 cppunit_minor_version
=`echo $cppunit_version | \
50321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50322 cppunit_micro_version
=`echo $cppunit_version | \
50323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50325 cppunit_major_min
=`echo $cppunit_version_min | \
50326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50327 cppunit_minor_min
=`echo $cppunit_version_min | \
50328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50329 cppunit_micro_min
=`echo $cppunit_version_min | \
50330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50332 cppunit_version_proper
=`expr \
50333 $cppunit_major_version \> $cppunit_major_min \| \
50334 $cppunit_major_version \= $cppunit_major_min \& \
50335 $cppunit_minor_version \> $cppunit_minor_min \| \
50336 $cppunit_major_version \= $cppunit_major_min \& \
50337 $cppunit_minor_version \= $cppunit_minor_min \& \
50338 $cppunit_micro_version \>= $cppunit_micro_min `
50340 if test "$cppunit_version_proper" = "1" ; then
50341 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50342 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50344 echo "$as_me:$LINENO: result: no" >&5
50345 echo "${ECHO_T}no" >&6
50350 if test "x$no_cppunit" = x
; then
50351 SUBDIRS
="$SUBDIRS tests"
50362 for subdir
in `echo $SUBDIRS`; do
50363 if test -d ${srcdir}/${subdir} ; then
50364 if test "$wxUSE_GUI" = "yes"; then
50365 if test ${subdir} = "samples"; then
50366 makefiles
="samples/Makefile.in $makefiles"
50367 for sample
in `echo $SAMPLES_SUBDIRS`; do
50368 if test -d $srcdir/samples
/$sample; then
50369 makefiles
="samples/$sample/Makefile.in $makefiles"
50373 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50374 eval "disabled=\$$disabled_var"
50375 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50376 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50378 else if test ${subdir} = "samples"; then
50379 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50380 elif test ${subdir} = "utils"; then
50382 for util
in HelpGen tex2rtf
; do
50383 if test -d $srcdir/utils
/$util ; then
50384 makefiles
="utils/$util/Makefile.in \
50385 utils/$util/src/Makefile.in \
50389 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50393 for mkin
in $makefiles ; do
50394 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50395 ac_config_files
="$ac_config_files $mk"
50401 cat >confcache
<<\_ACEOF
50402 # This file is a shell script that caches the results of configure
50403 # tests run on this system so they can be shared between configure
50404 # scripts and configure runs, see configure's option --config-cache.
50405 # It is not useful on other systems. If it contains results you don't
50406 # want to keep, you may remove or edit it.
50408 # config.status only pays attention to the cache file if you give it
50409 # the --recheck option to rerun configure.
50411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50413 # following values.
50417 # The following way of writing the cache mishandles newlines in values,
50418 # but we know of no workaround that is simple, portable, and efficient.
50419 # So, don't put newlines in cache variables' values.
50420 # Ultrix sh set writes to stderr and can't be redirected directly,
50421 # and sets the high bit in the cache file unless we assign to the vars.
50424 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50426 # `set' does not quote correctly, so add quotes (double-quote
50427 # substitution turns \\\\ into \\, and sed turns \\ into \).
50430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50433 # `set' quotes correctly as required by POSIX, so do not add quotes.
50435 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50442 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50444 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50446 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50447 if test -w $cache_file; then
50448 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50449 cat confcache
>$cache_file
50451 echo "not updating unwritable cache $cache_file"
50456 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50457 # Let make expand exec_prefix.
50458 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50460 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50461 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50462 # trailing colons and then remove the whole line if VPATH becomes empty
50463 # (actually we leave an empty line to preserve line numbers).
50464 if test "x$srcdir" = x.
; then
50465 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50466 s/:*\$(srcdir):*/:/;
50467 s/:*\${srcdir}:*/:/;
50469 s/^\([^=]*=[ ]*\):*/\1/;
50475 DEFS
=-DHAVE_CONFIG_H
50479 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50480 # 1. Remove the extension, and $U if already installed.
50481 ac_i
=`echo "$ac_i" |
50482 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50484 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50485 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50487 LIBOBJS
=$ac_libobjs
50489 LTLIBOBJS
=$ac_ltlibobjs
50493 : ${CONFIG_STATUS=./config.status}
50494 ac_clean_files_save
=$ac_clean_files
50495 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50496 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50497 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50498 cat >$CONFIG_STATUS <<_ACEOF
50500 # Generated by $as_me.
50501 # Run this file to recreate the current configuration.
50502 # Compiler output produced by configure, useful for debugging
50503 # configure, is in config.log if it exists.
50506 ac_cs_recheck=false
50508 SHELL=\${CONFIG_SHELL-$SHELL}
50511 cat >>$CONFIG_STATUS <<\_ACEOF
50512 ## --------------------- ##
50513 ## M4sh Initialization. ##
50514 ## --------------------- ##
50516 # Be Bourne compatible
50517 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50520 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50521 # is contrary to our usage. Disable this feature.
50522 alias -g '${1+"$@"}'='"$@"'
50523 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50526 DUALCASE
=1; export DUALCASE
# for MKS sh
50528 # Support unset when possible.
50529 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50536 # Work around bugs in pre-3.0 UWIN ksh.
50537 $as_unset ENV MAIL MAILPATH
50544 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50545 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50546 LC_TELEPHONE LC_TIME
50548 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50549 eval $as_var=C
; export $as_var
50555 # Required to use basename.
50556 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50562 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50563 as_basename
=basename
50569 # Name of the executable.
50570 as_me
=`$as_basename "$0" ||
50571 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50572 X"$0" : 'X\(//\)$' \| \
50573 X"$0" : 'X\(/\)$' \| \
50574 . : '\(.\)' 2>/dev/null ||
50576 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50577 /^X\/\(\/\/\)$/{ s//\1/; q; }
50578 /^X\/\(\/\).*/{ s//\1/; q; }
50582 # PATH needs CR, and LINENO needs CR and PATH.
50583 # Avoid depending upon Character Ranges.
50584 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50585 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50586 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50587 as_cr_digits
='0123456789'
50588 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50590 # The user is always right.
50591 if test "${PATH_SEPARATOR+set}" != set; then
50592 echo "#! /bin/sh" >conf$$.sh
50593 echo "exit 0" >>conf$$.sh
50595 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50604 as_lineno_1
=$LINENO
50605 as_lineno_2
=$LINENO
50606 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50607 test "x$as_lineno_1" != "x$as_lineno_2" &&
50608 test "x$as_lineno_3" = "x$as_lineno_2" || {
50609 # Find who we are. Look in the path if we contain no path at all
50612 *[\\/]* ) as_myself
=$0 ;;
50613 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50614 for as_dir
in $PATH
50617 test -z "$as_dir" && as_dir
=.
50618 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50623 # We did not find ourselves, most probably we were run as `sh COMMAND'
50624 # in which case we are not to be found in the path.
50625 if test "x$as_myself" = x
; then
50628 if test ! -f "$as_myself"; then
50629 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50630 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50631 { (exit 1); exit 1; }; }
50633 case $CONFIG_SHELL in
50635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50636 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50639 test -z "$as_dir" && as_dir
=.
50640 for as_base
in sh bash ksh sh5
; do
50643 if ("$as_dir/$as_base" -c '
50644 as_lineno_1=$LINENO
50645 as_lineno_2=$LINENO
50646 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50647 test "x$as_lineno_1" != "x$as_lineno_2" &&
50648 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50649 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50650 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50651 CONFIG_SHELL
=$as_dir/$as_base
50652 export CONFIG_SHELL
50653 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50661 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50662 # uniformly replaced by the line number. The first 'sed' inserts a
50663 # line-number line before each line; the second 'sed' does the real
50664 # work. The second script uses 'N' to pair each line-number line
50665 # with the numbered line, and appends trailing '-' during
50666 # substitution so that $LINENO is not a special case at line end.
50667 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50668 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50669 sed '=' <$as_myself |
50674 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50677 s,^['$as_cr_digits']*\n,,
50678 ' >$as_me.lineno
&&
50679 chmod +x
$as_me.lineno
||
50680 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50681 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50682 { (exit 1); exit 1; }; }
50684 # Don't try to exec as it changes $[0], causing all sort of problems
50685 # (the dirname of $[0] is not the place where we might find the
50686 # original and so on. Autoconf is especially sensible to this).
50688 # Exit status is that of the last command.
50693 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50694 *c
*,-n*) ECHO_N
= ECHO_C
='
50696 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50697 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50700 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50706 rm -f conf$$ conf$$.exe conf$$.
file
50708 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50709 # We could just check for DJGPP; but this test a) works b) is more generic
50710 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50711 if test -f conf$$.exe
; then
50712 # Don't use ln at all; we don't have any links
50717 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50722 rm -f conf$$ conf$$.exe conf$$.
file
50724 if mkdir -p .
2>/dev
/null
; then
50727 test -d .
/-p && rmdir .
/-p
50731 as_executable_p
="test -f"
50733 # Sed expression to map a string onto a valid CPP name.
50734 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50736 # Sed expression to map a string onto a valid variable name.
50737 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50741 # We need space, tab and new line, in precisely that order.
50751 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50752 # report actual input values of CONFIG_FILES etc. instead of their
50753 # values after options handling. Logging --version etc. is OK.
50757 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50758 ## Running $as_me. ##
50763 This file was extended by wxWidgets $as_me 2.7.1, which was
50764 generated by GNU Autoconf 2.59. Invocation command line was
50766 CONFIG_FILES = $CONFIG_FILES
50767 CONFIG_HEADERS = $CONFIG_HEADERS
50768 CONFIG_LINKS = $CONFIG_LINKS
50769 CONFIG_COMMANDS = $CONFIG_COMMANDS
50773 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50777 # Files that config.status was made for.
50778 if test -n "$ac_config_files"; then
50779 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50782 if test -n "$ac_config_headers"; then
50783 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50786 if test -n "$ac_config_links"; then
50787 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50790 if test -n "$ac_config_commands"; then
50791 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50794 cat >>$CONFIG_STATUS <<\_ACEOF
50797 \`$as_me' instantiates files from templates according to the
50798 current configuration.
50800 Usage: $0 [OPTIONS] [FILE]...
50802 -h, --help print this help, then exit
50803 -V, --version print version number, then exit
50804 -q, --quiet do not print progress messages
50805 -d, --debug don't remove temporary files
50806 --recheck update $as_me by reconfiguring in the same conditions
50807 --file=FILE[:TEMPLATE]
50808 instantiate the configuration file FILE
50809 --header=FILE[:TEMPLATE]
50810 instantiate the configuration header FILE
50812 Configuration files:
50815 Configuration headers:
50818 Configuration commands:
50821 Report bugs to <bug-autoconf@gnu.org>."
50824 cat >>$CONFIG_STATUS <<_ACEOF
50826 wxWidgets config.status 2.7.1
50827 configured by $0, generated by GNU Autoconf 2.59,
50828 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50830 Copyright (C) 2003 Free Software Foundation, Inc.
50831 This config.status script is free software; the Free Software Foundation
50832 gives unlimited permission to copy, distribute and modify it."
50837 cat >>$CONFIG_STATUS <<\_ACEOF
50838 # If no file are specified by the user, then we need to provide default
50839 # value. By we need to know if files were specified by the user.
50845 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50846 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50854 *) # This is not an option, so the user has probably given explicit
50857 ac_need_defaults
=false
;;
50861 # Handling of the options.
50863 cat >>$CONFIG_STATUS <<\_ACEOF
50864 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50866 --version | --vers* | -V )
50867 echo "$ac_cs_version"; exit 0 ;;
50869 # Conflict between --help and --header
50870 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50871 Try \`$0 --help' for more information." >&5
50872 echo "$as_me: error: ambiguous option: $1
50873 Try \`$0 --help' for more information." >&2;}
50874 { (exit 1); exit 1; }; };;
50875 --help | --hel | -h )
50876 echo "$ac_cs_usage"; exit 0 ;;
50877 --debug | --d* | -d )
50879 --file | --fil | --fi | --f )
50881 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50882 ac_need_defaults
=false
;;
50883 --header | --heade | --head | --hea )
50885 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50886 ac_need_defaults
=false
;;
50887 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50888 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50891 # This is an error.
50892 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50893 Try \`$0 --help' for more information." >&5
50894 echo "$as_me: error: unrecognized option: $1
50895 Try \`$0 --help' for more information." >&2;}
50896 { (exit 1); exit 1; }; } ;;
50898 *) ac_config_targets
="$ac_config_targets $1" ;;
50904 ac_configure_extra_args
=
50906 if $ac_cs_silent; then
50908 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50912 cat >>$CONFIG_STATUS <<_ACEOF
50913 if \$ac_cs_recheck; then
50914 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50915 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50920 cat >>$CONFIG_STATUS <<_ACEOF
50922 # INIT-COMMANDS section.
50927 infile="$srcdir/include/wx/msw/genrcdefs.h"
50928 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50931 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50932 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50933 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50941 cat >>$CONFIG_STATUS <<\_ACEOF
50942 for ac_config_target
in $ac_config_targets
50944 case "$ac_config_target" in
50945 # Handling of arguments.
50946 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50947 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50948 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50949 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50950 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50951 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50952 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50953 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50954 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50955 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50956 { (exit 1); exit 1; }; };;
50960 # If the user did not use the arguments to specify the items to instantiate,
50961 # then the envvar interface is used. Set only those that are not.
50962 # We use the long form for the default assignment because of an extremely
50963 # bizarre bug on SunOS 4.1.3.
50964 if $ac_need_defaults; then
50965 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50966 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50967 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50970 # Have a temporary directory for convenience. Make it in the build tree
50971 # simply because there is no reason to put it here, and in addition,
50972 # creating and moving files from /tmp can sometimes cause problems.
50973 # Create a temporary directory, and hook for its removal unless debugging.
50976 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50977 trap '{ (exit 1); exit 1; }' 1 2 13 15
50980 # Create a (secure) tmp directory for tmp files.
50983 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50984 test -n "$tmp" && test -d "$tmp"
50987 tmp
=.
/confstat$$
-$RANDOM
50988 (umask 077 && mkdir $tmp)
50991 echo "$me: cannot create a temporary directory in ." >&2
50992 { (exit 1); exit 1; }
50997 cat >>$CONFIG_STATUS <<_ACEOF
51000 # CONFIG_FILES section.
51003 # No need to generate the scripts if there are no CONFIG_FILES.
51004 # This happens for instance when ./config.status config.h
51005 if test -n "\$CONFIG_FILES"; then
51006 # Protect against being on the right side of a sed subst in config.status.
51007 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51008 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51009 s,@SHELL@,$SHELL,;t t
51010 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51011 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51012 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51013 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51014 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51015 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51016 s,@exec_prefix@,$exec_prefix,;t t
51017 s,@prefix@,$prefix,;t t
51018 s,@program_transform_name@,$program_transform_name,;t t
51019 s,@bindir@,$bindir,;t t
51020 s,@sbindir@,$sbindir,;t t
51021 s,@libexecdir@,$libexecdir,;t t
51022 s,@datadir@,$datadir,;t t
51023 s,@sysconfdir@,$sysconfdir,;t t
51024 s,@sharedstatedir@,$sharedstatedir,;t t
51025 s,@localstatedir@,$localstatedir,;t t
51026 s,@libdir@,$libdir,;t t
51027 s,@includedir@,$includedir,;t t
51028 s,@oldincludedir@,$oldincludedir,;t t
51029 s,@infodir@,$infodir,;t t
51030 s,@mandir@,$mandir,;t t
51031 s,@build_alias@,$build_alias,;t t
51032 s,@host_alias@,$host_alias,;t t
51033 s,@target_alias@,$target_alias,;t t
51034 s,@DEFS@,$DEFS,;t t
51035 s,@ECHO_C@,$ECHO_C,;t t
51036 s,@ECHO_N@,$ECHO_N,;t t
51037 s,@ECHO_T@,$ECHO_T,;t t
51038 s,@LIBS@,$LIBS,;t t
51039 s,@build@,$build,;t t
51040 s,@build_cpu@,$build_cpu,;t t
51041 s,@build_vendor@,$build_vendor,;t t
51042 s,@build_os@,$build_os,;t t
51043 s,@host@,$host,;t t
51044 s,@host_cpu@,$host_cpu,;t t
51045 s,@host_vendor@,$host_vendor,;t t
51046 s,@host_os@,$host_os,;t t
51047 s,@target@,$target,;t t
51048 s,@target_cpu@,$target_cpu,;t t
51049 s,@target_vendor@,$target_vendor,;t t
51050 s,@target_os@,$target_os,;t t
51052 s,@CFLAGS@,$CFLAGS,;t t
51053 s,@LDFLAGS@,$LDFLAGS,;t t
51054 s,@CPPFLAGS@,$CPPFLAGS,;t t
51055 s,@ac_ct_CC@,$ac_ct_CC,;t t
51056 s,@EXEEXT@,$EXEEXT,;t t
51057 s,@OBJEXT@,$OBJEXT,;t t
51059 s,@EGREP@,$EGREP,;t t
51061 s,@CXXFLAGS@,$CXXFLAGS,;t t
51062 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51063 s,@RANLIB@,$RANLIB,;t t
51064 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51066 s,@ac_ct_AR@,$ac_ct_AR,;t t
51067 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51068 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51069 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51070 s,@STRIP@,$STRIP,;t t
51071 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51072 s,@WINDRES@,$WINDRES,;t t
51073 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51074 s,@DLLTOOL@,$DLLTOOL,;t t
51075 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51076 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51077 s,@LN_S@,$LN_S,;t t
51078 s,@CXXCPP@,$CXXCPP,;t t
51079 s,@subdirs@,$subdirs,;t t
51080 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51081 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51082 s,@GTK_LIBS@,$GTK_LIBS,;t t
51083 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51084 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51085 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51086 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51087 s,@X_CFLAGS@,$X_CFLAGS,;t t
51088 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51089 s,@X_LIBS@,$X_LIBS,;t t
51090 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51091 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51092 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51093 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51094 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51095 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51096 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51098 s,@DEREZ@,$DEREZ,;t t
51099 s,@SETFILE@,$SETFILE,;t t
51100 s,@LIBICONV@,$LIBICONV,;t t
51101 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51102 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51103 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51104 s,@SDL_LIBS@,$SDL_LIBS,;t t
51105 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51106 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51107 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51108 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51109 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51110 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51111 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51112 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51113 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51114 s,@GST_LIBS@,$GST_LIBS,;t t
51115 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51116 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51117 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51118 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51119 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51120 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51121 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51122 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51123 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51124 s,@VENDOR@,$VENDOR,;t t
51125 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51126 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51127 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51128 s,@WXUNIV@,$WXUNIV,;t t
51129 s,@MONOLITHIC@,$MONOLITHIC,;t t
51130 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51131 s,@EXTRALIBS@,$EXTRALIBS,;t t
51132 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51133 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51134 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51135 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51136 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51137 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51138 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51139 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51140 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51141 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51142 s,@UNICODE@,$UNICODE,;t t
51143 s,@BUILD@,$BUILD,;t t
51144 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51145 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51146 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51147 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51148 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51149 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51150 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51151 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51152 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51153 s,@SET_MAKE@,$SET_MAKE,;t t
51154 s,@MAKE_SET@,$MAKE_SET,;t t
51156 s,@ac_ct_NM@,$ac_ct_NM,;t t
51157 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51158 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51159 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51160 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51161 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51162 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51163 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51164 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51165 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51166 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51167 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51168 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51169 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51170 s,@LIBPREFIX@,$LIBPREFIX,;t t
51171 s,@LIBEXT@,$LIBEXT,;t t
51172 s,@DLLPREFIX@,$DLLPREFIX,;t t
51173 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51174 s,@dlldir@,$dlldir,;t t
51175 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51176 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51177 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51178 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51179 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51180 s,@PIC_FLAG@,$PIC_FLAG,;t t
51181 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51182 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51183 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51184 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51185 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51186 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51187 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51188 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51189 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51190 s,@GCC_PCH@,$GCC_PCH,;t t
51191 s,@ICC_PCH@,$ICC_PCH,;t t
51192 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51193 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51194 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51195 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51196 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51197 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51198 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51199 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51200 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51201 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51202 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51203 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51204 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51205 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51206 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51207 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51208 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51209 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51210 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51211 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51212 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
51213 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
51214 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
51215 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
51216 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51217 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51218 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51219 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51220 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51221 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51222 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
51223 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
51224 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
51225 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
51226 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51227 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51228 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51229 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51230 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51231 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51232 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51233 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51234 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51235 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51236 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51237 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51238 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51239 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51240 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51241 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51242 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51243 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51244 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
51245 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51246 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51247 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51248 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51249 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51250 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51251 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51252 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51253 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51254 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51255 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51256 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51257 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51258 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51259 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51260 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51261 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51262 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51263 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51264 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51265 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51266 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51267 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51268 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51269 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51270 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51271 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51272 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51273 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51274 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51275 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51276 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51277 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51278 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51279 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51280 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51281 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51282 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51283 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51284 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51285 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51286 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
51287 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51288 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51289 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51290 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51291 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51292 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51293 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51294 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51295 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51296 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51297 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51298 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51299 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51300 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51301 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51302 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51303 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51304 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51305 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51306 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51307 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51308 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51309 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51310 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51311 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51312 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51313 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51314 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51315 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51316 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51317 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51318 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51319 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51320 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51321 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51322 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51323 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51324 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51325 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51326 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51327 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51328 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51329 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51330 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51331 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51332 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51333 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51334 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51335 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51336 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51337 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51338 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51339 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51340 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51341 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51342 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51343 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51344 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51345 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51346 s,@SHARED@,$SHARED,;t t
51347 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51348 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51349 s,@USE_GUI@,$USE_GUI,;t t
51350 s,@AFMINSTALL@,$AFMINSTALL,;t t
51351 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51352 s,@TOOLKIT@,$TOOLKIT,;t t
51353 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51354 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51355 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51356 s,@cross_compiling@,$cross_compiling,;t t
51357 s,@WIDGET_SET@,$WIDGET_SET,;t t
51358 s,@WX_RELEASE@,$WX_RELEASE,;t t
51359 s,@WX_VERSION@,$WX_VERSION,;t t
51360 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51361 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51362 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51363 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51364 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51365 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51366 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51367 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51368 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51369 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51370 s,@EXE_LINKER@,$EXE_LINKER,;t t
51371 s,@GUIDIST@,$GUIDIST,;t t
51372 s,@DISTDIR@,$DISTDIR,;t t
51373 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51374 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51375 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51376 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51377 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51378 s,@RESCOMP@,$RESCOMP,;t t
51379 s,@RESFLAGS@,$RESFLAGS,;t t
51380 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51381 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51382 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51383 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51384 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51385 s,@MACSETFILE@,$MACSETFILE,;t t
51387 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51388 s,@LIBOBJS@,$LIBOBJS,;t t
51389 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51394 cat >>$CONFIG_STATUS <<\_ACEOF
51395 # Split the substitutions into bite-sized pieces for seds with
51396 # small command number limits, like on Digital OSF/1 and HP-UX.
51397 ac_max_sed_lines
=48
51398 ac_sed_frag
=1 # Number of current file.
51399 ac_beg
=1 # First line for current file.
51400 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51403 while $ac_more_lines; do
51404 if test $ac_beg -gt 1; then
51405 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51407 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51409 if test ! -s $tmp/subs.frag
; then
51410 ac_more_lines
=false
51412 # The purpose of the label and of the branching condition is to
51413 # speed up the sed processing (if there are no `@' at all, there
51414 # is no need to browse any of the substitutions).
51415 # These are the two extra sed commands mentioned above.
51417 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51418 if test -z "$ac_sed_cmds"; then
51419 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51421 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51423 ac_sed_frag
=`expr $ac_sed_frag + 1`
51425 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51428 if test -z "$ac_sed_cmds"; then
51431 fi # test -n "$CONFIG_FILES"
51434 cat >>$CONFIG_STATUS <<\_ACEOF
51435 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51436 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51438 - | *:- | *:-:* ) # input from stdin
51440 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51441 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51442 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51443 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51444 * ) ac_file_in
=$ac_file.
in ;;
51447 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51448 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51449 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51450 X"$ac_file" : 'X\(//\)[^/]' \| \
51451 X"$ac_file" : 'X\(//\)$' \| \
51452 X"$ac_file" : 'X\(/\)' \| \
51453 . : '\(.\)' 2>/dev/null ||
51455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51457 /^X\(\/\/\)$/{ s//\1/; q; }
51458 /^X\(\/\).*/{ s//\1/; q; }
51460 { if $as_mkdir_p; then
51465 while test ! -d "$as_dir"; do
51466 as_dirs
="$as_dir $as_dirs"
51467 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51468 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51469 X"$as_dir" : 'X\(//\)[^/]' \| \
51470 X"$as_dir" : 'X\(//\)$' \| \
51471 X"$as_dir" : 'X\(/\)' \| \
51472 . : '\(.\)' 2>/dev/null ||
51474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51475 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51476 /^X\(\/\/\)$/{ s//\1/; q; }
51477 /^X\(\/\).*/{ s//\1/; q; }
51480 test ! -n "$as_dirs" || mkdir $as_dirs
51481 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51482 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51483 { (exit 1); exit 1; }; }; }
51487 if test "$ac_dir" != .
; then
51488 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51489 # A "../" for each directory in $ac_dir_suffix.
51490 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51492 ac_dir_suffix
= ac_top_builddir
=
51496 .
) # No --srcdir option. We are building in place.
51498 if test -z "$ac_top_builddir"; then
51501 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51503 [\\/]* | ?
:[\\/]* ) # Absolute path.
51504 ac_srcdir
=$srcdir$ac_dir_suffix;
51505 ac_top_srcdir
=$srcdir ;;
51506 *) # Relative path.
51507 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51508 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51511 # Do not use `cd foo && pwd` to compute absolute paths, because
51512 # the directories may not exist.
51514 .
) ac_abs_builddir
="$ac_dir";;
51517 .
) ac_abs_builddir
=`pwd`;;
51518 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51519 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51522 case $ac_abs_builddir in
51523 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51525 case ${ac_top_builddir}.
in
51526 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51527 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51528 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51531 case $ac_abs_builddir in
51532 .
) ac_abs_srcdir
=$ac_srcdir;;
51535 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51536 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51537 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51540 case $ac_abs_builddir in
51541 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51543 case $ac_top_srcdir in
51544 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51545 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51546 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51552 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51553 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51556 # Let's still pretend it is `configure' which instantiates (i.e., don't
51557 # use $as_me), people would be surprised to read:
51558 # /* config.h. Generated by config.status. */
51559 if test x
"$ac_file" = x
-; then
51562 configure_input
="$ac_file. "
51564 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51565 sed 's,.*/,,'` by configure."
51567 # First look for the input files in the build tree, otherwise in the
51569 ac_file_inputs
=`IFS=:
51570 for f in $ac_file_in; do
51572 -) echo $tmp/stdin ;;
51574 # Absolute (can't be DOS-style, as IFS=:)
51575 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51576 echo "$as_me: error: cannot find input file: $f" >&2;}
51577 { (exit 1); exit 1; }; }
51580 if test -f "$f"; then
51583 elif test -f "$srcdir/$f"; then
51588 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51589 echo "$as_me: error: cannot find input file: $f" >&2;}
51590 { (exit 1); exit 1; }; }
51593 done` || { (exit 1); exit 1; }
51595 if test x
"$ac_file" != x
-; then
51596 { echo "$as_me:$LINENO: creating $ac_file" >&5
51597 echo "$as_me: creating $ac_file" >&6;}
51601 cat >>$CONFIG_STATUS <<_ACEOF
51605 cat >>$CONFIG_STATUS <<\_ACEOF
51607 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51608 s
,@configure_input@
,$configure_input,;t t
51609 s
,@srcdir@
,$ac_srcdir,;t t
51610 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51611 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51612 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51613 s
,@builddir@
,$ac_builddir,;t t
51614 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51615 s
,@top_builddir@
,$ac_top_builddir,;t t
51616 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51617 s
,@INSTALL@
,$ac_INSTALL,;t t
51618 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51620 if test x"$ac_file" != x-; then
51621 mv $tmp/out $ac_file
51627 # Run the commands associated with the file.
51629 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51630 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51634 cat >>$CONFIG_STATUS <<\_ACEOF
51637 # CONFIG_HEADER section.
51640 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51641 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51643 # ac_d sets the value in "#define NAME VALUE" lines.
51644 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51645 ac_dB
='[ ].*$,\1#\2'
51648 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51649 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51650 ac_uB
='$,\1#\2define\3'
51654 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51655 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51657 - | *:- | *:-:* ) # input from stdin
51659 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51660 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51661 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51662 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51663 * ) ac_file_in
=$ac_file.
in ;;
51666 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51667 echo "$as_me: creating $ac_file" >&6;}
51669 # First look for the input files in the build tree, otherwise in the
51671 ac_file_inputs
=`IFS=:
51672 for f in $ac_file_in; do
51674 -) echo $tmp/stdin ;;
51676 # Absolute (can't be DOS-style, as IFS=:)
51677 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51678 echo "$as_me: error: cannot find input file: $f" >&2;}
51679 { (exit 1); exit 1; }; }
51680 # Do quote $f, to prevent DOS paths from being IFS'd.
51683 if test -f "$f"; then
51686 elif test -f "$srcdir/$f"; then
51691 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51692 echo "$as_me: error: cannot find input file: $f" >&2;}
51693 { (exit 1); exit 1; }; }
51696 done` || { (exit 1); exit 1; }
51697 # Remove the trailing spaces.
51698 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51702 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51703 # `conftest.undefs', that substitutes the proper values into
51704 # config.h.in to produce config.h. The first handles `#define'
51705 # templates, and the second `#undef' templates.
51706 # And first: Protect against being on the right side of a sed subst in
51707 # config.status. Protect against being in an unquoted here document
51708 # in config.status.
51709 rm -f conftest.defines conftest.undefs
51710 # Using a here document instead of a string reduces the quoting nightmare.
51711 # Putting comments in sed scripts is not portable.
51713 # `end' is used to avoid that the second main sed command (meant for
51714 # 0-ary CPP macros) applies to n-ary macro definitions.
51715 # See the Autoconf documentation for `clear'.
51716 cat >confdef2sed.
sed <<\_ACEOF
51721 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51723 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51726 # If some macros were called several times there might be several times
51727 # the same #defines, which is useless. Nevertheless, we may not want to
51728 # sort them, since we want the *last* AC-DEFINE to be honored.
51729 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51730 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51731 rm -f confdef2sed.sed
51733 # This sed command replaces #undef with comments. This is necessary, for
51734 # example, in the case of _POSIX_SOURCE, which is predefined and required
51735 # on some systems where configure will not decide to define it.
51736 cat >>conftest.undefs <<\_ACEOF
51737 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51740 # Break up conftest.defines because some shells have a limit on the size
51741 # of here documents, and old seds have small limits too (100 cmds).
51742 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51743 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51744 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51745 echo ' :' >>$CONFIG_STATUS
51746 rm -f conftest.tail
51747 while grep . conftest.defines >/dev/null
51749 # Write a limited-size here document to $tmp/defines.sed.
51750 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51751 # Speed up: don't consider the non `#define' lines.
51752 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51753 # Work around the forget-to-reset-the-flag bug.
51754 echo 't clr' >>$CONFIG_STATUS
51755 echo ': clr' >>$CONFIG_STATUS
51756 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51758 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51760 mv $tmp/out $tmp/in
51762 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51763 rm -f conftest.defines
51764 mv conftest.
tail conftest.defines
51766 rm -f conftest.defines
51767 echo ' fi # grep' >>$CONFIG_STATUS
51768 echo >>$CONFIG_STATUS
51770 # Break up conftest.undefs because some shells have a limit on the size
51771 # of here documents, and old seds have small limits too (100 cmds).
51772 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51773 rm -f conftest.
tail
51774 while grep . conftest.undefs
>/dev
/null
51776 # Write a limited-size here document to $tmp/undefs.sed.
51777 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51778 # Speed up: don't consider the non
`#undef'
51779 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51780 # Work around the forget-to-reset-the-flag bug.
51781 echo 't clr' >>$CONFIG_STATUS
51782 echo ': clr' >>$CONFIG_STATUS
51783 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51785 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51787 mv $tmp/out $tmp/in
51789 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51790 rm -f conftest.undefs
51791 mv conftest.tail conftest.undefs
51793 rm -f conftest.undefs
51795 cat >>$CONFIG_STATUS <<\_ACEOF
51796 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51797 # use $as_me), people would be surprised to read:
51798 # /* config.h. Generated by config.status. */
51799 if test x
"$ac_file" = x
-; then
51800 echo "/* Generated by configure. */" >$tmp/config.h
51802 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51804 cat $tmp/in >>$tmp/config.h
51806 if test x
"$ac_file" != x
-; then
51807 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51808 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51809 echo "$as_me: $ac_file is unchanged" >&6;}
51811 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51812 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51813 X"$ac_file" : 'X\(//\)[^/]' \| \
51814 X"$ac_file" : 'X\(//\)$' \| \
51815 X"$ac_file" : 'X\(/\)' \| \
51816 . : '\(.\)' 2>/dev/null ||
51818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51819 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51820 /^X\(\/\/\)$/{ s//\1/; q; }
51821 /^X\(\/\).*/{ s//\1/; q; }
51823 { if $as_mkdir_p; then
51828 while test ! -d "$as_dir"; do
51829 as_dirs
="$as_dir $as_dirs"
51830 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51831 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51832 X"$as_dir" : 'X\(//\)[^/]' \| \
51833 X"$as_dir" : 'X\(//\)$' \| \
51834 X"$as_dir" : 'X\(/\)' \| \
51835 . : '\(.\)' 2>/dev/null ||
51837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51838 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51839 /^X\(\/\/\)$/{ s//\1/; q; }
51840 /^X\(\/\).*/{ s//\1/; q; }
51843 test ! -n "$as_dirs" || mkdir $as_dirs
51844 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51845 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51846 { (exit 1); exit 1; }; }; }
51849 mv $tmp/config.h
$ac_file
51853 rm -f $tmp/config.h
51857 cat >>$CONFIG_STATUS <<\_ACEOF
51860 # CONFIG_COMMANDS section.
51862 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51863 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51864 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51865 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51866 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51867 X"$ac_dest" : 'X\(//\)[^/]' \| \
51868 X"$ac_dest" : 'X\(//\)$' \| \
51869 X"$ac_dest" : 'X\(/\)' \| \
51870 . : '\(.\)' 2>/dev/null ||
51872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51874 /^X\(\/\/\)$/{ s//\1/; q; }
51875 /^X\(\/\).*/{ s//\1/; q; }
51877 { if $as_mkdir_p; then
51882 while test ! -d "$as_dir"; do
51883 as_dirs
="$as_dir $as_dirs"
51884 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51886 X"$as_dir" : 'X\(//\)[^/]' \| \
51887 X"$as_dir" : 'X\(//\)$' \| \
51888 X"$as_dir" : 'X\(/\)' \| \
51889 . : '\(.\)' 2>/dev/null ||
51891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51893 /^X\(\/\/\)$/{ s//\1/; q; }
51894 /^X\(\/\).*/{ s//\1/; q; }
51897 test ! -n "$as_dirs" || mkdir $as_dirs
51898 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51899 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51900 { (exit 1); exit 1; }; }; }
51904 if test "$ac_dir" != .
; then
51905 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51906 # A "../" for each directory in $ac_dir_suffix.
51907 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51909 ac_dir_suffix
= ac_top_builddir
=
51913 .
) # No --srcdir option. We are building in place.
51915 if test -z "$ac_top_builddir"; then
51918 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51920 [\\/]* | ?
:[\\/]* ) # Absolute path.
51921 ac_srcdir
=$srcdir$ac_dir_suffix;
51922 ac_top_srcdir
=$srcdir ;;
51923 *) # Relative path.
51924 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51925 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51928 # Do not use `cd foo && pwd` to compute absolute paths, because
51929 # the directories may not exist.
51931 .
) ac_abs_builddir
="$ac_dir";;
51934 .
) ac_abs_builddir
=`pwd`;;
51935 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51936 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51939 case $ac_abs_builddir in
51940 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51942 case ${ac_top_builddir}.
in
51943 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51944 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51945 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51948 case $ac_abs_builddir in
51949 .
) ac_abs_srcdir
=$ac_srcdir;;
51952 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51953 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51954 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51957 case $ac_abs_builddir in
51958 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51960 case $ac_top_srcdir in
51961 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51962 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51963 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51968 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51969 echo "$as_me: executing $ac_dest commands" >&6;}
51972 mkdir -p $outdir &&
51973 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51975 wx
-config ) rm -f wx
-config
51976 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51982 cat >>$CONFIG_STATUS <<\_ACEOF
51984 { (exit 0); exit 0; }
51986 chmod +x
$CONFIG_STATUS
51987 ac_clean_files
=$ac_clean_files_save
51990 # configure is writing to config.log, and then calls config.status.
51991 # config.status does its own redirection, appending to config.log.
51992 # Unfortunately, on DOS this fails, as config.log is still kept open
51993 # by configure, so config.status won't be able to write to it; its
51994 # output is simply discarded. So we exec the FD to /dev/null,
51995 # effectively closing config.log, so it can be properly (re)opened and
51996 # appended to by config.status. When coming back to configure, we
51997 # need to make the FD available again.
51998 if test "$no_create" != yes; then
52000 ac_config_status_args
=
52001 test "$silent" = yes &&
52002 ac_config_status_args
="$ac_config_status_args --quiet"
52004 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52006 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52007 # would make configure fail if this is the last instruction.
52008 $ac_cs_success || { (exit 1); exit 1; }
52012 # CONFIG_SUBDIRS section.
52014 if test "$no_recursion" != yes; then
52016 # Remove --cache-file and --srcdir arguments so they do not pile up.
52017 ac_sub_configure_args
=
52019 for ac_arg
in $ac_configure_args; do
52020 if test -n "$ac_prev"; then
52025 -cache-file | --cache-file | --cache-fil | --cache-fi \
52026 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52027 ac_prev
=cache_file
;;
52028 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52029 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52032 --config-cache | -C)
52034 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52036 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52038 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52040 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52042 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52046 # Always prepend --prefix to ensure using the same prefix
52047 # in subdir configurations.
52048 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52051 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52053 # Do not complain, so a configure script can configure whichever
52054 # parts of a large source tree are present.
52055 test -d $srcdir/$ac_dir || continue
52057 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52058 echo "$as_me: configuring in $ac_dir" >&6;}
52059 { if $as_mkdir_p; then
52064 while test ! -d "$as_dir"; do
52065 as_dirs
="$as_dir $as_dirs"
52066 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52068 X"$as_dir" : 'X\(//\)[^/]' \| \
52069 X"$as_dir" : 'X\(//\)$' \| \
52070 X"$as_dir" : 'X\(/\)' \| \
52071 . : '\(.\)' 2>/dev/null ||
52073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52075 /^X\(\/\/\)$/{ s//\1/; q; }
52076 /^X\(\/\).*/{ s//\1/; q; }
52079 test ! -n "$as_dirs" || mkdir $as_dirs
52080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52081 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52082 { (exit 1); exit 1; }; }; }
52086 if test "$ac_dir" != .
; then
52087 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52088 # A "../" for each directory in $ac_dir_suffix.
52089 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52091 ac_dir_suffix
= ac_top_builddir
=
52095 .
) # No --srcdir option. We are building in place.
52097 if test -z "$ac_top_builddir"; then
52100 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52102 [\\/]* | ?
:[\\/]* ) # Absolute path.
52103 ac_srcdir
=$srcdir$ac_dir_suffix;
52104 ac_top_srcdir
=$srcdir ;;
52105 *) # Relative path.
52106 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52107 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52110 # Do not use `cd foo && pwd` to compute absolute paths, because
52111 # the directories may not exist.
52113 .
) ac_abs_builddir
="$ac_dir";;
52116 .
) ac_abs_builddir
=`pwd`;;
52117 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52118 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52121 case $ac_abs_builddir in
52122 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52124 case ${ac_top_builddir}.
in
52125 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52126 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52127 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52130 case $ac_abs_builddir in
52131 .
) ac_abs_srcdir
=$ac_srcdir;;
52134 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52135 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52136 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52139 case $ac_abs_builddir in
52140 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52142 case $ac_top_srcdir in
52143 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52144 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52145 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52152 # Check for guested configure; otherwise get Cygnus style configure.
52153 if test -f $ac_srcdir/configure.gnu
; then
52154 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52155 elif test -f $ac_srcdir/configure
; then
52156 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52157 elif test -f $ac_srcdir/configure.
in; then
52158 ac_sub_configure
=$ac_configure
52160 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52161 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52165 # The recursion is here.
52166 if test -n "$ac_sub_configure"; then
52167 # Make the cache file name correct relative to the subdirectory.
52168 case $cache_file in
52169 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52170 *) # Relative path.
52171 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52174 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52175 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52176 # The eval makes quoting arguments work.
52177 eval $ac_sub_configure $ac_sub_configure_args \
52178 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52179 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52180 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52181 { (exit 1); exit 1; }; }
52190 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52192 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52193 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52195 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52196 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52197 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52199 echo " What level of wxWidgets compatibility should be enabled?"
52200 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52201 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52203 echo " Which libraries should wxWidgets use?"
52204 echo " jpeg ${wxUSE_LIBJPEG-none}"
52205 echo " png ${wxUSE_LIBPNG-none}"
52206 echo " regex ${wxUSE_REGEX}"
52207 echo " tiff ${wxUSE_LIBTIFF-none}"
52208 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52209 echo " xpm ${wxUSE_LIBXPM-none}"
52211 echo " zlib ${wxUSE_ZLIB}"
52212 echo " odbc ${wxUSE_ODBC}"
52213 echo " expat ${wxUSE_EXPAT}"
52214 echo " libmspack ${wxUSE_LIBMSPACK}"
52215 echo " sdl ${wxUSE_LIBSDL}"