2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.1'
274 PACKAGE_STRING
='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
789 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
861 ac_env_GST_LIBS_set
=${GST_LIBS+set}
862 ac_env_GST_LIBS_value
=$GST_LIBS
863 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value
=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are
in DIR
928 --x-libraries=DIR X library files are
in DIR
931 --build=BUILD configure
for building on BUILD
[guessed
]
932 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
933 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short
| recursive
) echo "Configuration of wxWidgets 2.7.1:";;
944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
952 --enable-gpe use GNOME PDA Environment features
if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL
for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C
++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK
] create Mac PowerPC and Intel Universal binary
(not yet working
)
969 --enable-compat24 enable wxWidgets
2.4 compatibility
970 --disable-compat26 disable wxWidgets
2.6 compatibility
971 --disable-rpath disable use of rpath
for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig
(and derived
) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP
(requires wxProtocol
976 --enable-http use wxHTTP
(requires wxProtocol
977 --enable-fileproto use wxFileProto class
(requires wxProtocol
978 --enable-sockets use socket
/network classes
979 --enable-ole use OLE classes
(Win32 only
)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication
(wxSocket etc.
)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backingfile use wxBackingFile
985 --enable-backtrace use wxStackWalker class
for getting backtraces
986 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class
for DLL loading
992 --enable-dynamicloader use
(new
) wxDynamicLibrary class
993 --enable-exceptions build exception
-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual
file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP
/FTP filesystems
1000 --enable-fs_zip use virtual ZIP filesystems
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C
++ stream classes
1008 --enable-std_string use standard C
++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support
in wxProtocol
1027 --enable-protocol-ftp FTP support
in wxProtocol
1028 --enable-protocol-file FILE support
in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use
help subsystem
1032 --enable-mshtmlhelp use MS HTML Help
(win32
)
1033 --enable-html use wxHTML sub
-library
1034 --enable-htmlhelp use wxHTML
-based help
1035 --enable-xrc use XRC resources sub
-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout
-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl
(Mac
)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context
2D drawing API
1047 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1048 --enable-prologio not available
; see contrib
1049 --enable-resources not available
; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag
'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile
(Win32 only
)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images
(GIF
file format
)
1137 --enable-pcx use pcx images
(PCX
file format
)
1138 --enable-iff use iff images
(IFF
file format
)
1139 --enable-pnm use pnm images
(PNM
file format
)
1140 --enable-xpm use xpm images
(XPM
file format
)
1141 --enable-icocur use Windows ICO and CUR formats
1142 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1143 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1144 --disable-largefile omit support
for large files
1145 --disable-gtktest do not try to compile and run a
test GTK
+ program
1146 --disable-gtktest Do not try to compile and run a
test GTK program
1147 --disable-sdltest Do not try to compile and run a
test SDL program
1148 --enable-omf use OMF object format
(OS
/2)
1149 --disable-dependency-tracking
1150 don
't use dependency tracking even if the compiler
1152 --disable-precomp-headers
1153 don't use precompiled headers even
if compiler can
1156 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1157 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1158 --without-subdirs don
't generate makefiles for samples/demos/...
1159 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1160 --with-motif use Motif/Lesstif
1161 --with-mac use Mac OS X
1162 --with-cocoa use Cocoa
1163 --with-wine use Wine
1164 --with-msw use MS-Windows
1165 --with-pm use OS/2 Presentation Manager
1166 --with-mgl use SciTech MGL
1167 --with-directfb use DirectFB
1168 --with-microwin use MicroWindows
1170 --with-libpng use libpng (PNG image format)
1171 --with-libjpeg use libjpeg (JPEG file format)
1172 --with-libtiff use libtiff (TIFF file format)
1173 --with-libxpm use libxpm (XPM file format)
1174 --with-libmspack use libmspack (CHM help files loading)
1175 --with-sdl use SDL for audio on Unix
1176 --with-gnomeprint use GNOME print for printing under GNOME
1177 --with-gnomevfs use GNOME VFS for associating MIME types
1178 --with-hildon use Hildon framework for Nokia 770
1179 --with-opengl use OpenGL (or Mesa)
1180 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1181 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1182 --with-regex enable support for wxRegEx class
1183 --with-zlib use zlib for LZW compression
1184 --with-odbc use the IODBC and wxODBC classes
1185 --with-expat enable XML support using expat parser
1186 --with-flavour=NAME specify a name to identify this build
1187 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1188 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1189 --with-x use the X Window System
1190 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1191 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1192 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1193 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1194 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196 Some influential environment variables:
1197 CC C compiler command
1198 CFLAGS C compiler flags
1199 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1200 nonstandard directory <lib dir>
1201 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1202 headers in a nonstandard directory <include dir>
1204 CXX C++ compiler command
1205 CXXFLAGS C++ compiler flags
1206 CXXCPP C++ preprocessor
1207 PKG_CONFIG path to pkg-config utility
1209 C compiler flags for DIRECTFB, overriding pkg-config
1211 linker flags for DIRECTFB, overriding pkg-config
1213 C compiler flags for PANGOX, overriding pkg-config
1214 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 C compiler flags for PANGOFT2, overriding pkg-config
1218 linker flags for PANGOFT2, overriding pkg-config
1220 C compiler flags for PANGOXFT, overriding pkg-config
1222 linker flags for PANGOXFT, overriding pkg-config
1223 LIBGNOMEPRINTUI_CFLAGS
1224 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1225 LIBGNOMEPRINTUI_LIBS
1226 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 C compiler flags for GNOMEVFS, overriding pkg-config
1230 linker flags for GNOMEVFS, overriding pkg-config
1232 C compiler flags for HILDON, overriding pkg-config
1233 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 C compiler flags for CAIRO, overriding pkg-config
1236 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1237 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1238 GST_LIBS linker flags for GST, overriding pkg-config
1240 Use these variables to override the choices made by `configure' or to
help
1241 it to
find libraries and programs with nonstandard names
/locations.
1243 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1247 if test "$ac_init_help" = "recursive"; then
1248 # If there are subdirs, report their specific --help.
1250 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1251 test -d $ac_dir || continue
1254 if test "$ac_dir" != .
; then
1255 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1256 # A "../" for each directory in $ac_dir_suffix.
1257 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 ac_dir_suffix
= ac_top_builddir
=
1263 .
) # No --srcdir option. We are building in place.
1265 if test -z "$ac_top_builddir"; then
1268 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1270 [\\/]* | ?
:[\\/]* ) # Absolute path.
1271 ac_srcdir
=$srcdir$ac_dir_suffix;
1272 ac_top_srcdir
=$srcdir ;;
1274 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1275 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1278 # Do not use `cd foo && pwd` to compute absolute paths, because
1279 # the directories may not exist.
1281 .
) ac_abs_builddir
="$ac_dir";;
1284 .
) ac_abs_builddir
=`pwd`;;
1285 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1286 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1289 case $ac_abs_builddir in
1290 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1292 case ${ac_top_builddir}.
in
1293 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1294 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1295 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1298 case $ac_abs_builddir in
1299 .
) ac_abs_srcdir
=$ac_srcdir;;
1302 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1303 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1304 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1307 case $ac_abs_builddir in
1308 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1310 case $ac_top_srcdir in
1311 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1312 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1313 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1318 # Check for guested configure; otherwise get Cygnus style configure.
1319 if test -f $ac_srcdir/configure.gnu
; then
1321 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1322 elif test -f $ac_srcdir/configure
; then
1324 $SHELL $ac_srcdir/configure
--help=recursive
1325 elif test -f $ac_srcdir/configure.ac
||
1326 test -f $ac_srcdir/configure.
in; then
1328 $ac_configure --help
1330 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 test -n "$ac_init_help" && exit 0
1337 if $ac_init_version; then
1339 wxWidgets configure
2.7.1
1340 generated by GNU Autoconf
2.59
1342 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1343 This configure
script is free software
; the Free Software Foundation
1344 gives unlimited permission to copy
, distribute and modify it.
1350 This file contains any messages produced by compilers while
1351 running configure, to aid debugging if configure makes a mistake.
1353 It was created by wxWidgets $as_me 2.7.1, which was
1354 generated by GNU Autoconf 2.59. Invocation command line was
1365 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1366 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1367 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1368 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1369 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1372 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1375 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1376 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1377 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1378 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1379 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1380 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir
=.
1389 echo "PATH: $as_dir"
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1413 ac_must_keep_next
=false
1419 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1421 | -silent | --silent | --silen | --sile | --sil)
1423 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1424 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1427 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1429 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1430 if test $ac_must_keep_next = true
; then
1431 ac_must_keep_next
=false
# Got value, back to normal.
1434 *=* | --config-cache | -C | -disable-* | --disable-* \
1435 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1436 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1437 | -with-* | --with-* | -without-* | --without-* | --x)
1438 case "$ac_configure_args0 " in
1439 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1442 -* ) ac_must_keep_next
=true
;;
1445 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1446 # Get rid of the leading space.
1452 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1453 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1455 # When interrupted or exit'd, cleanup temporary files, and complete
1456 # config.log. We remove comments because anyway the quotes in there
1457 # would cause problems or look ugly.
1458 # WARNING: Be sure not to use single quotes in there, as some shells,
1459 # such as our DU 5.0 friend, will then `close' the trap.
1460 trap 'exit_status=$?
1461 # Save into config.log some information that might help in debugging.
1466 ## ---------------- ##
1467 ## Cache variables. ##
1468 ## ---------------- ##
1471 # The following way of writing the cache mishandles newlines in values,
1474 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1477 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1482 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1494 for ac_var in $ac_subst_vars
1496 eval ac_val=$`echo $ac_var`
1497 echo "$ac_var='"'"'$ac_val'"'"'"
1501 if test -n "$ac_subst_files"; then
1508 for ac_var in $ac_subst_files
1510 eval ac_val=$`echo $ac_var`
1511 echo "$ac_var='"'"'$ac_val'"'"'"
1516 if test -s confdefs.h; then
1523 sed "/^$/d" confdefs.h | sort
1526 test "$ac_signal" != 0 &&
1527 echo "$as_me: caught signal $ac_signal"
1528 echo "$as_me: exit $exit_status"
1530 rm -f core *.core &&
1531 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1534 for ac_signal
in 1 2 13 15; do
1535 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1540 rm -rf conftest
* confdefs.h
1541 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1544 # Predefined preprocessor variables.
1546 cat >>confdefs.h
<<_ACEOF
1547 #define PACKAGE_NAME "$PACKAGE_NAME"
1551 cat >>confdefs.h
<<_ACEOF
1552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1556 cat >>confdefs.h
<<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1561 cat >>confdefs.h
<<_ACEOF
1562 #define PACKAGE_STRING "$PACKAGE_STRING"
1566 cat >>confdefs.h
<<_ACEOF
1567 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1571 # Let the site file select an alternate cache file if it wants to.
1572 # Prefer explicitly selected file to automatically selected ones.
1573 if test -z "$CONFIG_SITE"; then
1574 if test "x$prefix" != xNONE
; then
1575 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1577 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1580 for ac_site_file
in $CONFIG_SITE; do
1581 if test -r "$ac_site_file"; then
1582 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583 echo "$as_me: loading site script $ac_site_file" >&6;}
1584 sed 's/^/| /' "$ac_site_file" >&5
1589 if test -r "$cache_file"; then
1590 # Some versions of bash will fail to source /dev/null (special
1591 # files actually), so we avoid doing that.
1592 if test -f "$cache_file"; then
1593 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594 echo "$as_me: loading cache $cache_file" >&6;}
1596 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1597 *) . .
/$cache_file;;
1601 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602 echo "$as_me: creating cache $cache_file" >&6;}
1606 # Check that the precious variables saved in the cache have kept the same
1608 ac_cache_corrupted
=false
1609 for ac_var
in `(set) 2>&1 |
1610 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1611 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1612 eval ac_new_set
=\
$ac_env_${ac_var}_set
1613 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1614 eval ac_new_val
="\$ac_env_${ac_var}_value"
1615 case $ac_old_set,$ac_new_set in
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1619 ac_cache_corrupted
=: ;;
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1623 ac_cache_corrupted
=: ;;
1626 if test "x$ac_old_val" != "x$ac_new_val"; then
1627 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1628 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1629 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1630 echo "$as_me: former value: $ac_old_val" >&2;}
1631 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1632 echo "$as_me: current value: $ac_new_val" >&2;}
1633 ac_cache_corrupted
=:
1636 # Pass precious variables to config.status.
1637 if test "$ac_new_set" = set; then
1639 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1640 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg
=$ac_var=$ac_new_val ;;
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1658 ac_cpp
='$CPP $CPPFLAGS'
1659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1693 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1694 if test -f $ac_dir/install-sh; then
1696 ac_install_sh
="$ac_aux_dir/install-sh -c"
1698 elif test -f $ac_dir/install.sh
; then
1700 ac_install_sh
="$ac_aux_dir/install.sh -c"
1702 elif test -f $ac_dir/shtool
; then
1704 ac_install_sh
="$ac_aux_dir/shtool install -c"
1708 if test -z "$ac_aux_dir"; then
1709 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1710 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1711 { (exit 1); exit 1; }; }
1713 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1714 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1715 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717 # Make sure we can run config.sub.
1718 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1719 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1720 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1721 { (exit 1); exit 1; }; }
1723 echo "$as_me:$LINENO: checking build system type" >&5
1724 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1725 if test "${ac_cv_build+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 ac_cv_build_alias
=$build_alias
1729 test -z "$ac_cv_build_alias" &&
1730 ac_cv_build_alias
=`$ac_config_guess`
1731 test -z "$ac_cv_build_alias" &&
1732 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1733 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1734 { (exit 1); exit 1; }; }
1735 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1736 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1737 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1738 { (exit 1); exit 1; }; }
1741 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1742 echo "${ECHO_T}$ac_cv_build" >&6
1744 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1745 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1746 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1749 echo "$as_me:$LINENO: checking host system type" >&5
1750 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1751 if test "${ac_cv_host+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 ac_cv_host_alias
=$host_alias
1755 test -z "$ac_cv_host_alias" &&
1756 ac_cv_host_alias
=$ac_cv_build_alias
1757 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1758 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1759 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1760 { (exit 1); exit 1; }; }
1763 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1764 echo "${ECHO_T}$ac_cv_host" >&6
1766 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1767 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1768 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1771 echo "$as_me:$LINENO: checking target system type" >&5
1772 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1773 if test "${ac_cv_target+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 ac_cv_target_alias
=$target_alias
1777 test "x$ac_cv_target_alias" = "x" &&
1778 ac_cv_target_alias
=$ac_cv_host_alias
1779 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1780 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1781 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1782 { (exit 1); exit 1; }; }
1785 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1786 echo "${ECHO_T}$ac_cv_target" >&6
1787 target
=$ac_cv_target
1788 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1789 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1790 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1793 # The aliases save the names the user supplied, while $host etc.
1794 # will get canonicalized.
1795 test -n "$target_alias" &&
1796 test "$program_prefix$program_suffix$program_transform_name" = \
1798 program_prefix
=${target_alias}-
1802 wx_major_version_number
=2
1803 wx_minor_version_number
=7
1805 wx_subrelease_number
=3
1807 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1808 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1809 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1811 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1824 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1830 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1836 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1838 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1840 DEFAULT_wxUSE_COCOA
=0
1844 DEFAULT_wxUSE_MICROWIN
=0
1845 DEFAULT_wxUSE_MOTIF
=0
1851 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1852 DEFAULT_DEFAULT_wxUSE_GTK
=0
1853 DEFAULT_DEFAULT_wxUSE_MAC
=0
1854 DEFAULT_DEFAULT_wxUSE_MGL
=0
1855 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1856 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1857 DEFAULT_DEFAULT_wxUSE_MSW
=0
1858 DEFAULT_DEFAULT_wxUSE_PM
=0
1859 DEFAULT_DEFAULT_wxUSE_X11
=0
1860 DEFAULT_DEFAULT_wxUSE_DFB
=0
1865 SAMPLES_RPATH_POSTLINK
=
1867 DEFAULT_STD_FLAG
=yes
1872 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1873 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1875 cat >>confdefs.h
<<\_ACEOF
1880 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
1884 cat >>confdefs.h
<<\_ACEOF
1889 if test "x$TMP" = "xalpha"; then
1891 cat >>confdefs.h
<<\_ACEOF
1896 DEFAULT_DEFAULT_wxUSE_GTK
=1
1898 *-*-gnu* | *-*-k*bsd
*-gnu )
1901 if test "x$TMP" = "xalpha"; then
1903 cat >>confdefs.h
<<\_ACEOF
1908 DEFAULT_DEFAULT_wxUSE_GTK
=1
1910 *-*-irix5* | *-*-irix6* )
1913 cat >>confdefs.h
<<\_ACEOF
1917 cat >>confdefs.h
<<\_ACEOF
1921 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1927 cat >>confdefs.h
<<\_ACEOF
1931 cat >>confdefs.h
<<\_ACEOF
1932 #define __SOLARIS__ 1
1935 cat >>confdefs.h
<<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1940 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1946 cat >>confdefs.h
<<\_ACEOF
1950 cat >>confdefs.h
<<\_ACEOF
1954 cat >>confdefs.h
<<\_ACEOF
1958 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1963 cat >>confdefs.h
<<\_ACEOF
1964 #define __FREEBSD__ 1
1967 cat >>confdefs.h
<<\_ACEOF
1971 DEFAULT_DEFAULT_wxUSE_GTK
=1
1973 *-*-openbsd*|*-*-mirbsd*)
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define __OPENBSD__ 1
1980 cat >>confdefs.h
<<\_ACEOF
1984 DEFAULT_DEFAULT_wxUSE_GTK
=1
1989 cat >>confdefs.h
<<\_ACEOF
1990 #define __NETBSD__ 1
1993 cat >>confdefs.h
<<\_ACEOF
1997 DEFAULT_DEFAULT_wxUSE_GTK
=1
1998 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2000 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 cat >>confdefs.h
<<\_ACEOF
2009 cat >>confdefs.h
<<\_ACEOF
2013 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2014 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2019 cat >>confdefs.h
<<\_ACEOF
2023 cat >>confdefs.h
<<\_ACEOF
2027 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2032 cat >>confdefs.h
<<\_ACEOF
2036 cat >>confdefs.h
<<\_ACEOF
2040 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2047 cat >>confdefs.h
<<\_ACEOF
2051 cat >>confdefs.h
<<\_ACEOF
2055 cat >>confdefs.h
<<\_ACEOF
2059 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2066 cat >>confdefs.h
<<\_ACEOF
2067 #define __UNIXWARE__ 1
2072 *-*-cygwin* | *-*-mingw32* )
2075 DEFAULT_DEFAULT_wxUSE_MSW
=1
2081 cat >>confdefs.h
<<\_ACEOF
2086 DEFAULT_DEFAULT_wxUSE_MGL
=1
2089 *-pc-os2_emx | *-pc-os2-emx )
2090 cat >>confdefs.h
<<\_ACEOF
2095 cat >>confdefs.h
<<\_ACEOF
2100 DEFAULT_DEFAULT_wxUSE_PM
=1
2102 LDFLAGS
="$LDFLAGS -Zcrtdll"
2103 ac_executable_extensions
=".exe"
2104 export ac_executable_extensions
2108 for ac_dir
in $PATH; do
2110 if test -z "$ac_TEMP_PATH"; then
2111 ac_TEMP_PATH
="$ac_dir"
2113 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2116 export PATH
="$ac_TEMP_PATH"
2125 cat >>confdefs.h
<<\_ACEOF
2129 cat >>confdefs.h
<<\_ACEOF
2130 #define __DARWIN__ 1
2133 cat >>confdefs.h
<<\_ACEOF
2134 #define TARGET_CARBON 1
2137 DEFAULT_DEFAULT_wxUSE_MAC
=1
2140 powerpc
-apple-macos* )
2142 ac_cv_c_bigendian
=yes
2144 DEFAULT_DEFAULT_wxUSE_MAC
=1
2150 cat >>confdefs.h
<<\_ACEOF
2157 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2158 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2159 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2160 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2162 DEFAULT_DEFAULT_wxUSE_X11
=1
2163 DEFAULT_wxUSE_SHARED
=no
2169 wx_arg_cache_file
="configarg.cache"
2170 echo "loading argument cache $wx_arg_cache_file"
2171 rm -f ${wx_arg_cache_file}.tmp
2172 touch ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}
2177 if test $DEBUG_CONFIGURE = 1; then
2178 DEFAULT_wxUSE_UNIVERSAL
=no
2179 DEFAULT_wxUSE_STL
=no
2181 DEFAULT_wxUSE_NANOX
=no
2183 DEFAULT_wxUSE_THREADS
=yes
2185 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2186 DEFAULT_wxUSE_OPTIMISE
=no
2187 DEFAULT_wxUSE_PROFILE
=no
2188 DEFAULT_wxUSE_NO_DEPS
=no
2189 DEFAULT_wxUSE_NO_RTTI
=no
2190 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2191 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2192 DEFAULT_wxUSE_RPATH
=yes
2193 DEFAULT_wxUSE_PERMISSIVE
=no
2194 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2195 DEFAULT_wxUSE_DEBUG_INFO
=yes
2196 DEFAULT_wxUSE_DEBUG_GDB
=yes
2197 DEFAULT_wxUSE_MEM_TRACING
=no
2198 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2199 DEFAULT_wxUSE_DMALLOC
=no
2200 DEFAULT_wxUSE_APPLE_IEEE
=no
2202 DEFAULT_wxUSE_EXCEPTIONS
=no
2203 DEFAULT_wxUSE_LOG
=yes
2204 DEFAULT_wxUSE_LOGWINDOW
=no
2205 DEFAULT_wxUSE_LOGGUI
=no
2206 DEFAULT_wxUSE_LOGDIALOG
=no
2208 DEFAULT_wxUSE_GUI
=yes
2209 DEFAULT_wxUSE_CONTROLS
=no
2211 DEFAULT_wxUSE_REGEX
=no
2212 DEFAULT_wxUSE_XML
=no
2213 DEFAULT_wxUSE_EXPAT
=no
2214 DEFAULT_wxUSE_ZLIB
=no
2215 DEFAULT_wxUSE_LIBPNG
=no
2216 DEFAULT_wxUSE_LIBJPEG
=no
2217 DEFAULT_wxUSE_LIBTIFF
=no
2218 DEFAULT_wxUSE_LIBXPM
=no
2219 DEFAULT_wxUSE_LIBMSPACK
=no
2220 DEFAULT_wxUSE_LIBSDL
=no
2221 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2222 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2223 DEFAULT_wxUSE_LIBHILDON
=no
2224 DEFAULT_wxUSE_ODBC
=no
2225 DEFAULT_wxUSE_OPENGL
=no
2227 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2228 DEFAULT_wxUSE_STACKWALKER
=no
2229 DEFAULT_wxUSE_DEBUGREPORT
=no
2230 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2231 DEFAULT_wxUSE_STD_IOSTREAM
=no
2232 DEFAULT_wxUSE_STD_STRING
=no
2233 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2234 DEFAULT_wxUSE_DATETIME
=no
2235 DEFAULT_wxUSE_TIMER
=no
2236 DEFAULT_wxUSE_STOPWATCH
=no
2237 DEFAULT_wxUSE_FILE
=no
2238 DEFAULT_wxUSE_FFILE
=no
2239 DEFAULT_wxUSE_STDPATHS
=no
2240 DEFAULT_wxUSE_TEXTBUFFER
=no
2241 DEFAULT_wxUSE_TEXTFILE
=no
2242 DEFAULT_wxUSE_SOUND
=no
2243 DEFAULT_wxUSE_MEDIACTRL
=no
2244 DEFAULT_wxUSE_GSTREAMER8
=no
2245 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=no
2246 DEFAULT_wxUSE_INTL
=no
2247 DEFAULT_wxUSE_CONFIG
=no
2248 DEFAULT_wxUSE_FONTMAP
=no
2249 DEFAULT_wxUSE_STREAMS
=no
2250 DEFAULT_wxUSE_SOCKETS
=no
2251 DEFAULT_wxUSE_OLE
=no
2252 DEFAULT_wxUSE_DATAOBJ
=no
2253 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2254 DEFAULT_wxUSE_JOYSTICK
=no
2255 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2256 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2257 DEFAULT_wxUSE_LONGLONG
=no
2258 DEFAULT_wxUSE_GEOMETRY
=no
2260 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2261 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2262 DEFAULT_wxUSE_POSTSCRIPT
=no
2264 DEFAULT_wxUSE_CLIPBOARD
=no
2265 DEFAULT_wxUSE_TOOLTIPS
=no
2266 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2267 DEFAULT_wxUSE_DRAGIMAGE
=no
2268 DEFAULT_wxUSE_SPLINES
=no
2269 DEFAULT_wxUSE_MOUSEWHEEL
=no
2271 DEFAULT_wxUSE_MDI
=no
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2276 DEFAULT_wxUSE_RESOURCES
=no
2277 DEFAULT_wxUSE_CONSTRAINTS
=no
2278 DEFAULT_wxUSE_IPC
=no
2279 DEFAULT_wxUSE_HELP
=no
2280 DEFAULT_wxUSE_MS_HTML_HELP
=no
2281 DEFAULT_wxUSE_WXHTML_HELP
=no
2282 DEFAULT_wxUSE_TREELAYOUT
=no
2283 DEFAULT_wxUSE_METAFILE
=no
2284 DEFAULT_wxUSE_MIMETYPE
=no
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2286 DEFAULT_wxUSE_PROTOCOL
=no
2287 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2288 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2289 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2290 DEFAULT_wxUSE_URL
=no
2291 DEFAULT_wxUSE_VARIANT
=no
2293 DEFAULT_wxUSE_ABOUTDLG
=no
2294 DEFAULT_wxUSE_COMMONDLGS
=no
2295 DEFAULT_wxUSE_CHOICEDLG
=no
2296 DEFAULT_wxUSE_COLOURDLG
=no
2297 DEFAULT_wxUSE_DIRDLG
=no
2298 DEFAULT_wxUSE_FILEDLG
=no
2299 DEFAULT_wxUSE_FINDREPLDLG
=no
2300 DEFAULT_wxUSE_FONTDLG
=no
2301 DEFAULT_wxUSE_MSGDLG
=no
2302 DEFAULT_wxUSE_NUMBERDLG
=no
2303 DEFAULT_wxUSE_TEXTDLG
=no
2304 DEFAULT_wxUSE_SPLASH
=no
2305 DEFAULT_wxUSE_STARTUP_TIPS
=no
2306 DEFAULT_wxUSE_PROGRESSDLG
=no
2307 DEFAULT_wxUSE_WIZARDDLG
=no
2309 DEFAULT_wxUSE_MENUS
=no
2310 DEFAULT_wxUSE_MINIFRAME
=no
2311 DEFAULT_wxUSE_HTML
=no
2312 DEFAULT_wxUSE_RICHTEXT
=no
2313 DEFAULT_wxUSE_XRC
=no
2314 DEFAULT_wxUSE_AUI
=no
2315 DEFAULT_wxUSE_WEBKIT
=no
2316 DEFAULT_wxUSE_FILESYSTEM
=no
2317 DEFAULT_wxUSE_FS_INET
=no
2318 DEFAULT_wxUSE_FS_ZIP
=no
2319 DEFAULT_wxUSE_FS_ARCHIVE
=no
2320 DEFAULT_wxUSE_BUSYINFO
=no
2321 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2322 DEFAULT_wxUSE_ZIPSTREAM
=no
2323 DEFAULT_wxUSE_TARSTREAM
=no
2324 DEFAULT_wxUSE_BACKINGFILE
=no
2325 DEFAULT_wxUSE_VALIDATORS
=no
2327 DEFAULT_wxUSE_ACCEL
=no
2328 DEFAULT_wxUSE_ANIMATIONCTRL
=no
2329 DEFAULT_wxUSE_BUTTON
=no
2330 DEFAULT_wxUSE_BMPBUTTON
=no
2331 DEFAULT_wxUSE_BITMAPCOMBOBOX
=no
2332 DEFAULT_wxUSE_CALCTRL
=no
2333 DEFAULT_wxUSE_CARET
=no
2334 DEFAULT_wxUSE_CHECKBOX
=no
2335 DEFAULT_wxUSE_CHECKLST
=no
2336 DEFAULT_wxUSE_CHOICE
=no
2337 DEFAULT_wxUSE_CHOICEBOOK
=no
2338 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
2339 DEFAULT_wxUSE_COMBOBOX
=no
2340 DEFAULT_wxUSE_COMBOCTRL
=no
2341 DEFAULT_wxUSE_DATEPICKCTRL
=no
2342 DEFAULT_wxUSE_DISPLAY
=no
2343 DEFAULT_wxUSE_DETECT_SM
=no
2344 DEFAULT_wxUSE_DIRPICKERCTRL
=no
2345 DEFAULT_wxUSE_FILEPICKERCTRL
=no
2346 DEFAULT_wxUSE_FONTPICKERCTRL
=no
2347 DEFAULT_wxUSE_GAUGE
=no
2348 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2349 DEFAULT_wxUSE_GRID
=no
2350 DEFAULT_wxUSE_HYPERLINKCTRL
=no
2351 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2352 DEFAULT_wxUSE_IMAGLIST
=no
2353 DEFAULT_wxUSE_LISTBOOK
=no
2354 DEFAULT_wxUSE_LISTBOX
=no
2355 DEFAULT_wxUSE_LISTCTRL
=no
2356 DEFAULT_wxUSE_NOTEBOOK
=no
2357 DEFAULT_wxUSE_ODCOMBOBOX
=no
2358 DEFAULT_wxUSE_RADIOBOX
=no
2359 DEFAULT_wxUSE_RADIOBTN
=no
2360 DEFAULT_wxUSE_SASH
=no
2361 DEFAULT_wxUSE_SCROLLBAR
=no
2362 DEFAULT_wxUSE_SLIDER
=no
2363 DEFAULT_wxUSE_SPINBTN
=no
2364 DEFAULT_wxUSE_SPINCTRL
=no
2365 DEFAULT_wxUSE_SPLITTER
=no
2366 DEFAULT_wxUSE_STATBMP
=no
2367 DEFAULT_wxUSE_STATBOX
=no
2368 DEFAULT_wxUSE_STATLINE
=no
2369 DEFAULT_wxUSE_STATTEXT
=no
2370 DEFAULT_wxUSE_STATUSBAR
=yes
2371 DEFAULT_wxUSE_TAB_DIALOG
=no
2372 DEFAULT_wxUSE_TEXTCTRL
=no
2373 DEFAULT_wxUSE_TOGGLEBTN
=no
2374 DEFAULT_wxUSE_TOOLBAR
=no
2375 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2376 DEFAULT_wxUSE_TREEBOOK
=no
2377 DEFAULT_wxUSE_TOOLBOOK
=no
2378 DEFAULT_wxUSE_TREECTRL
=no
2379 DEFAULT_wxUSE_POPUPWIN
=no
2380 DEFAULT_wxUSE_TIPWINDOW
=no
2382 DEFAULT_wxUSE_UNICODE
=no
2383 DEFAULT_wxUSE_UNICODE_MSLU
=no
2384 DEFAULT_wxUSE_WCSRTOMBS
=no
2386 DEFAULT_wxUSE_PALETTE
=no
2387 DEFAULT_wxUSE_IMAGE
=no
2388 DEFAULT_wxUSE_GIF
=no
2389 DEFAULT_wxUSE_PCX
=no
2390 DEFAULT_wxUSE_PNM
=no
2391 DEFAULT_wxUSE_IFF
=no
2392 DEFAULT_wxUSE_XPM
=no
2393 DEFAULT_wxUSE_ICO_CUR
=no
2394 DEFAULT_wxUSE_ACCESSIBILITY
=no
2396 DEFAULT_wxUSE_MONOLITHIC
=no
2397 DEFAULT_wxUSE_PLUGINS
=no
2398 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2400 DEFAULT_wxUSE_UNIVERSAL
=no
2401 DEFAULT_wxUSE_STL
=no
2403 DEFAULT_wxUSE_NANOX
=no
2405 DEFAULT_wxUSE_THREADS
=yes
2407 DEFAULT_wxUSE_SHARED
=${DEFAULT_wxUSE_SHARED:-yes}
2408 DEFAULT_wxUSE_OPTIMISE
=yes
2409 DEFAULT_wxUSE_PROFILE
=no
2410 DEFAULT_wxUSE_NO_DEPS
=no
2411 DEFAULT_wxUSE_NO_RTTI
=no
2412 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2413 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2414 DEFAULT_wxUSE_RPATH
=yes
2415 DEFAULT_wxUSE_PERMISSIVE
=no
2416 DEFAULT_wxUSE_DEBUG_FLAG
=no
2417 DEFAULT_wxUSE_DEBUG_INFO
=no
2418 DEFAULT_wxUSE_DEBUG_GDB
=no
2419 DEFAULT_wxUSE_MEM_TRACING
=no
2420 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2421 DEFAULT_wxUSE_DMALLOC
=no
2422 DEFAULT_wxUSE_APPLE_IEEE
=yes
2424 DEFAULT_wxUSE_EXCEPTIONS
=yes
2425 DEFAULT_wxUSE_LOG
=yes
2426 DEFAULT_wxUSE_LOGWINDOW
=yes
2427 DEFAULT_wxUSE_LOGGUI
=yes
2428 DEFAULT_wxUSE_LOGDIALOG
=yes
2430 DEFAULT_wxUSE_GUI
=yes
2432 DEFAULT_wxUSE_REGEX
=yes
2433 DEFAULT_wxUSE_XML
=yes
2434 DEFAULT_wxUSE_EXPAT
=yes
2435 DEFAULT_wxUSE_ZLIB
=yes
2436 DEFAULT_wxUSE_LIBPNG
=yes
2437 DEFAULT_wxUSE_LIBJPEG
=yes
2438 DEFAULT_wxUSE_LIBTIFF
=yes
2439 DEFAULT_wxUSE_LIBXPM
=yes
2440 DEFAULT_wxUSE_LIBMSPACK
=yes
2441 DEFAULT_wxUSE_LIBSDL
=no
2442 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2443 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2444 DEFAULT_wxUSE_LIBHILDON
=no
2445 DEFAULT_wxUSE_ODBC
=no
2446 DEFAULT_wxUSE_OPENGL
=no
2448 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2449 DEFAULT_wxUSE_STACKWALKER
=yes
2450 DEFAULT_wxUSE_DEBUGREPORT
=yes
2451 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2452 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2453 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2454 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2455 DEFAULT_wxUSE_DATETIME
=yes
2456 DEFAULT_wxUSE_TIMER
=yes
2457 DEFAULT_wxUSE_STOPWATCH
=yes
2458 DEFAULT_wxUSE_FILE
=yes
2459 DEFAULT_wxUSE_FFILE
=yes
2460 DEFAULT_wxUSE_STDPATHS
=yes
2461 DEFAULT_wxUSE_TEXTBUFFER
=yes
2462 DEFAULT_wxUSE_TEXTFILE
=yes
2463 DEFAULT_wxUSE_SOUND
=yes
2464 DEFAULT_wxUSE_MEDIACTRL
=no
2465 DEFAULT_wxUSE_GSTREAMER8
=no
2466 DEFAULT_wxUSE_PRINTF_POS_PARAMS
=yes
2467 DEFAULT_wxUSE_INTL
=yes
2468 DEFAULT_wxUSE_CONFIG
=yes
2469 DEFAULT_wxUSE_FONTMAP
=yes
2470 DEFAULT_wxUSE_STREAMS
=yes
2471 DEFAULT_wxUSE_SOCKETS
=yes
2472 DEFAULT_wxUSE_OLE
=yes
2473 DEFAULT_wxUSE_DATAOBJ
=yes
2474 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2475 DEFAULT_wxUSE_JOYSTICK
=yes
2476 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2477 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2478 DEFAULT_wxUSE_LONGLONG
=yes
2479 DEFAULT_wxUSE_GEOMETRY
=yes
2481 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2482 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2483 DEFAULT_wxUSE_POSTSCRIPT
=yes
2485 DEFAULT_wxUSE_CLIPBOARD
=yes
2486 DEFAULT_wxUSE_TOOLTIPS
=yes
2487 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2488 DEFAULT_wxUSE_DRAGIMAGE
=yes
2489 DEFAULT_wxUSE_SPLINES
=yes
2490 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2492 DEFAULT_wxUSE_MDI
=yes
2493 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2494 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2495 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2497 DEFAULT_wxUSE_RESOURCES
=no
2498 DEFAULT_wxUSE_CONSTRAINTS
=yes
2499 DEFAULT_wxUSE_IPC
=yes
2500 DEFAULT_wxUSE_HELP
=yes
2501 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2502 DEFAULT_wxUSE_WXHTML_HELP
=yes
2503 DEFAULT_wxUSE_TREELAYOUT
=yes
2504 DEFAULT_wxUSE_METAFILE
=yes
2505 DEFAULT_wxUSE_MIMETYPE
=yes
2506 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2507 DEFAULT_wxUSE_PROTOCOL
=yes
2508 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2509 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2510 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2511 DEFAULT_wxUSE_URL
=yes
2512 DEFAULT_wxUSE_VARIANT
=yes
2514 DEFAULT_wxUSE_ABOUTDLG
=yes
2515 DEFAULT_wxUSE_COMMONDLGS
=yes
2516 DEFAULT_wxUSE_CHOICEDLG
=yes
2517 DEFAULT_wxUSE_COLOURDLG
=yes
2518 DEFAULT_wxUSE_DIRDLG
=yes
2519 DEFAULT_wxUSE_FILEDLG
=yes
2520 DEFAULT_wxUSE_FINDREPLDLG
=yes
2521 DEFAULT_wxUSE_FONTDLG
=yes
2522 DEFAULT_wxUSE_MSGDLG
=yes
2523 DEFAULT_wxUSE_NUMBERDLG
=yes
2524 DEFAULT_wxUSE_TEXTDLG
=yes
2525 DEFAULT_wxUSE_SPLASH
=yes
2526 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2527 DEFAULT_wxUSE_PROGRESSDLG
=yes
2528 DEFAULT_wxUSE_WIZARDDLG
=yes
2530 DEFAULT_wxUSE_MENUS
=yes
2531 DEFAULT_wxUSE_MINIFRAME
=yes
2532 DEFAULT_wxUSE_HTML
=yes
2533 DEFAULT_wxUSE_RICHTEXT
=yes
2534 DEFAULT_wxUSE_XRC
=yes
2535 DEFAULT_wxUSE_AUI
=yes
2536 DEFAULT_wxUSE_WEBKIT
=yes
2537 DEFAULT_wxUSE_FILESYSTEM
=yes
2538 DEFAULT_wxUSE_FS_INET
=yes
2539 DEFAULT_wxUSE_FS_ZIP
=yes
2540 DEFAULT_wxUSE_FS_ARCHIVE
=yes
2541 DEFAULT_wxUSE_BUSYINFO
=yes
2542 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2543 DEFAULT_wxUSE_ZIPSTREAM
=yes
2544 DEFAULT_wxUSE_TARSTREAM
=yes
2545 DEFAULT_wxUSE_BACKINGFILE
=yes
2546 DEFAULT_wxUSE_VALIDATORS
=yes
2548 DEFAULT_wxUSE_ACCEL
=yes
2549 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
2550 DEFAULT_wxUSE_BUTTON
=yes
2551 DEFAULT_wxUSE_BMPBUTTON
=yes
2552 DEFAULT_wxUSE_BITMAPCOMBOBOX
=yes
2553 DEFAULT_wxUSE_CALCTRL
=yes
2554 DEFAULT_wxUSE_CARET
=yes
2555 DEFAULT_wxUSE_CHECKBOX
=yes
2556 DEFAULT_wxUSE_CHECKLST
=yes
2557 DEFAULT_wxUSE_CHOICE
=yes
2558 DEFAULT_wxUSE_CHOICEBOOK
=yes
2559 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
2560 DEFAULT_wxUSE_COMBOBOX
=yes
2561 DEFAULT_wxUSE_COMBOCTRL
=yes
2562 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2563 DEFAULT_wxUSE_DISPLAY
=yes
2564 DEFAULT_wxUSE_DETECT_SM
=yes
2565 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
2566 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
2567 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
2568 DEFAULT_wxUSE_GAUGE
=yes
2569 DEFAULT_wxUSE_GRID
=yes
2570 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2571 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
2572 DEFAULT_wxUSE_DATAVIEWCTRL
=no
2573 DEFAULT_wxUSE_IMAGLIST
=yes
2574 DEFAULT_wxUSE_LISTBOOK
=yes
2575 DEFAULT_wxUSE_LISTBOX
=yes
2576 DEFAULT_wxUSE_LISTCTRL
=yes
2577 DEFAULT_wxUSE_NOTEBOOK
=yes
2578 DEFAULT_wxUSE_ODCOMBOBOX
=yes
2579 DEFAULT_wxUSE_RADIOBOX
=yes
2580 DEFAULT_wxUSE_RADIOBTN
=yes
2581 DEFAULT_wxUSE_SASH
=yes
2582 DEFAULT_wxUSE_SCROLLBAR
=yes
2583 DEFAULT_wxUSE_SLIDER
=yes
2584 DEFAULT_wxUSE_SPINBTN
=yes
2585 DEFAULT_wxUSE_SPINCTRL
=yes
2586 DEFAULT_wxUSE_SPLITTER
=yes
2587 DEFAULT_wxUSE_STATBMP
=yes
2588 DEFAULT_wxUSE_STATBOX
=yes
2589 DEFAULT_wxUSE_STATLINE
=yes
2590 DEFAULT_wxUSE_STATTEXT
=yes
2591 DEFAULT_wxUSE_STATUSBAR
=yes
2592 DEFAULT_wxUSE_TAB_DIALOG
=no
2593 DEFAULT_wxUSE_TEXTCTRL
=yes
2594 DEFAULT_wxUSE_TOGGLEBTN
=yes
2595 DEFAULT_wxUSE_TOOLBAR
=yes
2596 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2597 DEFAULT_wxUSE_TREEBOOK
=yes
2598 DEFAULT_wxUSE_TOOLBOOK
=yes
2599 DEFAULT_wxUSE_TREECTRL
=yes
2600 DEFAULT_wxUSE_POPUPWIN
=yes
2601 DEFAULT_wxUSE_TIPWINDOW
=yes
2603 DEFAULT_wxUSE_UNICODE
=no
2604 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2605 DEFAULT_wxUSE_WCSRTOMBS
=no
2607 DEFAULT_wxUSE_PALETTE
=yes
2608 DEFAULT_wxUSE_IMAGE
=yes
2609 DEFAULT_wxUSE_GIF
=yes
2610 DEFAULT_wxUSE_PCX
=yes
2611 DEFAULT_wxUSE_IFF
=no
2612 DEFAULT_wxUSE_PNM
=yes
2613 DEFAULT_wxUSE_XPM
=yes
2614 DEFAULT_wxUSE_ICO_CUR
=yes
2615 DEFAULT_wxUSE_ACCESSIBILITY
=no
2617 DEFAULT_wxUSE_MONOLITHIC
=no
2618 DEFAULT_wxUSE_PLUGINS
=no
2619 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2621 DEFAULT_wxUSE_GTK2
=yes
2627 for toolkit
in `echo $ALL_TOOLKITS`; do
2628 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2629 if test "x$LINE" != "x" ; then
2630 has_toolkit_in_cache
=1
2631 eval "DEFAULT_$LINE"
2632 eval "CACHE_$toolkit=1"
2634 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2635 if test "x$LINE" != "x" ; then
2636 eval "DEFAULT_$LINE"
2644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2645 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2647 # Check whether --enable-gui or --disable-gui was given.
2648 if test "${enable_gui+set}" = set; then
2649 enableval
="$enable_gui"
2651 if test "$enableval" = yes; then
2652 ac_cv_use_gui
='wxUSE_GUI=yes'
2654 ac_cv_use_gui
='wxUSE_GUI=no'
2659 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x
; then
2661 eval "DEFAULT_$LINE"
2666 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2670 eval "$ac_cv_use_gui"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_GUI" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2686 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2688 # Check whether --enable-monolithic or --disable-monolithic was given.
2689 if test "${enable_monolithic+set}" = set; then
2690 enableval
="$enable_monolithic"
2692 if test "$enableval" = yes; then
2693 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2695 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2700 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x
; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2711 eval "$ac_cv_use_monolithic"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_MONOLITHIC" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2727 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2729 # Check whether --enable-plugins or --disable-plugins was given.
2730 if test "${enable_plugins+set}" = set; then
2731 enableval
="$enable_plugins"
2733 if test "$enableval" = yes; then
2734 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2736 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2741 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x
; then
2743 eval "DEFAULT_$LINE"
2748 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2752 eval "$ac_cv_use_plugins"
2753 if test "$no_cache" != 1; then
2754 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2757 if test "$wxUSE_PLUGINS" = yes; then
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2761 echo "$as_me:$LINENO: result: no" >&5
2762 echo "${ECHO_T}no" >&6
2767 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2768 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2771 # Check whether --with-subdirs or --without-subdirs was given.
2772 if test "${with_subdirs+set}" = set; then
2773 withval
="$with_subdirs"
2775 if test "$withval" = yes; then
2776 ac_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
2778 ac_cv_use_subdirs
='wxWITH_SUBDIRS=no'
2783 LINE
=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2784 if test "x$LINE" != x
; then
2785 eval "DEFAULT_$LINE"
2790 ac_cv_use_subdirs
='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2794 eval "$ac_cv_use_subdirs"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2799 if test "$wxWITH_SUBDIRS" = yes; then
2800 echo "$as_me:$LINENO: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2803 echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6
2808 if test "$wxUSE_GUI" = "yes"; then
2812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2813 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2815 # Check whether --enable-universal or --disable-universal was given.
2816 if test "${enable_universal+set}" = set; then
2817 enableval
="$enable_universal"
2819 if test "$enableval" = yes; then
2820 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2822 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2827 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x
; then
2829 eval "DEFAULT_$LINE"
2834 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2838 eval "$ac_cv_use_universal"
2839 if test "$no_cache" != 1; then
2840 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2843 if test "$wxUSE_UNIVERSAL" = yes; then
2844 echo "$as_me:$LINENO: result: yes" >&5
2845 echo "${ECHO_T}yes" >&6
2847 echo "$as_me:$LINENO: result: no" >&5
2848 echo "${ECHO_T}no" >&6
2852 # Check whether --with-gtk or --without-gtk was given.
2853 if test "${with_gtk+set}" = set; then
2855 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2858 # Check whether --with-motif or --without-motif was given.
2859 if test "${with_motif+set}" = set; then
2860 withval
="$with_motif"
2861 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2864 # Check whether --with-mac or --without-mac was given.
2865 if test "${with_mac+set}" = set; then
2867 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2870 # Check whether --with-cocoa or --without-cocoa was given.
2871 if test "${with_cocoa+set}" = set; then
2872 withval
="$with_cocoa"
2873 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2876 # Check whether --with-wine or --without-wine was given.
2877 if test "${with_wine+set}" = set; then
2878 withval
="$with_wine"
2879 wxUSE_WINE
="$withval" CACHE_WINE
=1
2882 # Check whether --with-msw or --without-msw was given.
2883 if test "${with_msw+set}" = set; then
2885 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2888 # Check whether --with-pm or --without-pm was given.
2889 if test "${with_pm+set}" = set; then
2891 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2894 # Check whether --with-mgl or --without-mgl was given.
2895 if test "${with_mgl+set}" = set; then
2897 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2900 # Check whether --with-directfb or --without-directfb was given.
2901 if test "${with_directfb+set}" = set; then
2902 withval
="$with_directfb"
2903 wxUSE_DFB
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_DFB
=1 TOOLKIT_GIVEN
=1
2906 # Check whether --with-microwin or --without-microwin was given.
2907 if test "${with_microwin+set}" = set; then
2908 withval
="$with_microwin"
2909 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2912 # Check whether --with-x11 or --without-x11 was given.
2913 if test "${with_x11+set}" = set; then
2915 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2920 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2922 # Check whether --enable-nanox or --disable-nanox was given.
2923 if test "${enable_nanox+set}" = set; then
2924 enableval
="$enable_nanox"
2926 if test "$enableval" = yes; then
2927 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2929 ac_cv_use_nanox
='wxUSE_NANOX=no'
2934 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2935 if test "x$LINE" != x
; then
2936 eval "DEFAULT_$LINE"
2941 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2945 eval "$ac_cv_use_nanox"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2950 if test "$wxUSE_NANOX" = yes; then
2951 echo "$as_me:$LINENO: result: yes" >&5
2952 echo "${ECHO_T}yes" >&6
2954 echo "$as_me:$LINENO: result: no" >&5
2955 echo "${ECHO_T}no" >&6
2959 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2960 if test "${enable_gtk2+set}" = set; then
2961 enableval
="$enable_gtk2"
2962 wxUSE_GTK2
="$enableval"
2966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2967 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2969 # Check whether --enable-gpe or --disable-gpe was given.
2970 if test "${enable_gpe+set}" = set; then
2971 enableval
="$enable_gpe"
2973 if test "$enableval" = yes; then
2974 ac_cv_use_gpe
='wxUSE_GPE=yes'
2976 ac_cv_use_gpe
='wxUSE_GPE=no'
2981 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x
; then
2983 eval "DEFAULT_$LINE"
2988 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2992 eval "$ac_cv_use_gpe"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_GPE" = yes; then
2998 echo "$as_me:$LINENO: result: yes" >&5
2999 echo "${ECHO_T}yes" >&6
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3007 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3008 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3011 # Check whether --with-libpng or --without-libpng was given.
3012 if test "${with_libpng+set}" = set; then
3013 withval
="$with_libpng"
3015 if test "$withval" = yes; then
3016 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
3017 elif test "$withval" = no
; then
3018 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
3019 elif test "$withval" = sys
; then
3020 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
3021 elif test "$withval" = builtin; then
3022 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3024 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3025 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3026 { (exit 1); exit 1; }; }
3031 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x
; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3042 eval "$ac_cv_use_libpng"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3047 if test "$wxUSE_LIBPNG" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3050 elif test "$wxUSE_LIBPNG" = no
; then
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3053 elif test "$wxUSE_LIBPNG" = sys
; then
3054 echo "$as_me:$LINENO: result: system version" >&5
3055 echo "${ECHO_T}system version" >&6
3056 elif test "$wxUSE_LIBPNG" = builtin; then
3057 echo "$as_me:$LINENO: result: builtin version" >&5
3058 echo "${ECHO_T}builtin version" >&6
3060 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3061 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3062 { (exit 1); exit 1; }; }
3066 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3067 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3070 # Check whether --with-libjpeg or --without-libjpeg was given.
3071 if test "${with_libjpeg+set}" = set; then
3072 withval
="$with_libjpeg"
3074 if test "$withval" = yes; then
3075 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
3076 elif test "$withval" = no
; then
3077 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
3078 elif test "$withval" = sys
; then
3079 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
3080 elif test "$withval" = builtin; then
3081 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
3083 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3084 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3085 { (exit 1); exit 1; }; }
3090 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x
; then
3092 eval "DEFAULT_$LINE"
3097 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3101 eval "$ac_cv_use_libjpeg"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3106 if test "$wxUSE_LIBJPEG" = yes; then
3107 echo "$as_me:$LINENO: result: yes" >&5
3108 echo "${ECHO_T}yes" >&6
3109 elif test "$wxUSE_LIBJPEG" = no
; then
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3112 elif test "$wxUSE_LIBJPEG" = sys
; then
3113 echo "$as_me:$LINENO: result: system version" >&5
3114 echo "${ECHO_T}system version" >&6
3115 elif test "$wxUSE_LIBJPEG" = builtin; then
3116 echo "$as_me:$LINENO: result: builtin version" >&5
3117 echo "${ECHO_T}builtin version" >&6
3119 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3120 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3121 { (exit 1); exit 1; }; }
3125 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3126 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3129 # Check whether --with-libtiff or --without-libtiff was given.
3130 if test "${with_libtiff+set}" = set; then
3131 withval
="$with_libtiff"
3133 if test "$withval" = yes; then
3134 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
3135 elif test "$withval" = no
; then
3136 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
3137 elif test "$withval" = sys
; then
3138 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
3139 elif test "$withval" = builtin; then
3140 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
3142 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3143 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3144 { (exit 1); exit 1; }; }
3149 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3160 eval "$ac_cv_use_libtiff"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_LIBTIFF" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 elif test "$wxUSE_LIBTIFF" = no
; then
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 elif test "$wxUSE_LIBTIFF" = sys
; then
3172 echo "$as_me:$LINENO: result: system version" >&5
3173 echo "${ECHO_T}system version" >&6
3174 elif test "$wxUSE_LIBTIFF" = builtin; then
3175 echo "$as_me:$LINENO: result: builtin version" >&5
3176 echo "${ECHO_T}builtin version" >&6
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3184 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3185 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3188 # Check whether --with-libxpm or --without-libxpm was given.
3189 if test "${with_libxpm+set}" = set; then
3190 withval
="$with_libxpm"
3192 if test "$withval" = yes; then
3193 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3194 elif test "$withval" = no
; then
3195 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
3196 elif test "$withval" = sys
; then
3197 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3198 elif test "$withval" = builtin; then
3199 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3201 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3202 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3203 { (exit 1); exit 1; }; }
3208 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x
; then
3210 eval "DEFAULT_$LINE"
3215 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3219 eval "$ac_cv_use_libxpm"
3220 if test "$no_cache" != 1; then
3221 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3224 if test "$wxUSE_LIBXPM" = yes; then
3225 echo "$as_me:$LINENO: result: yes" >&5
3226 echo "${ECHO_T}yes" >&6
3227 elif test "$wxUSE_LIBXPM" = no
; then
3228 echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6
3230 elif test "$wxUSE_LIBXPM" = sys
; then
3231 echo "$as_me:$LINENO: result: system version" >&5
3232 echo "${ECHO_T}system version" >&6
3233 elif test "$wxUSE_LIBXPM" = builtin; then
3234 echo "$as_me:$LINENO: result: builtin version" >&5
3235 echo "${ECHO_T}builtin version" >&6
3237 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3238 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3239 { (exit 1); exit 1; }; }
3244 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3245 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3248 # Check whether --with-libmspack or --without-libmspack was given.
3249 if test "${with_libmspack+set}" = set; then
3250 withval
="$with_libmspack"
3252 if test "$withval" = yes; then
3253 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3255 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3260 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3261 if test "x$LINE" != x
; then
3262 eval "DEFAULT_$LINE"
3267 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3271 eval "$ac_cv_use_libmspack"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3276 if test "$wxUSE_LIBMSPACK" = yes; then
3277 echo "$as_me:$LINENO: result: yes" >&5
3278 echo "${ECHO_T}yes" >&6
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3286 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3287 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3290 # Check whether --with-sdl or --without-sdl was given.
3291 if test "${with_sdl+set}" = set; then
3294 if test "$withval" = yes; then
3295 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3297 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3302 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3313 eval "$ac_cv_use_sdl"
3314 if test "$no_cache" != 1; then
3315 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3318 if test "$wxUSE_LIBSDL" = yes; then
3319 echo "$as_me:$LINENO: result: yes" >&5
3320 echo "${ECHO_T}yes" >&6
3322 echo "$as_me:$LINENO: result: no" >&5
3323 echo "${ECHO_T}no" >&6
3328 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3329 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3332 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3333 if test "${with_gnomeprint+set}" = set; then
3334 withval
="$with_gnomeprint"
3336 if test "$withval" = yes; then
3337 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3339 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3344 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x
; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3355 eval "$ac_cv_use_gnomeprint"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3370 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3371 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3374 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3375 if test "${with_gnomevfs+set}" = set; then
3376 withval
="$with_gnomevfs"
3378 if test "$withval" = yes; then
3379 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=yes'
3381 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS=no'
3386 LINE
=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x
; then
3388 eval "DEFAULT_$LINE"
3393 ac_cv_use_gnomevfs
='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3397 eval "$ac_cv_use_gnomevfs"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3402 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3403 echo "$as_me:$LINENO: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6
3406 echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6
3412 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3413 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3416 # Check whether --with-hildon or --without-hildon was given.
3417 if test "${with_hildon+set}" = set; then
3418 withval
="$with_hildon"
3420 if test "$withval" = yes; then
3421 ac_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3423 ac_cv_use_hildon
='wxUSE_LIBHILDON=no'
3428 LINE
=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x
; then
3430 eval "DEFAULT_$LINE"
3435 ac_cv_use_hildon
='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3439 eval "$ac_cv_use_hildon"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3444 if test "$wxUSE_LIBHILDON" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3454 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3455 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3458 # Check whether --with-opengl or --without-opengl was given.
3459 if test "${with_opengl+set}" = set; then
3460 withval
="$with_opengl"
3462 if test "$withval" = yes; then
3463 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3465 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3470 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x
; then
3472 eval "DEFAULT_$LINE"
3477 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3481 eval "$ac_cv_use_opengl"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3486 if test "$wxUSE_OPENGL" = yes; then
3487 echo "$as_me:$LINENO: result: yes" >&5
3488 echo "${ECHO_T}yes" >&6
3490 echo "$as_me:$LINENO: result: no" >&5
3491 echo "${ECHO_T}no" >&6
3495 if test "$wxUSE_UNIVERSAL" = "yes"; then
3497 # Check whether --with-themes or --without-themes was given.
3498 if test "${with_themes+set}" = set; then
3499 withval
="$with_themes"
3500 wxUNIV_THEMES
="$withval"
3508 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3512 # Check whether --with-dmalloc or --without-dmalloc was given.
3513 if test "${with_dmalloc+set}" = set; then
3514 withval
="$with_dmalloc"
3516 if test "$withval" = yes; then
3517 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3519 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3524 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3535 eval "$ac_cv_use_dmalloc"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_DMALLOC" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3549 echo "$as_me:$LINENO: checking for --with-regex" >&5
3550 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3553 # Check whether --with-regex or --without-regex was given.
3554 if test "${with_regex+set}" = set; then
3555 withval
="$with_regex"
3557 if test "$withval" = yes; then
3558 ac_cv_use_regex
='wxUSE_REGEX=yes'
3559 elif test "$withval" = no
; then
3560 ac_cv_use_regex
='wxUSE_REGEX=no'
3561 elif test "$withval" = sys
; then
3562 ac_cv_use_regex
='wxUSE_REGEX=sys'
3563 elif test "$withval" = builtin; then
3564 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3566 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3567 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3568 { (exit 1); exit 1; }; }
3573 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x
; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3584 eval "$ac_cv_use_regex"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_REGEX" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3592 elif test "$wxUSE_REGEX" = no
; then
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3595 elif test "$wxUSE_REGEX" = sys
; then
3596 echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6
3598 elif test "$wxUSE_REGEX" = builtin; then
3599 echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3608 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3609 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3612 # Check whether --with-zlib or --without-zlib was given.
3613 if test "${with_zlib+set}" = set; then
3614 withval
="$with_zlib"
3616 if test "$withval" = yes; then
3617 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3618 elif test "$withval" = no
; then
3619 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3620 elif test "$withval" = sys
; then
3621 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3622 elif test "$withval" = builtin; then
3623 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3625 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3626 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3627 { (exit 1); exit 1; }; }
3632 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3633 if test "x$LINE" != x
; then
3634 eval "DEFAULT_$LINE"
3639 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3643 eval "$ac_cv_use_zlib"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3648 if test "$wxUSE_ZLIB" = yes; then
3649 echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6
3651 elif test "$wxUSE_ZLIB" = no
; then
3652 echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6
3654 elif test "$wxUSE_ZLIB" = sys
; then
3655 echo "$as_me:$LINENO: result: system version" >&5
3656 echo "${ECHO_T}system version" >&6
3657 elif test "$wxUSE_ZLIB" = builtin; then
3658 echo "$as_me:$LINENO: result: builtin version" >&5
3659 echo "${ECHO_T}builtin version" >&6
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3667 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3668 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3671 # Check whether --with-odbc or --without-odbc was given.
3672 if test "${with_odbc+set}" = set; then
3673 withval
="$with_odbc"
3675 if test "$withval" = yes; then
3676 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3677 elif test "$withval" = no
; then
3678 ac_cv_use_odbc
='wxUSE_ODBC=no'
3679 elif test "$withval" = sys
; then
3680 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3681 elif test "$withval" = builtin; then
3682 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3684 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3685 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3691 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x
; then
3693 eval "DEFAULT_$LINE"
3698 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3702 eval "$ac_cv_use_odbc"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_ODBC" = yes; then
3708 echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6
3710 elif test "$wxUSE_ODBC" = no
; then
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3713 elif test "$wxUSE_ODBC" = sys
; then
3714 echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6
3716 elif test "$wxUSE_ODBC" = builtin; then
3717 echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3726 echo "$as_me:$LINENO: checking for --with-expat" >&5
3727 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3730 # Check whether --with-expat or --without-expat was given.
3731 if test "${with_expat+set}" = set; then
3732 withval
="$with_expat"
3734 if test "$withval" = yes; then
3735 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3736 elif test "$withval" = no
; then
3737 ac_cv_use_expat
='wxUSE_EXPAT=no'
3738 elif test "$withval" = sys
; then
3739 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3740 elif test "$withval" = builtin; then
3741 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3750 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3751 if test "x$LINE" != x
; then
3752 eval "DEFAULT_$LINE"
3757 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3761 eval "$ac_cv_use_expat"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3766 if test "$wxUSE_EXPAT" = yes; then
3767 echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6
3769 elif test "$wxUSE_EXPAT" = no
; then
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3772 elif test "$wxUSE_EXPAT" = sys
; then
3773 echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6
3775 elif test "$wxUSE_EXPAT" = builtin; then
3776 echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3789 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3791 # Check whether --enable-shared or --disable-shared was given.
3792 if test "${enable_shared+set}" = set; then
3793 enableval
="$enable_shared"
3795 if test "$enableval" = yes; then
3796 ac_cv_use_shared
='wxUSE_SHARED=yes'
3798 ac_cv_use_shared
='wxUSE_SHARED=no'
3803 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x
; then
3805 eval "DEFAULT_$LINE"
3810 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3814 eval "$ac_cv_use_shared"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_SHARED" = yes; then
3820 echo "$as_me:$LINENO: result: yes" >&5
3821 echo "${ECHO_T}yes" >&6
3823 echo "$as_me:$LINENO: result: no" >&5
3824 echo "${ECHO_T}no" >&6
3829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3830 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3832 # Check whether --enable-optimise or --disable-optimise was given.
3833 if test "${enable_optimise+set}" = set; then
3834 enableval
="$enable_optimise"
3836 if test "$enableval" = yes; then
3837 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3839 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3844 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x
; then
3846 eval "DEFAULT_$LINE"
3851 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3855 eval "$ac_cv_use_optimise"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_OPTIMISE" = yes; then
3861 echo "$as_me:$LINENO: result: yes" >&5
3862 echo "${ECHO_T}yes" >&6
3864 echo "$as_me:$LINENO: result: no" >&5
3865 echo "${ECHO_T}no" >&6
3870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3871 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3873 # Check whether --enable-debug or --disable-debug was given.
3874 if test "${enable_debug+set}" = set; then
3875 enableval
="$enable_debug"
3877 if test "$enableval" = yes; then
3878 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3880 ac_cv_use_debug
='wxUSE_DEBUG=no'
3885 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3886 if test "x$LINE" != x
; then
3887 eval "DEFAULT_$LINE"
3892 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3896 eval "$ac_cv_use_debug"
3897 if test "$no_cache" != 1; then
3898 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3901 if test "$wxUSE_DEBUG" = yes; then
3902 echo "$as_me:$LINENO: result: yes" >&5
3903 echo "${ECHO_T}yes" >&6
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3912 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3914 # Check whether --enable-stl or --disable-stl was given.
3915 if test "${enable_stl+set}" = set; then
3916 enableval
="$enable_stl"
3918 if test "$enableval" = yes; then
3919 ac_cv_use_stl
='wxUSE_STL=yes'
3921 ac_cv_use_stl
='wxUSE_STL=no'
3926 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x
; then
3928 eval "DEFAULT_$LINE"
3933 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3937 eval "$ac_cv_use_stl"
3938 if test "$no_cache" != 1; then
3939 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3942 if test "$wxUSE_STL" = yes; then
3943 echo "$as_me:$LINENO: result: yes" >&5
3944 echo "${ECHO_T}yes" >&6
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3950 if test "$USE_OS2" = "1"; then
3951 DEFAULT_wxUSE_OMF
=no
3954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3955 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3957 # Check whether --enable-omf or --disable-omf was given.
3958 if test "${enable_omf+set}" = set; then
3959 enableval
="$enable_omf"
3961 if test "$enableval" = yes; then
3962 ac_cv_use_omf
='wxUSE_OMF=yes'
3964 ac_cv_use_omf
='wxUSE_OMF=no'
3969 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x
; then
3971 eval "DEFAULT_$LINE"
3976 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3980 eval "$ac_cv_use_omf"
3981 if test "$no_cache" != 1; then
3982 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3985 if test "$wxUSE_OMF" = yes; then
3986 echo "$as_me:$LINENO: result: yes" >&5
3987 echo "${ECHO_T}yes" >&6
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3995 if test "$wxUSE_DEBUG" = "yes"; then
3996 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3997 DEFAULT_wxUSE_DEBUG_INFO
=yes
3999 elif test "$wxUSE_DEBUG" = "no"; then
4000 DEFAULT_wxUSE_DEBUG_FLAG
=no
4001 DEFAULT_wxUSE_DEBUG_INFO
=no
4007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4008 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4010 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4011 if test "${enable_debug_flag+set}" = set; then
4012 enableval
="$enable_debug_flag"
4014 if test "$enableval" = yes; then
4015 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
4017 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
4022 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4023 if test "x$LINE" != x
; then
4024 eval "DEFAULT_$LINE"
4029 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4033 eval "$ac_cv_use_debug_flag"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4038 if test "$wxUSE_DEBUG_FLAG" = yes; then
4039 echo "$as_me:$LINENO: result: yes" >&5
4040 echo "${ECHO_T}yes" >&6
4042 echo "$as_me:$LINENO: result: no" >&5
4043 echo "${ECHO_T}no" >&6
4048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4049 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4051 # Check whether --enable-debug_info or --disable-debug_info was given.
4052 if test "${enable_debug_info+set}" = set; then
4053 enableval
="$enable_debug_info"
4055 if test "$enableval" = yes; then
4056 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4058 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4063 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x
; then
4065 eval "DEFAULT_$LINE"
4070 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4074 eval "$ac_cv_use_debug_info"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4079 if test "$wxUSE_DEBUG_INFO" = yes; then
4080 echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4092 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4093 if test "${enable_debug_gdb+set}" = set; then
4094 enableval
="$enable_debug_gdb"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4099 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4104 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4115 eval "$ac_cv_use_debug_gdb"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4120 if test "$wxUSE_DEBUG_GDB" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4133 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4134 if test "${enable_debug_cntxt+set}" = set; then
4135 enableval
="$enable_debug_cntxt"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
4140 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
4145 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x
; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4156 eval "$ac_cv_use_debug_cntxt"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4161 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4174 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4175 if test "${enable_mem_tracing+set}" = set; then
4176 enableval
="$enable_mem_tracing"
4178 if test "$enableval" = yes; then
4179 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
4181 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
4186 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x
; then
4188 eval "DEFAULT_$LINE"
4193 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4197 eval "$ac_cv_use_mem_tracing"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_MEM_TRACING" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4213 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4215 # Check whether --enable-profile or --disable-profile was given.
4216 if test "${enable_profile+set}" = set; then
4217 enableval
="$enable_profile"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_profile
='wxUSE_PROFILE=yes'
4222 ac_cv_use_profile
='wxUSE_PROFILE=no'
4227 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4238 eval "$ac_cv_use_profile"
4239 if test "$no_cache" != 1; then
4240 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4243 if test "$wxUSE_PROFILE" = yes; then
4244 echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6
4247 echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6
4253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4254 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4256 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4257 if test "${enable_no_rtti+set}" = set; then
4258 enableval
="$enable_no_rtti"
4260 if test "$enableval" = yes; then
4261 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
4263 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
4268 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x
; then
4270 eval "DEFAULT_$LINE"
4275 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4279 eval "$ac_cv_use_no_rtti"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_NO_RTTI" = yes; then
4285 echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6
4288 echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6
4294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4295 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4297 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4298 if test "${enable_no_exceptions+set}" = set; then
4299 enableval
="$enable_no_exceptions"
4301 if test "$enableval" = yes; then
4302 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
4304 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
4309 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4310 if test "x$LINE" != x
; then
4311 eval "DEFAULT_$LINE"
4316 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4320 eval "$ac_cv_use_no_exceptions"
4321 if test "$no_cache" != 1; then
4322 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4325 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4326 echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4336 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4338 # Check whether --enable-permissive or --disable-permissive was given.
4339 if test "${enable_permissive+set}" = set; then
4340 enableval
="$enable_permissive"
4342 if test "$enableval" = yes; then
4343 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4345 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4350 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x
; then
4352 eval "DEFAULT_$LINE"
4357 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4361 eval "$ac_cv_use_permissive"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4366 if test "$wxUSE_PERMISSIVE" = yes; then
4367 echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4377 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4379 # Check whether --enable-no_deps or --disable-no_deps was given.
4380 if test "${enable_no_deps+set}" = set; then
4381 enableval
="$enable_no_deps"
4383 if test "$enableval" = yes; then
4384 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4386 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4391 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x
; then
4393 eval "DEFAULT_$LINE"
4398 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4402 eval "$ac_cv_use_no_deps"
4403 if test "$no_cache" != 1; then
4404 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4407 if test "$wxUSE_NO_DEPS" = yes; then
4408 echo "$as_me:$LINENO: result: yes" >&5
4409 echo "${ECHO_T}yes" >&6
4411 echo "$as_me:$LINENO: result: no" >&5
4412 echo "${ECHO_T}no" >&6
4417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4418 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4420 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4421 if test "${enable_universal_binary+set}" = set; then
4422 enableval
="$enable_universal_binary"
4424 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
4428 LINE
=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x
; then
4430 eval "DEFAULT_$LINE"
4431 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4434 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY=no"
4439 eval "$wx_cv_use_universal_binary"
4440 if test "$no_cache" != 1; then
4441 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4444 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4445 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4451 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4453 # Check whether --enable-compat24 or --disable-compat24 was given.
4454 if test "${enable_compat24+set}" = set; then
4455 enableval
="$enable_compat24"
4457 if test "$enableval" = yes; then
4458 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4460 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4465 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x
; then
4467 eval "DEFAULT_$LINE"
4472 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4476 eval "$ac_cv_use_compat24"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4481 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4482 echo "$as_me:$LINENO: result: yes" >&5
4483 echo "${ECHO_T}yes" >&6
4485 echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6
4490 enablestring
=disable
4491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4492 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4494 # Check whether --enable-compat26 or --disable-compat26 was given.
4495 if test "${enable_compat26+set}" = set; then
4496 enableval
="$enable_compat26"
4498 if test "$enableval" = yes; then
4499 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
4501 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
4506 LINE
=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4507 if test "x$LINE" != x
; then
4508 eval "DEFAULT_$LINE"
4513 ac_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4517 eval "$ac_cv_use_compat26"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4522 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4523 echo "$as_me:$LINENO: result: yes" >&5
4524 echo "${ECHO_T}yes" >&6
4526 echo "$as_me:$LINENO: result: no" >&5
4527 echo "${ECHO_T}no" >&6
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4536 # Check whether --enable-rpath or --disable-rpath was given.
4537 if test "${enable_rpath+set}" = set; then
4538 enableval
="$enable_rpath"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4543 ac_cv_use_rpath
='wxUSE_RPATH=no'
4548 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x
; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4559 eval "$ac_cv_use_rpath"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_RPATH" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4580 # Check whether --enable-intl or --disable-intl was given.
4581 if test "${enable_intl+set}" = set; then
4582 enableval
="$enable_intl"
4584 if test "$enableval" = yes; then
4585 ac_cv_use_intl
='wxUSE_INTL=yes'
4587 ac_cv_use_intl
='wxUSE_INTL=no'
4592 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x
; then
4594 eval "DEFAULT_$LINE"
4599 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4603 eval "$ac_cv_use_intl"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_INTL" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4621 # Check whether --enable-config or --disable-config was given.
4622 if test "${enable_config+set}" = set; then
4623 enableval
="$enable_config"
4625 if test "$enableval" = yes; then
4626 ac_cv_use_config
='wxUSE_CONFIG=yes'
4628 ac_cv_use_config
='wxUSE_CONFIG=no'
4633 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x
; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4644 eval "$ac_cv_use_config"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4649 if test "$wxUSE_CONFIG" = yes; then
4650 echo "$as_me:$LINENO: result: yes" >&5
4651 echo "${ECHO_T}yes" >&6
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4663 # Check whether --enable-protocols or --disable-protocols was given.
4664 if test "${enable_protocols+set}" = set; then
4665 enableval
="$enable_protocols"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4670 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4675 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4686 eval "$ac_cv_use_protocols"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_PROTOCOL" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4704 # Check whether --enable-ftp or --disable-ftp was given.
4705 if test "${enable_ftp+set}" = set; then
4706 enableval
="$enable_ftp"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4711 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4716 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x
; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4727 eval "$ac_cv_use_ftp"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4745 # Check whether --enable-http or --disable-http was given.
4746 if test "${enable_http+set}" = set; then
4747 enableval
="$enable_http"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4752 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4757 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4768 eval "$ac_cv_use_http"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4773 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4786 # Check whether --enable-fileproto or --disable-fileproto was given.
4787 if test "${enable_fileproto+set}" = set; then
4788 enableval
="$enable_fileproto"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4793 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4798 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4809 eval "$ac_cv_use_fileproto"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4827 # Check whether --enable-sockets or --disable-sockets was given.
4828 if test "${enable_sockets+set}" = set; then
4829 enableval
="$enable_sockets"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4834 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4839 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x
; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4850 eval "$ac_cv_use_sockets"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_SOCKETS" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4868 # Check whether --enable-ole or --disable-ole was given.
4869 if test "${enable_ole+set}" = set; then
4870 enableval
="$enable_ole"
4872 if test "$enableval" = yes; then
4873 ac_cv_use_ole
='wxUSE_OLE=yes'
4875 ac_cv_use_ole
='wxUSE_OLE=no'
4880 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x
; then
4882 eval "DEFAULT_$LINE"
4887 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4891 eval "$ac_cv_use_ole"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_OLE" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4909 # Check whether --enable-dataobj or --disable-dataobj was given.
4910 if test "${enable_dataobj+set}" = set; then
4911 enableval
="$enable_dataobj"
4913 if test "$enableval" = yes; then
4914 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4916 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4921 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4928 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4932 eval "$ac_cv_use_dataobj"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_DATAOBJ" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4951 # Check whether --enable-ipc or --disable-ipc was given.
4952 if test "${enable_ipc+set}" = set; then
4953 enableval
="$enable_ipc"
4955 if test "$enableval" = yes; then
4956 ac_cv_use_ipc
='wxUSE_IPC=yes'
4958 ac_cv_use_ipc
='wxUSE_IPC=no'
4963 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x
; then
4965 eval "DEFAULT_$LINE"
4970 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4974 eval "$ac_cv_use_ipc"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4979 if test "$wxUSE_IPC" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4993 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4994 if test "${enable_apple_ieee+set}" = set; then
4995 enableval
="$enable_apple_ieee"
4997 if test "$enableval" = yes; then
4998 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
5000 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
5005 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x
; then
5007 eval "DEFAULT_$LINE"
5012 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5016 eval "$ac_cv_use_apple_ieee"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5021 if test "$wxUSE_APPLE_IEEE" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5034 # Check whether --enable-arcstream or --disable-arcstream was given.
5035 if test "${enable_arcstream+set}" = set; then
5036 enableval
="$enable_arcstream"
5038 if test "$enableval" = yes; then
5039 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
5041 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
5046 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x
; then
5048 eval "DEFAULT_$LINE"
5053 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5057 eval "$ac_cv_use_arcstream"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5062 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backingfile" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-backingfile... $ECHO_C" >&6
5075 # Check whether --enable-backingfile or --disable-backingfile was given.
5076 if test "${enable_backingfile+set}" = set; then
5077 enableval
="$enable_backingfile"
5079 if test "$enableval" = yes; then
5080 ac_cv_use_backingfile
='wxUSE_BACKINGFILE=yes'
5082 ac_cv_use_backingfile
='wxUSE_BACKINGFILE=no'
5087 LINE
=`grep "wxUSE_BACKINGFILE" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x
; then
5089 eval "DEFAULT_$LINE"
5094 ac_cv_use_backingfile
='wxUSE_BACKINGFILE='$DEFAULT_wxUSE_BACKINGFILE
5098 eval "$ac_cv_use_backingfile"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_backingfile >> ${wx_arg_cache_file}.tmp
5103 if test "$wxUSE_BACKINGFILE" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5116 # Check whether --enable-backtrace or --disable-backtrace was given.
5117 if test "${enable_backtrace+set}" = set; then
5118 enableval
="$enable_backtrace"
5120 if test "$enableval" = yes; then
5121 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
5123 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
5128 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x
; then
5130 eval "DEFAULT_$LINE"
5135 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5139 eval "$ac_cv_use_backtrace"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5144 if test "$wxUSE_STACKWALKER" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5157 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5158 if test "${enable_catch_segvs+set}" = set; then
5159 enableval
="$enable_catch_segvs"
5161 if test "$enableval" = yes; then
5162 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
5164 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
5169 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x
; then
5171 eval "DEFAULT_$LINE"
5176 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5180 eval "$ac_cv_use_catch_segvs"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5185 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5198 # Check whether --enable-cmdline or --disable-cmdline was given.
5199 if test "${enable_cmdline+set}" = set; then
5200 enableval
="$enable_cmdline"
5202 if test "$enableval" = yes; then
5203 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
5205 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
5210 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x
; then
5212 eval "DEFAULT_$LINE"
5217 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5221 eval "$ac_cv_use_cmdline"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5239 # Check whether --enable-datetime or --disable-datetime was given.
5240 if test "${enable_datetime+set}" = set; then
5241 enableval
="$enable_datetime"
5243 if test "$enableval" = yes; then
5244 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
5246 ac_cv_use_datetime
='wxUSE_DATETIME=no'
5251 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x
; then
5253 eval "DEFAULT_$LINE"
5258 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5262 eval "$ac_cv_use_datetime"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5267 if test "$wxUSE_DATETIME" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5280 # Check whether --enable-debugreport or --disable-debugreport was given.
5281 if test "${enable_debugreport+set}" = set; then
5282 enableval
="$enable_debugreport"
5284 if test "$enableval" = yes; then
5285 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
5287 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
5292 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x
; then
5294 eval "DEFAULT_$LINE"
5299 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5303 eval "$ac_cv_use_debugreport"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_DEBUGREPORT" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5321 # Check whether --enable-dialupman or --disable-dialupman was given.
5322 if test "${enable_dialupman+set}" = set; then
5323 enableval
="$enable_dialupman"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
5328 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
5333 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x
; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5344 eval "$ac_cv_use_dialupman"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5362 # Check whether --enable-dynlib or --disable-dynlib was given.
5363 if test "${enable_dynlib+set}" = set; then
5364 enableval
="$enable_dynlib"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
5369 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
5374 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x
; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5385 eval "$ac_cv_use_dynlib"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5403 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5404 if test "${enable_dynamicloader+set}" = set; then
5405 enableval
="$enable_dynamicloader"
5407 if test "$enableval" = yes; then
5408 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5410 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5415 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x
; then
5417 eval "DEFAULT_$LINE"
5422 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5426 eval "$ac_cv_use_dynamicloader"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5444 # Check whether --enable-exceptions or --disable-exceptions was given.
5445 if test "${enable_exceptions+set}" = set; then
5446 enableval
="$enable_exceptions"
5448 if test "$enableval" = yes; then
5449 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5451 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5456 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x
; then
5458 eval "DEFAULT_$LINE"
5463 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5467 eval "$ac_cv_use_exceptions"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_EXCEPTIONS" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5485 # Check whether --enable-ffile or --disable-ffile was given.
5486 if test "${enable_ffile+set}" = set; then
5487 enableval
="$enable_ffile"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5492 ac_cv_use_ffile
='wxUSE_FFILE=no'
5497 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x
; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5508 eval "$ac_cv_use_ffile"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5513 if test "$wxUSE_FFILE" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5526 # Check whether --enable-file or --disable-file was given.
5527 if test "${enable_file+set}" = set; then
5528 enableval
="$enable_file"
5530 if test "$enableval" = yes; then
5531 ac_cv_use_file
='wxUSE_FILE=yes'
5533 ac_cv_use_file
='wxUSE_FILE=no'
5538 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x
; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5549 eval "$ac_cv_use_file"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_FILE" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5567 # Check whether --enable-filesystem or --disable-filesystem was given.
5568 if test "${enable_filesystem+set}" = set; then
5569 enableval
="$enable_filesystem"
5571 if test "$enableval" = yes; then
5572 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5574 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5579 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x
; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5590 eval "$ac_cv_use_filesystem"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5595 if test "$wxUSE_FILESYSTEM" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5608 # Check whether --enable-fontmap or --disable-fontmap was given.
5609 if test "${enable_fontmap+set}" = set; then
5610 enableval
="$enable_fontmap"
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5615 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5620 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x
; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5631 eval "$ac_cv_use_fontmap"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_FONTMAP" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5649 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5650 if test "${enable_fs_archive+set}" = set; then
5651 enableval
="$enable_fs_archive"
5653 if test "$enableval" = yes; then
5654 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
5656 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
5661 LINE
=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x
; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_fs_archive
='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5672 eval "$ac_cv_use_fs_archive"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5677 if test "$wxUSE_FS_ARCHIVE" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5690 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5691 if test "${enable_fs_inet+set}" = set; then
5692 enableval
="$enable_fs_inet"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5697 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5702 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x
; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5713 eval "$ac_cv_use_fs_inet"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5718 if test "$wxUSE_FS_INET" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5731 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5732 if test "${enable_fs_zip+set}" = set; then
5733 enableval
="$enable_fs_zip"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5738 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5743 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x
; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5754 eval "$ac_cv_use_fs_zip"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_FS_ZIP" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5772 # Check whether --enable-geometry or --disable-geometry was given.
5773 if test "${enable_geometry+set}" = set; then
5774 enableval
="$enable_geometry"
5776 if test "$enableval" = yes; then
5777 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5779 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5784 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x
; then
5786 eval "DEFAULT_$LINE"
5791 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5795 eval "$ac_cv_use_geometry"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5800 if test "$wxUSE_GEOMETRY" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5813 # Check whether --enable-log or --disable-log was given.
5814 if test "${enable_log+set}" = set; then
5815 enableval
="$enable_log"
5817 if test "$enableval" = yes; then
5818 ac_cv_use_log
='wxUSE_LOG=yes'
5820 ac_cv_use_log
='wxUSE_LOG=no'
5825 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x
; then
5827 eval "DEFAULT_$LINE"
5832 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5836 eval "$ac_cv_use_log"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5841 if test "$wxUSE_LOG" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5854 # Check whether --enable-longlong or --disable-longlong was given.
5855 if test "${enable_longlong+set}" = set; then
5856 enableval
="$enable_longlong"
5858 if test "$enableval" = yes; then
5859 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5861 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5866 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x
; then
5868 eval "DEFAULT_$LINE"
5873 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5877 eval "$ac_cv_use_longlong"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_LONGLONG" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5895 # Check whether --enable-mimetype or --disable-mimetype was given.
5896 if test "${enable_mimetype+set}" = set; then
5897 enableval
="$enable_mimetype"
5899 if test "$enableval" = yes; then
5900 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5902 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5907 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x
; then
5909 eval "DEFAULT_$LINE"
5914 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5918 eval "$ac_cv_use_mimetype"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5923 if test "$wxUSE_MIMETYPE" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5936 # Check whether --enable-mslu or --disable-mslu was given.
5937 if test "${enable_mslu+set}" = set; then
5938 enableval
="$enable_mslu"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5943 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5948 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x
; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5959 eval "$ac_cv_use_mslu"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5964 if test "$wxUSE_UNICODE_MSLU" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5977 # Check whether --enable-snglinst or --disable-snglinst was given.
5978 if test "${enable_snglinst+set}" = set; then
5979 enableval
="$enable_snglinst"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5984 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5989 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x
; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6000 eval "$ac_cv_use_snglinst"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6018 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6019 if test "${enable_std_iostreams+set}" = set; then
6020 enableval
="$enable_std_iostreams"
6022 if test "$enableval" = yes; then
6023 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
6025 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
6030 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x
; then
6032 eval "DEFAULT_$LINE"
6037 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6041 eval "$ac_cv_use_std_iostreams"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6046 if test "$wxUSE_STD_IOSTREAM" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6059 # Check whether --enable-std_string or --disable-std_string was given.
6060 if test "${enable_std_string+set}" = set; then
6061 enableval
="$enable_std_string"
6063 if test "$enableval" = yes; then
6064 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
6066 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
6071 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x
; then
6073 eval "DEFAULT_$LINE"
6078 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6082 eval "$ac_cv_use_std_string"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6087 if test "$wxUSE_STD_STRING" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6100 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6101 if test "${enable_stdpaths+set}" = set; then
6102 enableval
="$enable_stdpaths"
6104 if test "$enableval" = yes; then
6105 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
6107 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
6112 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x
; then
6114 eval "DEFAULT_$LINE"
6119 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6123 eval "$ac_cv_use_stdpaths"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6128 if test "$wxUSE_STDPATHS" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6141 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6142 if test "${enable_stopwatch+set}" = set; then
6143 enableval
="$enable_stopwatch"
6145 if test "$enableval" = yes; then
6146 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
6148 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
6153 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x
; then
6155 eval "DEFAULT_$LINE"
6160 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6164 eval "$ac_cv_use_stopwatch"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6169 if test "$wxUSE_STOPWATCH" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6182 # Check whether --enable-streams or --disable-streams was given.
6183 if test "${enable_streams+set}" = set; then
6184 enableval
="$enable_streams"
6186 if test "$enableval" = yes; then
6187 ac_cv_use_streams
='wxUSE_STREAMS=yes'
6189 ac_cv_use_streams
='wxUSE_STREAMS=no'
6194 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x
; then
6196 eval "DEFAULT_$LINE"
6201 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6205 eval "$ac_cv_use_streams"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6210 if test "$wxUSE_STREAMS" = yes; then
6211 echo "$as_me:$LINENO: result: yes" >&5
6212 echo "${ECHO_T}yes" >&6
6214 echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6
6220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6223 # Check whether --enable-system_options or --disable-system_options was given.
6224 if test "${enable_system_options+set}" = set; then
6225 enableval
="$enable_system_options"
6227 if test "$enableval" = yes; then
6228 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
6230 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
6235 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x
; then
6237 eval "DEFAULT_$LINE"
6242 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6246 eval "$ac_cv_use_system_options"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6251 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6252 echo "$as_me:$LINENO: result: yes" >&5
6253 echo "${ECHO_T}yes" >&6
6255 echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6
6261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6262 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6264 # Check whether --enable-tarstream or --disable-tarstream was given.
6265 if test "${enable_tarstream+set}" = set; then
6266 enableval
="$enable_tarstream"
6268 if test "$enableval" = yes; then
6269 ac_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
6271 ac_cv_use_tarstream
='wxUSE_TARSTREAM=no'
6276 LINE
=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6277 if test "x$LINE" != x
; then
6278 eval "DEFAULT_$LINE"
6283 ac_cv_use_tarstream
='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6287 eval "$ac_cv_use_tarstream"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6292 if test "$wxUSE_TARSTREAM" = yes; then
6293 echo "$as_me:$LINENO: result: yes" >&5
6294 echo "${ECHO_T}yes" >&6
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6305 # Check whether --enable-textbuf or --disable-textbuf was given.
6306 if test "${enable_textbuf+set}" = set; then
6307 enableval
="$enable_textbuf"
6309 if test "$enableval" = yes; then
6310 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
6312 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
6317 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x
; then
6319 eval "DEFAULT_$LINE"
6324 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6328 eval "$ac_cv_use_textbuf"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6333 if test "$wxUSE_TEXTBUFFER" = yes; then
6334 echo "$as_me:$LINENO: result: yes" >&5
6335 echo "${ECHO_T}yes" >&6
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6346 # Check whether --enable-textfile or --disable-textfile was given.
6347 if test "${enable_textfile+set}" = set; then
6348 enableval
="$enable_textfile"
6350 if test "$enableval" = yes; then
6351 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
6353 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
6358 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x
; then
6360 eval "DEFAULT_$LINE"
6365 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6369 eval "$ac_cv_use_textfile"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_TEXTFILE" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6387 # Check whether --enable-timer or --disable-timer was given.
6388 if test "${enable_timer+set}" = set; then
6389 enableval
="$enable_timer"
6391 if test "$enableval" = yes; then
6392 ac_cv_use_timer
='wxUSE_TIMER=yes'
6394 ac_cv_use_timer
='wxUSE_TIMER=no'
6399 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x
; then
6401 eval "DEFAULT_$LINE"
6406 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6410 eval "$ac_cv_use_timer"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6415 if test "$wxUSE_TIMER" = yes; then
6416 echo "$as_me:$LINENO: result: yes" >&5
6417 echo "${ECHO_T}yes" >&6
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6428 # Check whether --enable-unicode or --disable-unicode was given.
6429 if test "${enable_unicode+set}" = set; then
6430 enableval
="$enable_unicode"
6432 if test "$enableval" = yes; then
6433 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
6435 ac_cv_use_unicode
='wxUSE_UNICODE=no'
6440 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x
; then
6442 eval "DEFAULT_$LINE"
6447 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6451 eval "$ac_cv_use_unicode"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6456 if test "$wxUSE_UNICODE" = yes; then
6457 echo "$as_me:$LINENO: result: yes" >&5
6458 echo "${ECHO_T}yes" >&6
6460 echo "$as_me:$LINENO: result: no" >&5
6461 echo "${ECHO_T}no" >&6
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6469 # Check whether --enable-sound or --disable-sound was given.
6470 if test "${enable_sound+set}" = set; then
6471 enableval
="$enable_sound"
6473 if test "$enableval" = yes; then
6474 ac_cv_use_sound
='wxUSE_SOUND=yes'
6476 ac_cv_use_sound
='wxUSE_SOUND=no'
6481 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x
; then
6483 eval "DEFAULT_$LINE"
6488 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6492 eval "$ac_cv_use_sound"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_SOUND" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6510 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6511 if test "${enable_mediactrl+set}" = set; then
6512 enableval
="$enable_mediactrl"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6517 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6522 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x
; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6533 eval "$ac_cv_use_mediactrl"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_MEDIACTRL" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6551 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6552 if test "${enable_gstreamer8+set}" = set; then
6553 enableval
="$enable_gstreamer8"
6555 if test "$enableval" = yes; then
6556 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
6558 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
6563 LINE
=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x
; then
6565 eval "DEFAULT_$LINE"
6570 ac_cv_use_gstreamer8
='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6574 eval "$ac_cv_use_gstreamer8"
6575 if test "$no_cache" != 1; then
6576 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6579 if test "$wxUSE_GSTREAMER8" = yes; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6583 echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6
6589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6590 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6592 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6593 if test "${enable_printfposparam+set}" = set; then
6594 enableval
="$enable_printfposparam"
6596 if test "$enableval" = yes; then
6597 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
6599 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
6604 LINE
=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6605 if test "x$LINE" != x
; then
6606 eval "DEFAULT_$LINE"
6611 ac_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6615 eval "$ac_cv_use_printfposparam"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6620 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6621 echo "$as_me:$LINENO: result: yes" >&5
6622 echo "${ECHO_T}yes" >&6
6624 echo "$as_me:$LINENO: result: no" >&5
6625 echo "${ECHO_T}no" >&6
6630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6633 # Check whether --enable-zipstream or --disable-zipstream was given.
6634 if test "${enable_zipstream+set}" = set; then
6635 enableval
="$enable_zipstream"
6637 if test "$enableval" = yes; then
6638 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6640 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6645 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x
; then
6647 eval "DEFAULT_$LINE"
6652 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6656 eval "$ac_cv_use_zipstream"
6657 if test "$no_cache" != 1; then
6658 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6661 if test "$wxUSE_ZIPSTREAM" = yes; then
6662 echo "$as_me:$LINENO: result: yes" >&5
6663 echo "${ECHO_T}yes" >&6
6665 echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6675 # Check whether --enable-url or --disable-url was given.
6676 if test "${enable_url+set}" = set; then
6677 enableval
="$enable_url"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_url
='wxUSE_URL=yes'
6682 ac_cv_use_url
='wxUSE_URL=no'
6687 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6698 eval "$ac_cv_use_url"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_URL" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6716 # Check whether --enable-variant or --disable-variant was given.
6717 if test "${enable_variant+set}" = set; then
6718 enableval
="$enable_variant"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_variant
='wxUSE_VARIANT=yes'
6723 ac_cv_use_variant
='wxUSE_VARIANT=no'
6728 LINE
=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_variant
='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6739 eval "$ac_cv_use_variant"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_VARIANT" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6757 # Check whether --enable-protocol or --disable-protocol was given.
6758 if test "${enable_protocol+set}" = set; then
6759 enableval
="$enable_protocol"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6764 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6769 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6780 eval "$ac_cv_use_protocol"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_PROTOCOL" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6798 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6799 if test "${enable_protocol_http+set}" = set; then
6800 enableval
="$enable_protocol_http"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6805 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6810 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6821 eval "$ac_cv_use_protocol_http"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6826 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6839 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6840 if test "${enable_protocol_ftp+set}" = set; then
6841 enableval
="$enable_protocol_ftp"
6843 if test "$enableval" = yes; then
6844 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6846 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6851 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x
; then
6853 eval "DEFAULT_$LINE"
6858 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6862 eval "$ac_cv_use_protocol_ftp"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6880 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6881 if test "${enable_protocol_file+set}" = set; then
6882 enableval
="$enable_protocol_file"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6887 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6892 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6903 eval "$ac_cv_use_protocol_file"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6924 # Check whether --enable-threads or --disable-threads was given.
6925 if test "${enable_threads+set}" = set; then
6926 enableval
="$enable_threads"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_threads
='wxUSE_THREADS=yes'
6931 ac_cv_use_threads
='wxUSE_THREADS=no'
6936 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6947 eval "$ac_cv_use_threads"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_THREADS" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6961 if test "$wxUSE_GUI" = "yes"; then
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6969 # Check whether --enable-docview or --disable-docview was given.
6970 if test "${enable_docview+set}" = set; then
6971 enableval
="$enable_docview"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6976 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6981 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6992 eval "$ac_cv_use_docview"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7010 # Check whether --enable-help or --disable-help was given.
7011 if test "${enable_help+set}" = set; then
7012 enableval
="$enable_help"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_help
='wxUSE_HELP=yes'
7017 ac_cv_use_help
='wxUSE_HELP=no'
7022 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7033 eval "$ac_cv_use_help"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_HELP" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7051 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7052 if test "${enable_mshtmlhelp+set}" = set; then
7053 enableval
="$enable_mshtmlhelp"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
7058 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
7063 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7074 eval "$ac_cv_use_mshtmlhelp"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_MS_HTML_HELP" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7092 # Check whether --enable-html or --disable-html was given.
7093 if test "${enable_html+set}" = set; then
7094 enableval
="$enable_html"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_html
='wxUSE_HTML=yes'
7099 ac_cv_use_html
='wxUSE_HTML=no'
7104 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7115 eval "$ac_cv_use_html"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_HTML" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7133 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7134 if test "${enable_htmlhelp+set}" = set; then
7135 enableval
="$enable_htmlhelp"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
7140 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
7145 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7156 eval "$ac_cv_use_htmlhelp"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_WXHTML_HELP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7174 # Check whether --enable-xrc or --disable-xrc was given.
7175 if test "${enable_xrc+set}" = set; then
7176 enableval
="$enable_xrc"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_xrc
='wxUSE_XRC=yes'
7181 ac_cv_use_xrc
='wxUSE_XRC=no'
7186 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7197 eval "$ac_cv_use_xrc"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_XRC" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7215 # Check whether --enable-aui or --disable-aui was given.
7216 if test "${enable_aui+set}" = set; then
7217 enableval
="$enable_aui"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_aui
='wxUSE_AUI=yes'
7222 ac_cv_use_aui
='wxUSE_AUI=no'
7227 LINE
=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x
; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_aui
='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7238 eval "$ac_cv_use_aui"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_AUI" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7256 # Check whether --enable-constraints or --disable-constraints was given.
7257 if test "${enable_constraints+set}" = set; then
7258 enableval
="$enable_constraints"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
7263 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
7268 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7279 eval "$ac_cv_use_constraints"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_CONSTRAINTS" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7297 # Check whether --enable-printarch or --disable-printarch was given.
7298 if test "${enable_printarch+set}" = set; then
7299 enableval
="$enable_printarch"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
7304 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
7309 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7320 eval "$ac_cv_use_printarch"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7338 # Check whether --enable-mdi or --disable-mdi was given.
7339 if test "${enable_mdi+set}" = set; then
7340 enableval
="$enable_mdi"
7342 if test "$enableval" = yes; then
7343 ac_cv_use_mdi
='wxUSE_MDI=yes'
7345 ac_cv_use_mdi
='wxUSE_MDI=no'
7350 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x
; then
7352 eval "DEFAULT_$LINE"
7357 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7361 eval "$ac_cv_use_mdi"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_MDI" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7379 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7380 if test "${enable_mdidoc+set}" = set; then
7381 enableval
="$enable_mdidoc"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
7386 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
7391 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x
; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7402 eval "$ac_cv_use_mdidoc"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7420 # Check whether --enable-loggui or --disable-loggui was given.
7421 if test "${enable_loggui+set}" = set; then
7422 enableval
="$enable_loggui"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
7427 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
7432 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x
; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7443 eval "$ac_cv_use_loggui"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7448 if test "$wxUSE_LOGGUI" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7461 # Check whether --enable-logwin or --disable-logwin was given.
7462 if test "${enable_logwin+set}" = set; then
7463 enableval
="$enable_logwin"
7465 if test "$enableval" = yes; then
7466 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
7468 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
7473 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x
; then
7475 eval "DEFAULT_$LINE"
7480 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7484 eval "$ac_cv_use_logwin"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7489 if test "$wxUSE_LOGWINDOW" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7502 # Check whether --enable-logdialog or --disable-logdialog was given.
7503 if test "${enable_logdialog+set}" = set; then
7504 enableval
="$enable_logdialog"
7506 if test "$enableval" = yes; then
7507 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
7509 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
7514 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x
; then
7516 eval "DEFAULT_$LINE"
7521 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7525 eval "$ac_cv_use_logdialog"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7530 if test "$wxUSE_LOGDIALOG" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7543 # Check whether --enable-webkit or --disable-webkit was given.
7544 if test "${enable_webkit+set}" = set; then
7545 enableval
="$enable_webkit"
7547 if test "$enableval" = yes; then
7548 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
7550 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
7555 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x
; then
7557 eval "DEFAULT_$LINE"
7562 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7566 eval "$ac_cv_use_webkit"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_WEBKIT" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7584 # Check whether --enable-html or --disable-html was given.
7585 if test "${enable_html+set}" = set; then
7586 enableval
="$enable_html"
7588 if test "$enableval" = yes; then
7589 ac_cv_use_html
='wxUSE_RICHTEXT=yes'
7591 ac_cv_use_html
='wxUSE_RICHTEXT=no'
7596 LINE
=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x
; then
7598 eval "DEFAULT_$LINE"
7603 ac_cv_use_html
='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7607 eval "$ac_cv_use_html"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_RICHTEXT" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7625 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7626 if test "${enable_graphics_ctx+set}" = set; then
7627 enableval
="$enable_graphics_ctx"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
7632 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
7637 LINE
=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x
; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7648 eval "$ac_cv_use_graphics_ctx"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7653 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7667 # Check whether --enable-postscript or --disable-postscript was given.
7668 if test "${enable_postscript+set}" = set; then
7669 enableval
="$enable_postscript"
7671 if test "$enableval" = yes; then
7672 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
7674 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
7679 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7680 if test "x$LINE" != x
; then
7681 eval "DEFAULT_$LINE"
7686 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7690 eval "$ac_cv_use_postscript"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7695 if test "$wxUSE_POSTSCRIPT" = yes; then
7696 echo "$as_me:$LINENO: result: yes" >&5
7697 echo "${ECHO_T}yes" >&6
7699 echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7711 # Check whether --enable-prologio or --disable-prologio was given.
7712 if test "${enable_prologio+set}" = set; then
7713 enableval
="$enable_prologio"
7715 if test "$enableval" = yes; then
7716 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7718 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7723 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x
; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7734 eval "$ac_cv_use_prologio"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_PROLOGIO" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7752 # Check whether --enable-resources or --disable-resources was given.
7753 if test "${enable_resources+set}" = set; then
7754 enableval
="$enable_resources"
7756 if test "$enableval" = yes; then
7757 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7759 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7764 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x
; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7775 eval "$ac_cv_use_resources"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_RESOURCES" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7795 # Check whether --enable-clipboard or --disable-clipboard was given.
7796 if test "${enable_clipboard+set}" = set; then
7797 enableval
="$enable_clipboard"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7802 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7807 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7818 eval "$ac_cv_use_clipboard"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_CLIPBOARD" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7836 # Check whether --enable-dnd or --disable-dnd was given.
7837 if test "${enable_dnd+set}" = set; then
7838 enableval
="$enable_dnd"
7840 if test "$enableval" = yes; then
7841 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7843 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7848 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x
; then
7850 eval "DEFAULT_$LINE"
7855 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7859 eval "$ac_cv_use_dnd"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7877 # Check whether --enable-metafile or --disable-metafile was given.
7878 if test "${enable_metafile+set}" = set; then
7879 enableval
="$enable_metafile"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7884 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7889 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x
; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7900 eval "$ac_cv_use_metafile"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_METAFILE" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7921 # Check whether --enable-controls or --disable-controls was given.
7922 if test "${enable_controls+set}" = set; then
7923 enableval
="$enable_controls"
7925 if test "$enableval" = yes; then
7926 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7928 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7933 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x
; then
7935 eval "DEFAULT_$LINE"
7940 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7944 eval "$ac_cv_use_controls"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_CONTROLS" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7958 if test "$wxUSE_CONTROLS" = "yes"; then
7959 DEFAULT_wxUSE_ACCEL
=yes
7960 DEFAULT_wxUSE_ANIMATIONCTRL
=yes
7961 DEFAULT_wxUSE_BMPBUTTON
=yes
7962 DEFAULT_wxUSE_BUTTON
=yes
7963 DEFAULT_wxUSE_CALCTRL
=yes
7964 DEFAULT_wxUSE_CARET
=yes
7965 DEFAULT_wxUSE_COMBOBOX
=yes
7966 DEFAULT_wxUSE_CHECKBOX
=yes
7967 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7968 DEFAULT_wxUSE_CHOICE
=yes
7969 DEFAULT_wxUSE_CHOICEBOOK
=yes
7970 DEFAULT_wxUSE_COLOURPICKERCTRL
=yes
7971 DEFAULT_wxUSE_COMBOBOX
=yes
7972 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7973 DEFAULT_wxUSE_DISPLAY
=yes
7974 DEFAULT_wxUSE_DETECT_SM
=yes
7975 DEFAULT_wxUSE_DIRPICKERCTRL
=yes
7976 DEFAULT_wxUSE_FILEPICKERCTRL
=yes
7977 DEFAULT_wxUSE_FONTPICKERCTRL
=yes
7978 DEFAULT_wxUSE_GAUGE
=yes
7979 DEFAULT_wxUSE_GRID
=yes
7980 DEFAULT_wxUSE_HYPERLINKCTRL
=yes
7981 DEFAULT_wxUSE_DATAVIEWCTRL
=no
7982 DEFAULT_wxUSE_IMAGLIST
=yes
7983 DEFAULT_wxUSE_LISTBOOK
=yes
7984 DEFAULT_wxUSE_LISTBOX
=yes
7985 DEFAULT_wxUSE_LISTCTRL
=yes
7986 DEFAULT_wxUSE_NOTEBOOK
=yes
7987 DEFAULT_wxUSE_RADIOBOX
=yes
7988 DEFAULT_wxUSE_RADIOBTN
=yes
7989 DEFAULT_wxUSE_SASH
=yes
7990 DEFAULT_wxUSE_SCROLLBAR
=yes
7991 DEFAULT_wxUSE_SLIDER
=yes
7992 DEFAULT_wxUSE_SPINBTN
=yes
7993 DEFAULT_wxUSE_SPINCTRL
=yes
7994 DEFAULT_wxUSE_SPLITTER
=yes
7995 DEFAULT_wxUSE_STATBMP
=yes
7996 DEFAULT_wxUSE_STATBOX
=yes
7997 DEFAULT_wxUSE_STATLINE
=yes
7998 DEFAULT_wxUSE_STATUSBAR
=yes
7999 DEFAULT_wxUSE_TAB_DIALOG
=yes
8000 DEFAULT_wxUSE_TOGGLEBTN
=yes
8001 DEFAULT_wxUSE_TOOLBAR
=yes
8002 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
8003 DEFAULT_wxUSE_TOOLTIPS
=yes
8004 DEFAULT_wxUSE_TREEBOOK
=yes
8005 DEFAULT_wxUSE_TOOLBOOK
=yes
8006 DEFAULT_wxUSE_TREECTRL
=yes
8007 DEFAULT_wxUSE_POPUPWIN
=yes
8008 DEFAULT_wxUSE_TIPWINDOW
=yes
8009 elif test "$wxUSE_CONTROLS" = "no"; then
8010 DEFAULT_wxUSE_ACCEL
=no
8011 DEFAULT_wxUSE_ANIMATIONCTRL
=no
8012 DEFAULT_wxUSE_BMPBUTTON
=no
8013 DEFAULT_wxUSE_BUTTON
=no
8014 DEFAULT_wxUSE_CALCTRL
=no
8015 DEFAULT_wxUSE_CARET
=no
8016 DEFAULT_wxUSE_COMBOBOX
=no
8017 DEFAULT_wxUSE_CHECKBOX
=no
8018 DEFAULT_wxUSE_CHECKLISTBOX
=no
8019 DEFAULT_wxUSE_CHOICE
=no
8020 DEFAULT_wxUSE_CHOICEBOOK
=no
8021 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
8022 DEFAULT_wxUSE_COMBOBOX
=no
8023 DEFAULT_wxUSE_DATEPICKCTRL
=no
8024 DEFAULT_wxUSE_DISPLAY
=no
8025 DEFAULT_wxUSE_DETECT_SM
=no
8026 DEFAULT_wxUSE_DIRPICKERCTRL
=no
8027 DEFAULT_wxUSE_FILEPICKERCTRL
=no
8028 DEFAULT_wxUSE_FONTPICKERCTRL
=no
8029 DEFAULT_wxUSE_GAUGE
=no
8030 DEFAULT_wxUSE_GRID
=no
8031 DEFAULT_wxUSE_HYPERLINKCTRL
=no
8032 DEFAULT_wxUSE_DATAVIEWCTRL
=no
8033 DEFAULT_wxUSE_IMAGLIST
=no
8034 DEFAULT_wxUSE_LISTBOOK
=no
8035 DEFAULT_wxUSE_LISTBOX
=no
8036 DEFAULT_wxUSE_LISTCTRL
=no
8037 DEFAULT_wxUSE_NOTEBOOK
=no
8038 DEFAULT_wxUSE_RADIOBOX
=no
8039 DEFAULT_wxUSE_RADIOBTN
=no
8040 DEFAULT_wxUSE_SASH
=no
8041 DEFAULT_wxUSE_SCROLLBAR
=no
8042 DEFAULT_wxUSE_SLIDER
=no
8043 DEFAULT_wxUSE_SPINBTN
=no
8044 DEFAULT_wxUSE_SPINCTRL
=no
8045 DEFAULT_wxUSE_SPLITTER
=no
8046 DEFAULT_wxUSE_STATBMP
=no
8047 DEFAULT_wxUSE_STATBOX
=no
8048 DEFAULT_wxUSE_STATLINE
=no
8049 DEFAULT_wxUSE_STATUSBAR
=no
8050 DEFAULT_wxUSE_TAB_DIALOG
=no
8051 DEFAULT_wxUSE_TOGGLEBTN
=no
8052 DEFAULT_wxUSE_TOOLBAR
=no
8053 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
8054 DEFAULT_wxUSE_TOOLTIPS
=no
8055 DEFAULT_wxUSE_TREEBOOK
=no
8056 DEFAULT_wxUSE_TOOLBOOK
=no
8057 DEFAULT_wxUSE_TREECTRL
=no
8058 DEFAULT_wxUSE_POPUPWIN
=no
8059 DEFAULT_wxUSE_TIPWINDOW
=no
8064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8065 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8067 # Check whether --enable-accel or --disable-accel was given.
8068 if test "${enable_accel+set}" = set; then
8069 enableval
="$enable_accel"
8071 if test "$enableval" = yes; then
8072 ac_cv_use_accel
='wxUSE_ACCEL=yes'
8074 ac_cv_use_accel
='wxUSE_ACCEL=no'
8079 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8080 if test "x$LINE" != x
; then
8081 eval "DEFAULT_$LINE"
8086 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8090 eval "$ac_cv_use_accel"
8091 if test "$no_cache" != 1; then
8092 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8095 if test "$wxUSE_ACCEL" = yes; then
8096 echo "$as_me:$LINENO: result: yes" >&5
8097 echo "${ECHO_T}yes" >&6
8099 echo "$as_me:$LINENO: result: no" >&5
8100 echo "${ECHO_T}no" >&6
8105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8106 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8108 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8109 if test "${enable_animatectrl+set}" = set; then
8110 enableval
="$enable_animatectrl"
8112 if test "$enableval" = yes; then
8113 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
8115 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
8120 LINE
=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8121 if test "x$LINE" != x
; then
8122 eval "DEFAULT_$LINE"
8127 ac_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8131 eval "$ac_cv_use_animatectrl"
8132 if test "$no_cache" != 1; then
8133 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8136 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8137 echo "$as_me:$LINENO: result: yes" >&5
8138 echo "${ECHO_T}yes" >&6
8140 echo "$as_me:$LINENO: result: no" >&5
8141 echo "${ECHO_T}no" >&6
8146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8149 # Check whether --enable-button or --disable-button was given.
8150 if test "${enable_button+set}" = set; then
8151 enableval
="$enable_button"
8153 if test "$enableval" = yes; then
8154 ac_cv_use_button
='wxUSE_BUTTON=yes'
8156 ac_cv_use_button
='wxUSE_BUTTON=no'
8161 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8162 if test "x$LINE" != x
; then
8163 eval "DEFAULT_$LINE"
8168 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8172 eval "$ac_cv_use_button"
8173 if test "$no_cache" != 1; then
8174 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8177 if test "$wxUSE_BUTTON" = yes; then
8178 echo "$as_me:$LINENO: result: yes" >&5
8179 echo "${ECHO_T}yes" >&6
8181 echo "$as_me:$LINENO: result: no" >&5
8182 echo "${ECHO_T}no" >&6
8187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8190 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8191 if test "${enable_bmpbutton+set}" = set; then
8192 enableval
="$enable_bmpbutton"
8194 if test "$enableval" = yes; then
8195 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
8197 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
8202 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8203 if test "x$LINE" != x
; then
8204 eval "DEFAULT_$LINE"
8209 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8213 eval "$ac_cv_use_bmpbutton"
8214 if test "$no_cache" != 1; then
8215 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8218 if test "$wxUSE_BMPBUTTON" = yes; then
8219 echo "$as_me:$LINENO: result: yes" >&5
8220 echo "${ECHO_T}yes" >&6
8222 echo "$as_me:$LINENO: result: no" >&5
8223 echo "${ECHO_T}no" >&6
8228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8229 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8231 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8232 if test "${enable_bmpcombobox+set}" = set; then
8233 enableval
="$enable_bmpcombobox"
8235 if test "$enableval" = yes; then
8236 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
8238 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
8243 LINE
=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8244 if test "x$LINE" != x
; then
8245 eval "DEFAULT_$LINE"
8250 ac_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8254 eval "$ac_cv_use_bmpcombobox"
8255 if test "$no_cache" != 1; then
8256 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8259 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8260 echo "$as_me:$LINENO: result: yes" >&5
8261 echo "${ECHO_T}yes" >&6
8263 echo "$as_me:$LINENO: result: no" >&5
8264 echo "${ECHO_T}no" >&6
8269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8270 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8272 # Check whether --enable-calendar or --disable-calendar was given.
8273 if test "${enable_calendar+set}" = set; then
8274 enableval
="$enable_calendar"
8276 if test "$enableval" = yes; then
8277 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
8279 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
8284 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8285 if test "x$LINE" != x
; then
8286 eval "DEFAULT_$LINE"
8291 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8295 eval "$ac_cv_use_calendar"
8296 if test "$no_cache" != 1; then
8297 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8300 if test "$wxUSE_CALCTRL" = yes; then
8301 echo "$as_me:$LINENO: result: yes" >&5
8302 echo "${ECHO_T}yes" >&6
8304 echo "$as_me:$LINENO: result: no" >&5
8305 echo "${ECHO_T}no" >&6
8310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8313 # Check whether --enable-caret or --disable-caret was given.
8314 if test "${enable_caret+set}" = set; then
8315 enableval
="$enable_caret"
8317 if test "$enableval" = yes; then
8318 ac_cv_use_caret
='wxUSE_CARET=yes'
8320 ac_cv_use_caret
='wxUSE_CARET=no'
8325 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8326 if test "x$LINE" != x
; then
8327 eval "DEFAULT_$LINE"
8332 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8336 eval "$ac_cv_use_caret"
8337 if test "$no_cache" != 1; then
8338 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8341 if test "$wxUSE_CARET" = yes; then
8342 echo "$as_me:$LINENO: result: yes" >&5
8343 echo "${ECHO_T}yes" >&6
8345 echo "$as_me:$LINENO: result: no" >&5
8346 echo "${ECHO_T}no" >&6
8351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8352 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8354 # Check whether --enable-checkbox or --disable-checkbox was given.
8355 if test "${enable_checkbox+set}" = set; then
8356 enableval
="$enable_checkbox"
8358 if test "$enableval" = yes; then
8359 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
8361 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
8366 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8367 if test "x$LINE" != x
; then
8368 eval "DEFAULT_$LINE"
8373 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8377 eval "$ac_cv_use_checkbox"
8378 if test "$no_cache" != 1; then
8379 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8382 if test "$wxUSE_CHECKBOX" = yes; then
8383 echo "$as_me:$LINENO: result: yes" >&5
8384 echo "${ECHO_T}yes" >&6
8386 echo "$as_me:$LINENO: result: no" >&5
8387 echo "${ECHO_T}no" >&6
8392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8395 # Check whether --enable-checklst or --disable-checklst was given.
8396 if test "${enable_checklst+set}" = set; then
8397 enableval
="$enable_checklst"
8399 if test "$enableval" = yes; then
8400 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
8402 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
8407 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8408 if test "x$LINE" != x
; then
8409 eval "DEFAULT_$LINE"
8414 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8418 eval "$ac_cv_use_checklst"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8423 if test "$wxUSE_CHECKLST" = yes; then
8424 echo "$as_me:$LINENO: result: yes" >&5
8425 echo "${ECHO_T}yes" >&6
8427 echo "$as_me:$LINENO: result: no" >&5
8428 echo "${ECHO_T}no" >&6
8433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8436 # Check whether --enable-choice or --disable-choice was given.
8437 if test "${enable_choice+set}" = set; then
8438 enableval
="$enable_choice"
8440 if test "$enableval" = yes; then
8441 ac_cv_use_choice
='wxUSE_CHOICE=yes'
8443 ac_cv_use_choice
='wxUSE_CHOICE=no'
8448 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8449 if test "x$LINE" != x
; then
8450 eval "DEFAULT_$LINE"
8455 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8459 eval "$ac_cv_use_choice"
8460 if test "$no_cache" != 1; then
8461 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8464 if test "$wxUSE_CHOICE" = yes; then
8465 echo "$as_me:$LINENO: result: yes" >&5
8466 echo "${ECHO_T}yes" >&6
8468 echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6
8474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8475 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8477 # Check whether --enable-choicebook or --disable-choicebook was given.
8478 if test "${enable_choicebook+set}" = set; then
8479 enableval
="$enable_choicebook"
8481 if test "$enableval" = yes; then
8482 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
8484 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
8489 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x
; then
8491 eval "DEFAULT_$LINE"
8496 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8500 eval "$ac_cv_use_choicebook"
8501 if test "$no_cache" != 1; then
8502 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8505 if test "$wxUSE_CHOICEBOOK" = yes; then
8506 echo "$as_me:$LINENO: result: yes" >&5
8507 echo "${ECHO_T}yes" >&6
8509 echo "$as_me:$LINENO: result: no" >&5
8510 echo "${ECHO_T}no" >&6
8515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8516 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8518 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8519 if test "${enable_colourpicker+set}" = set; then
8520 enableval
="$enable_colourpicker"
8522 if test "$enableval" = yes; then
8523 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
8525 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
8530 LINE
=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8531 if test "x$LINE" != x
; then
8532 eval "DEFAULT_$LINE"
8537 ac_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8541 eval "$ac_cv_use_colourpicker"
8542 if test "$no_cache" != 1; then
8543 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8546 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8547 echo "$as_me:$LINENO: result: yes" >&5
8548 echo "${ECHO_T}yes" >&6
8550 echo "$as_me:$LINENO: result: no" >&5
8551 echo "${ECHO_T}no" >&6
8556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8559 # Check whether --enable-combobox or --disable-combobox was given.
8560 if test "${enable_combobox+set}" = set; then
8561 enableval
="$enable_combobox"
8563 if test "$enableval" = yes; then
8564 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
8566 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
8571 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8572 if test "x$LINE" != x
; then
8573 eval "DEFAULT_$LINE"
8578 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8582 eval "$ac_cv_use_combobox"
8583 if test "$no_cache" != 1; then
8584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8587 if test "$wxUSE_COMBOBOX" = yes; then
8588 echo "$as_me:$LINENO: result: yes" >&5
8589 echo "${ECHO_T}yes" >&6
8591 echo "$as_me:$LINENO: result: no" >&5
8592 echo "${ECHO_T}no" >&6
8597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8600 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8601 if test "${enable_comboctrl+set}" = set; then
8602 enableval
="$enable_comboctrl"
8604 if test "$enableval" = yes; then
8605 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
8607 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
8612 LINE
=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x
; then
8614 eval "DEFAULT_$LINE"
8619 ac_cv_use_comboctrl
='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8623 eval "$ac_cv_use_comboctrl"
8624 if test "$no_cache" != 1; then
8625 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8628 if test "$wxUSE_COMBOCTRL" = yes; then
8629 echo "$as_me:$LINENO: result: yes" >&5
8630 echo "${ECHO_T}yes" >&6
8632 echo "$as_me:$LINENO: result: no" >&5
8633 echo "${ECHO_T}no" >&6
8638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8639 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8641 # Check whether --enable-datepick or --disable-datepick was given.
8642 if test "${enable_datepick+set}" = set; then
8643 enableval
="$enable_datepick"
8645 if test "$enableval" = yes; then
8646 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
8648 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
8653 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8654 if test "x$LINE" != x
; then
8655 eval "DEFAULT_$LINE"
8660 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8664 eval "$ac_cv_use_datepick"
8665 if test "$no_cache" != 1; then
8666 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8669 if test "$wxUSE_DATEPICKCTRL" = yes; then
8670 echo "$as_me:$LINENO: result: yes" >&5
8671 echo "${ECHO_T}yes" >&6
8673 echo "$as_me:$LINENO: result: no" >&5
8674 echo "${ECHO_T}no" >&6
8679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8682 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8683 if test "${enable_dirpicker+set}" = set; then
8684 enableval
="$enable_dirpicker"
8686 if test "$enableval" = yes; then
8687 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
8689 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
8694 LINE
=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8695 if test "x$LINE" != x
; then
8696 eval "DEFAULT_$LINE"
8701 ac_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8705 eval "$ac_cv_use_dirpicker"
8706 if test "$no_cache" != 1; then
8707 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8710 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8711 echo "$as_me:$LINENO: result: yes" >&5
8712 echo "${ECHO_T}yes" >&6
8714 echo "$as_me:$LINENO: result: no" >&5
8715 echo "${ECHO_T}no" >&6
8720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8723 # Check whether --enable-display or --disable-display was given.
8724 if test "${enable_display+set}" = set; then
8725 enableval
="$enable_display"
8727 if test "$enableval" = yes; then
8728 ac_cv_use_display
='wxUSE_DISPLAY=yes'
8730 ac_cv_use_display
='wxUSE_DISPLAY=no'
8735 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8736 if test "x$LINE" != x
; then
8737 eval "DEFAULT_$LINE"
8742 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8746 eval "$ac_cv_use_display"
8747 if test "$no_cache" != 1; then
8748 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8751 if test "$wxUSE_DISPLAY" = yes; then
8752 echo "$as_me:$LINENO: result: yes" >&5
8753 echo "${ECHO_T}yes" >&6
8755 echo "$as_me:$LINENO: result: no" >&5
8756 echo "${ECHO_T}no" >&6
8761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8764 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8765 if test "${enable_detect_sm+set}" = set; then
8766 enableval
="$enable_detect_sm"
8768 if test "$enableval" = yes; then
8769 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
8771 ac_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
8776 LINE
=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8777 if test "x$LINE" != x
; then
8778 eval "DEFAULT_$LINE"
8783 ac_cv_use_detect_sm
='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8787 eval "$ac_cv_use_detect_sm"
8788 if test "$no_cache" != 1; then
8789 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8792 if test "$wxUSE_DETECT_SM" = yes; then
8793 echo "$as_me:$LINENO: result: yes" >&5
8794 echo "${ECHO_T}yes" >&6
8796 echo "$as_me:$LINENO: result: no" >&5
8797 echo "${ECHO_T}no" >&6
8802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8805 # Check whether --enable-filepicker or --disable-filepicker was given.
8806 if test "${enable_filepicker+set}" = set; then
8807 enableval
="$enable_filepicker"
8809 if test "$enableval" = yes; then
8810 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
8812 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
8817 LINE
=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8818 if test "x$LINE" != x
; then
8819 eval "DEFAULT_$LINE"
8824 ac_cv_use_filepicker
='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8828 eval "$ac_cv_use_filepicker"
8829 if test "$no_cache" != 1; then
8830 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8833 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8834 echo "$as_me:$LINENO: result: yes" >&5
8835 echo "${ECHO_T}yes" >&6
8837 echo "$as_me:$LINENO: result: no" >&5
8838 echo "${ECHO_T}no" >&6
8843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8846 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8847 if test "${enable_fontpicker+set}" = set; then
8848 enableval
="$enable_fontpicker"
8850 if test "$enableval" = yes; then
8851 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
8853 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
8858 LINE
=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8859 if test "x$LINE" != x
; then
8860 eval "DEFAULT_$LINE"
8865 ac_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8869 eval "$ac_cv_use_fontpicker"
8870 if test "$no_cache" != 1; then
8871 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8874 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8875 echo "$as_me:$LINENO: result: yes" >&5
8876 echo "${ECHO_T}yes" >&6
8878 echo "$as_me:$LINENO: result: no" >&5
8879 echo "${ECHO_T}no" >&6
8884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8885 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8887 # Check whether --enable-gauge or --disable-gauge was given.
8888 if test "${enable_gauge+set}" = set; then
8889 enableval
="$enable_gauge"
8891 if test "$enableval" = yes; then
8892 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
8894 ac_cv_use_gauge
='wxUSE_GAUGE=no'
8899 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8900 if test "x$LINE" != x
; then
8901 eval "DEFAULT_$LINE"
8906 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8910 eval "$ac_cv_use_gauge"
8911 if test "$no_cache" != 1; then
8912 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8915 if test "$wxUSE_GAUGE" = yes; then
8916 echo "$as_me:$LINENO: result: yes" >&5
8917 echo "${ECHO_T}yes" >&6
8919 echo "$as_me:$LINENO: result: no" >&5
8920 echo "${ECHO_T}no" >&6
8925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8928 # Check whether --enable-grid or --disable-grid was given.
8929 if test "${enable_grid+set}" = set; then
8930 enableval
="$enable_grid"
8932 if test "$enableval" = yes; then
8933 ac_cv_use_grid
='wxUSE_GRID=yes'
8935 ac_cv_use_grid
='wxUSE_GRID=no'
8940 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8941 if test "x$LINE" != x
; then
8942 eval "DEFAULT_$LINE"
8947 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8951 eval "$ac_cv_use_grid"
8952 if test "$no_cache" != 1; then
8953 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8956 if test "$wxUSE_GRID" = yes; then
8957 echo "$as_me:$LINENO: result: yes" >&5
8958 echo "${ECHO_T}yes" >&6
8960 echo "$as_me:$LINENO: result: no" >&5
8961 echo "${ECHO_T}no" >&6
8966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8969 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8970 if test "${enable_dataviewctrl+set}" = set; then
8971 enableval
="$enable_dataviewctrl"
8973 if test "$enableval" = yes; then
8974 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
8976 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
8981 LINE
=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8982 if test "x$LINE" != x
; then
8983 eval "DEFAULT_$LINE"
8988 ac_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8992 eval "$ac_cv_use_dataviewctrl"
8993 if test "$no_cache" != 1; then
8994 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8997 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8998 echo "$as_me:$LINENO: result: yes" >&5
8999 echo "${ECHO_T}yes" >&6
9001 echo "$as_me:$LINENO: result: no" >&5
9002 echo "${ECHO_T}no" >&6
9007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9008 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9010 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9011 if test "${enable_hyperlink+set}" = set; then
9012 enableval
="$enable_hyperlink"
9014 if test "$enableval" = yes; then
9015 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
9017 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
9022 LINE
=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9023 if test "x$LINE" != x
; then
9024 eval "DEFAULT_$LINE"
9029 ac_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9033 eval "$ac_cv_use_hyperlink"
9034 if test "$no_cache" != 1; then
9035 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9038 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9039 echo "$as_me:$LINENO: result: yes" >&5
9040 echo "${ECHO_T}yes" >&6
9042 echo "$as_me:$LINENO: result: no" >&5
9043 echo "${ECHO_T}no" >&6
9048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9051 # Check whether --enable-imaglist or --disable-imaglist was given.
9052 if test "${enable_imaglist+set}" = set; then
9053 enableval
="$enable_imaglist"
9055 if test "$enableval" = yes; then
9056 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
9058 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
9063 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9064 if test "x$LINE" != x
; then
9065 eval "DEFAULT_$LINE"
9070 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9074 eval "$ac_cv_use_imaglist"
9075 if test "$no_cache" != 1; then
9076 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9079 if test "$wxUSE_IMAGLIST" = yes; then
9080 echo "$as_me:$LINENO: result: yes" >&5
9081 echo "${ECHO_T}yes" >&6
9083 echo "$as_me:$LINENO: result: no" >&5
9084 echo "${ECHO_T}no" >&6
9089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9092 # Check whether --enable-listbook or --disable-listbook was given.
9093 if test "${enable_listbook+set}" = set; then
9094 enableval
="$enable_listbook"
9096 if test "$enableval" = yes; then
9097 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
9099 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
9104 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x
; then
9106 eval "DEFAULT_$LINE"
9111 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9115 eval "$ac_cv_use_listbook"
9116 if test "$no_cache" != 1; then
9117 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9120 if test "$wxUSE_LISTBOOK" = yes; then
9121 echo "$as_me:$LINENO: result: yes" >&5
9122 echo "${ECHO_T}yes" >&6
9124 echo "$as_me:$LINENO: result: no" >&5
9125 echo "${ECHO_T}no" >&6
9130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9131 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9133 # Check whether --enable-listbox or --disable-listbox was given.
9134 if test "${enable_listbox+set}" = set; then
9135 enableval
="$enable_listbox"
9137 if test "$enableval" = yes; then
9138 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
9140 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
9145 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x
; then
9147 eval "DEFAULT_$LINE"
9152 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9156 eval "$ac_cv_use_listbox"
9157 if test "$no_cache" != 1; then
9158 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9161 if test "$wxUSE_LISTBOX" = yes; then
9162 echo "$as_me:$LINENO: result: yes" >&5
9163 echo "${ECHO_T}yes" >&6
9165 echo "$as_me:$LINENO: result: no" >&5
9166 echo "${ECHO_T}no" >&6
9171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9172 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9174 # Check whether --enable-listctrl or --disable-listctrl was given.
9175 if test "${enable_listctrl+set}" = set; then
9176 enableval
="$enable_listctrl"
9178 if test "$enableval" = yes; then
9179 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
9181 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
9186 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9187 if test "x$LINE" != x
; then
9188 eval "DEFAULT_$LINE"
9193 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9197 eval "$ac_cv_use_listctrl"
9198 if test "$no_cache" != 1; then
9199 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9202 if test "$wxUSE_LISTCTRL" = yes; then
9203 echo "$as_me:$LINENO: result: yes" >&5
9204 echo "${ECHO_T}yes" >&6
9206 echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6
9212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9215 # Check whether --enable-notebook or --disable-notebook was given.
9216 if test "${enable_notebook+set}" = set; then
9217 enableval
="$enable_notebook"
9219 if test "$enableval" = yes; then
9220 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
9222 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
9227 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9228 if test "x$LINE" != x
; then
9229 eval "DEFAULT_$LINE"
9234 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9238 eval "$ac_cv_use_notebook"
9239 if test "$no_cache" != 1; then
9240 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9243 if test "$wxUSE_NOTEBOOK" = yes; then
9244 echo "$as_me:$LINENO: result: yes" >&5
9245 echo "${ECHO_T}yes" >&6
9247 echo "$as_me:$LINENO: result: no" >&5
9248 echo "${ECHO_T}no" >&6
9253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9256 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9257 if test "${enable_odcombobox+set}" = set; then
9258 enableval
="$enable_odcombobox"
9260 if test "$enableval" = yes; then
9261 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
9263 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
9268 LINE
=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x
; then
9270 eval "DEFAULT_$LINE"
9275 ac_cv_use_odcombobox
='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9279 eval "$ac_cv_use_odcombobox"
9280 if test "$no_cache" != 1; then
9281 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9284 if test "$wxUSE_ODCOMBOBOX" = yes; then
9285 echo "$as_me:$LINENO: result: yes" >&5
9286 echo "${ECHO_T}yes" >&6
9288 echo "$as_me:$LINENO: result: no" >&5
9289 echo "${ECHO_T}no" >&6
9294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9297 # Check whether --enable-radiobox or --disable-radiobox was given.
9298 if test "${enable_radiobox+set}" = set; then
9299 enableval
="$enable_radiobox"
9301 if test "$enableval" = yes; then
9302 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
9304 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
9309 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x
; then
9311 eval "DEFAULT_$LINE"
9316 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9320 eval "$ac_cv_use_radiobox"
9321 if test "$no_cache" != 1; then
9322 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9325 if test "$wxUSE_RADIOBOX" = yes; then
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9338 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9339 if test "${enable_radiobtn+set}" = set; then
9340 enableval
="$enable_radiobtn"
9342 if test "$enableval" = yes; then
9343 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
9345 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
9350 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x
; then
9352 eval "DEFAULT_$LINE"
9357 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9361 eval "$ac_cv_use_radiobtn"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9366 if test "$wxUSE_RADIOBTN" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9379 # Check whether --enable-sash or --disable-sash was given.
9380 if test "${enable_sash+set}" = set; then
9381 enableval
="$enable_sash"
9383 if test "$enableval" = yes; then
9384 ac_cv_use_sash
='wxUSE_SASH=yes'
9386 ac_cv_use_sash
='wxUSE_SASH=no'
9391 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x
; then
9393 eval "DEFAULT_$LINE"
9398 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9402 eval "$ac_cv_use_sash"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9407 if test "$wxUSE_SASH" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9420 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9421 if test "${enable_scrollbar+set}" = set; then
9422 enableval
="$enable_scrollbar"
9424 if test "$enableval" = yes; then
9425 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
9427 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
9432 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x
; then
9434 eval "DEFAULT_$LINE"
9439 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9443 eval "$ac_cv_use_scrollbar"
9444 if test "$no_cache" != 1; then
9445 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9448 if test "$wxUSE_SCROLLBAR" = yes; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9459 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9461 # Check whether --enable-slider or --disable-slider was given.
9462 if test "${enable_slider+set}" = set; then
9463 enableval
="$enable_slider"
9465 if test "$enableval" = yes; then
9466 ac_cv_use_slider
='wxUSE_SLIDER=yes'
9468 ac_cv_use_slider
='wxUSE_SLIDER=no'
9473 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x
; then
9475 eval "DEFAULT_$LINE"
9480 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9484 eval "$ac_cv_use_slider"
9485 if test "$no_cache" != 1; then
9486 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9489 if test "$wxUSE_SLIDER" = yes; then
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9493 echo "$as_me:$LINENO: result: no" >&5
9494 echo "${ECHO_T}no" >&6
9499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9502 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9503 if test "${enable_spinbtn+set}" = set; then
9504 enableval
="$enable_spinbtn"
9506 if test "$enableval" = yes; then
9507 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
9509 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
9514 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x
; then
9516 eval "DEFAULT_$LINE"
9521 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9525 eval "$ac_cv_use_spinbtn"
9526 if test "$no_cache" != 1; then
9527 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9530 if test "$wxUSE_SPINBTN" = yes; then
9531 echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9543 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9544 if test "${enable_spinctrl+set}" = set; then
9545 enableval
="$enable_spinctrl"
9547 if test "$enableval" = yes; then
9548 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
9550 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
9555 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x
; then
9557 eval "DEFAULT_$LINE"
9562 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9566 eval "$ac_cv_use_spinctrl"
9567 if test "$no_cache" != 1; then
9568 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9571 if test "$wxUSE_SPINCTRL" = yes; then
9572 echo "$as_me:$LINENO: result: yes" >&5
9573 echo "${ECHO_T}yes" >&6
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9584 # Check whether --enable-splitter or --disable-splitter was given.
9585 if test "${enable_splitter+set}" = set; then
9586 enableval
="$enable_splitter"
9588 if test "$enableval" = yes; then
9589 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
9591 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
9596 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x
; then
9598 eval "DEFAULT_$LINE"
9603 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9607 eval "$ac_cv_use_splitter"
9608 if test "$no_cache" != 1; then
9609 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9612 if test "$wxUSE_SPLITTER" = yes; then
9613 echo "$as_me:$LINENO: result: yes" >&5
9614 echo "${ECHO_T}yes" >&6
9616 echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6
9622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9625 # Check whether --enable-statbmp or --disable-statbmp was given.
9626 if test "${enable_statbmp+set}" = set; then
9627 enableval
="$enable_statbmp"
9629 if test "$enableval" = yes; then
9630 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
9632 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
9637 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9638 if test "x$LINE" != x
; then
9639 eval "DEFAULT_$LINE"
9644 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9648 eval "$ac_cv_use_statbmp"
9649 if test "$no_cache" != 1; then
9650 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9653 if test "$wxUSE_STATBMP" = yes; then
9654 echo "$as_me:$LINENO: result: yes" >&5
9655 echo "${ECHO_T}yes" >&6
9657 echo "$as_me:$LINENO: result: no" >&5
9658 echo "${ECHO_T}no" >&6
9663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9666 # Check whether --enable-statbox or --disable-statbox was given.
9667 if test "${enable_statbox+set}" = set; then
9668 enableval
="$enable_statbox"
9670 if test "$enableval" = yes; then
9671 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
9673 ac_cv_use_statbox
='wxUSE_STATBOX=no'
9678 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9679 if test "x$LINE" != x
; then
9680 eval "DEFAULT_$LINE"
9685 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9689 eval "$ac_cv_use_statbox"
9690 if test "$no_cache" != 1; then
9691 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9694 if test "$wxUSE_STATBOX" = yes; then
9695 echo "$as_me:$LINENO: result: yes" >&5
9696 echo "${ECHO_T}yes" >&6
9698 echo "$as_me:$LINENO: result: no" >&5
9699 echo "${ECHO_T}no" >&6
9704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9705 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9707 # Check whether --enable-statline or --disable-statline was given.
9708 if test "${enable_statline+set}" = set; then
9709 enableval
="$enable_statline"
9711 if test "$enableval" = yes; then
9712 ac_cv_use_statline
='wxUSE_STATLINE=yes'
9714 ac_cv_use_statline
='wxUSE_STATLINE=no'
9719 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9720 if test "x$LINE" != x
; then
9721 eval "DEFAULT_$LINE"
9726 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9730 eval "$ac_cv_use_statline"
9731 if test "$no_cache" != 1; then
9732 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9735 if test "$wxUSE_STATLINE" = yes; then
9736 echo "$as_me:$LINENO: result: yes" >&5
9737 echo "${ECHO_T}yes" >&6
9739 echo "$as_me:$LINENO: result: no" >&5
9740 echo "${ECHO_T}no" >&6
9745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9748 # Check whether --enable-stattext or --disable-stattext was given.
9749 if test "${enable_stattext+set}" = set; then
9750 enableval
="$enable_stattext"
9752 if test "$enableval" = yes; then
9753 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
9755 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
9760 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9761 if test "x$LINE" != x
; then
9762 eval "DEFAULT_$LINE"
9767 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9771 eval "$ac_cv_use_stattext"
9772 if test "$no_cache" != 1; then
9773 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9776 if test "$wxUSE_STATTEXT" = yes; then
9777 echo "$as_me:$LINENO: result: yes" >&5
9778 echo "${ECHO_T}yes" >&6
9780 echo "$as_me:$LINENO: result: no" >&5
9781 echo "${ECHO_T}no" >&6
9786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9787 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9789 # Check whether --enable-statusbar or --disable-statusbar was given.
9790 if test "${enable_statusbar+set}" = set; then
9791 enableval
="$enable_statusbar"
9793 if test "$enableval" = yes; then
9794 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
9796 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
9801 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9802 if test "x$LINE" != x
; then
9803 eval "DEFAULT_$LINE"
9808 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9812 eval "$ac_cv_use_statusbar"
9813 if test "$no_cache" != 1; then
9814 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9817 if test "$wxUSE_STATUSBAR" = yes; then
9818 echo "$as_me:$LINENO: result: yes" >&5
9819 echo "${ECHO_T}yes" >&6
9821 echo "$as_me:$LINENO: result: no" >&5
9822 echo "${ECHO_T}no" >&6
9827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9828 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9830 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9831 if test "${enable_tabdialog+set}" = set; then
9832 enableval
="$enable_tabdialog"
9834 if test "$enableval" = yes; then
9835 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=yes'
9837 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG=no'
9842 LINE
=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9843 if test "x$LINE" != x
; then
9844 eval "DEFAULT_$LINE"
9849 ac_cv_use_tabdialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9853 eval "$ac_cv_use_tabdialog"
9854 if test "$no_cache" != 1; then
9855 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9858 if test "$wxUSE_TAB_DIALOG" = yes; then
9859 echo "$as_me:$LINENO: result: yes" >&5
9860 echo "${ECHO_T}yes" >&6
9862 echo "$as_me:$LINENO: result: no" >&5
9863 echo "${ECHO_T}no" >&6
9868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9869 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9871 # Check whether --enable-textctrl or --disable-textctrl was given.
9872 if test "${enable_textctrl+set}" = set; then
9873 enableval
="$enable_textctrl"
9875 if test "$enableval" = yes; then
9876 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
9878 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
9883 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9884 if test "x$LINE" != x
; then
9885 eval "DEFAULT_$LINE"
9890 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9894 eval "$ac_cv_use_textctrl"
9895 if test "$no_cache" != 1; then
9896 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9899 if test "$wxUSE_TEXTCTRL" = yes; then
9900 echo "$as_me:$LINENO: result: yes" >&5
9901 echo "${ECHO_T}yes" >&6
9903 echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6
9909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9910 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9912 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9913 if test "${enable_togglebtn+set}" = set; then
9914 enableval
="$enable_togglebtn"
9916 if test "$enableval" = yes; then
9917 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
9919 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
9924 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9925 if test "x$LINE" != x
; then
9926 eval "DEFAULT_$LINE"
9931 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9935 eval "$ac_cv_use_togglebtn"
9936 if test "$no_cache" != 1; then
9937 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9940 if test "$wxUSE_TOGGLEBTN" = yes; then
9941 echo "$as_me:$LINENO: result: yes" >&5
9942 echo "${ECHO_T}yes" >&6
9944 echo "$as_me:$LINENO: result: no" >&5
9945 echo "${ECHO_T}no" >&6
9950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9953 # Check whether --enable-toolbar or --disable-toolbar was given.
9954 if test "${enable_toolbar+set}" = set; then
9955 enableval
="$enable_toolbar"
9957 if test "$enableval" = yes; then
9958 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
9960 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
9965 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9966 if test "x$LINE" != x
; then
9967 eval "DEFAULT_$LINE"
9972 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9976 eval "$ac_cv_use_toolbar"
9977 if test "$no_cache" != 1; then
9978 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9981 if test "$wxUSE_TOOLBAR" = yes; then
9982 echo "$as_me:$LINENO: result: yes" >&5
9983 echo "${ECHO_T}yes" >&6
9985 echo "$as_me:$LINENO: result: no" >&5
9986 echo "${ECHO_T}no" >&6
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9994 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9995 if test "${enable_tbarnative+set}" = set; then
9996 enableval
="$enable_tbarnative"
9998 if test "$enableval" = yes; then
9999 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
10001 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
10006 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x
; then
10008 eval "DEFAULT_$LINE"
10013 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10017 eval "$ac_cv_use_tbarnative"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10022 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10035 # Check whether --enable-treebook or --disable-treebook was given.
10036 if test "${enable_treebook+set}" = set; then
10037 enableval
="$enable_treebook"
10039 if test "$enableval" = yes; then
10040 ac_cv_use_treebook
='wxUSE_TREEBOOK=yes'
10042 ac_cv_use_treebook
='wxUSE_TREEBOOK=no'
10047 LINE
=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x
; then
10049 eval "DEFAULT_$LINE"
10054 ac_cv_use_treebook
='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10058 eval "$ac_cv_use_treebook"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10063 if test "$wxUSE_TREEBOOK" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10076 # Check whether --enable-toolbook or --disable-toolbook was given.
10077 if test "${enable_toolbook+set}" = set; then
10078 enableval
="$enable_toolbook"
10080 if test "$enableval" = yes; then
10081 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
10083 ac_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
10088 LINE
=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x
; then
10090 eval "DEFAULT_$LINE"
10095 ac_cv_use_toolbook
='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10099 eval "$ac_cv_use_toolbook"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10104 if test "$wxUSE_TOOLBOOK" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10117 # Check whether --enable-treectrl or --disable-treectrl was given.
10118 if test "${enable_treectrl+set}" = set; then
10119 enableval
="$enable_treectrl"
10121 if test "$enableval" = yes; then
10122 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
10124 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
10129 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x
; then
10131 eval "DEFAULT_$LINE"
10136 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10140 eval "$ac_cv_use_treectrl"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10145 if test "$wxUSE_TREECTRL" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10158 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10159 if test "${enable_tipwindow+set}" = set; then
10160 enableval
="$enable_tipwindow"
10162 if test "$enableval" = yes; then
10163 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
10165 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
10170 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x
; then
10172 eval "DEFAULT_$LINE"
10177 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10181 eval "$ac_cv_use_tipwindow"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10186 if test "$wxUSE_TIPWINDOW" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10199 # Check whether --enable-popupwin or --disable-popupwin was given.
10200 if test "${enable_popupwin+set}" = set; then
10201 enableval
="$enable_popupwin"
10203 if test "$enableval" = yes; then
10204 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
10206 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
10211 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x
; then
10213 eval "DEFAULT_$LINE"
10218 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10222 eval "$ac_cv_use_popupwin"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10227 if test "$wxUSE_POPUPWIN" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10242 # Check whether --enable-commondlg or --disable-commondlg was given.
10243 if test "${enable_commondlg+set}" = set; then
10244 enableval
="$enable_commondlg"
10246 if test "$enableval" = yes; then
10247 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
10249 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
10254 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10255 if test "x$LINE" != x
; then
10256 eval "DEFAULT_$LINE"
10261 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10265 eval "$ac_cv_use_commondlg"
10266 if test "$no_cache" != 1; then
10267 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10270 if test "$wxUSE_COMMONDLGS" = yes; then
10271 echo "$as_me:$LINENO: result: yes" >&5
10272 echo "${ECHO_T}yes" >&6
10274 echo "$as_me:$LINENO: result: no" >&5
10275 echo "${ECHO_T}no" >&6
10280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10281 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10283 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10284 if test "${enable_aboutdlg+set}" = set; then
10285 enableval
="$enable_aboutdlg"
10287 if test "$enableval" = yes; then
10288 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
10290 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
10295 LINE
=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10296 if test "x$LINE" != x
; then
10297 eval "DEFAULT_$LINE"
10302 ac_cv_use_aboutdlg
='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10306 eval "$ac_cv_use_aboutdlg"
10307 if test "$no_cache" != 1; then
10308 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10311 if test "$wxUSE_ABOUTDLG" = yes; then
10312 echo "$as_me:$LINENO: result: yes" >&5
10313 echo "${ECHO_T}yes" >&6
10315 echo "$as_me:$LINENO: result: no" >&5
10316 echo "${ECHO_T}no" >&6
10321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10322 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10324 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10325 if test "${enable_choicedlg+set}" = set; then
10326 enableval
="$enable_choicedlg"
10328 if test "$enableval" = yes; then
10329 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
10331 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
10336 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10337 if test "x$LINE" != x
; then
10338 eval "DEFAULT_$LINE"
10343 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10347 eval "$ac_cv_use_choicedlg"
10348 if test "$no_cache" != 1; then
10349 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10352 if test "$wxUSE_CHOICEDLG" = yes; then
10353 echo "$as_me:$LINENO: result: yes" >&5
10354 echo "${ECHO_T}yes" >&6
10356 echo "$as_me:$LINENO: result: no" >&5
10357 echo "${ECHO_T}no" >&6
10362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10363 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10365 # Check whether --enable-coldlg or --disable-coldlg was given.
10366 if test "${enable_coldlg+set}" = set; then
10367 enableval
="$enable_coldlg"
10369 if test "$enableval" = yes; then
10370 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
10372 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
10377 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10378 if test "x$LINE" != x
; then
10379 eval "DEFAULT_$LINE"
10384 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10388 eval "$ac_cv_use_coldlg"
10389 if test "$no_cache" != 1; then
10390 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10393 if test "$wxUSE_COLOURDLG" = yes; then
10394 echo "$as_me:$LINENO: result: yes" >&5
10395 echo "${ECHO_T}yes" >&6
10397 echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6
10403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10406 # Check whether --enable-filedlg or --disable-filedlg was given.
10407 if test "${enable_filedlg+set}" = set; then
10408 enableval
="$enable_filedlg"
10410 if test "$enableval" = yes; then
10411 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
10413 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
10418 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10419 if test "x$LINE" != x
; then
10420 eval "DEFAULT_$LINE"
10425 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10429 eval "$ac_cv_use_filedlg"
10430 if test "$no_cache" != 1; then
10431 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10434 if test "$wxUSE_FILEDLG" = yes; then
10435 echo "$as_me:$LINENO: result: yes" >&5
10436 echo "${ECHO_T}yes" >&6
10438 echo "$as_me:$LINENO: result: no" >&5
10439 echo "${ECHO_T}no" >&6
10444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10445 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10447 # Check whether --enable-finddlg or --disable-finddlg was given.
10448 if test "${enable_finddlg+set}" = set; then
10449 enableval
="$enable_finddlg"
10451 if test "$enableval" = yes; then
10452 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
10454 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
10459 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10460 if test "x$LINE" != x
; then
10461 eval "DEFAULT_$LINE"
10466 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10470 eval "$ac_cv_use_finddlg"
10471 if test "$no_cache" != 1; then
10472 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10475 if test "$wxUSE_FINDREPLDLG" = yes; then
10476 echo "$as_me:$LINENO: result: yes" >&5
10477 echo "${ECHO_T}yes" >&6
10479 echo "$as_me:$LINENO: result: no" >&5
10480 echo "${ECHO_T}no" >&6
10485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10488 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10489 if test "${enable_fontdlg+set}" = set; then
10490 enableval
="$enable_fontdlg"
10492 if test "$enableval" = yes; then
10493 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
10495 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
10500 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10501 if test "x$LINE" != x
; then
10502 eval "DEFAULT_$LINE"
10507 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10511 eval "$ac_cv_use_fontdlg"
10512 if test "$no_cache" != 1; then
10513 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10516 if test "$wxUSE_FONTDLG" = yes; then
10517 echo "$as_me:$LINENO: result: yes" >&5
10518 echo "${ECHO_T}yes" >&6
10520 echo "$as_me:$LINENO: result: no" >&5
10521 echo "${ECHO_T}no" >&6
10526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10527 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10529 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10530 if test "${enable_dirdlg+set}" = set; then
10531 enableval
="$enable_dirdlg"
10533 if test "$enableval" = yes; then
10534 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
10536 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
10541 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10542 if test "x$LINE" != x
; then
10543 eval "DEFAULT_$LINE"
10548 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10552 eval "$ac_cv_use_dirdlg"
10553 if test "$no_cache" != 1; then
10554 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10557 if test "$wxUSE_DIRDLG" = yes; then
10558 echo "$as_me:$LINENO: result: yes" >&5
10559 echo "${ECHO_T}yes" >&6
10561 echo "$as_me:$LINENO: result: no" >&5
10562 echo "${ECHO_T}no" >&6
10567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10568 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10570 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10571 if test "${enable_msgdlg+set}" = set; then
10572 enableval
="$enable_msgdlg"
10574 if test "$enableval" = yes; then
10575 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
10577 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
10582 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10583 if test "x$LINE" != x
; then
10584 eval "DEFAULT_$LINE"
10589 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10593 eval "$ac_cv_use_msgdlg"
10594 if test "$no_cache" != 1; then
10595 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10598 if test "$wxUSE_MSGDLG" = yes; then
10599 echo "$as_me:$LINENO: result: yes" >&5
10600 echo "${ECHO_T}yes" >&6
10602 echo "$as_me:$LINENO: result: no" >&5
10603 echo "${ECHO_T}no" >&6
10608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10609 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10611 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10612 if test "${enable_numberdlg+set}" = set; then
10613 enableval
="$enable_numberdlg"
10615 if test "$enableval" = yes; then
10616 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
10618 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
10623 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10624 if test "x$LINE" != x
; then
10625 eval "DEFAULT_$LINE"
10630 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10634 eval "$ac_cv_use_numberdlg"
10635 if test "$no_cache" != 1; then
10636 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10639 if test "$wxUSE_NUMBERDLG" = yes; then
10640 echo "$as_me:$LINENO: result: yes" >&5
10641 echo "${ECHO_T}yes" >&6
10643 echo "$as_me:$LINENO: result: no" >&5
10644 echo "${ECHO_T}no" >&6
10649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10650 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10652 # Check whether --enable-splash or --disable-splash was given.
10653 if test "${enable_splash+set}" = set; then
10654 enableval
="$enable_splash"
10656 if test "$enableval" = yes; then
10657 ac_cv_use_splash
='wxUSE_SPLASH=yes'
10659 ac_cv_use_splash
='wxUSE_SPLASH=no'
10664 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10665 if test "x$LINE" != x
; then
10666 eval "DEFAULT_$LINE"
10671 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10675 eval "$ac_cv_use_splash"
10676 if test "$no_cache" != 1; then
10677 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10680 if test "$wxUSE_SPLASH" = yes; then
10681 echo "$as_me:$LINENO: result: yes" >&5
10682 echo "${ECHO_T}yes" >&6
10684 echo "$as_me:$LINENO: result: no" >&5
10685 echo "${ECHO_T}no" >&6
10690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10691 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10693 # Check whether --enable-textdlg or --disable-textdlg was given.
10694 if test "${enable_textdlg+set}" = set; then
10695 enableval
="$enable_textdlg"
10697 if test "$enableval" = yes; then
10698 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
10700 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
10705 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10706 if test "x$LINE" != x
; then
10707 eval "DEFAULT_$LINE"
10712 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10716 eval "$ac_cv_use_textdlg"
10717 if test "$no_cache" != 1; then
10718 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10721 if test "$wxUSE_TEXTDLG" = yes; then
10722 echo "$as_me:$LINENO: result: yes" >&5
10723 echo "${ECHO_T}yes" >&6
10725 echo "$as_me:$LINENO: result: no" >&5
10726 echo "${ECHO_T}no" >&6
10731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10734 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10735 if test "${enable_tipdlg+set}" = set; then
10736 enableval
="$enable_tipdlg"
10738 if test "$enableval" = yes; then
10739 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
10741 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
10746 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10747 if test "x$LINE" != x
; then
10748 eval "DEFAULT_$LINE"
10753 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10757 eval "$ac_cv_use_tipdlg"
10758 if test "$no_cache" != 1; then
10759 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10762 if test "$wxUSE_STARTUP_TIPS" = yes; then
10763 echo "$as_me:$LINENO: result: yes" >&5
10764 echo "${ECHO_T}yes" >&6
10766 echo "$as_me:$LINENO: result: no" >&5
10767 echo "${ECHO_T}no" >&6
10772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10775 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10776 if test "${enable_progressdlg+set}" = set; then
10777 enableval
="$enable_progressdlg"
10779 if test "$enableval" = yes; then
10780 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
10782 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
10787 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10788 if test "x$LINE" != x
; then
10789 eval "DEFAULT_$LINE"
10794 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10798 eval "$ac_cv_use_progressdlg"
10799 if test "$no_cache" != 1; then
10800 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10803 if test "$wxUSE_PROGRESSDLG" = yes; then
10804 echo "$as_me:$LINENO: result: yes" >&5
10805 echo "${ECHO_T}yes" >&6
10807 echo "$as_me:$LINENO: result: no" >&5
10808 echo "${ECHO_T}no" >&6
10813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10816 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10817 if test "${enable_wizarddlg+set}" = set; then
10818 enableval
="$enable_wizarddlg"
10820 if test "$enableval" = yes; then
10821 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
10823 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
10828 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10829 if test "x$LINE" != x
; then
10830 eval "DEFAULT_$LINE"
10835 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10839 eval "$ac_cv_use_wizarddlg"
10840 if test "$no_cache" != 1; then
10841 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10844 if test "$wxUSE_WIZARDDLG" = yes; then
10845 echo "$as_me:$LINENO: result: yes" >&5
10846 echo "${ECHO_T}yes" >&6
10848 echo "$as_me:$LINENO: result: no" >&5
10849 echo "${ECHO_T}no" >&6
10856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10859 # Check whether --enable-menus or --disable-menus was given.
10860 if test "${enable_menus+set}" = set; then
10861 enableval
="$enable_menus"
10863 if test "$enableval" = yes; then
10864 ac_cv_use_menus
='wxUSE_MENUS=yes'
10866 ac_cv_use_menus
='wxUSE_MENUS=no'
10871 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10872 if test "x$LINE" != x
; then
10873 eval "DEFAULT_$LINE"
10878 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10882 eval "$ac_cv_use_menus"
10883 if test "$no_cache" != 1; then
10884 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10887 if test "$wxUSE_MENUS" = yes; then
10888 echo "$as_me:$LINENO: result: yes" >&5
10889 echo "${ECHO_T}yes" >&6
10891 echo "$as_me:$LINENO: result: no" >&5
10892 echo "${ECHO_T}no" >&6
10897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10900 # Check whether --enable-miniframe or --disable-miniframe was given.
10901 if test "${enable_miniframe+set}" = set; then
10902 enableval
="$enable_miniframe"
10904 if test "$enableval" = yes; then
10905 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
10907 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
10912 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10913 if test "x$LINE" != x
; then
10914 eval "DEFAULT_$LINE"
10919 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10923 eval "$ac_cv_use_miniframe"
10924 if test "$no_cache" != 1; then
10925 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10928 if test "$wxUSE_MINIFRAME" = yes; then
10929 echo "$as_me:$LINENO: result: yes" >&5
10930 echo "${ECHO_T}yes" >&6
10932 echo "$as_me:$LINENO: result: no" >&5
10933 echo "${ECHO_T}no" >&6
10938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10941 # Check whether --enable-tooltips or --disable-tooltips was given.
10942 if test "${enable_tooltips+set}" = set; then
10943 enableval
="$enable_tooltips"
10945 if test "$enableval" = yes; then
10946 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
10948 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
10953 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10954 if test "x$LINE" != x
; then
10955 eval "DEFAULT_$LINE"
10960 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10964 eval "$ac_cv_use_tooltips"
10965 if test "$no_cache" != 1; then
10966 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10969 if test "$wxUSE_TOOLTIPS" = yes; then
10970 echo "$as_me:$LINENO: result: yes" >&5
10971 echo "${ECHO_T}yes" >&6
10973 echo "$as_me:$LINENO: result: no" >&5
10974 echo "${ECHO_T}no" >&6
10979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10980 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10982 # Check whether --enable-splines or --disable-splines was given.
10983 if test "${enable_splines+set}" = set; then
10984 enableval
="$enable_splines"
10986 if test "$enableval" = yes; then
10987 ac_cv_use_splines
='wxUSE_SPLINES=yes'
10989 ac_cv_use_splines
='wxUSE_SPLINES=no'
10994 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10995 if test "x$LINE" != x
; then
10996 eval "DEFAULT_$LINE"
11001 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11005 eval "$ac_cv_use_splines"
11006 if test "$no_cache" != 1; then
11007 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11010 if test "$wxUSE_SPLINES" = yes; then
11011 echo "$as_me:$LINENO: result: yes" >&5
11012 echo "${ECHO_T}yes" >&6
11014 echo "$as_me:$LINENO: result: no" >&5
11015 echo "${ECHO_T}no" >&6
11020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11023 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11024 if test "${enable_mousewheel+set}" = set; then
11025 enableval
="$enable_mousewheel"
11027 if test "$enableval" = yes; then
11028 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
11030 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
11035 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11036 if test "x$LINE" != x
; then
11037 eval "DEFAULT_$LINE"
11042 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11046 eval "$ac_cv_use_mousewheel"
11047 if test "$no_cache" != 1; then
11048 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11051 if test "$wxUSE_MOUSEWHEEL" = yes; then
11052 echo "$as_me:$LINENO: result: yes" >&5
11053 echo "${ECHO_T}yes" >&6
11055 echo "$as_me:$LINENO: result: no" >&5
11056 echo "${ECHO_T}no" >&6
11061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11064 # Check whether --enable-validators or --disable-validators was given.
11065 if test "${enable_validators+set}" = set; then
11066 enableval
="$enable_validators"
11068 if test "$enableval" = yes; then
11069 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
11071 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
11076 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11077 if test "x$LINE" != x
; then
11078 eval "DEFAULT_$LINE"
11083 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11087 eval "$ac_cv_use_validators"
11088 if test "$no_cache" != 1; then
11089 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11092 if test "$wxUSE_VALIDATORS" = yes; then
11093 echo "$as_me:$LINENO: result: yes" >&5
11094 echo "${ECHO_T}yes" >&6
11096 echo "$as_me:$LINENO: result: no" >&5
11097 echo "${ECHO_T}no" >&6
11102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11105 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11106 if test "${enable_busyinfo+set}" = set; then
11107 enableval
="$enable_busyinfo"
11109 if test "$enableval" = yes; then
11110 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
11112 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
11117 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11118 if test "x$LINE" != x
; then
11119 eval "DEFAULT_$LINE"
11124 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11128 eval "$ac_cv_use_busyinfo"
11129 if test "$no_cache" != 1; then
11130 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11133 if test "$wxUSE_BUSYINFO" = yes; then
11134 echo "$as_me:$LINENO: result: yes" >&5
11135 echo "${ECHO_T}yes" >&6
11137 echo "$as_me:$LINENO: result: no" >&5
11138 echo "${ECHO_T}no" >&6
11143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11144 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11146 # Check whether --enable-joystick or --disable-joystick was given.
11147 if test "${enable_joystick+set}" = set; then
11148 enableval
="$enable_joystick"
11150 if test "$enableval" = yes; then
11151 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
11153 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
11158 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11159 if test "x$LINE" != x
; then
11160 eval "DEFAULT_$LINE"
11165 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11169 eval "$ac_cv_use_joystick"
11170 if test "$no_cache" != 1; then
11171 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11174 if test "$wxUSE_JOYSTICK" = yes; then
11175 echo "$as_me:$LINENO: result: yes" >&5
11176 echo "${ECHO_T}yes" >&6
11178 echo "$as_me:$LINENO: result: no" >&5
11179 echo "${ECHO_T}no" >&6
11184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11185 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11187 # Check whether --enable-metafile or --disable-metafile was given.
11188 if test "${enable_metafile+set}" = set; then
11189 enableval
="$enable_metafile"
11191 if test "$enableval" = yes; then
11192 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
11194 ac_cv_use_metafile
='wxUSE_METAFILE=no'
11199 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x
; then
11201 eval "DEFAULT_$LINE"
11206 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11210 eval "$ac_cv_use_metafile"
11211 if test "$no_cache" != 1; then
11212 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11215 if test "$wxUSE_METAFILE" = yes; then
11216 echo "$as_me:$LINENO: result: yes" >&5
11217 echo "${ECHO_T}yes" >&6
11219 echo "$as_me:$LINENO: result: no" >&5
11220 echo "${ECHO_T}no" >&6
11225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11226 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11228 # Check whether --enable-dragimage or --disable-dragimage was given.
11229 if test "${enable_dragimage+set}" = set; then
11230 enableval
="$enable_dragimage"
11232 if test "$enableval" = yes; then
11233 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
11235 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
11240 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11241 if test "x$LINE" != x
; then
11242 eval "DEFAULT_$LINE"
11247 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11251 eval "$ac_cv_use_dragimage"
11252 if test "$no_cache" != 1; then
11253 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11256 if test "$wxUSE_DRAGIMAGE" = yes; then
11257 echo "$as_me:$LINENO: result: yes" >&5
11258 echo "${ECHO_T}yes" >&6
11260 echo "$as_me:$LINENO: result: no" >&5
11261 echo "${ECHO_T}no" >&6
11266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11267 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11269 # Check whether --enable-accessibility or --disable-accessibility was given.
11270 if test "${enable_accessibility+set}" = set; then
11271 enableval
="$enable_accessibility"
11273 if test "$enableval" = yes; then
11274 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
11276 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
11281 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11282 if test "x$LINE" != x
; then
11283 eval "DEFAULT_$LINE"
11288 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11292 eval "$ac_cv_use_accessibility"
11293 if test "$no_cache" != 1; then
11294 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11297 if test "$wxUSE_ACCESSIBILITY" = yes; then
11298 echo "$as_me:$LINENO: result: yes" >&5
11299 echo "${ECHO_T}yes" >&6
11301 echo "$as_me:$LINENO: result: no" >&5
11302 echo "${ECHO_T}no" >&6
11306 if test "$wxUSE_MSW" = "1"; then
11309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11310 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11312 # Check whether --enable-dccache or --disable-dccache was given.
11313 if test "${enable_dccache+set}" = set; then
11314 enableval
="$enable_dccache"
11316 if test "$enableval" = yes; then
11317 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
11319 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
11324 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11325 if test "x$LINE" != x
; then
11326 eval "DEFAULT_$LINE"
11331 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11335 eval "$ac_cv_use_dccache"
11336 if test "$no_cache" != 1; then
11337 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11340 if test "$wxUSE_DC_CACHEING" = yes; then
11341 echo "$as_me:$LINENO: result: yes" >&5
11342 echo "${ECHO_T}yes" >&6
11344 echo "$as_me:$LINENO: result: no" >&5
11345 echo "${ECHO_T}no" >&6
11353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11356 # Check whether --enable-palette or --disable-palette was given.
11357 if test "${enable_palette+set}" = set; then
11358 enableval
="$enable_palette"
11360 if test "$enableval" = yes; then
11361 ac_cv_use_palette
='wxUSE_PALETTE=yes'
11363 ac_cv_use_palette
='wxUSE_PALETTE=no'
11368 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11369 if test "x$LINE" != x
; then
11370 eval "DEFAULT_$LINE"
11375 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11379 eval "$ac_cv_use_palette"
11380 if test "$no_cache" != 1; then
11381 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11384 if test "$wxUSE_PALETTE" = yes; then
11385 echo "$as_me:$LINENO: result: yes" >&5
11386 echo "${ECHO_T}yes" >&6
11388 echo "$as_me:$LINENO: result: no" >&5
11389 echo "${ECHO_T}no" >&6
11394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11395 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11397 # Check whether --enable-image or --disable-image was given.
11398 if test "${enable_image+set}" = set; then
11399 enableval
="$enable_image"
11401 if test "$enableval" = yes; then
11402 ac_cv_use_image
='wxUSE_IMAGE=yes'
11404 ac_cv_use_image
='wxUSE_IMAGE=no'
11409 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11410 if test "x$LINE" != x
; then
11411 eval "DEFAULT_$LINE"
11416 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11420 eval "$ac_cv_use_image"
11421 if test "$no_cache" != 1; then
11422 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11425 if test "$wxUSE_IMAGE" = yes; then
11426 echo "$as_me:$LINENO: result: yes" >&5
11427 echo "${ECHO_T}yes" >&6
11429 echo "$as_me:$LINENO: result: no" >&5
11430 echo "${ECHO_T}no" >&6
11435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11436 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11438 # Check whether --enable-gif or --disable-gif was given.
11439 if test "${enable_gif+set}" = set; then
11440 enableval
="$enable_gif"
11442 if test "$enableval" = yes; then
11443 ac_cv_use_gif
='wxUSE_GIF=yes'
11445 ac_cv_use_gif
='wxUSE_GIF=no'
11450 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11451 if test "x$LINE" != x
; then
11452 eval "DEFAULT_$LINE"
11457 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11461 eval "$ac_cv_use_gif"
11462 if test "$no_cache" != 1; then
11463 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11466 if test "$wxUSE_GIF" = yes; then
11467 echo "$as_me:$LINENO: result: yes" >&5
11468 echo "${ECHO_T}yes" >&6
11470 echo "$as_me:$LINENO: result: no" >&5
11471 echo "${ECHO_T}no" >&6
11476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11477 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11479 # Check whether --enable-pcx or --disable-pcx was given.
11480 if test "${enable_pcx+set}" = set; then
11481 enableval
="$enable_pcx"
11483 if test "$enableval" = yes; then
11484 ac_cv_use_pcx
='wxUSE_PCX=yes'
11486 ac_cv_use_pcx
='wxUSE_PCX=no'
11491 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11492 if test "x$LINE" != x
; then
11493 eval "DEFAULT_$LINE"
11498 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11502 eval "$ac_cv_use_pcx"
11503 if test "$no_cache" != 1; then
11504 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11507 if test "$wxUSE_PCX" = yes; then
11508 echo "$as_me:$LINENO: result: yes" >&5
11509 echo "${ECHO_T}yes" >&6
11511 echo "$as_me:$LINENO: result: no" >&5
11512 echo "${ECHO_T}no" >&6
11517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11520 # Check whether --enable-iff or --disable-iff was given.
11521 if test "${enable_iff+set}" = set; then
11522 enableval
="$enable_iff"
11524 if test "$enableval" = yes; then
11525 ac_cv_use_iff
='wxUSE_IFF=yes'
11527 ac_cv_use_iff
='wxUSE_IFF=no'
11532 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11533 if test "x$LINE" != x
; then
11534 eval "DEFAULT_$LINE"
11539 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11543 eval "$ac_cv_use_iff"
11544 if test "$no_cache" != 1; then
11545 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11548 if test "$wxUSE_IFF" = yes; then
11549 echo "$as_me:$LINENO: result: yes" >&5
11550 echo "${ECHO_T}yes" >&6
11552 echo "$as_me:$LINENO: result: no" >&5
11553 echo "${ECHO_T}no" >&6
11558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11561 # Check whether --enable-pnm or --disable-pnm was given.
11562 if test "${enable_pnm+set}" = set; then
11563 enableval
="$enable_pnm"
11565 if test "$enableval" = yes; then
11566 ac_cv_use_pnm
='wxUSE_PNM=yes'
11568 ac_cv_use_pnm
='wxUSE_PNM=no'
11573 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11574 if test "x$LINE" != x
; then
11575 eval "DEFAULT_$LINE"
11580 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11584 eval "$ac_cv_use_pnm"
11585 if test "$no_cache" != 1; then
11586 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11589 if test "$wxUSE_PNM" = yes; then
11590 echo "$as_me:$LINENO: result: yes" >&5
11591 echo "${ECHO_T}yes" >&6
11593 echo "$as_me:$LINENO: result: no" >&5
11594 echo "${ECHO_T}no" >&6
11599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11602 # Check whether --enable-xpm or --disable-xpm was given.
11603 if test "${enable_xpm+set}" = set; then
11604 enableval
="$enable_xpm"
11606 if test "$enableval" = yes; then
11607 ac_cv_use_xpm
='wxUSE_XPM=yes'
11609 ac_cv_use_xpm
='wxUSE_XPM=no'
11614 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11615 if test "x$LINE" != x
; then
11616 eval "DEFAULT_$LINE"
11621 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11625 eval "$ac_cv_use_xpm"
11626 if test "$no_cache" != 1; then
11627 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11630 if test "$wxUSE_XPM" = yes; then
11631 echo "$as_me:$LINENO: result: yes" >&5
11632 echo "${ECHO_T}yes" >&6
11634 echo "$as_me:$LINENO: result: no" >&5
11635 echo "${ECHO_T}no" >&6
11640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11641 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11643 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11644 if test "${enable_ico_cur+set}" = set; then
11645 enableval
="$enable_ico_cur"
11647 if test "$enableval" = yes; then
11648 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
11650 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
11655 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11656 if test "x$LINE" != x
; then
11657 eval "DEFAULT_$LINE"
11662 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11666 eval "$ac_cv_use_ico_cur"
11667 if test "$no_cache" != 1; then
11668 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11671 if test "$wxUSE_ICO_CUR" = yes; then
11672 echo "$as_me:$LINENO: result: yes" >&5
11673 echo "${ECHO_T}yes" >&6
11675 echo "$as_me:$LINENO: result: no" >&5
11676 echo "${ECHO_T}no" >&6
11684 # Check whether --with-flavour or --without-flavour was given.
11685 if test "${with_flavour+set}" = set; then
11686 withval
="$with_flavour"
11687 WX_FLAVOUR
="$withval"
11693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11696 # Check whether --enable-official_build or --disable-official_build was given.
11697 if test "${enable_official_build+set}" = set; then
11698 enableval
="$enable_official_build"
11700 if test "$enableval" = yes; then
11701 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
11703 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
11708 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11709 if test "x$LINE" != x
; then
11710 eval "DEFAULT_$LINE"
11715 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11719 eval "$ac_cv_use_official_build"
11720 if test "$no_cache" != 1; then
11721 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11724 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11725 echo "$as_me:$LINENO: result: yes" >&5
11726 echo "${ECHO_T}yes" >&6
11728 echo "$as_me:$LINENO: result: no" >&5
11729 echo "${ECHO_T}no" >&6
11732 # Check whether --enable-vendor or --disable-vendor was given.
11733 if test "${enable_vendor+set}" = set; then
11734 enableval
="$enable_vendor"
11735 VENDOR
="$enableval"
11737 if test "x$VENDOR" = "x"; then
11744 echo "saving argument cache $wx_arg_cache_file"
11745 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
11749 echo "$as_me:$LINENO: checking for toolkit" >&5
11750 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11752 # In Wine, we need to default to MSW, not GTK or MOTIF
11753 if test "$wxUSE_WINE" = "yes"; then
11754 DEFAULT_DEFAULT_wxUSE_GTK
=0
11755 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
11756 DEFAULT_DEFAULT_wxUSE_MSW
=1
11761 if test "$wxUSE_GUI" = "yes"; then
11763 if test "$USE_BEOS" = 1; then
11764 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11765 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11766 { (exit 1); exit 1; }; }
11769 if test "$TOOLKIT_GIVEN" = 1; then
11770 for toolkit
in `echo $ALL_TOOLKITS`; do
11772 eval "value=\$${var}"
11773 if test "x$value" = "xno"; then
11775 elif test "x$value" != "x"; then
11779 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11780 eval "wx${toolkit}_VERSION=$value"
11784 for toolkit
in `echo $ALL_TOOLKITS`; do
11785 if test "$has_toolkit_in_cache" != 1; then
11786 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
11788 var
=DEFAULT_wxUSE_
$toolkit
11790 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11791 if test "x$version" != "x"; then
11792 eval "wx${toolkit}_VERSION=$version"
11795 eval "wxUSE_$toolkit=\$${var}"
11799 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11800 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11801 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11804 *-pc-os2_emx | *-pc-os2-emx )
11805 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11808 case "$NUM_TOOLKITS" in
11812 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11813 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11814 { (exit 1); exit 1; }; }
11817 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11818 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11819 { (exit 1); exit 1; }; }
11822 # to be removed when --disable-gtk2 isn't needed
11823 if test "x$wxUSE_GTK2" = "xyes"; then
11825 elif test "x$wxUSE_GTK2" = "xno"; then
11829 for toolkit
in `echo $ALL_TOOLKITS`; do
11831 eval "value=\$${var}"
11832 if test "x$value" != x
; then
11833 cache_var
=CACHE_
$toolkit
11834 eval "cache=\$${cache_var}"
11835 if test "$cache" = 1; then
11836 echo "$var=$value" >> ${wx_arg_cache_file}
11837 eval "version=\$wx${toolkit}_VERSION"
11838 if test "x$version" != "x"; then
11839 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11842 if test "$value" = 1; then
11843 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11844 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11845 echo "${ECHO_T}$toolkit_echo" >&6
11850 if test "x$host_alias" != "x"; then
11851 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11852 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11854 echo "$as_me:$LINENO: result: base only" >&5
11855 echo "${ECHO_T}base only" >&6
11860 doesnt_want_win32
=0
11863 if test "$wxUSE_MSW" = 1 ; then
11865 BAKEFILE_FORCE_PLATFORM
=win32
11867 doesnt_want_win32
=1
11875 if test "$wxUSE_WINE" = "yes"; then
11879 LDFLAGS_GUI
="-mwindows"
11882 if test "$wants_win32" = 1 ; then
11885 cat >>confdefs.h
<<\_ACEOF
11886 #define __WIN32__ 1
11889 cat >>confdefs.h
<<\_ACEOF
11890 #define __WIN95__ 1
11893 cat >>confdefs.h
<<\_ACEOF
11894 #define __WINDOWS__ 1
11897 cat >>confdefs.h
<<\_ACEOF
11898 #define __GNUWIN32__ 1
11901 cat >>confdefs.h
<<\_ACEOF
11905 cat >>confdefs.h
<<\_ACEOF
11906 #define WINVER 0x0400
11910 if test "$doesnt_want_win32" = 1 ; then
11915 if test "$USE_UNIX" = 1 ; then
11917 cat >>confdefs.h
<<\_ACEOF
11924 cat >confcache
<<\_ACEOF
11925 # This file is a shell script that caches the results of configure
11926 # tests run on this system so they can be shared between configure
11927 # scripts and configure runs, see configure's option --config-cache.
11928 # It is not useful on other systems. If it contains results you don't
11929 # want to keep, you may remove or edit it.
11931 # config.status only pays attention to the cache file if you give it
11932 # the --recheck option to rerun configure.
11934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11936 # following values.
11940 # The following way of writing the cache mishandles newlines in values,
11941 # but we know of no workaround that is simple, portable, and efficient.
11942 # So, don't put newlines in cache variables' values.
11943 # Ultrix sh set writes to stderr and can't be redirected directly,
11944 # and sets the high bit in the cache file unless we assign to the vars.
11947 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11949 # `set' does not quote correctly, so add quotes (double-quote
11950 # substitution turns \\\\ into \\, and sed turns \\ into \).
11953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11956 # `set' quotes correctly as required by POSIX, so do not add quotes.
11958 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11965 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11967 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11969 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11970 if test -w $cache_file; then
11971 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11972 cat confcache
>$cache_file
11974 echo "not updating unwritable cache $cache_file"
11984 ac_cpp
='$CPP $CPPFLAGS'
11985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11988 if test -n "$ac_tool_prefix"; then
11989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11990 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11991 echo "$as_me:$LINENO: checking for $ac_word" >&5
11992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11993 if test "${ac_cv_prog_CC+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 if test -n "$CC"; then
11997 ac_cv_prog_CC
="$CC" # Let the user override the test.
11999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12000 for as_dir
in $PATH
12003 test -z "$as_dir" && as_dir
=.
12004 for ac_exec_ext
in '' $ac_executable_extensions; do
12005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12006 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12016 if test -n "$CC"; then
12017 echo "$as_me:$LINENO: result: $CC" >&5
12018 echo "${ECHO_T}$CC" >&6
12020 echo "$as_me:$LINENO: result: no" >&5
12021 echo "${ECHO_T}no" >&6
12025 if test -z "$ac_cv_prog_CC"; then
12027 # Extract the first word of "gcc", so it can be a program name with args.
12028 set dummy gcc
; ac_word
=$2
12029 echo "$as_me:$LINENO: checking for $ac_word" >&5
12030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12032 echo $ECHO_N "(cached) $ECHO_C" >&6
12034 if test -n "$ac_ct_CC"; then
12035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12038 for as_dir
in $PATH
12041 test -z "$as_dir" && as_dir
=.
12042 for ac_exec_ext
in '' $ac_executable_extensions; do
12043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12044 ac_cv_prog_ac_ct_CC
="gcc"
12045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12054 if test -n "$ac_ct_CC"; then
12055 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12056 echo "${ECHO_T}$ac_ct_CC" >&6
12058 echo "$as_me:$LINENO: result: no" >&5
12059 echo "${ECHO_T}no" >&6
12064 CC
="$ac_cv_prog_CC"
12067 if test -z "$CC"; then
12068 if test -n "$ac_tool_prefix"; then
12069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12070 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12071 echo "$as_me:$LINENO: checking for $ac_word" >&5
12072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12073 if test "${ac_cv_prog_CC+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 if test -n "$CC"; then
12077 ac_cv_prog_CC
="$CC" # Let the user override the test.
12079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12080 for as_dir
in $PATH
12083 test -z "$as_dir" && as_dir
=.
12084 for ac_exec_ext
in '' $ac_executable_extensions; do
12085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12086 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12096 if test -n "$CC"; then
12097 echo "$as_me:$LINENO: result: $CC" >&5
12098 echo "${ECHO_T}$CC" >&6
12100 echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6
12105 if test -z "$ac_cv_prog_CC"; then
12107 # Extract the first word of "cc", so it can be a program name with args.
12108 set dummy cc
; ac_word
=$2
12109 echo "$as_me:$LINENO: checking for $ac_word" >&5
12110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 if test -n "$ac_ct_CC"; then
12115 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12118 for as_dir
in $PATH
12121 test -z "$as_dir" && as_dir
=.
12122 for ac_exec_ext
in '' $ac_executable_extensions; do
12123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12124 ac_cv_prog_ac_ct_CC
="cc"
12125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12134 if test -n "$ac_ct_CC"; then
12135 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12136 echo "${ECHO_T}$ac_ct_CC" >&6
12138 echo "$as_me:$LINENO: result: no" >&5
12139 echo "${ECHO_T}no" >&6
12144 CC
="$ac_cv_prog_CC"
12148 if test -z "$CC"; then
12149 # Extract the first word of "cc", so it can be a program name with args.
12150 set dummy cc
; ac_word
=$2
12151 echo "$as_me:$LINENO: checking for $ac_word" >&5
12152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12153 if test "${ac_cv_prog_CC+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 if test -n "$CC"; then
12157 ac_cv_prog_CC
="$CC" # Let the user override the test.
12159 ac_prog_rejected
=no
12160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12161 for as_dir
in $PATH
12164 test -z "$as_dir" && as_dir
=.
12165 for ac_exec_ext
in '' $ac_executable_extensions; do
12166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12168 ac_prog_rejected
=yes
12172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12178 if test $ac_prog_rejected = yes; then
12179 # We found a bogon in the path, so make sure we never use it.
12180 set dummy
$ac_cv_prog_CC
12182 if test $# != 0; then
12183 # We chose a different compiler from the bogus one.
12184 # However, it has the same basename, so the bogon will be chosen
12185 # first if we set CC to just the basename; use the full file name.
12187 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12193 if test -n "$CC"; then
12194 echo "$as_me:$LINENO: result: $CC" >&5
12195 echo "${ECHO_T}$CC" >&6
12197 echo "$as_me:$LINENO: result: no" >&5
12198 echo "${ECHO_T}no" >&6
12202 if test -z "$CC"; then
12203 if test -n "$ac_tool_prefix"; then
12206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12207 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12208 echo "$as_me:$LINENO: checking for $ac_word" >&5
12209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12210 if test "${ac_cv_prog_CC+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 if test -n "$CC"; then
12214 ac_cv_prog_CC
="$CC" # Let the user override the test.
12216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12217 for as_dir
in $PATH
12220 test -z "$as_dir" && as_dir
=.
12221 for ac_exec_ext
in '' $ac_executable_extensions; do
12222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12223 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12233 if test -n "$CC"; then
12234 echo "$as_me:$LINENO: result: $CC" >&5
12235 echo "${ECHO_T}$CC" >&6
12237 echo "$as_me:$LINENO: result: no" >&5
12238 echo "${ECHO_T}no" >&6
12241 test -n "$CC" && break
12244 if test -z "$CC"; then
12248 # Extract the first word of "$ac_prog", so it can be a program name with args.
12249 set dummy
$ac_prog; ac_word
=$2
12250 echo "$as_me:$LINENO: checking for $ac_word" >&5
12251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 if test -n "$ac_ct_CC"; then
12256 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12259 for as_dir
in $PATH
12262 test -z "$as_dir" && as_dir
=.
12263 for ac_exec_ext
in '' $ac_executable_extensions; do
12264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12265 ac_cv_prog_ac_ct_CC
="$ac_prog"
12266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12274 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12275 if test -n "$ac_ct_CC"; then
12276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12277 echo "${ECHO_T}$ac_ct_CC" >&6
12279 echo "$as_me:$LINENO: result: no" >&5
12280 echo "${ECHO_T}no" >&6
12283 test -n "$ac_ct_CC" && break
12292 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12293 See \`config.log' for more details." >&5
12294 echo "$as_me: error: no acceptable C compiler found in \$PATH
12295 See \`config.log' for more details." >&2;}
12296 { (exit 1); exit 1; }; }
12298 # Provide some information about the compiler.
12299 echo "$as_me:$LINENO:" \
12300 "checking for C compiler version" >&5
12301 ac_compiler
=`set X $ac_compile; echo $2`
12302 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12303 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }
12307 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12308 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }
12312 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12313 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }
12318 cat >conftest.
$ac_ext <<_ACEOF
12321 cat confdefs.h
>>conftest.
$ac_ext
12322 cat >>conftest.
$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12333 ac_clean_files_save
=$ac_clean_files
12334 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12335 # Try to create an executable without -o first, disregard a.out.
12336 # It will help us diagnose broken compilers, and finding out an intuition
12338 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12339 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12340 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12342 (eval $ac_link_default) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; then
12346 # Find the output, starting from the most likely. This scheme is
12347 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12350 # Be careful to initialize this variable, since it used to be cached.
12351 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12353 # b.out is created by i960 compilers.
12354 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12356 test -f "$ac_file" || continue
12358 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12361 # This is the source file.
12364 # We found the default executable, but exeext='' is most
12368 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12369 # FIXME: I believe we export ac_cv_exeext for Libtool,
12370 # but it would be cool to find out if it's true. Does anybody
12371 # maintain Libtool? --akim.
12372 export ac_cv_exeext
12379 echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.
$ac_ext >&5
12382 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12383 See \`config.log' for more details." >&5
12384 echo "$as_me: error: C compiler cannot create executables
12385 See \`config.log' for more details." >&2;}
12386 { (exit 77); exit 77; }; }
12389 ac_exeext
=$ac_cv_exeext
12390 echo "$as_me:$LINENO: result: $ac_file" >&5
12391 echo "${ECHO_T}$ac_file" >&6
12393 # Check the compiler produces executables we can run. If not, either
12394 # the compiler is broken, or we cross compile.
12395 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12396 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12397 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12398 # If not cross compiling, check that we can run a simple program.
12399 if test "$cross_compiling" != yes; then
12400 if { ac_try
='./$ac_file'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12408 if test "$cross_compiling" = maybe
; then
12409 cross_compiling
=yes
12411 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12412 If you meant to cross compile, use \`--host'.
12413 See \`config.log' for more details." >&5
12414 echo "$as_me: error: cannot run C compiled programs.
12415 If you meant to cross compile, use \`--host'.
12416 See \`config.log' for more details." >&2;}
12417 { (exit 1); exit 1; }; }
12421 echo "$as_me:$LINENO: result: yes" >&5
12422 echo "${ECHO_T}yes" >&6
12424 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12425 ac_clean_files
=$ac_clean_files_save
12426 # Check the compiler produces executables we can run. If not, either
12427 # the compiler is broken, or we cross compile.
12428 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12429 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12430 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12431 echo "${ECHO_T}$cross_compiling" >&6
12433 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12434 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12436 (eval $ac_link) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; then
12440 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12441 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12442 # work properly (i.e., refer to `conftest.exe'), while it won't with
12444 for ac_file
in conftest.exe conftest conftest.
*; do
12445 test -f "$ac_file" || continue
12447 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12448 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12449 export ac_cv_exeext
12455 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12456 See \`config.log' for more details." >&5
12457 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12458 See \`config.log' for more details." >&2;}
12459 { (exit 1); exit 1; }; }
12462 rm -f conftest
$ac_cv_exeext
12463 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12464 echo "${ECHO_T}$ac_cv_exeext" >&6
12466 rm -f conftest.
$ac_ext
12467 EXEEXT
=$ac_cv_exeext
12469 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12470 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12471 if test "${ac_cv_objext+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12474 cat >conftest.
$ac_ext <<_ACEOF
12477 cat confdefs.h
>>conftest.
$ac_ext
12478 cat >>conftest.
$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12489 rm -f conftest.o conftest.obj
12490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12491 (eval $ac_compile) 2>&5
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); }; then
12495 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12497 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12498 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12503 echo "$as_me: failed program was:" >&5
12504 sed 's/^/| /' conftest.
$ac_ext >&5
12506 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12507 See \`config.log' for more details." >&5
12508 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12509 See \`config.log' for more details." >&2;}
12510 { (exit 1); exit 1; }; }
12513 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12515 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12516 echo "${ECHO_T}$ac_cv_objext" >&6
12517 OBJEXT
=$ac_cv_objext
12519 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12520 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12521 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12542 rm -f conftest.
$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>conftest.er1
12546 grep -v '^ *+' conftest.er1
>conftest.err
12548 cat conftest.err
>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } &&
12551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; } &&
12557 { ac_try
='test -s conftest.$ac_objext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_compiler_gnu
=yes
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.
$ac_ext >&5
12570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12571 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12574 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12575 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12576 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12577 ac_test_CFLAGS
=${CFLAGS+set}
12578 ac_save_CFLAGS
=$CFLAGS
12580 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12581 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12582 if test "${ac_cv_prog_cc_g+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 cat >conftest.
$ac_ext <<_ACEOF
12588 cat confdefs.h
>>conftest.
$ac_ext
12589 cat >>conftest.
$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12600 rm -f conftest.
$ac_objext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>conftest.er1
12604 grep -v '^ *+' conftest.er1
>conftest.err
12606 cat conftest.err
>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
12609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12611 (eval $ac_try) 2>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; } &&
12615 { ac_try
='test -s conftest.$ac_objext'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_prog_cc_g
=yes
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.
$ac_ext >&5
12628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12630 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12631 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12632 if test "$ac_test_CFLAGS" = set; then
12633 CFLAGS
=$ac_save_CFLAGS
12634 elif test $ac_cv_prog_cc_g = yes; then
12635 if test "$GCC" = yes; then
12641 if test "$GCC" = yes; then
12647 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12648 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12649 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 ac_cv_prog_cc_stdc
=no
12654 cat >conftest.
$ac_ext <<_ACEOF
12657 cat confdefs.h
>>conftest.
$ac_ext
12658 cat >>conftest.
$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 #include <stdarg.h>
12662 #include <sys/types.h>
12663 #include <sys/stat.h>
12664 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12665 struct buf { int x; };
12666 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12667 static char *e (p, i)
12673 static char *f (char * (*g) (char **, int), char **p, ...)
12678 s = g (p, va_arg (v,int));
12683 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12684 function prototypes and stuff, but not '\xHH' hex character constants.
12685 These don't provoke an error unfortunately, instead are silently treated
12686 as 'x'. The following induces an error, until -std1 is added to get
12687 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12688 array size at least. It's necessary to write '\x00'==0 to get something
12689 that's true only with -std1. */
12690 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12692 int test (int i, double x);
12693 struct s1 {int (*f) (int a);};
12694 struct s2 {int (*f) (double a);};
12695 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12701 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12706 # Don't try gcc -ansi; that turns off useful extensions and
12707 # breaks some systems' header files.
12708 # AIX -qlanglvl=ansi
12709 # Ultrix and OSF/1 -std1
12710 # HP-UX 10.20 and later -Ae
12711 # HP-UX older versions -Aa -D_HPUX_SOURCE
12712 # SVR4 -Xc -D__EXTENSIONS__
12713 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12715 CC
="$ac_save_CC $ac_arg"
12716 rm -f conftest.
$ac_objext
12717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12718 (eval $ac_compile) 2>conftest.er1
12720 grep -v '^ *+' conftest.er1
>conftest.err
12722 cat conftest.err
>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); } &&
12725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; } &&
12731 { ac_try
='test -s conftest.$ac_objext'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; }; then
12737 ac_cv_prog_cc_stdc
=$ac_arg
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.
$ac_ext >&5
12744 rm -f conftest.err conftest.
$ac_objext
12746 rm -f conftest.
$ac_ext conftest.
$ac_objext
12751 case "x$ac_cv_prog_cc_stdc" in
12753 echo "$as_me:$LINENO: result: none needed" >&5
12754 echo "${ECHO_T}none needed" >&6 ;;
12756 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12757 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12758 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12761 # Some people use a C++ compiler to compile C. Since we use `exit',
12762 # in C++ we need to declare it. In case someone uses the same compiler
12763 # for both compiling C and C++ we need to have the C++ compiler decide
12764 # the declaration of exit, since it's the most demanding environment.
12765 cat >conftest.
$ac_ext <<_ACEOF
12766 #ifndef __cplusplus
12770 rm -f conftest.
$ac_objext
12771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12772 (eval $ac_compile) 2>conftest.er1
12774 grep -v '^ *+' conftest.er1
>conftest.err
12776 cat conftest.err
>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } &&
12779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; } &&
12785 { ac_try
='test -s conftest.$ac_objext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 for ac_declaration
in \
12793 'extern "C" void std::exit (int) throw (); using std::exit;' \
12794 'extern "C" void std::exit (int); using std::exit;' \
12795 'extern "C" void exit (int) throw ();' \
12796 'extern "C" void exit (int);' \
12799 cat >conftest.
$ac_ext <<_ACEOF
12802 cat confdefs.h
>>conftest.
$ac_ext
12803 cat >>conftest.
$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12806 #include <stdlib.h>
12815 rm -f conftest.
$ac_objext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12817 (eval $ac_compile) 2>conftest.er1
12819 grep -v '^ *+' conftest.er1
>conftest.err
12821 cat conftest.err
>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } &&
12824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try
='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.
$ac_ext >&5
12843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12844 cat >conftest.
$ac_ext <<_ACEOF
12847 cat confdefs.h
>>conftest.
$ac_ext
12848 cat >>conftest.
$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12859 rm -f conftest.
$ac_objext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12861 (eval $ac_compile) 2>conftest.er1
12863 grep -v '^ *+' conftest.er1
>conftest.err
12865 cat conftest.err
>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12870 (eval $ac_try) 2>&5
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); }; } &&
12874 { ac_try
='test -s conftest.$ac_objext'
12875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12876 (eval $ac_try) 2>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); }; }; then
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.
$ac_ext >&5
12886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12889 if test -n "$ac_declaration"; then
12890 echo '#ifdef __cplusplus' >>confdefs.h
12891 echo $ac_declaration >>confdefs.h
12892 echo '#endif' >>confdefs.h
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.
$ac_ext >&5
12900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12902 ac_cpp
='$CPP $CPPFLAGS'
12903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12910 ac_cpp
='$CPP $CPPFLAGS'
12911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12915 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12916 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12917 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12920 cat >conftest.
$ac_ext <<_ACEOF
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12931 #ifndef __INTEL_COMPILER
12939 rm -f conftest.
$ac_objext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 (eval $ac_compile) 2>conftest.er1
12943 grep -v '^ *+' conftest.er1
>conftest.err
12945 cat conftest.err
>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } &&
12948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; } &&
12954 { ac_try
='test -s conftest.$ac_objext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.
$ac_ext >&5
12965 bakefile_cv_c_compiler___INTEL_COMPILER
=no
12968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12972 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12973 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12975 ac_cpp
='$CPP $CPPFLAGS'
12976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12980 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12987 if test "x$GCC" != "xyes"; then
12988 if test "xCC" = "xC"; then
12989 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12990 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12991 if test "${bakefile_cv_c_exto+set}" = set; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 cat >conftest.
$ac_ext <<_ACEOF
12997 cat confdefs.h
>>conftest.
$ac_ext
12998 cat >>conftest.
$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13009 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13011 (eval $ac_compile) 2>&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; then
13015 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13017 conftest.
$ac_ext.o
)
13018 bakefile_cv_c_exto
="-ext o"
13025 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13026 See \`config.log' for more details." >&5
13027 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13028 See \`config.log' for more details." >&2;}
13029 { (exit 1); exit 1; }; }
13033 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13036 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13037 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13038 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13039 if test "c" = "c"; then
13040 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13042 if test "c" = "cxx"; then
13043 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13047 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13048 unset ac_cv_prog_cc_g
13049 ac_test_CFLAGS
=${CFLAGS+set}
13050 ac_save_CFLAGS
=$CFLAGS
13052 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13053 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13054 if test "${ac_cv_prog_cc_g+set}" = set; then
13055 echo $ECHO_N "(cached) $ECHO_C" >&6
13057 cat >conftest.
$ac_ext <<_ACEOF
13060 cat confdefs.h
>>conftest.
$ac_ext
13061 cat >>conftest.
$ac_ext <<_ACEOF
13062 /* end confdefs.h. */
13072 rm -f conftest.
$ac_objext
13073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13074 (eval $ac_compile) 2>conftest.er1
13076 grep -v '^ *+' conftest.er1
>conftest.err
13078 cat conftest.err
>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } &&
13081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; } &&
13087 { ac_try
='test -s conftest.$ac_objext'
13088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13089 (eval $ac_try) 2>&5
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; }; then
13093 ac_cv_prog_cc_g
=yes
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.
$ac_ext >&5
13100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13102 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13103 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13104 if test "$ac_test_CFLAGS" = set; then
13105 CFLAGS
=$ac_save_CFLAGS
13106 elif test $ac_cv_prog_cc_g = yes; then
13107 if test "$GCC" = yes; then
13113 if test "$GCC" = yes; then
13125 ac_cpp
='$CPP $CPPFLAGS'
13126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13130 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13131 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13132 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13135 cat >conftest.
$ac_ext <<_ACEOF
13138 cat confdefs.h
>>conftest.
$ac_ext
13139 cat >>conftest.
$ac_ext <<_ACEOF
13140 /* end confdefs.h. */
13153 rm -f conftest.
$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13157 grep -v '^ *+' conftest.er1
>conftest.err
13159 cat conftest.err
>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; } &&
13168 { ac_try
='test -s conftest.$ac_objext'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13174 bakefile_compiler_xlc
=yes
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.
$ac_ext >&5
13179 bakefile_compiler_xlc
=no
13181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13182 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13185 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13186 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13188 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13190 ac_cpp
='$CPP $CPPFLAGS'
13191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13200 ac_cpp
='$CPP $CPPFLAGS'
13201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13205 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13206 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13207 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13208 echo $ECHO_N "(cached) $ECHO_C" >&6
13210 cat >conftest.
$ac_ext <<_ACEOF
13213 cat confdefs.h
>>conftest.
$ac_ext
13214 cat >>conftest.
$ac_ext <<_ACEOF
13215 /* end confdefs.h. */
13228 rm -f conftest.
$ac_objext
13229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13230 (eval $ac_compile) 2>conftest.er1
13232 grep -v '^ *+' conftest.er1
>conftest.err
13234 cat conftest.err
>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } &&
13237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; } &&
13243 { ac_try
='test -s conftest.$ac_objext'
13244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 (eval $ac_try) 2>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13249 bakefile_compiler_mwerks
=yes
13251 echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.
$ac_ext >&5
13254 bakefile_compiler_mwerks
=no
13256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13257 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13260 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13261 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13263 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13265 ac_cpp
='$CPP $CPPFLAGS'
13266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13272 ac_cpp
='$CPP $CPPFLAGS'
13273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13277 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13278 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13279 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 cat >conftest.
$ac_ext <<_ACEOF
13285 cat confdefs.h
>>conftest.
$ac_ext
13286 cat >>conftest.
$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13300 rm -f conftest.
$ac_objext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13302 (eval $ac_compile) 2>conftest.er1
13304 grep -v '^ *+' conftest.er1
>conftest.err
13306 cat conftest.err
>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; } &&
13315 { ac_try
='test -s conftest.$ac_objext'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 bakefile_compiler_xlc
=yes
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.
$ac_ext >&5
13326 bakefile_compiler_xlc
=no
13328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13329 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13332 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13333 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13335 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13337 ac_cpp
='$CPP $CPPFLAGS'
13338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13349 ac_cpp
='$CPP $CPPFLAGS'
13350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13354 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13355 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13356 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 cat >conftest.
$ac_ext <<_ACEOF
13362 cat confdefs.h
>>conftest.
$ac_ext
13363 cat >>conftest.
$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13370 #ifndef _SGI_COMPILER_VERSION
13378 rm -f conftest.
$ac_objext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13380 (eval $ac_compile) 2>conftest.er1
13382 grep -v '^ *+' conftest.er1
>conftest.err
13384 cat conftest.err
>&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; } &&
13393 { ac_try
='test -s conftest.$ac_objext'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; }; then
13399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.
$ac_ext >&5
13404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13411 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13412 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13414 ac_cpp
='$CPP $CPPFLAGS'
13415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13419 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13432 ac_cpp
='$CPP $CPPFLAGS'
13433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13437 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13438 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13439 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13442 cat >conftest.
$ac_ext <<_ACEOF
13445 cat confdefs.h
>>conftest.
$ac_ext
13446 cat >>conftest.
$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13461 rm -f conftest.
$ac_objext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 (eval $ac_compile) 2>conftest.er1
13465 grep -v '^ *+' conftest.er1
>conftest.err
13467 cat conftest.err
>&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); } &&
13470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try
='test -s conftest.$ac_objext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 bakefile_cv_c_compiler___HP_cc
=yes
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.
$ac_ext >&5
13487 bakefile_cv_c_compiler___HP_cc
=no
13490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13494 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13495 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13497 ac_cpp
='$CPP $CPPFLAGS'
13498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13502 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13515 ac_cpp
='$CPP $CPPFLAGS'
13516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13520 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13521 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13522 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 cat >conftest.
$ac_ext <<_ACEOF
13528 cat confdefs.h
>>conftest.
$ac_ext
13529 cat >>conftest.
$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13544 rm -f conftest.
$ac_objext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13546 (eval $ac_compile) 2>conftest.er1
13548 grep -v '^ *+' conftest.er1
>conftest.err
13550 cat conftest.err
>&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try
='test -s conftest.$ac_objext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 bakefile_cv_c_compiler___DECC
=yes
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.
$ac_ext >&5
13570 bakefile_cv_c_compiler___DECC
=no
13573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13577 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13578 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13580 ac_cpp
='$CPP $CPPFLAGS'
13581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13585 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13598 ac_cpp
='$CPP $CPPFLAGS'
13599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13603 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13604 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13605 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 cat >conftest.
$ac_ext <<_ACEOF
13611 cat confdefs.h
>>conftest.
$ac_ext
13612 cat >>conftest.
$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13627 rm -f conftest.
$ac_objext
13628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13629 (eval $ac_compile) 2>conftest.er1
13631 grep -v '^ *+' conftest.er1
>conftest.err
13633 cat conftest.err
>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } &&
13636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; } &&
13642 { ac_try
='test -s conftest.$ac_objext'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; }; then
13648 bakefile_cv_c_compiler___SUNPRO_C
=yes
13650 echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.
$ac_ext >&5
13653 bakefile_cv_c_compiler___SUNPRO_C
=no
13656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13660 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13661 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13663 ac_cpp
='$CPP $CPPFLAGS'
13664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13668 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13682 ac_cpp
='$CPP $CPPFLAGS'
13683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13686 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13687 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13688 # On Suns, sometimes $CPP names a directory.
13689 if test -n "$CPP" && test -d "$CPP"; then
13692 if test -z "$CPP"; then
13693 if test "${ac_cv_prog_CPP+set}" = set; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 # Double quotes because CPP needs to be expanded
13697 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13699 ac_preproc_ok
=false
13700 for ac_c_preproc_warn_flag
in '' yes
13702 # Use a header file that comes with gcc, so configuring glibc
13703 # with a fresh cross-compiler works.
13704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13705 # <limits.h> exists even on freestanding compilers.
13706 # On the NeXT, cc -E runs the code through the compiler's parser,
13707 # not just through cpp. "Syntax error" is here to catch this case.
13708 cat >conftest.
$ac_ext <<_ACEOF
13711 cat confdefs.h
>>conftest.
$ac_ext
13712 cat >>conftest.
$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13715 # include <limits.h>
13717 # include <assert.h>
13721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13724 grep -v '^ *+' conftest.er1
>conftest.err
13726 cat conftest.err
>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } >/dev
/null
; then
13729 if test -s conftest.err
; then
13730 ac_cpp_err
=$ac_c_preproc_warn_flag
13731 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13738 if test -z "$ac_cpp_err"; then
13741 echo "$as_me: failed program was:" >&5
13742 sed 's/^/| /' conftest.
$ac_ext >&5
13744 # Broken: fails on valid input.
13747 rm -f conftest.err conftest.
$ac_ext
13749 # OK, works on sane cases. Now check whether non-existent headers
13750 # can be detected and how.
13751 cat >conftest.
$ac_ext <<_ACEOF
13754 cat confdefs.h
>>conftest.
$ac_ext
13755 cat >>conftest.
$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 #include <ac_nonexistent.h>
13759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13762 grep -v '^ *+' conftest.er1
>conftest.err
13764 cat conftest.err
>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } >/dev
/null
; then
13767 if test -s conftest.err
; then
13768 ac_cpp_err
=$ac_c_preproc_warn_flag
13769 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13776 if test -z "$ac_cpp_err"; then
13777 # Broken: success on invalid input.
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.
$ac_ext >&5
13783 # Passes both tests.
13787 rm -f conftest.err conftest.
$ac_ext
13790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13791 rm -f conftest.err conftest.
$ac_ext
13792 if $ac_preproc_ok; then
13797 ac_cv_prog_CPP
=$CPP
13800 CPP
=$ac_cv_prog_CPP
13802 ac_cv_prog_CPP
=$CPP
13804 echo "$as_me:$LINENO: result: $CPP" >&5
13805 echo "${ECHO_T}$CPP" >&6
13806 ac_preproc_ok
=false
13807 for ac_c_preproc_warn_flag
in '' yes
13809 # Use a header file that comes with gcc, so configuring glibc
13810 # with a fresh cross-compiler works.
13811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13812 # <limits.h> exists even on freestanding compilers.
13813 # On the NeXT, cc -E runs the code through the compiler's parser,
13814 # not just through cpp. "Syntax error" is here to catch this case.
13815 cat >conftest.
$ac_ext <<_ACEOF
13818 cat confdefs.h
>>conftest.
$ac_ext
13819 cat >>conftest.
$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13822 # include <limits.h>
13824 # include <assert.h>
13828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13831 grep -v '^ *+' conftest.er1
>conftest.err
13833 cat conftest.err
>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } >/dev
/null
; then
13836 if test -s conftest.err
; then
13837 ac_cpp_err
=$ac_c_preproc_warn_flag
13838 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13845 if test -z "$ac_cpp_err"; then
13848 echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.
$ac_ext >&5
13851 # Broken: fails on valid input.
13854 rm -f conftest.err conftest.
$ac_ext
13856 # OK, works on sane cases. Now check whether non-existent headers
13857 # can be detected and how.
13858 cat >conftest.
$ac_ext <<_ACEOF
13861 cat confdefs.h
>>conftest.
$ac_ext
13862 cat >>conftest.
$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 #include <ac_nonexistent.h>
13866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13869 grep -v '^ *+' conftest.er1
>conftest.err
13871 cat conftest.err
>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } >/dev
/null
; then
13874 if test -s conftest.err
; then
13875 ac_cpp_err
=$ac_c_preproc_warn_flag
13876 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13883 if test -z "$ac_cpp_err"; then
13884 # Broken: success on invalid input.
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.
$ac_ext >&5
13890 # Passes both tests.
13894 rm -f conftest.err conftest.
$ac_ext
13897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13898 rm -f conftest.err conftest.
$ac_ext
13899 if $ac_preproc_ok; then
13902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13903 See \`config.log' for more details." >&5
13904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13905 See \`config.log' for more details." >&2;}
13906 { (exit 1); exit 1; }; }
13910 ac_cpp
='$CPP $CPPFLAGS'
13911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13916 echo "$as_me:$LINENO: checking for egrep" >&5
13917 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13918 if test "${ac_cv_prog_egrep+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
13922 then ac_cv_prog_egrep
='grep -E'
13923 else ac_cv_prog_egrep
='egrep'
13926 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13927 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13928 EGREP
=$ac_cv_prog_egrep
13931 if test $ac_cv_c_compiler_gnu = yes; then
13932 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13933 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13934 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 ac_pattern
="Autoconf.*'x'"
13938 cat >conftest.
$ac_ext <<_ACEOF
13941 cat confdefs.h
>>conftest.
$ac_ext
13942 cat >>conftest.
$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13948 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13949 ac_cv_prog_gcc_traditional
=yes
13951 ac_cv_prog_gcc_traditional
=no
13956 if test $ac_cv_prog_gcc_traditional = no
; then
13957 cat >conftest.
$ac_ext <<_ACEOF
13960 cat confdefs.h
>>conftest.
$ac_ext
13961 cat >>conftest.
$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 #include <termio.h>
13966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13967 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
13968 ac_cv_prog_gcc_traditional
=yes
13974 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13975 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13976 if test $ac_cv_prog_gcc_traditional = yes; then
13977 CC
="$CC -traditional"
13983 ac_cpp
='$CXXCPP $CPPFLAGS'
13984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13989 CXXFLAGS
=${CXXFLAGS:=}
13994 ac_cpp
='$CXXCPP $CPPFLAGS'
13995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13998 if test -n "$ac_tool_prefix"; then
13999 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14002 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14003 echo "$as_me:$LINENO: checking for $ac_word" >&5
14004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14005 if test "${ac_cv_prog_CXX+set}" = set; then
14006 echo $ECHO_N "(cached) $ECHO_C" >&6
14008 if test -n "$CXX"; then
14009 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14012 for as_dir
in $PATH
14015 test -z "$as_dir" && as_dir
=.
14016 for ac_exec_ext
in '' $ac_executable_extensions; do
14017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14018 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14027 CXX
=$ac_cv_prog_CXX
14028 if test -n "$CXX"; then
14029 echo "$as_me:$LINENO: result: $CXX" >&5
14030 echo "${ECHO_T}$CXX" >&6
14032 echo "$as_me:$LINENO: result: no" >&5
14033 echo "${ECHO_T}no" >&6
14036 test -n "$CXX" && break
14039 if test -z "$CXX"; then
14041 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14043 # Extract the first word of "$ac_prog", so it can be a program name with args.
14044 set dummy
$ac_prog; ac_word
=$2
14045 echo "$as_me:$LINENO: checking for $ac_word" >&5
14046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14047 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 if test -n "$ac_ct_CXX"; then
14051 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14054 for as_dir
in $PATH
14057 test -z "$as_dir" && as_dir
=.
14058 for ac_exec_ext
in '' $ac_executable_extensions; do
14059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14060 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14069 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14070 if test -n "$ac_ct_CXX"; then
14071 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14072 echo "${ECHO_T}$ac_ct_CXX" >&6
14074 echo "$as_me:$LINENO: result: no" >&5
14075 echo "${ECHO_T}no" >&6
14078 test -n "$ac_ct_CXX" && break
14080 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14086 # Provide some information about the compiler.
14087 echo "$as_me:$LINENO:" \
14088 "checking for C++ compiler version" >&5
14089 ac_compiler
=`set X $ac_compile; echo $2`
14090 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14091 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }
14095 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14096 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }
14100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14101 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }
14106 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 cat >conftest.
$ac_ext <<_ACEOF
14114 cat confdefs.h
>>conftest.
$ac_ext
14115 cat >>conftest.
$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14129 rm -f conftest.
$ac_objext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14131 (eval $ac_compile) 2>conftest.er1
14133 grep -v '^ *+' conftest.er1
>conftest.err
14135 cat conftest.err
>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } &&
14144 { ac_try
='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_compiler_gnu
=yes
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.
$ac_ext >&5
14157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14158 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14161 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14163 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14164 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14165 ac_save_CXXFLAGS
=$CXXFLAGS
14167 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14168 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14169 if test "${ac_cv_prog_cxx_g+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 cat >conftest.
$ac_ext <<_ACEOF
14175 cat confdefs.h
>>conftest.
$ac_ext
14176 cat >>conftest.
$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14187 rm -f conftest.
$ac_objext
14188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14189 (eval $ac_compile) 2>conftest.er1
14191 grep -v '^ *+' conftest.er1
>conftest.err
14193 cat conftest.err
>&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); } &&
14196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; } &&
14202 { ac_try
='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_prog_cxx_g
=yes
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.
$ac_ext >&5
14213 ac_cv_prog_cxx_g
=no
14215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14217 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14218 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14219 if test "$ac_test_CXXFLAGS" = set; then
14220 CXXFLAGS
=$ac_save_CXXFLAGS
14221 elif test $ac_cv_prog_cxx_g = yes; then
14222 if test "$GXX" = yes; then
14228 if test "$GXX" = yes; then
14234 for ac_declaration
in \
14236 'extern "C" void std::exit (int) throw (); using std::exit;' \
14237 'extern "C" void std::exit (int); using std::exit;' \
14238 'extern "C" void exit (int) throw ();' \
14239 'extern "C" void exit (int);' \
14242 cat >conftest.
$ac_ext <<_ACEOF
14245 cat confdefs.h
>>conftest.
$ac_ext
14246 cat >>conftest.
$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14249 #include <stdlib.h>
14258 rm -f conftest.
$ac_objext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>conftest.er1
14262 grep -v '^ *+' conftest.er1
>conftest.err
14264 cat conftest.err
>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try
='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.
$ac_ext >&5
14286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14287 cat >conftest.
$ac_ext <<_ACEOF
14290 cat confdefs.h
>>conftest.
$ac_ext
14291 cat >>conftest.
$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14302 rm -f conftest.
$ac_objext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14304 (eval $ac_compile) 2>conftest.er1
14306 grep -v '^ *+' conftest.er1
>conftest.err
14308 cat conftest.err
>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try
='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.
$ac_ext >&5
14329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14332 if test -n "$ac_declaration"; then
14333 echo '#ifdef __cplusplus' >>confdefs.h
14334 echo $ac_declaration >>confdefs.h
14335 echo '#endif' >>confdefs.h
14339 ac_cpp
='$CXXCPP $CPPFLAGS'
14340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14347 ac_cpp
='$CXXCPP $CPPFLAGS'
14348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14352 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14353 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14354 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 cat >conftest.
$ac_ext <<_ACEOF
14360 cat confdefs.h
>>conftest.
$ac_ext
14361 cat >>conftest.
$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14368 #ifndef __INTEL_COMPILER
14376 rm -f conftest.
$ac_objext
14377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14378 (eval $ac_compile) 2>conftest.er1
14380 grep -v '^ *+' conftest.er1
>conftest.err
14382 cat conftest.err
>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; } &&
14391 { ac_try
='test -s conftest.$ac_objext'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; }; then
14397 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.
$ac_ext >&5
14402 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14409 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14410 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14412 ac_cpp
='$CXXCPP $CPPFLAGS'
14413 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14414 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14415 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14417 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14424 if test "x$GCXX" != "xyes"; then
14425 if test "xCXX" = "xC"; then
14426 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14427 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14428 if test "${bakefile_cv_cxx_exto+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 cat >conftest.
$ac_ext <<_ACEOF
14434 cat confdefs.h
>>conftest.
$ac_ext
14435 cat >>conftest.
$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14446 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14448 (eval $ac_compile) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; then
14452 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14454 conftest.
$ac_ext.o
)
14455 bakefile_cv_cxx_exto
="-ext o"
14462 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14465 See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; }
14470 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14473 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14474 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14475 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14476 if test "cxx" = "c"; then
14477 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
14479 if test "cxx" = "cxx"; then
14480 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
14484 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14485 unset ac_cv_prog_cc_g
14486 ac_test_CFLAGS
=${CFLAGS+set}
14487 ac_save_CFLAGS
=$CFLAGS
14489 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14490 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14491 if test "${ac_cv_prog_cc_g+set}" = set; then
14492 echo $ECHO_N "(cached) $ECHO_C" >&6
14494 cat >conftest.
$ac_ext <<_ACEOF
14497 cat confdefs.h
>>conftest.
$ac_ext
14498 cat >>conftest.
$ac_ext <<_ACEOF
14499 /* end confdefs.h. */
14509 rm -f conftest.
$ac_objext
14510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14511 (eval $ac_compile) 2>conftest.er1
14513 grep -v '^ *+' conftest.er1
>conftest.err
14515 cat conftest.err
>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; } &&
14524 { ac_try
='test -s conftest.$ac_objext'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14530 ac_cv_prog_cc_g
=yes
14532 echo "$as_me: failed program was:" >&5
14533 sed 's/^/| /' conftest.
$ac_ext >&5
14537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14539 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14540 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14541 if test "$ac_test_CFLAGS" = set; then
14542 CFLAGS
=$ac_save_CFLAGS
14543 elif test $ac_cv_prog_cc_g = yes; then
14544 if test "$GCC" = yes; then
14550 if test "$GCC" = yes; then
14562 ac_cpp
='$CXXCPP $CPPFLAGS'
14563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14567 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14568 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14569 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14572 cat >conftest.
$ac_ext <<_ACEOF
14575 cat confdefs.h
>>conftest.
$ac_ext
14576 cat >>conftest.
$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14590 rm -f conftest.
$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>conftest.er1
14594 grep -v '^ *+' conftest.er1
>conftest.err
14596 cat conftest.err
>&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try
='test -s conftest.$ac_objext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 bakefile_compiler_xlc
=yes
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.
$ac_ext >&5
14616 bakefile_compiler_xlc
=no
14618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14619 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14622 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14623 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14625 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14627 ac_cpp
='$CXXCPP $CPPFLAGS'
14628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14637 ac_cpp
='$CXXCPP $CPPFLAGS'
14638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14642 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14643 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14644 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14647 cat >conftest.
$ac_ext <<_ACEOF
14650 cat confdefs.h
>>conftest.
$ac_ext
14651 cat >>conftest.
$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14665 rm -f conftest.
$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>conftest.er1
14669 grep -v '^ *+' conftest.er1
>conftest.err
14671 cat conftest.err
>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; } &&
14680 { ac_try
='test -s conftest.$ac_objext'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; }; then
14686 bakefile_compiler_mwerks
=yes
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.
$ac_ext >&5
14691 bakefile_compiler_mwerks
=no
14693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14694 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14697 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14698 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14700 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14702 ac_cpp
='$CXXCPP $CPPFLAGS'
14703 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14704 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14705 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14709 ac_cpp
='$CXXCPP $CPPFLAGS'
14710 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14711 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14712 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14714 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14715 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14716 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 cat >conftest.
$ac_ext <<_ACEOF
14722 cat confdefs.h
>>conftest.
$ac_ext
14723 cat >>conftest.
$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14737 rm -f conftest.
$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>conftest.er1
14741 grep -v '^ *+' conftest.er1
>conftest.err
14743 cat conftest.err
>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; } &&
14752 { ac_try
='test -s conftest.$ac_objext'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14758 bakefile_compiler_xlc
=yes
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.
$ac_ext >&5
14763 bakefile_compiler_xlc
=no
14765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14766 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14769 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14770 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14772 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14774 ac_cpp
='$CXXCPP $CPPFLAGS'
14775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14786 ac_cpp
='$CXXCPP $CPPFLAGS'
14787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14791 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14792 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14793 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14796 cat >conftest.
$ac_ext <<_ACEOF
14799 cat confdefs.h
>>conftest.
$ac_ext
14800 cat >>conftest.
$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14807 #ifndef _SGI_COMPILER_VERSION
14815 rm -f conftest.
$ac_objext
14816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14817 (eval $ac_compile) 2>conftest.er1
14819 grep -v '^ *+' conftest.er1
>conftest.err
14821 cat conftest.err
>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); } &&
14824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14826 (eval $ac_try) 2>&5
14828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829 (exit $ac_status); }; } &&
14830 { ac_try
='test -s conftest.$ac_objext'
14831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14832 (eval $ac_try) 2>&5
14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835 (exit $ac_status); }; }; then
14836 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.
$ac_ext >&5
14841 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
14844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14848 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14849 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14851 ac_cpp
='$CXXCPP $CPPFLAGS'
14852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14856 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14869 ac_cpp
='$CXXCPP $CPPFLAGS'
14870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14874 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14875 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14876 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14877 echo $ECHO_N "(cached) $ECHO_C" >&6
14879 cat >conftest.
$ac_ext <<_ACEOF
14882 cat confdefs.h
>>conftest.
$ac_ext
14883 cat >>conftest.
$ac_ext <<_ACEOF
14884 /* end confdefs.h. */
14898 rm -f conftest.
$ac_objext
14899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14900 (eval $ac_compile) 2>conftest.er1
14902 grep -v '^ *+' conftest.er1
>conftest.err
14904 cat conftest.err
>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } &&
14907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try
='test -s conftest.$ac_objext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 bakefile_cv_cxx_compiler___HP_aCC
=yes
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.
$ac_ext >&5
14924 bakefile_cv_cxx_compiler___HP_aCC
=no
14927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14931 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14932 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14934 ac_cpp
='$CXXCPP $CPPFLAGS'
14935 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14939 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14952 ac_cpp
='$CXXCPP $CPPFLAGS'
14953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14957 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14958 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14959 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14962 cat >conftest.
$ac_ext <<_ACEOF
14965 cat confdefs.h
>>conftest.
$ac_ext
14966 cat >>conftest.
$ac_ext <<_ACEOF
14967 /* end confdefs.h. */
14981 rm -f conftest.
$ac_objext
14982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14983 (eval $ac_compile) 2>conftest.er1
14985 grep -v '^ *+' conftest.er1
>conftest.err
14987 cat conftest.err
>&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } &&
14990 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; } &&
14996 { ac_try
='test -s conftest.$ac_objext'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; }; then
15002 bakefile_cv_cxx_compiler___DECCXX
=yes
15004 echo "$as_me: failed program was:" >&5
15005 sed 's/^/| /' conftest.
$ac_ext >&5
15007 bakefile_cv_cxx_compiler___DECCXX
=no
15010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15014 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15015 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15017 ac_cpp
='$CXXCPP $CPPFLAGS'
15018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15022 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15035 ac_cpp
='$CXXCPP $CPPFLAGS'
15036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15040 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15041 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15042 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 cat >conftest.
$ac_ext <<_ACEOF
15048 cat confdefs.h
>>conftest.
$ac_ext
15049 cat >>conftest.
$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15056 #ifndef __SUNPRO_CC
15064 rm -f conftest.
$ac_objext
15065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15066 (eval $ac_compile) 2>conftest.er1
15068 grep -v '^ *+' conftest.er1
>conftest.err
15070 cat conftest.err
>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } &&
15073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try
='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.
$ac_ext >&5
15090 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15097 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15098 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15100 ac_cpp
='$CXXCPP $CPPFLAGS'
15101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15105 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15118 if test -n "$ac_tool_prefix"; then
15119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15120 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15121 echo "$as_me:$LINENO: checking for $ac_word" >&5
15122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15123 if test "${ac_cv_prog_RANLIB+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 if test -n "$RANLIB"; then
15127 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15130 for as_dir
in $PATH
15133 test -z "$as_dir" && as_dir
=.
15134 for ac_exec_ext
in '' $ac_executable_extensions; do
15135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15136 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15145 RANLIB
=$ac_cv_prog_RANLIB
15146 if test -n "$RANLIB"; then
15147 echo "$as_me:$LINENO: result: $RANLIB" >&5
15148 echo "${ECHO_T}$RANLIB" >&6
15150 echo "$as_me:$LINENO: result: no" >&5
15151 echo "${ECHO_T}no" >&6
15155 if test -z "$ac_cv_prog_RANLIB"; then
15156 ac_ct_RANLIB
=$RANLIB
15157 # Extract the first word of "ranlib", so it can be a program name with args.
15158 set dummy ranlib
; ac_word
=$2
15159 echo "$as_me:$LINENO: checking for $ac_word" >&5
15160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 if test -n "$ac_ct_RANLIB"; then
15165 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15168 for as_dir
in $PATH
15171 test -z "$as_dir" && as_dir
=.
15172 for ac_exec_ext
in '' $ac_executable_extensions; do
15173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15174 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15181 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15184 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15185 if test -n "$ac_ct_RANLIB"; then
15186 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15187 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15189 echo "$as_me:$LINENO: result: no" >&5
15190 echo "${ECHO_T}no" >&6
15193 RANLIB
=$ac_ct_RANLIB
15195 RANLIB
="$ac_cv_prog_RANLIB"
15199 if test -n "$ac_tool_prefix"; then
15200 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15201 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15202 echo "$as_me:$LINENO: checking for $ac_word" >&5
15203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15204 if test "${ac_cv_prog_AR+set}" = set; then
15205 echo $ECHO_N "(cached) $ECHO_C" >&6
15207 if test -n "$AR"; then
15208 ac_cv_prog_AR
="$AR" # Let the user override the test.
15210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15211 for as_dir
in $PATH
15214 test -z "$as_dir" && as_dir
=.
15215 for ac_exec_ext
in '' $ac_executable_extensions; do
15216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15217 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15227 if test -n "$AR"; then
15228 echo "$as_me:$LINENO: result: $AR" >&5
15229 echo "${ECHO_T}$AR" >&6
15231 echo "$as_me:$LINENO: result: no" >&5
15232 echo "${ECHO_T}no" >&6
15236 if test -z "$ac_cv_prog_AR"; then
15238 # Extract the first word of "ar", so it can be a program name with args.
15239 set dummy
ar; ac_word
=$2
15240 echo "$as_me:$LINENO: checking for $ac_word" >&5
15241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15242 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 if test -n "$ac_ct_AR"; then
15246 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15249 for as_dir
in $PATH
15252 test -z "$as_dir" && as_dir
=.
15253 for ac_exec_ext
in '' $ac_executable_extensions; do
15254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15255 ac_cv_prog_ac_ct_AR
="ar"
15256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15264 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15265 if test -n "$ac_ct_AR"; then
15266 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15267 echo "${ECHO_T}$ac_ct_AR" >&6
15269 echo "$as_me:$LINENO: result: no" >&5
15270 echo "${ECHO_T}no" >&6
15275 AR
="$ac_cv_prog_AR"
15278 if test "x$AR" = "x" ; then
15279 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15280 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15281 { (exit 1); exit 1; }; }
15284 # Find a good install program. We prefer a C program (faster),
15285 # so one script is as good as another. But avoid the broken or
15286 # incompatible versions:
15287 # SysV /etc/install, /usr/sbin/install
15288 # SunOS /usr/etc/install
15289 # IRIX /sbin/install
15291 # AmigaOS /C/install, which installs bootblocks on floppy discs
15292 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15293 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15294 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15295 # OS/2's system install, which has a completely different semantic
15296 # ./install, which can be erroneously created by make from ./install.sh.
15297 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15298 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15299 if test -z "$INSTALL"; then
15300 if test "${ac_cv_path_install+set}" = set; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15304 for as_dir
in $PATH
15307 test -z "$as_dir" && as_dir
=.
15308 # Account for people who put trailing slashes in PATH elements.
15310 .
/ | .
// | /cC
/* | \
15311 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15312 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15315 # OSF1 and SCO ODT 3.0 have their own names for install.
15316 # Don't use installbsd from OSF since it installs stuff as root
15318 for ac_prog
in ginstall scoinst
install; do
15319 for ac_exec_ext
in '' $ac_executable_extensions; do
15320 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15321 if test $ac_prog = install &&
15322 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15323 # AIX install. It has an incompatible calling convention.
15325 elif test $ac_prog = install &&
15326 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15327 # program-specific install script used by HP pwplus--don't use.
15330 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15342 if test "${ac_cv_path_install+set}" = set; then
15343 INSTALL
=$ac_cv_path_install
15345 # As a last resort, use the slow shell script. We don't cache a
15346 # path for INSTALL within a source directory, because that will
15347 # break other packages using the cache if that directory is
15348 # removed, or if the path is relative.
15349 INSTALL
=$ac_install_sh
15352 echo "$as_me:$LINENO: result: $INSTALL" >&5
15353 echo "${ECHO_T}$INSTALL" >&6
15355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15356 # It thinks the first close brace ends the variable substitution.
15357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15361 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15367 ?
:* ) # Drive letter, considered as absolute.
15370 INSTALL
=`pwd`/${INSTALL} ;;
15377 INSTALL_PROGRAM
="cp -fp"
15378 INSTALL_DATA
="cp -fp"
15384 if test -n "$ac_tool_prefix"; then
15385 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15386 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15387 echo "$as_me:$LINENO: checking for $ac_word" >&5
15388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15389 if test "${ac_cv_prog_STRIP+set}" = set; then
15390 echo $ECHO_N "(cached) $ECHO_C" >&6
15392 if test -n "$STRIP"; then
15393 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15396 for as_dir
in $PATH
15399 test -z "$as_dir" && as_dir
=.
15400 for ac_exec_ext
in '' $ac_executable_extensions; do
15401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15402 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15411 STRIP
=$ac_cv_prog_STRIP
15412 if test -n "$STRIP"; then
15413 echo "$as_me:$LINENO: result: $STRIP" >&5
15414 echo "${ECHO_T}$STRIP" >&6
15416 echo "$as_me:$LINENO: result: no" >&5
15417 echo "${ECHO_T}no" >&6
15421 if test -z "$ac_cv_prog_STRIP"; then
15423 # Extract the first word of "strip", so it can be a program name with args.
15424 set dummy strip
; ac_word
=$2
15425 echo "$as_me:$LINENO: checking for $ac_word" >&5
15426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15427 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15430 if test -n "$ac_ct_STRIP"; then
15431 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15434 for as_dir
in $PATH
15437 test -z "$as_dir" && as_dir
=.
15438 for ac_exec_ext
in '' $ac_executable_extensions; do
15439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15440 ac_cv_prog_ac_ct_STRIP
="strip"
15441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15447 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15450 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15451 if test -n "$ac_ct_STRIP"; then
15452 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15453 echo "${ECHO_T}$ac_ct_STRIP" >&6
15455 echo "$as_me:$LINENO: result: no" >&5
15456 echo "${ECHO_T}no" >&6
15461 STRIP
="$ac_cv_prog_STRIP"
15465 if test "$wxUSE_WINE" = "yes"; then
15466 if test -n "$ac_tool_prefix"; then
15467 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15468 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15469 echo "$as_me:$LINENO: checking for $ac_word" >&5
15470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15471 if test "${ac_cv_prog_WINDRES+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 if test -n "$WINDRES"; then
15475 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15478 for as_dir
in $PATH
15481 test -z "$as_dir" && as_dir
=.
15482 for ac_exec_ext
in '' $ac_executable_extensions; do
15483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15484 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15493 WINDRES
=$ac_cv_prog_WINDRES
15494 if test -n "$WINDRES"; then
15495 echo "$as_me:$LINENO: result: $WINDRES" >&5
15496 echo "${ECHO_T}$WINDRES" >&6
15498 echo "$as_me:$LINENO: result: no" >&5
15499 echo "${ECHO_T}no" >&6
15503 if test -z "$ac_cv_prog_WINDRES"; then
15504 ac_ct_WINDRES
=$WINDRES
15505 # Extract the first word of "wrc", so it can be a program name with args.
15506 set dummy wrc
; ac_word
=$2
15507 echo "$as_me:$LINENO: checking for $ac_word" >&5
15508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15509 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 if test -n "$ac_ct_WINDRES"; then
15513 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15516 for as_dir
in $PATH
15519 test -z "$as_dir" && as_dir
=.
15520 for ac_exec_ext
in '' $ac_executable_extensions; do
15521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15522 ac_cv_prog_ac_ct_WINDRES
="wrc"
15523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15531 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15532 if test -n "$ac_ct_WINDRES"; then
15533 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15534 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15536 echo "$as_me:$LINENO: result: no" >&5
15537 echo "${ECHO_T}no" >&6
15540 WINDRES
=$ac_ct_WINDRES
15542 WINDRES
="$ac_cv_prog_WINDRES"
15548 *-*-cygwin* | *-*-mingw32* )
15549 if test -n "$ac_tool_prefix"; then
15550 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15551 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15552 echo "$as_me:$LINENO: checking for $ac_word" >&5
15553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15554 if test "${ac_cv_prog_WINDRES+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15557 if test -n "$WINDRES"; then
15558 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15561 for as_dir
in $PATH
15564 test -z "$as_dir" && as_dir
=.
15565 for ac_exec_ext
in '' $ac_executable_extensions; do
15566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15567 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15576 WINDRES
=$ac_cv_prog_WINDRES
15577 if test -n "$WINDRES"; then
15578 echo "$as_me:$LINENO: result: $WINDRES" >&5
15579 echo "${ECHO_T}$WINDRES" >&6
15581 echo "$as_me:$LINENO: result: no" >&5
15582 echo "${ECHO_T}no" >&6
15586 if test -z "$ac_cv_prog_WINDRES"; then
15587 ac_ct_WINDRES
=$WINDRES
15588 # Extract the first word of "windres", so it can be a program name with args.
15589 set dummy windres
; ac_word
=$2
15590 echo "$as_me:$LINENO: checking for $ac_word" >&5
15591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15592 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15595 if test -n "$ac_ct_WINDRES"; then
15596 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15599 for as_dir
in $PATH
15602 test -z "$as_dir" && as_dir
=.
15603 for ac_exec_ext
in '' $ac_executable_extensions; do
15604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15605 ac_cv_prog_ac_ct_WINDRES
="windres"
15606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15614 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15615 if test -n "$ac_ct_WINDRES"; then
15616 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15617 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15619 echo "$as_me:$LINENO: result: no" >&5
15620 echo "${ECHO_T}no" >&6
15623 WINDRES
=$ac_ct_WINDRES
15625 WINDRES
="$ac_cv_prog_WINDRES"
15629 if test -n "$ac_tool_prefix"; then
15630 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15631 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15632 echo "$as_me:$LINENO: checking for $ac_word" >&5
15633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15634 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 if test -n "$DLLTOOL"; then
15638 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15641 for as_dir
in $PATH
15644 test -z "$as_dir" && as_dir
=.
15645 for ac_exec_ext
in '' $ac_executable_extensions; do
15646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15647 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15656 DLLTOOL
=$ac_cv_prog_DLLTOOL
15657 if test -n "$DLLTOOL"; then
15658 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15659 echo "${ECHO_T}$DLLTOOL" >&6
15661 echo "$as_me:$LINENO: result: no" >&5
15662 echo "${ECHO_T}no" >&6
15666 if test -z "$ac_cv_prog_DLLTOOL"; then
15667 ac_ct_DLLTOOL
=$DLLTOOL
15668 # Extract the first word of "dlltool", so it can be a program name with args.
15669 set dummy dlltool
; ac_word
=$2
15670 echo "$as_me:$LINENO: checking for $ac_word" >&5
15671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15672 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 if test -n "$ac_ct_DLLTOOL"; then
15676 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15679 for as_dir
in $PATH
15682 test -z "$as_dir" && as_dir
=.
15683 for ac_exec_ext
in '' $ac_executable_extensions; do
15684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15685 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15694 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15695 if test -n "$ac_ct_DLLTOOL"; then
15696 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15697 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15699 echo "$as_me:$LINENO: result: no" >&5
15700 echo "${ECHO_T}no" >&6
15703 DLLTOOL
=$ac_ct_DLLTOOL
15705 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15712 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15713 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15714 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15718 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15719 egrep -s GNU
> /dev
/null
); then
15720 wx_cv_prog_makeisgnu
="yes"
15722 wx_cv_prog_makeisgnu
="no"
15726 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15727 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15729 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15737 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15738 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15739 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15740 if test "${wx_cv_prog_makevpath+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 cat - << EOF > confMake
15750 if test ! -d sub
; then
15753 echo dummy
> sub
/file
15754 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15756 rm -f sub
/file check final_file confMake
15758 if test "$RESULT" = 0; then
15759 wx_cv_prog_makevpath
="yes"
15761 wx_cv_prog_makevpath
="no"
15765 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15766 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15768 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15769 { { echo "$as_me:$LINENO: error:
15770 You need a make-utility that is able to use the variable
15772 If your version of make does not support VPATH correctly,
15773 please install GNU-make (possibly as gmake), and start
15774 configure with the following command:
15775 export MAKE=gmake; ./configure for sh-type shells
15776 setenv MAKE gmake; ./configure for csh-type shells
15777 Also please do remember to use gmake in this case every time
15778 you are trying to compile.
15780 echo "$as_me: error:
15781 You need a make-utility that is able to use the variable
15783 If your version of make does not support VPATH correctly,
15784 please install GNU-make (possibly as gmake), and start
15785 configure with the following command:
15786 export MAKE=gmake; ./configure for sh-type shells
15787 setenv MAKE gmake; ./configure for csh-type shells
15788 Also please do remember to use gmake in this case every time
15789 you are trying to compile.
15791 { (exit 1); exit 1; }; }
15793 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15794 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15796 if test "$LN_S" = "ln -s"; then
15797 echo "$as_me:$LINENO: result: yes" >&5
15798 echo "${ECHO_T}yes" >&6
15800 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15801 echo "${ECHO_T}no, using $LN_S" >&6
15807 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15808 CXXFLAGS
="-qunique $CXXFLAGS"
15812 powerpc
-*-darwin* )
15813 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15814 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15815 cat >conftest.
$ac_ext <<_ACEOF
15818 cat confdefs.h
>>conftest.
$ac_ext
15819 cat >>conftest.
$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15825 #ifndef __POWERPC__
15826 choke me for lack of PowerPC
15833 rm -f conftest.
$ac_objext
15834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15835 (eval $ac_compile) 2>conftest.er1
15837 grep -v '^ *+' conftest.er1
>conftest.err
15839 cat conftest.err
>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } &&
15842 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; } &&
15848 { ac_try
='test -s conftest.$ac_objext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15854 echo "$as_me:$LINENO: result: yes" >&5
15855 echo "${ECHO_T}yes" >&6
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.
$ac_ext >&5
15860 echo "$as_me:$LINENO: result: no" >&5
15861 echo "${ECHO_T}no" >&6
15862 cat >>confdefs.h
<<\_ACEOF
15863 #define __POWERPC__ 1
15868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15874 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15875 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15876 cat >conftest.
$ac_ext <<_ACEOF
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 #include <CoreFoundation/CFBase.h>
15892 rm -f conftest.
$ac_objext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894 (eval $ac_compile) 2>conftest.er1
15896 grep -v '^ *+' conftest.er1
>conftest.err
15898 cat conftest.err
>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } &&
15901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; } &&
15907 { ac_try
='test -s conftest.$ac_objext'
15908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909 (eval $ac_try) 2>&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); }; }; then
15913 echo "$as_me:$LINENO: result: yes" >&5
15914 echo "${ECHO_T}yes" >&6
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.
$ac_ext >&5
15919 echo "$as_me:$LINENO: result: no" >&5
15920 echo "${ECHO_T}no" >&6
15921 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15922 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15923 cat >conftest.
$ac_ext <<_ACEOF
15926 cat confdefs.h
>>conftest.
$ac_ext
15927 cat >>conftest.
$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 #define __CF_USE_FRAMEWORK_INCLUDES__
15930 #include <CoreFoundation/CFBase.h>
15940 rm -f conftest.
$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>conftest.er1
15944 grep -v '^ *+' conftest.er1
>conftest.err
15946 cat conftest.err
>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try
='test -s conftest.$ac_objext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 echo "$as_me:$LINENO: result: yes" >&5
15962 echo "${ECHO_T}yes" >&6
15963 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15969 See \`config.log' for more details." >&5
15970 echo "$as_me: error: no. CoreFoundation not available.
15971 See \`config.log' for more details." >&2;}
15972 { (exit 1); exit 1; }; }
15975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15984 *-pc-os2_emx | *-pc-os2-emx )
15986 ac_cpp
='$CPP $CPPFLAGS'
15987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15991 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15992 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15993 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15994 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15995 echo $ECHO_N "(cached) $ECHO_C" >&6
15997 ac_check_lib_save_LIBS
=$LIBS
15998 LIBS
="-lcExt $LIBS"
15999 cat >conftest.
$ac_ext <<_ACEOF
16002 cat confdefs.h
>>conftest.
$ac_ext
16003 cat >>conftest.
$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16006 /* Override any gcc2 internal prototype to avoid an error. */
16010 /* We use char because int might match the return type of a gcc2
16011 builtin and then its argument prototype would still apply. */
16021 rm -f conftest.
$ac_objext conftest
$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023 (eval $ac_link) 2>conftest.er1
16025 grep -v '^ *+' conftest.er1
>conftest.err
16027 cat conftest.err
>&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } &&
16030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 (eval $ac_try) 2>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; } &&
16036 { ac_try
='test -s conftest$ac_exeext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_cv_lib_cExt_drand48
=yes
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.
$ac_ext >&5
16047 ac_cv_lib_cExt_drand48
=no
16049 rm -f conftest.err conftest.
$ac_objext \
16050 conftest
$ac_exeext conftest.
$ac_ext
16051 LIBS
=$ac_check_lib_save_LIBS
16053 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16054 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16055 if test $ac_cv_lib_cExt_drand48 = yes; then
16056 LIBS
="$LIBS -lcExt"
16060 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16062 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16063 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16064 if test "${wx_cv_gccversion+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 if test "$cross_compiling" = yes; then
16069 wx_cv_gccversion
="EMX2"
16072 cat >conftest.
$ac_ext <<_ACEOF
16075 cat confdefs.h
>>conftest.
$ac_ext
16076 cat >>conftest.
$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16083 FILE *f=fopen("conftestval", "w");
16088 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16090 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16100 rm -f conftest
$ac_exeext
16101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16102 (eval $ac_link) 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 wx_cv_gccversion
=`cat conftestval`
16113 echo "$as_me: program exited with status $ac_status" >&5
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.
$ac_ext >&5
16117 ( exit $ac_status )
16118 wx_cv_gccversion
="EMX2"
16120 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16124 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16125 echo "${ECHO_T}$wx_cv_gccversion" >&6
16127 ac_cpp
='$CXXCPP $CPPFLAGS'
16128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16132 if test "$wx_cv_gccversion" = "EMX2"; then
16133 LIBS
="$LIBS -lstdcpp"
16134 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16136 if test "$wx_cv_gccversion" = "EMX3"; then
16137 LIBS
="$LIBS -lstdcxx -lgcc"
16138 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16140 LIBS
="$LIBS -lstdc++"
16143 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16144 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16145 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16152 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16153 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16154 if test "${ac_cv_string_strcasecmp+set}" = set; then
16155 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 cat >conftest.
$ac_ext <<_ACEOF
16161 cat confdefs.h
>>conftest.
$ac_ext
16162 cat >>conftest.
$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16165 #include <string.h>
16171 strcasecmp("foo", "bar");
16177 rm -f conftest.
$ac_objext conftest
$ac_exeext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16179 (eval $ac_link) 2>conftest.er1
16181 grep -v '^ *+' conftest.er1
>conftest.err
16183 cat conftest.err
>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try
='test -s conftest$ac_exeext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16198 ac_cv_string_strcasecmp
=yes
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.
$ac_ext >&5
16203 ac_cv_string_strcasecmp
=no
16206 rm -f conftest.err conftest.
$ac_objext \
16207 conftest
$ac_exeext conftest.
$ac_ext
16210 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16211 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16213 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16214 cat >>confdefs.h
<<\_ACEOF
16215 #define HAVE_STRCASECMP_IN_STRING_H 1
16219 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16220 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16221 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 cat >conftest.
$ac_ext <<_ACEOF
16228 cat confdefs.h
>>conftest.
$ac_ext
16229 cat >>conftest.
$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16232 #include <strings.h>
16238 strcasecmp("foo", "bar");
16244 rm -f conftest.
$ac_objext conftest
$ac_exeext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16246 (eval $ac_link) 2>conftest.er1
16248 grep -v '^ *+' conftest.er1
>conftest.err
16250 cat conftest.err
>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; } &&
16259 { ac_try
='test -s conftest$ac_exeext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_strings_strcasecmp
=yes
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.
$ac_ext >&5
16270 ac_cv_strings_strcasecmp
=no
16273 rm -f conftest.err conftest.
$ac_objext \
16274 conftest
$ac_exeext conftest.
$ac_ext
16277 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16278 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16280 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16281 cat >>confdefs.h
<<\_ACEOF
16282 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16286 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16287 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16288 { (exit 1); exit 1; }; }
16297 ac_cpp
='$CXXCPP $CPPFLAGS'
16298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16301 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16302 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16303 if test -z "$CXXCPP"; then
16304 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16305 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 # Double quotes because CXXCPP needs to be expanded
16308 for CXXCPP
in "$CXX -E" "/lib/cpp"
16310 ac_preproc_ok
=false
16311 for ac_cxx_preproc_warn_flag
in '' yes
16313 # Use a header file that comes with gcc, so configuring glibc
16314 # with a fresh cross-compiler works.
16315 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16316 # <limits.h> exists even on freestanding compilers.
16317 # On the NeXT, cc -E runs the code through the compiler's parser,
16318 # not just through cpp. "Syntax error" is here to catch this case.
16319 cat >conftest.
$ac_ext <<_ACEOF
16322 cat confdefs.h
>>conftest.
$ac_ext
16323 cat >>conftest.
$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16326 # include <limits.h>
16328 # include <assert.h>
16332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16333 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16335 grep -v '^ *+' conftest.er1
>conftest.err
16337 cat conftest.err
>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } >/dev
/null
; then
16340 if test -s conftest.err
; then
16341 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16342 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16349 if test -z "$ac_cpp_err"; then
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.
$ac_ext >&5
16355 # Broken: fails on valid input.
16358 rm -f conftest.err conftest.
$ac_ext
16360 # OK, works on sane cases. Now check whether non-existent headers
16361 # can be detected and how.
16362 cat >conftest.
$ac_ext <<_ACEOF
16365 cat confdefs.h
>>conftest.
$ac_ext
16366 cat >>conftest.
$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16368 #include <ac_nonexistent.h>
16370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16373 grep -v '^ *+' conftest.er1
>conftest.err
16375 cat conftest.err
>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } >/dev
/null
; then
16378 if test -s conftest.err
; then
16379 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16380 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16387 if test -z "$ac_cpp_err"; then
16388 # Broken: success on invalid input.
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.
$ac_ext >&5
16394 # Passes both tests.
16398 rm -f conftest.err conftest.
$ac_ext
16401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16402 rm -f conftest.err conftest.
$ac_ext
16403 if $ac_preproc_ok; then
16408 ac_cv_prog_CXXCPP
=$CXXCPP
16411 CXXCPP
=$ac_cv_prog_CXXCPP
16413 ac_cv_prog_CXXCPP
=$CXXCPP
16415 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16416 echo "${ECHO_T}$CXXCPP" >&6
16417 ac_preproc_ok
=false
16418 for ac_cxx_preproc_warn_flag
in '' yes
16420 # Use a header file that comes with gcc, so configuring glibc
16421 # with a fresh cross-compiler works.
16422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16423 # <limits.h> exists even on freestanding compilers.
16424 # On the NeXT, cc -E runs the code through the compiler's parser,
16425 # not just through cpp. "Syntax error" is here to catch this case.
16426 cat >conftest.
$ac_ext <<_ACEOF
16429 cat confdefs.h
>>conftest.
$ac_ext
16430 cat >>conftest.
$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16433 # include <limits.h>
16435 # include <assert.h>
16439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16442 grep -v '^ *+' conftest.er1
>conftest.err
16444 cat conftest.err
>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } >/dev
/null
; then
16447 if test -s conftest.err
; then
16448 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16449 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16456 if test -z "$ac_cpp_err"; then
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.
$ac_ext >&5
16462 # Broken: fails on valid input.
16465 rm -f conftest.err conftest.
$ac_ext
16467 # OK, works on sane cases. Now check whether non-existent headers
16468 # can be detected and how.
16469 cat >conftest.
$ac_ext <<_ACEOF
16472 cat confdefs.h
>>conftest.
$ac_ext
16473 cat >>conftest.
$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 #include <ac_nonexistent.h>
16477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16480 grep -v '^ *+' conftest.er1
>conftest.err
16482 cat conftest.err
>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } >/dev
/null
; then
16485 if test -s conftest.err
; then
16486 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16487 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16494 if test -z "$ac_cpp_err"; then
16495 # Broken: success on invalid input.
16498 echo "$as_me: failed program was:" >&5
16499 sed 's/^/| /' conftest.
$ac_ext >&5
16501 # Passes both tests.
16505 rm -f conftest.err conftest.
$ac_ext
16508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16509 rm -f conftest.err conftest.
$ac_ext
16510 if $ac_preproc_ok; then
16513 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16514 See \`config.log' for more details." >&5
16515 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16516 See \`config.log' for more details." >&2;}
16517 { (exit 1); exit 1; }; }
16521 ac_cpp
='$CXXCPP $CPPFLAGS'
16522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16527 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16528 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16529 if test "${ac_cv_header_stdc+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 cat >conftest.
$ac_ext <<_ACEOF
16535 cat confdefs.h
>>conftest.
$ac_ext
16536 cat >>conftest.
$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 #include <stdlib.h>
16539 #include <stdarg.h>
16540 #include <string.h>
16551 rm -f conftest.
$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>conftest.er1
16555 grep -v '^ *+' conftest.er1
>conftest.err
16557 cat conftest.err
>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; } &&
16566 { ac_try
='test -s conftest.$ac_objext'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_header_stdc
=yes
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.
$ac_ext >&5
16577 ac_cv_header_stdc
=no
16579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16581 if test $ac_cv_header_stdc = yes; then
16582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16583 cat >conftest.
$ac_ext <<_ACEOF
16586 cat confdefs.h
>>conftest.
$ac_ext
16587 cat >>conftest.
$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 #include <string.h>
16592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16593 $EGREP "memchr" >/dev
/null
2>&1; then
16596 ac_cv_header_stdc
=no
16602 if test $ac_cv_header_stdc = yes; then
16603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16604 cat >conftest.
$ac_ext <<_ACEOF
16607 cat confdefs.h
>>conftest.
$ac_ext
16608 cat >>conftest.
$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 #include <stdlib.h>
16613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16614 $EGREP "free" >/dev
/null
2>&1; then
16617 ac_cv_header_stdc
=no
16623 if test $ac_cv_header_stdc = yes; then
16624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16625 if test "$cross_compiling" = yes; then
16628 cat >conftest.
$ac_ext <<_ACEOF
16631 cat confdefs.h
>>conftest.
$ac_ext
16632 cat >>conftest.
$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16635 #if ((' ' & 0x0FF) == 0x020)
16636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16639 # define ISLOWER(c) \
16640 (('a' <= (c) && (c) <= 'i') \
16641 || ('j' <= (c) && (c) <= 'r') \
16642 || ('s' <= (c) && (c) <= 'z'))
16643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16651 for (i = 0; i < 256; i++)
16652 if (XOR (islower (i), ISLOWER (i))
16653 || toupper (i) != TOUPPER (i))
16658 rm -f conftest
$ac_exeext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16660 (eval $ac_link) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16671 echo "$as_me: program exited with status $ac_status" >&5
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.
$ac_ext >&5
16675 ( exit $ac_status )
16676 ac_cv_header_stdc
=no
16678 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16682 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16683 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16684 if test $ac_cv_header_stdc = yes; then
16686 cat >>confdefs.h
<<\_ACEOF
16687 #define STDC_HEADERS 1
16692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16702 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16703 inttypes.h stdint.h unistd.h
16705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16706 echo "$as_me:$LINENO: checking for $ac_header" >&5
16707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16711 cat >conftest.
$ac_ext <<_ACEOF
16714 cat confdefs.h
>>conftest.
$ac_ext
16715 cat >>conftest.
$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16717 $ac_includes_default
16719 #include <$ac_header>
16721 rm -f conftest.
$ac_objext
16722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16723 (eval $ac_compile) 2>conftest.er1
16725 grep -v '^ *+' conftest.er1
>conftest.err
16727 cat conftest.err
>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } &&
16730 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; } &&
16736 { ac_try
='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 eval "$as_ac_Header=yes"
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.
$ac_ext >&5
16747 eval "$as_ac_Header=no"
16749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16754 cat >>confdefs.h
<<_ACEOF
16755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16764 for ac_header
in stdlib.h
16766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16768 echo "$as_me:$LINENO: checking for $ac_header" >&5
16769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16776 # Is the header compilable?
16777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16779 cat >conftest.
$ac_ext <<_ACEOF
16782 cat confdefs.h
>>conftest.
$ac_ext
16783 cat >>conftest.
$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 $ac_includes_default
16786 #include <$ac_header>
16788 rm -f conftest.
$ac_objext
16789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16790 (eval $ac_compile) 2>conftest.er1
16792 grep -v '^ *+' conftest.er1
>conftest.err
16794 cat conftest.err
>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } &&
16797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; } &&
16803 { ac_try
='test -s conftest.$ac_objext'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; }; then
16809 ac_header_compiler
=yes
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.
$ac_ext >&5
16814 ac_header_compiler
=no
16816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16818 echo "${ECHO_T}$ac_header_compiler" >&6
16820 # Is the header present?
16821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16823 cat >conftest.
$ac_ext <<_ACEOF
16826 cat confdefs.h
>>conftest.
$ac_ext
16827 cat >>conftest.
$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 #include <$ac_header>
16831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16834 grep -v '^ *+' conftest.er1
>conftest.err
16836 cat conftest.err
>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } >/dev
/null
; then
16839 if test -s conftest.err
; then
16840 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16841 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16848 if test -z "$ac_cpp_err"; then
16849 ac_header_preproc
=yes
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.
$ac_ext >&5
16854 ac_header_preproc
=no
16856 rm -f conftest.err conftest.
$ac_ext
16857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16858 echo "${ECHO_T}$ac_header_preproc" >&6
16860 # So? What about this header?
16861 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16867 ac_header_preproc
=yes
16870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16884 ## ----------------------------------------- ##
16885 ## Report this to wx-dev@lists.wxwidgets.org ##
16886 ## ----------------------------------------- ##
16889 sed "s/^/$as_me: WARNING: /" >&2
16892 echo "$as_me:$LINENO: checking for $ac_header" >&5
16893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 eval "$as_ac_Header=\$ac_header_preproc"
16899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16904 cat >>confdefs.h
<<_ACEOF
16905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16913 for ac_header
in malloc.h
16915 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16917 echo "$as_me:$LINENO: checking for $ac_header" >&5
16918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16925 # Is the header compilable?
16926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16935 #include <$ac_header>
16937 rm -f conftest.
$ac_objext
16938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16939 (eval $ac_compile) 2>conftest.er1
16941 grep -v '^ *+' conftest.er1
>conftest.err
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } &&
16946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try
='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_header_compiler
=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 ac_header_compiler
=no
16965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16967 echo "${ECHO_T}$ac_header_compiler" >&6
16969 # Is the header present?
16970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16972 cat >conftest.
$ac_ext <<_ACEOF
16975 cat confdefs.h
>>conftest.
$ac_ext
16976 cat >>conftest.
$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 #include <$ac_header>
16980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16981 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16983 grep -v '^ *+' conftest.er1
>conftest.err
16985 cat conftest.err
>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } >/dev
/null
; then
16988 if test -s conftest.err
; then
16989 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16990 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
16997 if test -z "$ac_cpp_err"; then
16998 ac_header_preproc
=yes
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.
$ac_ext >&5
17003 ac_header_preproc
=no
17005 rm -f conftest.err conftest.
$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17007 echo "${ECHO_T}$ac_header_preproc" >&6
17009 # So? What about this header?
17010 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17016 ac_header_preproc
=yes
17019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17033 ## ----------------------------------------- ##
17034 ## Report this to wx-dev@lists.wxwidgets.org ##
17035 ## ----------------------------------------- ##
17038 sed "s/^/$as_me: WARNING: /" >&2
17041 echo "$as_me:$LINENO: checking for $ac_header" >&5
17042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 eval "$as_ac_Header=\$ac_header_preproc"
17048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17053 cat >>confdefs.h
<<_ACEOF
17054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17062 for ac_header
in unistd.h
17064 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17066 echo "$as_me:$LINENO: checking for $ac_header" >&5
17067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17074 # Is the header compilable?
17075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17077 cat >conftest.
$ac_ext <<_ACEOF
17080 cat confdefs.h
>>conftest.
$ac_ext
17081 cat >>conftest.
$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17083 $ac_includes_default
17084 #include <$ac_header>
17086 rm -f conftest.
$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17090 grep -v '^ *+' conftest.er1
>conftest.err
17092 cat conftest.err
>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; } &&
17101 { ac_try
='test -s conftest.$ac_objext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17107 ac_header_compiler
=yes
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.
$ac_ext >&5
17112 ac_header_compiler
=no
17114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17116 echo "${ECHO_T}$ac_header_compiler" >&6
17118 # Is the header present?
17119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17121 cat >conftest.
$ac_ext <<_ACEOF
17124 cat confdefs.h
>>conftest.
$ac_ext
17125 cat >>conftest.
$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 #include <$ac_header>
17129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17132 grep -v '^ *+' conftest.er1
>conftest.err
17134 cat conftest.err
>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } >/dev
/null
; then
17137 if test -s conftest.err
; then
17138 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17139 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17146 if test -z "$ac_cpp_err"; then
17147 ac_header_preproc
=yes
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.
$ac_ext >&5
17152 ac_header_preproc
=no
17154 rm -f conftest.err conftest.
$ac_ext
17155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17156 echo "${ECHO_T}$ac_header_preproc" >&6
17158 # So? What about this header?
17159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17165 ac_header_preproc
=yes
17168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17182 ## ----------------------------------------- ##
17183 ## Report this to wx-dev@lists.wxwidgets.org ##
17184 ## ----------------------------------------- ##
17187 sed "s/^/$as_me: WARNING: /" >&2
17190 echo "$as_me:$LINENO: checking for $ac_header" >&5
17191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 eval "$as_ac_Header=\$ac_header_preproc"
17197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17202 cat >>confdefs.h
<<_ACEOF
17203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17211 for ac_header
in wchar.h
17213 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17215 echo "$as_me:$LINENO: checking for $ac_header" >&5
17216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17223 # Is the header compilable?
17224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17233 #include <$ac_header>
17235 rm -f conftest.
$ac_objext
17236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17237 (eval $ac_compile) 2>conftest.er1
17239 grep -v '^ *+' conftest.er1
>conftest.err
17241 cat conftest.err
>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } &&
17244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; } &&
17250 { ac_try
='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 ac_header_compiler
=yes
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.
$ac_ext >&5
17261 ac_header_compiler
=no
17263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17265 echo "${ECHO_T}$ac_header_compiler" >&6
17267 # Is the header present?
17268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17270 cat >conftest.
$ac_ext <<_ACEOF
17273 cat confdefs.h
>>conftest.
$ac_ext
17274 cat >>conftest.
$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #include <$ac_header>
17278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17279 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17281 grep -v '^ *+' conftest.er1
>conftest.err
17283 cat conftest.err
>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } >/dev
/null
; then
17286 if test -s conftest.err
; then
17287 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17288 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17295 if test -z "$ac_cpp_err"; then
17296 ac_header_preproc
=yes
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.
$ac_ext >&5
17301 ac_header_preproc
=no
17303 rm -f conftest.err conftest.
$ac_ext
17304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17305 echo "${ECHO_T}$ac_header_preproc" >&6
17307 # So? What about this header?
17308 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17314 ac_header_preproc
=yes
17317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17331 ## ----------------------------------------- ##
17332 ## Report this to wx-dev@lists.wxwidgets.org ##
17333 ## ----------------------------------------- ##
17336 sed "s/^/$as_me: WARNING: /" >&2
17339 echo "$as_me:$LINENO: checking for $ac_header" >&5
17340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 eval "$as_ac_Header=\$ac_header_preproc"
17346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17351 cat >>confdefs.h
<<_ACEOF
17352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17360 if test "$ac_cv_header_wchar_h" != "yes"; then
17362 for ac_header
in wcstr.h
17364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17366 echo "$as_me:$LINENO: checking for $ac_header" >&5
17367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17374 # Is the header compilable?
17375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17377 cat >conftest.
$ac_ext <<_ACEOF
17380 cat confdefs.h
>>conftest.
$ac_ext
17381 cat >>conftest.
$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 $ac_includes_default
17384 #include <$ac_header>
17386 rm -f conftest.
$ac_objext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17388 (eval $ac_compile) 2>conftest.er1
17390 grep -v '^ *+' conftest.er1
>conftest.err
17392 cat conftest.err
>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try
='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 ac_header_compiler
=yes
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.
$ac_ext >&5
17412 ac_header_compiler
=no
17414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17416 echo "${ECHO_T}$ac_header_compiler" >&6
17418 # Is the header present?
17419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17421 cat >conftest.
$ac_ext <<_ACEOF
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17427 #include <$ac_header>
17429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17432 grep -v '^ *+' conftest.er1
>conftest.err
17434 cat conftest.err
>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } >/dev
/null
; then
17437 if test -s conftest.err
; then
17438 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17439 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17446 if test -z "$ac_cpp_err"; then
17447 ac_header_preproc
=yes
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.
$ac_ext >&5
17452 ac_header_preproc
=no
17454 rm -f conftest.err conftest.
$ac_ext
17455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17456 echo "${ECHO_T}$ac_header_preproc" >&6
17458 # So? What about this header?
17459 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17465 ac_header_preproc
=yes
17468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17482 ## ----------------------------------------- ##
17483 ## Report this to wx-dev@lists.wxwidgets.org ##
17484 ## ----------------------------------------- ##
17487 sed "s/^/$as_me: WARNING: /" >&2
17490 echo "$as_me:$LINENO: checking for $ac_header" >&5
17491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17495 eval "$as_ac_Header=\$ac_header_preproc"
17497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17502 cat >>confdefs.h
<<_ACEOF
17503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17513 for ac_header
in fnmatch.h
17515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17517 echo "$as_me:$LINENO: checking for $ac_header" >&5
17518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17525 # Is the header compilable?
17526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17528 cat >conftest.
$ac_ext <<_ACEOF
17531 cat confdefs.h
>>conftest.
$ac_ext
17532 cat >>conftest.
$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 $ac_includes_default
17535 #include <$ac_header>
17537 rm -f conftest.
$ac_objext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17539 (eval $ac_compile) 2>conftest.er1
17541 grep -v '^ *+' conftest.er1
>conftest.err
17543 cat conftest.err
>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try
='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_header_compiler
=yes
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ac_header_compiler
=no
17565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17567 echo "${ECHO_T}$ac_header_compiler" >&6
17569 # Is the header present?
17570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17572 cat >conftest.
$ac_ext <<_ACEOF
17575 cat confdefs.h
>>conftest.
$ac_ext
17576 cat >>conftest.
$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 #include <$ac_header>
17580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17583 grep -v '^ *+' conftest.er1
>conftest.err
17585 cat conftest.err
>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } >/dev
/null
; then
17588 if test -s conftest.err
; then
17589 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17590 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17597 if test -z "$ac_cpp_err"; then
17598 ac_header_preproc
=yes
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.
$ac_ext >&5
17603 ac_header_preproc
=no
17605 rm -f conftest.err conftest.
$ac_ext
17606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17607 echo "${ECHO_T}$ac_header_preproc" >&6
17609 # So? What about this header?
17610 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17616 ac_header_preproc
=yes
17619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17633 ## ----------------------------------------- ##
17634 ## Report this to wx-dev@lists.wxwidgets.org ##
17635 ## ----------------------------------------- ##
17638 sed "s/^/$as_me: WARNING: /" >&2
17641 echo "$as_me:$LINENO: checking for $ac_header" >&5
17642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 eval "$as_ac_Header=\$ac_header_preproc"
17648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17653 cat >>confdefs.h
<<_ACEOF
17654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17663 for ac_header
in langinfo.h
17665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17667 echo "$as_me:$LINENO: checking for $ac_header" >&5
17668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17675 # Is the header compilable?
17676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17678 cat >conftest.
$ac_ext <<_ACEOF
17681 cat confdefs.h
>>conftest.
$ac_ext
17682 cat >>conftest.
$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17685 #include <$ac_header>
17687 rm -f conftest.
$ac_objext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17689 (eval $ac_compile) 2>conftest.er1
17691 grep -v '^ *+' conftest.er1
>conftest.err
17693 cat conftest.err
>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } &&
17702 { ac_try
='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 ac_header_compiler
=yes
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.
$ac_ext >&5
17713 ac_header_compiler
=no
17715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17717 echo "${ECHO_T}$ac_header_compiler" >&6
17719 # Is the header present?
17720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17722 cat >conftest.
$ac_ext <<_ACEOF
17725 cat confdefs.h
>>conftest.
$ac_ext
17726 cat >>conftest.
$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728 #include <$ac_header>
17730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17733 grep -v '^ *+' conftest.er1
>conftest.err
17735 cat conftest.err
>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } >/dev
/null
; then
17738 if test -s conftest.err
; then
17739 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17740 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17747 if test -z "$ac_cpp_err"; then
17748 ac_header_preproc
=yes
17750 echo "$as_me: failed program was:" >&5
17751 sed 's/^/| /' conftest.
$ac_ext >&5
17753 ac_header_preproc
=no
17755 rm -f conftest.err conftest.
$ac_ext
17756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17757 echo "${ECHO_T}$ac_header_preproc" >&6
17759 # So? What about this header?
17760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17766 ac_header_preproc
=yes
17769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17783 ## ----------------------------------------- ##
17784 ## Report this to wx-dev@lists.wxwidgets.org ##
17785 ## ----------------------------------------- ##
17788 sed "s/^/$as_me: WARNING: /" >&2
17791 echo "$as_me:$LINENO: checking for $ac_header" >&5
17792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17796 eval "$as_ac_Header=\$ac_header_preproc"
17798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17803 cat >>confdefs.h
<<_ACEOF
17804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17813 *-pc-os2_emx | *-pc-os2-emx )
17814 if test $ac_cv_header_langinfo_h = "yes" \
17815 -a \
( "$wx_cv_gccversion" = "EMX2" \
17816 -o "$wx_cv_gccversion" = "EMX3" \
17817 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17818 LIBS
="$LIBS -lintl"
17823 if test "$USE_UNIX" = 1 ; then
17825 for ac_header
in sys
/select.h
17827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17829 echo "$as_me:$LINENO: checking for $ac_header" >&5
17830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17832 echo $ECHO_N "(cached) $ECHO_C" >&6
17834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17837 # Is the header compilable?
17838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17840 cat >conftest.
$ac_ext <<_ACEOF
17843 cat confdefs.h
>>conftest.
$ac_ext
17844 cat >>conftest.
$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 $ac_includes_default
17847 #include <$ac_header>
17849 rm -f conftest.
$ac_objext
17850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17851 (eval $ac_compile) 2>conftest.er1
17853 grep -v '^ *+' conftest.er1
>conftest.err
17855 cat conftest.err
>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; } &&
17864 { ac_try
='test -s conftest.$ac_objext'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; }; then
17870 ac_header_compiler
=yes
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.
$ac_ext >&5
17875 ac_header_compiler
=no
17877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17879 echo "${ECHO_T}$ac_header_compiler" >&6
17881 # Is the header present?
17882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17884 cat >conftest.
$ac_ext <<_ACEOF
17887 cat confdefs.h
>>conftest.
$ac_ext
17888 cat >>conftest.
$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 #include <$ac_header>
17892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17895 grep -v '^ *+' conftest.er1
>conftest.err
17897 cat conftest.err
>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } >/dev
/null
; then
17900 if test -s conftest.err
; then
17901 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17902 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
17909 if test -z "$ac_cpp_err"; then
17910 ac_header_preproc
=yes
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.
$ac_ext >&5
17915 ac_header_preproc
=no
17917 rm -f conftest.err conftest.
$ac_ext
17918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17919 echo "${ECHO_T}$ac_header_preproc" >&6
17921 # So? What about this header?
17922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17928 ac_header_preproc
=yes
17931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17945 ## ----------------------------------------- ##
17946 ## Report this to wx-dev@lists.wxwidgets.org ##
17947 ## ----------------------------------------- ##
17950 sed "s/^/$as_me: WARNING: /" >&2
17953 echo "$as_me:$LINENO: checking for $ac_header" >&5
17954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17956 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 eval "$as_ac_Header=\$ac_header_preproc"
17960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17965 cat >>confdefs.h
<<_ACEOF
17966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17976 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17977 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17978 if test "${ac_cv_c_const+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 cat >conftest.
$ac_ext <<_ACEOF
17984 cat confdefs.h
>>conftest.
$ac_ext
17985 cat >>conftest.
$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17991 /* FIXME: Include the comments suggested by Paul. */
17992 #ifndef __cplusplus
17993 /* Ultrix mips cc rejects this. */
17994 typedef int charset[2];
17996 /* SunOS 4.1.1 cc rejects this. */
17997 char const *const *ccp;
17999 /* NEC SVR4.0.2 mips cc rejects this. */
18000 struct point {int x, y;};
18001 static struct point const zero = {0,0};
18002 /* AIX XL C 1.02.0.0 rejects this.
18003 It does not let you subtract one const X* pointer from another in
18004 an arm of an if-expression whose if-part is not a constant
18006 const char *g = "string";
18007 ccp = &g + (g ? g-g : 0);
18008 /* HPUX 7.0 cc rejects these. */
18011 ccp = (char const *const *) p;
18012 { /* SCO 3.2v4 cc rejects this. */
18014 char const *s = 0 ? (char *) 0 : (char const *) 0;
18018 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18019 int x[] = {25, 17};
18020 const int *foo = &x[0];
18023 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18024 typedef const int *iptr;
18028 { /* AIX XL C 1.02.0.0 rejects this saying
18029 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18030 struct s { int j; const int *ap[3]; };
18031 struct s *b; b->j = 5;
18033 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18034 const int foo = 10;
18042 rm -f conftest.
$ac_objext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18044 (eval $ac_compile) 2>conftest.er1
18046 grep -v '^ *+' conftest.er1
>conftest.err
18048 cat conftest.err
>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } &&
18051 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; } &&
18057 { ac_try
='test -s conftest.$ac_objext'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; }; then
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.
$ac_ext >&5
18070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18072 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18073 echo "${ECHO_T}$ac_cv_c_const" >&6
18074 if test $ac_cv_c_const = no
; then
18076 cat >>confdefs.h
<<\_ACEOF
18082 echo "$as_me:$LINENO: checking for inline" >&5
18083 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18084 if test "${ac_cv_c_inline+set}" = set; then
18085 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 for ac_kw
in inline __inline__ __inline
; do
18089 cat >conftest.
$ac_ext <<_ACEOF
18092 cat confdefs.h
>>conftest.
$ac_ext
18093 cat >>conftest.
$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 #ifndef __cplusplus
18097 static $ac_kw foo_t static_foo () {return 0; }
18098 $ac_kw foo_t foo () {return 0; }
18102 rm -f conftest.
$ac_objext
18103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18104 (eval $ac_compile) 2>conftest.er1
18106 grep -v '^ *+' conftest.er1
>conftest.err
18108 cat conftest.err
>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } &&
18111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; } &&
18117 { ac_try
='test -s conftest.$ac_objext'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; }; then
18123 ac_cv_c_inline
=$ac_kw; break
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.
$ac_ext >&5
18129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18133 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18134 echo "${ECHO_T}$ac_cv_c_inline" >&6
18137 case $ac_cv_c_inline in
18140 case $ac_cv_c_inline in
18142 *) ac_val
=$ac_cv_c_inline;;
18144 cat >>confdefs.h
<<_ACEOF
18145 #ifndef __cplusplus
18146 #define inline $ac_val
18153 echo "$as_me:$LINENO: checking for char" >&5
18154 echo $ECHO_N "checking for char... $ECHO_C" >&6
18155 if test "${ac_cv_type_char+set}" = set; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 cat >conftest.
$ac_ext <<_ACEOF
18161 cat confdefs.h
>>conftest.
$ac_ext
18162 cat >>conftest.
$ac_ext <<_ACEOF
18163 /* end confdefs.h. */
18164 $ac_includes_default
18176 rm -f conftest.
$ac_objext
18177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18178 (eval $ac_compile) 2>conftest.er1
18180 grep -v '^ *+' conftest.er1
>conftest.err
18182 cat conftest.err
>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } &&
18185 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; } &&
18191 { ac_try
='test -s conftest.$ac_objext'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; }; then
18197 ac_cv_type_char
=yes
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.
$ac_ext >&5
18204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18206 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18207 echo "${ECHO_T}$ac_cv_type_char" >&6
18209 echo "$as_me:$LINENO: checking size of char" >&5
18210 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18211 if test "${ac_cv_sizeof_char+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 if test "$ac_cv_type_char" = yes; then
18215 # The cast to unsigned long works around a bug in the HP C Compiler
18216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18218 # This bug is HP SR number 8606223364.
18219 if test "$cross_compiling" = yes; then
18220 # Depending upon the size, compute the lo and hi bounds.
18221 cat >conftest.
$ac_ext <<_ACEOF
18224 cat confdefs.h
>>conftest.
$ac_ext
18225 cat >>conftest.
$ac_ext <<_ACEOF
18226 /* end confdefs.h. */
18227 $ac_includes_default
18231 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18238 rm -f conftest.
$ac_objext
18239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18240 (eval $ac_compile) 2>conftest.er1
18242 grep -v '^ *+' conftest.er1
>conftest.err
18244 cat conftest.err
>&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } &&
18247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; } &&
18253 { ac_try
='test -s conftest.$ac_objext'
18254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18255 (eval $ac_try) 2>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); }; }; then
18261 cat >conftest.
$ac_ext <<_ACEOF
18264 cat confdefs.h
>>conftest.
$ac_ext
18265 cat >>conftest.
$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 $ac_includes_default
18271 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18278 rm -f conftest.
$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try
='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_hi
=$ac_mid; break
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.
$ac_ext >&5
18304 ac_lo
=`expr $ac_mid + 1`
18305 if test $ac_lo -le $ac_mid; then
18309 ac_mid
=`expr 2 '*' $ac_mid + 1`
18311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.
$ac_ext >&5
18317 cat >conftest.
$ac_ext <<_ACEOF
18320 cat confdefs.h
>>conftest.
$ac_ext
18321 cat >>conftest.
$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 $ac_includes_default
18327 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18334 rm -f conftest.
$ac_objext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18336 (eval $ac_compile) 2>conftest.er1
18338 grep -v '^ *+' conftest.er1
>conftest.err
18340 cat conftest.err
>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try
='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18357 cat >conftest.
$ac_ext <<_ACEOF
18360 cat confdefs.h
>>conftest.
$ac_ext
18361 cat >>conftest.
$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 $ac_includes_default
18367 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18374 rm -f conftest.
$ac_objext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18376 (eval $ac_compile) 2>conftest.er1
18378 grep -v '^ *+' conftest.er1
>conftest.err
18380 cat conftest.err
>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } &&
18383 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; } &&
18389 { ac_try
='test -s conftest.$ac_objext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18395 ac_lo
=$ac_mid; break
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.
$ac_ext >&5
18400 ac_hi
=`expr '(' $ac_mid ')' - 1`
18401 if test $ac_mid -le $ac_hi; then
18405 ac_mid
=`expr 2 '*' $ac_mid`
18407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18418 # Binary search between lo and hi bounds.
18419 while test "x$ac_lo" != "x$ac_hi"; do
18420 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18421 cat >conftest.
$ac_ext <<_ACEOF
18424 cat confdefs.h
>>conftest.
$ac_ext
18425 cat >>conftest.
$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 $ac_includes_default
18431 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18438 rm -f conftest.
$ac_objext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18440 (eval $ac_compile) 2>conftest.er1
18442 grep -v '^ *+' conftest.er1
>conftest.err
18444 cat conftest.err
>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } &&
18447 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18449 (eval $ac_try) 2>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }; } &&
18453 { ac_try
='test -s conftest.$ac_objext'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; }; then
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.
$ac_ext >&5
18464 ac_lo
=`expr '(' $ac_mid ')' + 1`
18466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18469 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18470 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18471 See \`config.log' for more details." >&5
18472 echo "$as_me: error: cannot compute sizeof (char), 77
18473 See \`config.log' for more details." >&2;}
18474 { (exit 1); exit 1; }; } ;;
18477 if test "$cross_compiling" = yes; then
18478 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18479 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18480 { (exit 1); exit 1; }; }
18482 cat >conftest.
$ac_ext <<_ACEOF
18485 cat confdefs.h
>>conftest.
$ac_ext
18486 cat >>conftest.
$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 $ac_includes_default
18489 long longval () { return (long) (sizeof (char)); }
18490 unsigned long ulongval () { return (long) (sizeof (char)); }
18492 #include <stdlib.h>
18497 FILE *f = fopen ("conftest.val", "w");
18500 if (((long) (sizeof (char))) < 0)
18502 long i = longval ();
18503 if (i != ((long) (sizeof (char))))
18505 fprintf (f, "%ld\n", i);
18509 unsigned long i = ulongval ();
18510 if (i != ((long) (sizeof (char))))
18512 fprintf (f, "%lu\n", i);
18514 exit (ferror (f) || fclose (f) != 0);
18520 rm -f conftest
$ac_exeext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18522 (eval $ac_link) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; }; then
18531 ac_cv_sizeof_char
=`cat conftest.val`
18533 echo "$as_me: program exited with status $ac_status" >&5
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.
$ac_ext >&5
18537 ( exit $ac_status )
18538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18539 See \`config.log' for more details." >&5
18540 echo "$as_me: error: cannot compute sizeof (char), 77
18541 See \`config.log' for more details." >&2;}
18542 { (exit 1); exit 1; }; }
18544 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18549 ac_cv_sizeof_char
=0
18552 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18553 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18554 cat >>confdefs.h
<<_ACEOF
18555 #define SIZEOF_CHAR $ac_cv_sizeof_char
18559 echo "$as_me:$LINENO: checking for short" >&5
18560 echo $ECHO_N "checking for short... $ECHO_C" >&6
18561 if test "${ac_cv_type_short+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 cat >conftest.
$ac_ext <<_ACEOF
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 $ac_includes_default
18576 if (sizeof (short))
18582 rm -f conftest.
$ac_objext
18583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18584 (eval $ac_compile) 2>conftest.er1
18586 grep -v '^ *+' conftest.er1
>conftest.err
18588 cat conftest.err
>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } &&
18597 { ac_try
='test -s conftest.$ac_objext'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18603 ac_cv_type_short
=yes
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.
$ac_ext >&5
18608 ac_cv_type_short
=no
18610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18612 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18613 echo "${ECHO_T}$ac_cv_type_short" >&6
18615 echo "$as_me:$LINENO: checking size of short" >&5
18616 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18617 if test "${ac_cv_sizeof_short+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 if test "$ac_cv_type_short" = yes; then
18621 # The cast to unsigned long works around a bug in the HP C Compiler
18622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18624 # This bug is HP SR number 8606223364.
18625 if test "$cross_compiling" = yes; then
18626 # Depending upon the size, compute the lo and hi bounds.
18627 cat >conftest.
$ac_ext <<_ACEOF
18630 cat confdefs.h
>>conftest.
$ac_ext
18631 cat >>conftest.
$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 $ac_includes_default
18637 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18644 rm -f conftest.
$ac_objext
18645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18646 (eval $ac_compile) 2>conftest.er1
18648 grep -v '^ *+' conftest.er1
>conftest.err
18650 cat conftest.err
>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; } &&
18659 { ac_try
='test -s conftest.$ac_objext'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; }; then
18667 cat >conftest.
$ac_ext <<_ACEOF
18670 cat confdefs.h
>>conftest.
$ac_ext
18671 cat >>conftest.
$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18673 $ac_includes_default
18677 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18684 rm -f conftest.
$ac_objext
18685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18686 (eval $ac_compile) 2>conftest.er1
18688 grep -v '^ *+' conftest.er1
>conftest.err
18690 cat conftest.err
>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } &&
18693 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; } &&
18699 { ac_try
='test -s conftest.$ac_objext'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; }; then
18705 ac_hi
=$ac_mid; break
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.
$ac_ext >&5
18710 ac_lo
=`expr $ac_mid + 1`
18711 if test $ac_lo -le $ac_mid; then
18715 ac_mid
=`expr 2 '*' $ac_mid + 1`
18717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.
$ac_ext >&5
18723 cat >conftest.
$ac_ext <<_ACEOF
18726 cat confdefs.h
>>conftest.
$ac_ext
18727 cat >>conftest.
$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 $ac_includes_default
18733 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18740 rm -f conftest.
$ac_objext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18742 (eval $ac_compile) 2>conftest.er1
18744 grep -v '^ *+' conftest.er1
>conftest.err
18746 cat conftest.err
>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; } &&
18755 { ac_try
='test -s conftest.$ac_objext'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; }; then
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $ac_includes_default
18773 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18780 rm -f conftest.
$ac_objext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18782 (eval $ac_compile) 2>conftest.er1
18784 grep -v '^ *+' conftest.er1
>conftest.err
18786 cat conftest.err
>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try
='test -s conftest.$ac_objext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 ac_lo
=$ac_mid; break
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.
$ac_ext >&5
18806 ac_hi
=`expr '(' $ac_mid ')' - 1`
18807 if test $ac_mid -le $ac_hi; then
18811 ac_mid
=`expr 2 '*' $ac_mid`
18813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.
$ac_ext >&5
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18824 # Binary search between lo and hi bounds.
18825 while test "x$ac_lo" != "x$ac_hi"; do
18826 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $ac_includes_default
18837 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18844 rm -f conftest.
$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18848 grep -v '^ *+' conftest.er1
>conftest.err
18850 cat conftest.err
>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18855 (eval $ac_try) 2>&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try
='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.
$ac_ext >&5
18870 ac_lo
=`expr '(' $ac_mid ')' + 1`
18872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18875 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18876 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18877 See \`config.log' for more details." >&5
18878 echo "$as_me: error: cannot compute sizeof (short), 77
18879 See \`config.log' for more details." >&2;}
18880 { (exit 1); exit 1; }; } ;;
18883 if test "$cross_compiling" = yes; then
18884 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18885 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18886 { (exit 1); exit 1; }; }
18888 cat >conftest.
$ac_ext <<_ACEOF
18891 cat confdefs.h
>>conftest.
$ac_ext
18892 cat >>conftest.
$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18894 $ac_includes_default
18895 long longval () { return (long) (sizeof (short)); }
18896 unsigned long ulongval () { return (long) (sizeof (short)); }
18898 #include <stdlib.h>
18903 FILE *f = fopen ("conftest.val", "w");
18906 if (((long) (sizeof (short))) < 0)
18908 long i = longval ();
18909 if (i != ((long) (sizeof (short))))
18911 fprintf (f, "%ld\n", i);
18915 unsigned long i = ulongval ();
18916 if (i != ((long) (sizeof (short))))
18918 fprintf (f, "%lu\n", i);
18920 exit (ferror (f) || fclose (f) != 0);
18926 rm -f conftest
$ac_exeext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18928 (eval $ac_link) 2>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; }; then
18937 ac_cv_sizeof_short
=`cat conftest.val`
18939 echo "$as_me: program exited with status $ac_status" >&5
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.
$ac_ext >&5
18943 ( exit $ac_status )
18944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18945 See \`config.log' for more details." >&5
18946 echo "$as_me: error: cannot compute sizeof (short), 77
18947 See \`config.log' for more details." >&2;}
18948 { (exit 1); exit 1; }; }
18950 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18955 ac_cv_sizeof_short
=0
18958 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18959 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18960 cat >>confdefs.h
<<_ACEOF
18961 #define SIZEOF_SHORT $ac_cv_sizeof_short
18965 echo "$as_me:$LINENO: checking for void *" >&5
18966 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18967 if test "${ac_cv_type_void_p+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 $ac_includes_default
18982 if (sizeof (void *))
18988 rm -f conftest.
$ac_objext
18989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18990 (eval $ac_compile) 2>conftest.er1
18992 grep -v '^ *+' conftest.er1
>conftest.err
18994 cat conftest.err
>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } &&
18997 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try
='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009 ac_cv_type_void_p
=yes
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.
$ac_ext >&5
19014 ac_cv_type_void_p
=no
19016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19018 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19019 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19021 echo "$as_me:$LINENO: checking size of void *" >&5
19022 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19023 if test "${ac_cv_sizeof_void_p+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19026 if test "$ac_cv_type_void_p" = yes; then
19027 # The cast to unsigned long works around a bug in the HP C Compiler
19028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19030 # This bug is HP SR number 8606223364.
19031 if test "$cross_compiling" = yes; then
19032 # Depending upon the size, compute the lo and hi bounds.
19033 cat >conftest.
$ac_ext <<_ACEOF
19036 cat confdefs.h
>>conftest.
$ac_ext
19037 cat >>conftest.
$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 $ac_includes_default
19043 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19050 rm -f conftest.
$ac_objext
19051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19052 (eval $ac_compile) 2>conftest.er1
19054 grep -v '^ *+' conftest.er1
>conftest.err
19056 cat conftest.err
>&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } &&
19059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try
='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19073 cat >conftest.
$ac_ext <<_ACEOF
19076 cat confdefs.h
>>conftest.
$ac_ext
19077 cat >>conftest.
$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 $ac_includes_default
19083 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19090 rm -f conftest.
$ac_objext
19091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19092 (eval $ac_compile) 2>conftest.er1
19094 grep -v '^ *+' conftest.er1
>conftest.err
19096 cat conftest.err
>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } &&
19099 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101 (eval $ac_try) 2>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; } &&
19105 { ac_try
='test -s conftest.$ac_objext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_hi
=$ac_mid; break
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.
$ac_ext >&5
19116 ac_lo
=`expr $ac_mid + 1`
19117 if test $ac_lo -le $ac_mid; then
19121 ac_mid
=`expr 2 '*' $ac_mid + 1`
19123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.
$ac_ext >&5
19129 cat >conftest.
$ac_ext <<_ACEOF
19132 cat confdefs.h
>>conftest.
$ac_ext
19133 cat >>conftest.
$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 $ac_includes_default
19139 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19146 rm -f conftest.
$ac_objext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19148 (eval $ac_compile) 2>conftest.er1
19150 grep -v '^ *+' conftest.er1
>conftest.err
19152 cat conftest.err
>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; } &&
19161 { ac_try
='test -s conftest.$ac_objext'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; }; then
19169 cat >conftest.
$ac_ext <<_ACEOF
19172 cat confdefs.h
>>conftest.
$ac_ext
19173 cat >>conftest.
$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 $ac_includes_default
19179 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19186 rm -f conftest.
$ac_objext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19188 (eval $ac_compile) 2>conftest.er1
19190 grep -v '^ *+' conftest.er1
>conftest.err
19192 cat conftest.err
>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try
='test -s conftest.$ac_objext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_lo
=$ac_mid; break
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.
$ac_ext >&5
19212 ac_hi
=`expr '(' $ac_mid ')' - 1`
19213 if test $ac_mid -le $ac_hi; then
19217 ac_mid
=`expr 2 '*' $ac_mid`
19219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.
$ac_ext >&5
19227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 # Binary search between lo and hi bounds.
19231 while test "x$ac_lo" != "x$ac_hi"; do
19232 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19233 cat >conftest.
$ac_ext <<_ACEOF
19236 cat confdefs.h
>>conftest.
$ac_ext
19237 cat >>conftest.
$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19243 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19250 rm -f conftest.
$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252 (eval $ac_compile) 2>conftest.er1
19254 grep -v '^ *+' conftest.er1
>conftest.err
19256 cat conftest.err
>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } &&
19259 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try
='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.
$ac_ext >&5
19276 ac_lo
=`expr '(' $ac_mid ')' + 1`
19278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19281 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
19282 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19283 See \`config.log' for more details." >&5
19284 echo "$as_me: error: cannot compute sizeof (void *), 77
19285 See \`config.log' for more details." >&2;}
19286 { (exit 1); exit 1; }; } ;;
19289 if test "$cross_compiling" = yes; then
19290 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19291 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19292 { (exit 1); exit 1; }; }
19294 cat >conftest.
$ac_ext <<_ACEOF
19297 cat confdefs.h
>>conftest.
$ac_ext
19298 cat >>conftest.
$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19301 long longval () { return (long) (sizeof (void *)); }
19302 unsigned long ulongval () { return (long) (sizeof (void *)); }
19304 #include <stdlib.h>
19309 FILE *f = fopen ("conftest.val", "w");
19312 if (((long) (sizeof (void *))) < 0)
19314 long i = longval ();
19315 if (i != ((long) (sizeof (void *))))
19317 fprintf (f, "%ld\n", i);
19321 unsigned long i = ulongval ();
19322 if (i != ((long) (sizeof (void *))))
19324 fprintf (f, "%lu\n", i);
19326 exit (ferror (f) || fclose (f) != 0);
19332 rm -f conftest
$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334 (eval $ac_link) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_sizeof_void_p
=`cat conftest.val`
19345 echo "$as_me: program exited with status $ac_status" >&5
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.
$ac_ext >&5
19349 ( exit $ac_status )
19350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19351 See \`config.log' for more details." >&5
19352 echo "$as_me: error: cannot compute sizeof (void *), 77
19353 See \`config.log' for more details." >&2;}
19354 { (exit 1); exit 1; }; }
19356 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19361 ac_cv_sizeof_void_p
=0
19364 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19365 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19366 cat >>confdefs.h
<<_ACEOF
19367 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19371 echo "$as_me:$LINENO: checking for int" >&5
19372 echo $ECHO_N "checking for int... $ECHO_C" >&6
19373 if test "${ac_cv_type_int+set}" = set; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 cat >conftest.
$ac_ext <<_ACEOF
19379 cat confdefs.h
>>conftest.
$ac_ext
19380 cat >>conftest.
$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 $ac_includes_default
19394 rm -f conftest.
$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19398 grep -v '^ *+' conftest.er1
>conftest.err
19400 cat conftest.err
>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; } &&
19409 { ac_try
='test -s conftest.$ac_objext'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; }; then
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.
$ac_ext >&5
19422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19424 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19425 echo "${ECHO_T}$ac_cv_type_int" >&6
19427 echo "$as_me:$LINENO: checking size of int" >&5
19428 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19429 if test "${ac_cv_sizeof_int+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 if test "$ac_cv_type_int" = yes; then
19433 # The cast to unsigned long works around a bug in the HP C Compiler
19434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19436 # This bug is HP SR number 8606223364.
19437 if test "$cross_compiling" = yes; then
19438 # Depending upon the size, compute the lo and hi bounds.
19439 cat >conftest.
$ac_ext <<_ACEOF
19442 cat confdefs.h
>>conftest.
$ac_ext
19443 cat >>conftest.
$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19449 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19456 rm -f conftest.
$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458 (eval $ac_compile) 2>conftest.er1
19460 grep -v '^ *+' conftest.er1
>conftest.err
19462 cat conftest.err
>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; } &&
19471 { ac_try
='test -s conftest.$ac_objext'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; }; then
19479 cat >conftest.
$ac_ext <<_ACEOF
19482 cat confdefs.h
>>conftest.
$ac_ext
19483 cat >>conftest.
$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19489 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19496 rm -f conftest.
$ac_objext
19497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19498 (eval $ac_compile) 2>conftest.er1
19500 grep -v '^ *+' conftest.er1
>conftest.err
19502 cat conftest.err
>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } &&
19505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; } &&
19511 { ac_try
='test -s conftest.$ac_objext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_hi
=$ac_mid; break
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.
$ac_ext >&5
19522 ac_lo
=`expr $ac_mid + 1`
19523 if test $ac_lo -le $ac_mid; then
19527 ac_mid
=`expr 2 '*' $ac_mid + 1`
19529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19532 echo "$as_me: failed program was:" >&5
19533 sed 's/^/| /' conftest.
$ac_ext >&5
19535 cat >conftest.
$ac_ext <<_ACEOF
19538 cat confdefs.h
>>conftest.
$ac_ext
19539 cat >>conftest.
$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 $ac_includes_default
19545 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19552 rm -f conftest.
$ac_objext
19553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19554 (eval $ac_compile) 2>conftest.er1
19556 grep -v '^ *+' conftest.er1
>conftest.err
19558 cat conftest.err
>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } &&
19561 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; } &&
19567 { ac_try
='test -s conftest.$ac_objext'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; }; then
19575 cat >conftest.
$ac_ext <<_ACEOF
19578 cat confdefs.h
>>conftest.
$ac_ext
19579 cat >>conftest.
$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19585 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19592 rm -f conftest.
$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_lo
=$ac_mid; break
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19618 ac_hi
=`expr '(' $ac_mid ')' - 1`
19619 if test $ac_mid -le $ac_hi; then
19623 ac_mid
=`expr 2 '*' $ac_mid`
19625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.
$ac_ext >&5
19633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19636 # Binary search between lo and hi bounds.
19637 while test "x$ac_lo" != "x$ac_hi"; do
19638 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19639 cat >conftest.
$ac_ext <<_ACEOF
19642 cat confdefs.h
>>conftest.
$ac_ext
19643 cat >>conftest.
$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 $ac_includes_default
19649 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19656 rm -f conftest.
$ac_objext
19657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19658 (eval $ac_compile) 2>conftest.er1
19660 grep -v '^ *+' conftest.er1
>conftest.err
19662 cat conftest.err
>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; } &&
19671 { ac_try
='test -s conftest.$ac_objext'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.
$ac_ext >&5
19682 ac_lo
=`expr '(' $ac_mid ')' + 1`
19684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19687 ?
*) ac_cv_sizeof_int
=$ac_lo;;
19688 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19689 See \`config.log' for more details." >&5
19690 echo "$as_me: error: cannot compute sizeof (int), 77
19691 See \`config.log' for more details." >&2;}
19692 { (exit 1); exit 1; }; } ;;
19695 if test "$cross_compiling" = yes; then
19696 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19697 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19698 { (exit 1); exit 1; }; }
19700 cat >conftest.
$ac_ext <<_ACEOF
19703 cat confdefs.h
>>conftest.
$ac_ext
19704 cat >>conftest.
$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 $ac_includes_default
19707 long longval () { return (long) (sizeof (int)); }
19708 unsigned long ulongval () { return (long) (sizeof (int)); }
19710 #include <stdlib.h>
19715 FILE *f = fopen ("conftest.val", "w");
19718 if (((long) (sizeof (int))) < 0)
19720 long i = longval ();
19721 if (i != ((long) (sizeof (int))))
19723 fprintf (f, "%ld\n", i);
19727 unsigned long i = ulongval ();
19728 if (i != ((long) (sizeof (int))))
19730 fprintf (f, "%lu\n", i);
19732 exit (ferror (f) || fclose (f) != 0);
19738 rm -f conftest
$ac_exeext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19740 (eval $ac_link) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19749 ac_cv_sizeof_int
=`cat conftest.val`
19751 echo "$as_me: program exited with status $ac_status" >&5
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.
$ac_ext >&5
19755 ( exit $ac_status )
19756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19757 See \`config.log' for more details." >&5
19758 echo "$as_me: error: cannot compute sizeof (int), 77
19759 See \`config.log' for more details." >&2;}
19760 { (exit 1); exit 1; }; }
19762 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19770 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19771 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19772 cat >>confdefs.h
<<_ACEOF
19773 #define SIZEOF_INT $ac_cv_sizeof_int
19777 echo "$as_me:$LINENO: checking for long" >&5
19778 echo $ECHO_N "checking for long... $ECHO_C" >&6
19779 if test "${ac_cv_type_long+set}" = set; then
19780 echo $ECHO_N "(cached) $ECHO_C" >&6
19782 cat >conftest.
$ac_ext <<_ACEOF
19785 cat confdefs.h
>>conftest.
$ac_ext
19786 cat >>conftest.
$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788 $ac_includes_default
19800 rm -f conftest.
$ac_objext
19801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19802 (eval $ac_compile) 2>conftest.er1
19804 grep -v '^ *+' conftest.er1
>conftest.err
19806 cat conftest.err
>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; } &&
19815 { ac_try
='test -s conftest.$ac_objext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 ac_cv_type_long
=yes
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.
$ac_ext >&5
19828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19830 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19831 echo "${ECHO_T}$ac_cv_type_long" >&6
19833 echo "$as_me:$LINENO: checking size of long" >&5
19834 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19835 if test "${ac_cv_sizeof_long+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 if test "$ac_cv_type_long" = yes; then
19839 # The cast to unsigned long works around a bug in the HP C Compiler
19840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19842 # This bug is HP SR number 8606223364.
19843 if test "$cross_compiling" = yes; then
19844 # Depending upon the size, compute the lo and hi bounds.
19845 cat >conftest.
$ac_ext <<_ACEOF
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19855 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19862 rm -f conftest.
$ac_objext
19863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19864 (eval $ac_compile) 2>conftest.er1
19866 grep -v '^ *+' conftest.er1
>conftest.err
19868 cat conftest.err
>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } &&
19871 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try
='test -s conftest.$ac_objext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19885 cat >conftest.
$ac_ext <<_ACEOF
19888 cat confdefs.h
>>conftest.
$ac_ext
19889 cat >>conftest.
$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 $ac_includes_default
19895 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19902 rm -f conftest.
$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19906 grep -v '^ *+' conftest.er1
>conftest.err
19908 cat conftest.err
>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; } &&
19917 { ac_try
='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 ac_hi
=$ac_mid; break
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.
$ac_ext >&5
19928 ac_lo
=`expr $ac_mid + 1`
19929 if test $ac_lo -le $ac_mid; then
19933 ac_mid
=`expr 2 '*' $ac_mid + 1`
19935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.
$ac_ext >&5
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19951 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19958 rm -f conftest.
$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19962 grep -v '^ *+' conftest.er1
>conftest.err
19964 cat conftest.err
>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try
='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19981 cat >conftest.
$ac_ext <<_ACEOF
19984 cat confdefs.h
>>conftest.
$ac_ext
19985 cat >>conftest.
$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19991 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19998 rm -f conftest.
$ac_objext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20000 (eval $ac_compile) 2>conftest.er1
20002 grep -v '^ *+' conftest.er1
>conftest.err
20004 cat conftest.err
>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try
='test -s conftest.$ac_objext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 ac_lo
=$ac_mid; break
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.
$ac_ext >&5
20024 ac_hi
=`expr '(' $ac_mid ')' - 1`
20025 if test $ac_mid -le $ac_hi; then
20029 ac_mid
=`expr 2 '*' $ac_mid`
20031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.
$ac_ext >&5
20039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20042 # Binary search between lo and hi bounds.
20043 while test "x$ac_lo" != "x$ac_hi"; do
20044 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20045 cat >conftest.
$ac_ext <<_ACEOF
20048 cat confdefs.h
>>conftest.
$ac_ext
20049 cat >>conftest.
$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 $ac_includes_default
20055 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20062 rm -f conftest.
$ac_objext
20063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20064 (eval $ac_compile) 2>conftest.er1
20066 grep -v '^ *+' conftest.er1
>conftest.err
20068 cat conftest.err
>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } &&
20071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; } &&
20077 { ac_try
='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.
$ac_ext >&5
20088 ac_lo
=`expr '(' $ac_mid ')' + 1`
20090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20093 ?
*) ac_cv_sizeof_long
=$ac_lo;;
20094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20095 See \`config.log' for more details." >&5
20096 echo "$as_me: error: cannot compute sizeof (long), 77
20097 See \`config.log' for more details." >&2;}
20098 { (exit 1); exit 1; }; } ;;
20101 if test "$cross_compiling" = yes; then
20102 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20103 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20104 { (exit 1); exit 1; }; }
20106 cat >conftest.
$ac_ext <<_ACEOF
20109 cat confdefs.h
>>conftest.
$ac_ext
20110 cat >>conftest.
$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 $ac_includes_default
20113 long longval () { return (long) (sizeof (long)); }
20114 unsigned long ulongval () { return (long) (sizeof (long)); }
20116 #include <stdlib.h>
20121 FILE *f = fopen ("conftest.val", "w");
20124 if (((long) (sizeof (long))) < 0)
20126 long i = longval ();
20127 if (i != ((long) (sizeof (long))))
20129 fprintf (f, "%ld\n", i);
20133 unsigned long i = ulongval ();
20134 if (i != ((long) (sizeof (long))))
20136 fprintf (f, "%lu\n", i);
20138 exit (ferror (f) || fclose (f) != 0);
20144 rm -f conftest
$ac_exeext
20145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20146 (eval $ac_link) 2>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 ac_cv_sizeof_long
=`cat conftest.val`
20157 echo "$as_me: program exited with status $ac_status" >&5
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.
$ac_ext >&5
20161 ( exit $ac_status )
20162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20163 See \`config.log' for more details." >&5
20164 echo "$as_me: error: cannot compute sizeof (long), 77
20165 See \`config.log' for more details." >&2;}
20166 { (exit 1); exit 1; }; }
20168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20173 ac_cv_sizeof_long
=0
20176 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20177 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20178 cat >>confdefs.h
<<_ACEOF
20179 #define SIZEOF_LONG $ac_cv_sizeof_long
20183 echo "$as_me:$LINENO: checking for size_t" >&5
20184 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20185 if test "${ac_cv_type_size_t+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20188 cat >conftest.
$ac_ext <<_ACEOF
20191 cat confdefs.h
>>conftest.
$ac_ext
20192 cat >>conftest.
$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 $ac_includes_default
20200 if (sizeof (size_t))
20206 rm -f conftest.
$ac_objext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20208 (eval $ac_compile) 2>conftest.er1
20210 grep -v '^ *+' conftest.er1
>conftest.err
20212 cat conftest.err
>&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } &&
20215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try
='test -s conftest.$ac_objext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 ac_cv_type_size_t
=yes
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.
$ac_ext >&5
20232 ac_cv_type_size_t
=no
20234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20236 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20237 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20239 echo "$as_me:$LINENO: checking size of size_t" >&5
20240 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20241 if test "${ac_cv_sizeof_size_t+set}" = set; then
20242 echo $ECHO_N "(cached) $ECHO_C" >&6
20244 if test "$ac_cv_type_size_t" = yes; then
20245 # The cast to unsigned long works around a bug in the HP C Compiler
20246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20248 # This bug is HP SR number 8606223364.
20249 if test "$cross_compiling" = yes; then
20250 # Depending upon the size, compute the lo and hi bounds.
20251 cat >conftest.
$ac_ext <<_ACEOF
20254 cat confdefs.h
>>conftest.
$ac_ext
20255 cat >>conftest.
$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 $ac_includes_default
20261 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20268 rm -f conftest.
$ac_objext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20270 (eval $ac_compile) 2>conftest.er1
20272 grep -v '^ *+' conftest.er1
>conftest.err
20274 cat conftest.err
>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } &&
20277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; } &&
20283 { ac_try
='test -s conftest.$ac_objext'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; }; then
20291 cat >conftest.
$ac_ext <<_ACEOF
20294 cat confdefs.h
>>conftest.
$ac_ext
20295 cat >>conftest.
$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 $ac_includes_default
20301 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20308 rm -f conftest.
$ac_objext
20309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20310 (eval $ac_compile) 2>conftest.er1
20312 grep -v '^ *+' conftest.er1
>conftest.err
20314 cat conftest.err
>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } &&
20317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try
='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 ac_hi
=$ac_mid; break
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.
$ac_ext >&5
20334 ac_lo
=`expr $ac_mid + 1`
20335 if test $ac_lo -le $ac_mid; then
20339 ac_mid
=`expr 2 '*' $ac_mid + 1`
20341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.
$ac_ext >&5
20347 cat >conftest.
$ac_ext <<_ACEOF
20350 cat confdefs.h
>>conftest.
$ac_ext
20351 cat >>conftest.
$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 $ac_includes_default
20357 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20364 rm -f conftest.
$ac_objext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20366 (eval $ac_compile) 2>conftest.er1
20368 grep -v '^ *+' conftest.er1
>conftest.err
20370 cat conftest.err
>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } &&
20373 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; } &&
20379 { ac_try
='test -s conftest.$ac_objext'
20380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20381 (eval $ac_try) 2>&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; }; then
20387 cat >conftest.
$ac_ext <<_ACEOF
20390 cat confdefs.h
>>conftest.
$ac_ext
20391 cat >>conftest.
$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20397 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20404 rm -f conftest.
$ac_objext
20405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20406 (eval $ac_compile) 2>conftest.er1
20408 grep -v '^ *+' conftest.er1
>conftest.err
20410 cat conftest.err
>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } &&
20413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try
='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_lo
=$ac_mid; break
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.
$ac_ext >&5
20430 ac_hi
=`expr '(' $ac_mid ')' - 1`
20431 if test $ac_mid -le $ac_hi; then
20435 ac_mid
=`expr 2 '*' $ac_mid`
20437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.
$ac_ext >&5
20445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20448 # Binary search between lo and hi bounds.
20449 while test "x$ac_lo" != "x$ac_hi"; do
20450 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20451 cat >conftest.
$ac_ext <<_ACEOF
20454 cat confdefs.h
>>conftest.
$ac_ext
20455 cat >>conftest.
$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 $ac_includes_default
20461 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20468 rm -f conftest.
$ac_objext
20469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20470 (eval $ac_compile) 2>conftest.er1
20472 grep -v '^ *+' conftest.er1
>conftest.err
20474 cat conftest.err
>&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } &&
20477 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479 (eval $ac_try) 2>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; } &&
20483 { ac_try
='test -s conftest.$ac_objext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.
$ac_ext >&5
20494 ac_lo
=`expr '(' $ac_mid ')' + 1`
20496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20499 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
20500 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20501 See \`config.log' for more details." >&5
20502 echo "$as_me: error: cannot compute sizeof (size_t), 77
20503 See \`config.log' for more details." >&2;}
20504 { (exit 1); exit 1; }; } ;;
20507 if test "$cross_compiling" = yes; then
20508 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20509 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20510 { (exit 1); exit 1; }; }
20512 cat >conftest.
$ac_ext <<_ACEOF
20515 cat confdefs.h
>>conftest.
$ac_ext
20516 cat >>conftest.
$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 long longval () { return (long) (sizeof (size_t)); }
20520 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20522 #include <stdlib.h>
20527 FILE *f = fopen ("conftest.val", "w");
20530 if (((long) (sizeof (size_t))) < 0)
20532 long i = longval ();
20533 if (i != ((long) (sizeof (size_t))))
20535 fprintf (f, "%ld\n", i);
20539 unsigned long i = ulongval ();
20540 if (i != ((long) (sizeof (size_t))))
20542 fprintf (f, "%lu\n", i);
20544 exit (ferror (f) || fclose (f) != 0);
20550 rm -f conftest
$ac_exeext
20551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20552 (eval $ac_link) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_sizeof_size_t
=`cat conftest.val`
20563 echo "$as_me: program exited with status $ac_status" >&5
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.
$ac_ext >&5
20567 ( exit $ac_status )
20568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20569 See \`config.log' for more details." >&5
20570 echo "$as_me: error: cannot compute sizeof (size_t), 77
20571 See \`config.log' for more details." >&2;}
20572 { (exit 1); exit 1; }; }
20574 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20579 ac_cv_sizeof_size_t
=0
20582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20584 cat >>confdefs.h
<<_ACEOF
20585 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20592 echo "$as_me:$LINENO: checking for long long" >&5
20593 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20594 if test "${ac_cv_type_long_long+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20597 cat >conftest.
$ac_ext <<_ACEOF
20600 cat confdefs.h
>>conftest.
$ac_ext
20601 cat >>conftest.
$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20607 if ((long long *) 0)
20609 if (sizeof (long long))
20615 rm -f conftest.
$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20619 grep -v '^ *+' conftest.er1
>conftest.err
20621 cat conftest.err
>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try
='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_cv_type_long_long
=yes
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.
$ac_ext >&5
20641 ac_cv_type_long_long
=no
20643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20645 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20646 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20648 echo "$as_me:$LINENO: checking size of long long" >&5
20649 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20650 if test "${ac_cv_sizeof_long_long+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 if test "$ac_cv_type_long_long" = yes; then
20654 # The cast to unsigned long works around a bug in the HP C Compiler
20655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20657 # This bug is HP SR number 8606223364.
20658 if test "$cross_compiling" = yes; then
20659 # Depending upon the size, compute the lo and hi bounds.
20660 cat >conftest.
$ac_ext <<_ACEOF
20663 cat confdefs.h
>>conftest.
$ac_ext
20664 cat >>conftest.
$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20677 rm -f conftest.
$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20681 grep -v '^ *+' conftest.er1
>conftest.err
20683 cat conftest.err
>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; } &&
20692 { ac_try
='test -s conftest.$ac_objext'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; }; then
20700 cat >conftest.
$ac_ext <<_ACEOF
20703 cat confdefs.h
>>conftest.
$ac_ext
20704 cat >>conftest.
$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 $ac_includes_default
20710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20717 rm -f conftest.
$ac_objext
20718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20719 (eval $ac_compile) 2>conftest.er1
20721 grep -v '^ *+' conftest.er1
>conftest.err
20723 cat conftest.err
>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } &&
20726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; } &&
20732 { ac_try
='test -s conftest.$ac_objext'
20733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734 (eval $ac_try) 2>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; }; then
20738 ac_hi
=$ac_mid; break
20740 echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.
$ac_ext >&5
20743 ac_lo
=`expr $ac_mid + 1`
20744 if test $ac_lo -le $ac_mid; then
20748 ac_mid
=`expr 2 '*' $ac_mid + 1`
20750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.
$ac_ext >&5
20756 cat >conftest.
$ac_ext <<_ACEOF
20759 cat confdefs.h
>>conftest.
$ac_ext
20760 cat >>conftest.
$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20773 rm -f conftest.
$ac_objext
20774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20775 (eval $ac_compile) 2>conftest.er1
20777 grep -v '^ *+' conftest.er1
>conftest.err
20779 cat conftest.err
>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } &&
20782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try
='test -s conftest.$ac_objext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20796 cat >conftest.
$ac_ext <<_ACEOF
20799 cat confdefs.h
>>conftest.
$ac_ext
20800 cat >>conftest.
$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 $ac_includes_default
20806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20813 rm -f conftest.
$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20817 grep -v '^ *+' conftest.er1
>conftest.err
20819 cat conftest.err
>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; } &&
20828 { ac_try
='test -s conftest.$ac_objext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20834 ac_lo
=$ac_mid; break
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.
$ac_ext >&5
20839 ac_hi
=`expr '(' $ac_mid ')' - 1`
20840 if test $ac_mid -le $ac_hi; then
20844 ac_mid
=`expr 2 '*' $ac_mid`
20846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20849 echo "$as_me: failed program was:" >&5
20850 sed 's/^/| /' conftest.
$ac_ext >&5
20854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20857 # Binary search between lo and hi bounds.
20858 while test "x$ac_lo" != "x$ac_hi"; do
20859 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20860 cat >conftest.
$ac_ext <<_ACEOF
20863 cat confdefs.h
>>conftest.
$ac_ext
20864 cat >>conftest.
$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20877 rm -f conftest.
$ac_objext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20879 (eval $ac_compile) 2>conftest.er1
20881 grep -v '^ *+' conftest.er1
>conftest.err
20883 cat conftest.err
>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try
='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.
$ac_ext >&5
20903 ac_lo
=`expr '(' $ac_mid ')' + 1`
20905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20908 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20909 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20910 See \`config.log' for more details." >&5
20911 echo "$as_me: error: cannot compute sizeof (long long), 77
20912 See \`config.log' for more details." >&2;}
20913 { (exit 1); exit 1; }; } ;;
20916 if test "$cross_compiling" = yes; then
20917 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20918 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20919 { (exit 1); exit 1; }; }
20921 cat >conftest.
$ac_ext <<_ACEOF
20924 cat confdefs.h
>>conftest.
$ac_ext
20925 cat >>conftest.
$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20928 long longval () { return (long) (sizeof (long long)); }
20929 unsigned long ulongval () { return (long) (sizeof (long long)); }
20931 #include <stdlib.h>
20936 FILE *f = fopen ("conftest.val", "w");
20939 if (((long) (sizeof (long long))) < 0)
20941 long i = longval ();
20942 if (i != ((long) (sizeof (long long))))
20944 fprintf (f, "%ld\n", i);
20948 unsigned long i = ulongval ();
20949 if (i != ((long) (sizeof (long long))))
20951 fprintf (f, "%lu\n", i);
20953 exit (ferror (f) || fclose (f) != 0);
20959 rm -f conftest
$ac_exeext
20960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20961 (eval $ac_link) 2>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_sizeof_long_long
=`cat conftest.val`
20972 echo "$as_me: program exited with status $ac_status" >&5
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.
$ac_ext >&5
20976 ( exit $ac_status )
20977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20978 See \`config.log' for more details." >&5
20979 echo "$as_me: error: cannot compute sizeof (long long), 77
20980 See \`config.log' for more details." >&2;}
20981 { (exit 1); exit 1; }; }
20983 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20988 ac_cv_sizeof_long_long
=0
20991 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20992 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20993 cat >>confdefs.h
<<_ACEOF
20994 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21000 echo "$as_me:$LINENO: checking for long long" >&5
21001 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21002 if test "${ac_cv_type_long_long+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21005 cat >conftest.
$ac_ext <<_ACEOF
21008 cat confdefs.h
>>conftest.
$ac_ext
21009 cat >>conftest.
$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21015 if ((long long *) 0)
21017 if (sizeof (long long))
21023 rm -f conftest.
$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025 (eval $ac_compile) 2>conftest.er1
21027 grep -v '^ *+' conftest.er1
>conftest.err
21029 cat conftest.err
>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try
='test -s conftest.$ac_objext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 ac_cv_type_long_long
=yes
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.
$ac_ext >&5
21049 ac_cv_type_long_long
=no
21051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21053 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21056 echo "$as_me:$LINENO: checking size of long long" >&5
21057 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21058 if test "${ac_cv_sizeof_long_long+set}" = set; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21061 if test "$ac_cv_type_long_long" = yes; then
21062 # The cast to unsigned long works around a bug in the HP C Compiler
21063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21065 # This bug is HP SR number 8606223364.
21066 if test "$cross_compiling" = yes; then
21067 # Depending upon the size, compute the lo and hi bounds.
21068 cat >conftest.
$ac_ext <<_ACEOF
21071 cat confdefs.h
>>conftest.
$ac_ext
21072 cat >>conftest.
$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 $ac_includes_default
21078 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21085 rm -f conftest.
$ac_objext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21087 (eval $ac_compile) 2>conftest.er1
21089 grep -v '^ *+' conftest.er1
>conftest.err
21091 cat conftest.err
>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } &&
21094 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try
='test -s conftest.$ac_objext'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; }; then
21108 cat >conftest.
$ac_ext <<_ACEOF
21111 cat confdefs.h
>>conftest.
$ac_ext
21112 cat >>conftest.
$ac_ext <<_ACEOF
21113 /* end confdefs.h. */
21114 $ac_includes_default
21118 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21125 rm -f conftest.
$ac_objext
21126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21127 (eval $ac_compile) 2>conftest.er1
21129 grep -v '^ *+' conftest.er1
>conftest.err
21131 cat conftest.err
>&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } &&
21134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; } &&
21140 { ac_try
='test -s conftest.$ac_objext'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; }; then
21146 ac_hi
=$ac_mid; break
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.
$ac_ext >&5
21151 ac_lo
=`expr $ac_mid + 1`
21152 if test $ac_lo -le $ac_mid; then
21156 ac_mid
=`expr 2 '*' $ac_mid + 1`
21158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.
$ac_ext >&5
21164 cat >conftest.
$ac_ext <<_ACEOF
21167 cat confdefs.h
>>conftest.
$ac_ext
21168 cat >>conftest.
$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21181 rm -f conftest.
$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21185 grep -v '^ *+' conftest.er1
>conftest.err
21187 cat conftest.err
>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; } &&
21196 { ac_try
='test -s conftest.$ac_objext'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21204 cat >conftest.
$ac_ext <<_ACEOF
21207 cat confdefs.h
>>conftest.
$ac_ext
21208 cat >>conftest.
$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21214 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21221 rm -f conftest.
$ac_objext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21223 (eval $ac_compile) 2>conftest.er1
21225 grep -v '^ *+' conftest.er1
>conftest.err
21227 cat conftest.err
>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try
='test -s conftest.$ac_objext'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; }; then
21242 ac_lo
=$ac_mid; break
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.
$ac_ext >&5
21247 ac_hi
=`expr '(' $ac_mid ')' - 1`
21248 if test $ac_mid -le $ac_hi; then
21252 ac_mid
=`expr 2 '*' $ac_mid`
21254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.
$ac_ext >&5
21262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21265 # Binary search between lo and hi bounds.
21266 while test "x$ac_lo" != "x$ac_hi"; do
21267 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21268 cat >conftest.
$ac_ext <<_ACEOF
21271 cat confdefs.h
>>conftest.
$ac_ext
21272 cat >>conftest.
$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21278 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21285 rm -f conftest.
$ac_objext
21286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21287 (eval $ac_compile) 2>conftest.er1
21289 grep -v '^ *+' conftest.er1
>conftest.err
21291 cat conftest.err
>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } &&
21294 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; } &&
21300 { ac_try
='test -s conftest.$ac_objext'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; }; then
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.
$ac_ext >&5
21311 ac_lo
=`expr '(' $ac_mid ')' + 1`
21313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21316 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21317 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21318 See \`config.log' for more details." >&5
21319 echo "$as_me: error: cannot compute sizeof (long long), 77
21320 See \`config.log' for more details." >&2;}
21321 { (exit 1); exit 1; }; } ;;
21324 if test "$cross_compiling" = yes; then
21325 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21326 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21327 { (exit 1); exit 1; }; }
21329 cat >conftest.
$ac_ext <<_ACEOF
21332 cat confdefs.h
>>conftest.
$ac_ext
21333 cat >>conftest.
$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 $ac_includes_default
21336 long longval () { return (long) (sizeof (long long)); }
21337 unsigned long ulongval () { return (long) (sizeof (long long)); }
21339 #include <stdlib.h>
21344 FILE *f = fopen ("conftest.val", "w");
21347 if (((long) (sizeof (long long))) < 0)
21349 long i = longval ();
21350 if (i != ((long) (sizeof (long long))))
21352 fprintf (f, "%ld\n", i);
21356 unsigned long i = ulongval ();
21357 if (i != ((long) (sizeof (long long))))
21359 fprintf (f, "%lu\n", i);
21361 exit (ferror (f) || fclose (f) != 0);
21367 rm -f conftest
$ac_exeext
21368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21369 (eval $ac_link) 2>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_cv_sizeof_long_long
=`cat conftest.val`
21380 echo "$as_me: program exited with status $ac_status" >&5
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.
$ac_ext >&5
21384 ( exit $ac_status )
21385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21386 See \`config.log' for more details." >&5
21387 echo "$as_me: error: cannot compute sizeof (long long), 77
21388 See \`config.log' for more details." >&2;}
21389 { (exit 1); exit 1; }; }
21391 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21396 ac_cv_sizeof_long_long
=0
21399 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21400 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21401 cat >>confdefs.h
<<_ACEOF
21402 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21406 if test "$ac_cv_sizeof_long_long" != "0"; then
21407 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
21411 echo "$as_me:$LINENO: checking for long long" >&5
21412 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21413 if test "${ac_cv_type_long_long+set}" = set; then
21414 echo $ECHO_N "(cached) $ECHO_C" >&6
21416 cat >conftest.
$ac_ext <<_ACEOF
21419 cat confdefs.h
>>conftest.
$ac_ext
21420 cat >>conftest.
$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21426 if ((long long *) 0)
21428 if (sizeof (long long))
21434 rm -f conftest.
$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21438 grep -v '^ *+' conftest.er1
>conftest.err
21440 cat conftest.err
>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; } &&
21449 { ac_try
='test -s conftest.$ac_objext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_type_long_long
=yes
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.
$ac_ext >&5
21460 ac_cv_type_long_long
=no
21462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21464 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21465 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21467 echo "$as_me:$LINENO: checking size of long long" >&5
21468 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21469 if test "${ac_cv_sizeof_long_long+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 if test "$ac_cv_type_long_long" = yes; then
21473 # The cast to unsigned long works around a bug in the HP C Compiler
21474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21476 # This bug is HP SR number 8606223364.
21477 if test "$cross_compiling" = yes; then
21478 # Depending upon the size, compute the lo and hi bounds.
21479 cat >conftest.
$ac_ext <<_ACEOF
21482 cat confdefs.h
>>conftest.
$ac_ext
21483 cat >>conftest.
$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21489 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21496 rm -f conftest.
$ac_objext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21498 (eval $ac_compile) 2>conftest.er1
21500 grep -v '^ *+' conftest.er1
>conftest.err
21502 cat conftest.err
>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try
='test -s conftest.$ac_objext'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21519 cat >conftest.
$ac_ext <<_ACEOF
21522 cat confdefs.h
>>conftest.
$ac_ext
21523 cat >>conftest.
$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 $ac_includes_default
21529 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21536 rm -f conftest.
$ac_objext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21538 (eval $ac_compile) 2>conftest.er1
21540 grep -v '^ *+' conftest.er1
>conftest.err
21542 cat conftest.err
>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try
='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 ac_hi
=$ac_mid; break
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.
$ac_ext >&5
21562 ac_lo
=`expr $ac_mid + 1`
21563 if test $ac_lo -le $ac_mid; then
21567 ac_mid
=`expr 2 '*' $ac_mid + 1`
21569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.
$ac_ext >&5
21575 cat >conftest.
$ac_ext <<_ACEOF
21578 cat confdefs.h
>>conftest.
$ac_ext
21579 cat >>conftest.
$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21592 rm -f conftest.
$ac_objext
21593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21594 (eval $ac_compile) 2>conftest.er1
21596 grep -v '^ *+' conftest.er1
>conftest.err
21598 cat conftest.err
>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; } &&
21607 { ac_try
='test -s conftest.$ac_objext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21615 cat >conftest.
$ac_ext <<_ACEOF
21618 cat confdefs.h
>>conftest.
$ac_ext
21619 cat >>conftest.
$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21621 $ac_includes_default
21625 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21632 rm -f conftest.
$ac_objext
21633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21634 (eval $ac_compile) 2>conftest.er1
21636 grep -v '^ *+' conftest.er1
>conftest.err
21638 cat conftest.err
>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } &&
21641 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try
='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 ac_lo
=$ac_mid; break
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.
$ac_ext >&5
21658 ac_hi
=`expr '(' $ac_mid ')' - 1`
21659 if test $ac_mid -le $ac_hi; then
21663 ac_mid
=`expr 2 '*' $ac_mid`
21665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.
$ac_ext >&5
21673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21676 # Binary search between lo and hi bounds.
21677 while test "x$ac_lo" != "x$ac_hi"; do
21678 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21679 cat >conftest.
$ac_ext <<_ACEOF
21682 cat confdefs.h
>>conftest.
$ac_ext
21683 cat >>conftest.
$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 $ac_includes_default
21689 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21696 rm -f conftest.
$ac_objext
21697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21698 (eval $ac_compile) 2>conftest.er1
21700 grep -v '^ *+' conftest.er1
>conftest.err
21702 cat conftest.err
>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } &&
21705 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try
='test -s conftest.$ac_objext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.
$ac_ext >&5
21722 ac_lo
=`expr '(' $ac_mid ')' + 1`
21724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21727 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
21728 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21729 See \`config.log' for more details." >&5
21730 echo "$as_me: error: cannot compute sizeof (long long), 77
21731 See \`config.log' for more details." >&2;}
21732 { (exit 1); exit 1; }; } ;;
21735 if test "$cross_compiling" = yes; then
21736 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21737 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21738 { (exit 1); exit 1; }; }
21740 cat >conftest.
$ac_ext <<_ACEOF
21743 cat confdefs.h
>>conftest.
$ac_ext
21744 cat >>conftest.
$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 $ac_includes_default
21747 long longval () { return (long) (sizeof (long long)); }
21748 unsigned long ulongval () { return (long) (sizeof (long long)); }
21750 #include <stdlib.h>
21755 FILE *f = fopen ("conftest.val", "w");
21758 if (((long) (sizeof (long long))) < 0)
21760 long i = longval ();
21761 if (i != ((long) (sizeof (long long))))
21763 fprintf (f, "%ld\n", i);
21767 unsigned long i = ulongval ();
21768 if (i != ((long) (sizeof (long long))))
21770 fprintf (f, "%lu\n", i);
21772 exit (ferror (f) || fclose (f) != 0);
21778 rm -f conftest
$ac_exeext
21779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21780 (eval $ac_link) 2>&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; }; then
21789 ac_cv_sizeof_long_long
=`cat conftest.val`
21791 echo "$as_me: program exited with status $ac_status" >&5
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 ( exit $ac_status )
21796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21797 See \`config.log' for more details." >&5
21798 echo "$as_me: error: cannot compute sizeof (long long), 77
21799 See \`config.log' for more details." >&2;}
21800 { (exit 1); exit 1; }; }
21802 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21807 ac_cv_sizeof_long_long
=0
21810 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21811 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21812 cat >>confdefs.h
<<_ACEOF
21813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21819 echo "$as_me:$LINENO: checking for wchar_t" >&5
21820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21821 if test "${ac_cv_type_wchar_t+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6
21824 cat >conftest.
$ac_ext <<_ACEOF
21827 cat confdefs.h
>>conftest.
$ac_ext
21828 cat >>conftest.
$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21831 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21833 # error "fake wchar_t"
21835 #ifdef HAVE_WCHAR_H
21837 # include <stddef.h>
21839 # include <wchar.h>
21841 #ifdef HAVE_STDLIB_H
21842 # include <stdlib.h>
21853 if (sizeof (wchar_t))
21859 rm -f conftest.
$ac_objext
21860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21861 (eval $ac_compile) 2>conftest.er1
21863 grep -v '^ *+' conftest.er1
>conftest.err
21865 cat conftest.err
>&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } &&
21868 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; } &&
21874 { ac_try
='test -s conftest.$ac_objext'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; }; then
21880 ac_cv_type_wchar_t
=yes
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.
$ac_ext >&5
21885 ac_cv_type_wchar_t
=no
21887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21889 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21890 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21892 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21893 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21894 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21895 echo $ECHO_N "(cached) $ECHO_C" >&6
21897 if test "$ac_cv_type_wchar_t" = yes; then
21898 # The cast to unsigned long works around a bug in the HP C Compiler
21899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21901 # This bug is HP SR number 8606223364.
21902 if test "$cross_compiling" = yes; then
21903 # Depending upon the size, compute the lo and hi bounds.
21904 cat >conftest.
$ac_ext <<_ACEOF
21907 cat confdefs.h
>>conftest.
$ac_ext
21908 cat >>conftest.
$ac_ext <<_ACEOF
21909 /* end confdefs.h. */
21911 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21912 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21913 # error "fake wchar_t"
21915 #ifdef HAVE_WCHAR_H
21917 # include <stddef.h>
21919 # include <wchar.h>
21921 #ifdef HAVE_STDLIB_H
21922 # include <stdlib.h>
21931 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21938 rm -f conftest.
$ac_objext
21939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21940 (eval $ac_compile) 2>conftest.er1
21942 grep -v '^ *+' conftest.er1
>conftest.err
21944 cat conftest.err
>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } &&
21947 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; } &&
21953 { ac_try
='test -s conftest.$ac_objext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21961 cat >conftest.
$ac_ext <<_ACEOF
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21968 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21969 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21970 # error "fake wchar_t"
21972 #ifdef HAVE_WCHAR_H
21974 # include <stddef.h>
21976 # include <wchar.h>
21978 #ifdef HAVE_STDLIB_H
21979 # include <stdlib.h>
21988 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21995 rm -f conftest.
$ac_objext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21997 (eval $ac_compile) 2>conftest.er1
21999 grep -v '^ *+' conftest.er1
>conftest.err
22001 cat conftest.err
>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try
='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_hi
=$ac_mid; break
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.
$ac_ext >&5
22021 ac_lo
=`expr $ac_mid + 1`
22022 if test $ac_lo -le $ac_mid; then
22026 ac_mid
=`expr 2 '*' $ac_mid + 1`
22028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.
$ac_ext >&5
22034 cat >conftest.
$ac_ext <<_ACEOF
22037 cat confdefs.h
>>conftest.
$ac_ext
22038 cat >>conftest.
$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22041 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22042 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22043 # error "fake wchar_t"
22045 #ifdef HAVE_WCHAR_H
22047 # include <stddef.h>
22049 # include <wchar.h>
22051 #ifdef HAVE_STDLIB_H
22052 # include <stdlib.h>
22061 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22068 rm -f conftest.
$ac_objext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22070 (eval $ac_compile) 2>conftest.er1
22072 grep -v '^ *+' conftest.er1
>conftest.err
22074 cat conftest.err
>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } &&
22077 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22079 (eval $ac_try) 2>&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; } &&
22083 { ac_try
='test -s conftest.$ac_objext'
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085 (eval $ac_try) 2>&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; }; then
22091 cat >conftest.
$ac_ext <<_ACEOF
22094 cat confdefs.h
>>conftest.
$ac_ext
22095 cat >>conftest.
$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22098 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22099 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22100 # error "fake wchar_t"
22102 #ifdef HAVE_WCHAR_H
22104 # include <stddef.h>
22106 # include <wchar.h>
22108 #ifdef HAVE_STDLIB_H
22109 # include <stdlib.h>
22118 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22125 rm -f conftest.
$ac_objext
22126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22127 (eval $ac_compile) 2>conftest.er1
22129 grep -v '^ *+' conftest.er1
>conftest.err
22131 cat conftest.err
>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; } &&
22140 { ac_try
='test -s conftest.$ac_objext'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; }; then
22146 ac_lo
=$ac_mid; break
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.
$ac_ext >&5
22151 ac_hi
=`expr '(' $ac_mid ')' - 1`
22152 if test $ac_mid -le $ac_hi; then
22156 ac_mid
=`expr 2 '*' $ac_mid`
22158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.
$ac_ext >&5
22166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22169 # Binary search between lo and hi bounds.
22170 while test "x$ac_lo" != "x$ac_hi"; do
22171 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22172 cat >conftest.
$ac_ext <<_ACEOF
22175 cat confdefs.h
>>conftest.
$ac_ext
22176 cat >>conftest.
$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22179 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22180 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22181 # error "fake wchar_t"
22183 #ifdef HAVE_WCHAR_H
22185 # include <stddef.h>
22187 # include <wchar.h>
22189 #ifdef HAVE_STDLIB_H
22190 # include <stdlib.h>
22199 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22206 rm -f conftest.
$ac_objext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22208 (eval $ac_compile) 2>conftest.er1
22210 grep -v '^ *+' conftest.er1
>conftest.err
22212 cat conftest.err
>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try
='test -s conftest.$ac_objext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.
$ac_ext >&5
22232 ac_lo
=`expr '(' $ac_mid ')' + 1`
22234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22237 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
22238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22239 See \`config.log' for more details." >&5
22240 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22241 See \`config.log' for more details." >&2;}
22242 { (exit 1); exit 1; }; } ;;
22245 if test "$cross_compiling" = yes; then
22246 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22247 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22248 { (exit 1); exit 1; }; }
22250 cat >conftest.
$ac_ext <<_ACEOF
22253 cat confdefs.h
>>conftest.
$ac_ext
22254 cat >>conftest.
$ac_ext <<_ACEOF
22255 /* end confdefs.h. */
22257 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22258 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22259 # error "fake wchar_t"
22261 #ifdef HAVE_WCHAR_H
22263 # include <stddef.h>
22265 # include <wchar.h>
22267 #ifdef HAVE_STDLIB_H
22268 # include <stdlib.h>
22274 long longval () { return (long) (sizeof (wchar_t)); }
22275 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22277 #include <stdlib.h>
22282 FILE *f = fopen ("conftest.val", "w");
22285 if (((long) (sizeof (wchar_t))) < 0)
22287 long i = longval ();
22288 if (i != ((long) (sizeof (wchar_t))))
22290 fprintf (f, "%ld\n", i);
22294 unsigned long i = ulongval ();
22295 if (i != ((long) (sizeof (wchar_t))))
22297 fprintf (f, "%lu\n", i);
22299 exit (ferror (f) || fclose (f) != 0);
22305 rm -f conftest
$ac_exeext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22307 (eval $ac_link) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312 (eval $ac_try) 2>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); }; }; then
22316 ac_cv_sizeof_wchar_t
=`cat conftest.val`
22318 echo "$as_me: program exited with status $ac_status" >&5
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.
$ac_ext >&5
22322 ( exit $ac_status )
22323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22324 See \`config.log' for more details." >&5
22325 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22326 See \`config.log' for more details." >&2;}
22327 { (exit 1); exit 1; }; }
22329 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22334 ac_cv_sizeof_wchar_t
=0
22337 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22338 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22339 cat >>confdefs.h
<<_ACEOF
22340 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22344 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22350 echo "$as_me:$LINENO: checking for va_copy" >&5
22351 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22352 if test "${wx_cv_func_va_copy+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 cat >conftest.
$ac_ext <<_ACEOF
22358 #include <stdarg.h>
22359 void foo(char *f, ...)
22373 rm -f conftest.
$ac_objext conftest
$ac_exeext
22374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22375 (eval $ac_link) 2>conftest.er1
22377 grep -v '^ *+' conftest.er1
>conftest.err
22379 cat conftest.err
>&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } &&
22382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; } &&
22388 { ac_try
='test -s conftest$ac_exeext'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; }; then
22394 wx_cv_func_va_copy
=yes
22396 echo "$as_me: failed program was:" >&5
22397 sed 's/^/| /' conftest.
$ac_ext >&5
22399 wx_cv_func_va_copy
=no
22402 rm -f conftest.err conftest.
$ac_objext \
22403 conftest
$ac_exeext conftest.
$ac_ext
22407 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22408 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22410 if test $wx_cv_func_va_copy = "yes"; then
22411 cat >>confdefs.h
<<\_ACEOF
22412 #define HAVE_VA_COPY 1
22416 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22417 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22418 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 if test "$cross_compiling" = yes; then
22423 wx_cv_type_va_list_lvalue
=yes
22426 cat >conftest.
$ac_ext <<_ACEOF
22428 #include <stdarg.h>
22429 int foo(char *f, ...)
22434 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22442 return foo("hi", 17);
22445 rm -f conftest
$ac_exeext
22446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22447 (eval $ac_link) 2>&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; }; then
22456 wx_cv_type_va_list_lvalue
=yes
22458 echo "$as_me: program exited with status $ac_status" >&5
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.
$ac_ext >&5
22462 ( exit $ac_status )
22463 wx_cv_type_va_list_lvalue
=no
22465 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22470 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22471 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22473 if test $wx_cv_type_va_list_lvalue != "yes"; then
22474 cat >>confdefs.h
<<\_ACEOF
22475 #define VA_LIST_IS_ARRAY 1
22481 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22482 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22483 if test "${wx_cv_have_variadic_macros+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22487 cat >conftest.
$ac_ext <<_ACEOF
22490 cat confdefs.h
>>conftest.
$ac_ext
22491 cat >>conftest.
$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22495 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22501 test("%s %d %p", "test", 1, 0);
22508 rm -f conftest.
$ac_objext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>conftest.er1
22512 grep -v '^ *+' conftest.er1
>conftest.err
22514 cat conftest.err
>&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try
='test -s conftest.$ac_objext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 wx_cv_have_variadic_macros
=yes
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.
$ac_ext >&5
22534 wx_cv_have_variadic_macros
=no
22537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22541 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22542 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22544 if test $wx_cv_have_variadic_macros = "yes"; then
22545 cat >>confdefs.h
<<\_ACEOF
22546 #define HAVE_VARIADIC_MACROS 1
22551 # Check whether --enable-largefile or --disable-largefile was given.
22552 if test "${enable_largefile+set}" = set; then
22553 enableval
="$enable_largefile"
22556 if test "$enable_largefile" != no
; then
22559 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22560 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22561 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22565 cat >conftest.
$ac_ext <<_ACEOF
22568 cat confdefs.h
>>conftest.
$ac_ext
22569 cat >>conftest.
$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22571 #define _FILE_OFFSET_BITS 64
22572 #include <sys/types.h>
22577 unsigned int field: sizeof(off_t) == 8;
22584 rm -f conftest.
$ac_objext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22586 (eval $ac_compile) 2>conftest.er1
22588 grep -v '^ *+' conftest.er1
>conftest.err
22590 cat conftest.err
>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; } &&
22599 { ac_try
='test -s conftest.$ac_objext'
22600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22601 (eval $ac_try) 2>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22605 ac_cv_sys_file_offset_bits
=64
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.
$ac_ext >&5
22610 ac_cv_sys_file_offset_bits
=no
22612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22616 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22617 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22619 if test "$ac_cv_sys_file_offset_bits" != no
; then
22621 cat >>confdefs.h
<<_ACEOF
22622 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22627 if test "x$wx_largefile" != "xyes"; then
22629 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22630 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22631 if test "${ac_cv_sys_large_files+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22635 cat >conftest.
$ac_ext <<_ACEOF
22638 cat confdefs.h
>>conftest.
$ac_ext
22639 cat >>conftest.
$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 #define _LARGE_FILES 1
22642 #include <sys/types.h>
22647 unsigned int field: sizeof(off_t) == 8;
22654 rm -f conftest.
$ac_objext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22656 (eval $ac_compile) 2>conftest.er1
22658 grep -v '^ *+' conftest.er1
>conftest.err
22660 cat conftest.err
>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try
='test -s conftest.$ac_objext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_sys_large_files
=1
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.
$ac_ext >&5
22680 ac_cv_sys_large_files
=no
22682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22686 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22687 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22689 if test "$ac_cv_sys_large_files" != no
; then
22691 cat >>confdefs.h
<<_ACEOF
22692 #define _LARGE_FILES $ac_cv_sys_large_files
22699 echo "$as_me:$LINENO: checking if large file support is available" >&5
22700 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22701 if test "x$wx_largefile" = "xyes"; then
22702 cat >>confdefs.h
<<\_ACEOF
22703 #define HAVE_LARGEFILE_SUPPORT 1
22707 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22708 echo "${ECHO_T}$wx_largefile" >&6
22712 if test "x$wx_largefile" = "xyes"; then
22713 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22714 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22716 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22717 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22718 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22719 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22723 cat >conftest.
$ac_ext <<_ACEOF
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22734 #ifndef __STDC_EXT__
22742 rm -f conftest.
$ac_objext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22744 (eval $ac_compile) 2>conftest.er1
22746 grep -v '^ *+' conftest.er1
>conftest.err
22748 cat conftest.err
>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try
='test -s conftest.$ac_objext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 wx_cv_STDC_EXT_required
=no
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.
$ac_ext >&5
22768 wx_cv_STDC_EXT_required
=yes
22771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22775 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22776 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22777 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22778 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22782 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22784 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22785 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22786 if test "${ac_cv_sys_largefile_source+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 ac_cv_sys_largefile_source
=no
22791 cat >conftest.
$ac_ext <<_ACEOF
22794 cat confdefs.h
>>conftest.
$ac_ext
22795 cat >>conftest.
$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22806 rm -f conftest.
$ac_objext
22807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22808 (eval $ac_compile) 2>conftest.er1
22810 grep -v '^ *+' conftest.er1
>conftest.err
22812 cat conftest.err
>&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); } &&
22815 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); }; } &&
22821 { ac_try
='test -s conftest.$ac_objext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22834 cat >conftest.
$ac_ext <<_ACEOF
22837 cat confdefs.h
>>conftest.
$ac_ext
22838 cat >>conftest.
$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840 #define _LARGEFILE_SOURCE 1
22850 rm -f conftest.
$ac_objext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22852 (eval $ac_compile) 2>conftest.er1
22854 grep -v '^ *+' conftest.er1
>conftest.err
22856 cat conftest.err
>&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; } &&
22865 { ac_try
='test -s conftest.$ac_objext'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; }; then
22871 ac_cv_sys_largefile_source
=1; break
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.
$ac_ext >&5
22877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22881 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22882 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22883 if test "$ac_cv_sys_largefile_source" != no
; then
22885 cat >>confdefs.h
<<_ACEOF
22886 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22892 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22893 # in glibc 2.1.3, but that breaks too many other things.
22894 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22895 echo "$as_me:$LINENO: checking for fseeko" >&5
22896 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22897 if test "${ac_cv_func_fseeko+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22900 cat >conftest.
$ac_ext <<_ACEOF
22903 cat confdefs.h
>>conftest.
$ac_ext
22904 cat >>conftest.
$ac_ext <<_ACEOF
22905 /* end confdefs.h. */
22910 return fseeko && fseeko (stdin, 0, 0);
22915 rm -f conftest.
$ac_objext conftest
$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917 (eval $ac_link) 2>conftest.er1
22919 grep -v '^ *+' conftest.er1
>conftest.err
22921 cat conftest.err
>&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } &&
22924 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926 (eval $ac_try) 2>&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); }; } &&
22930 { ac_try
='test -s conftest$ac_exeext'
22931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932 (eval $ac_try) 2>&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; }; then
22936 ac_cv_func_fseeko
=yes
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.
$ac_ext >&5
22941 ac_cv_func_fseeko
=no
22943 rm -f conftest.err conftest.
$ac_objext \
22944 conftest
$ac_exeext conftest.
$ac_ext
22946 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22947 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22948 if test $ac_cv_func_fseeko = yes; then
22950 cat >>confdefs.h
<<\_ACEOF
22951 #define HAVE_FSEEKO 1
22956 if test "$ac_cv_sys_largefile_source" != no
; then
22957 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22961 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22962 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22963 if test "${ac_cv_c_bigendian+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22966 ac_cv_c_bigendian
=unknown
22967 # See if sys/param.h defines the BYTE_ORDER macro.
22968 cat >conftest.
$ac_ext <<_ACEOF
22971 cat confdefs.h
>>conftest.
$ac_ext
22972 cat >>conftest.
$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974 #include <sys/types.h>
22975 #include <sys/param.h>
22980 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22981 bogus endian macros
22987 rm -f conftest.
$ac_objext
22988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22989 (eval $ac_compile) 2>conftest.er1
22991 grep -v '^ *+' conftest.er1
>conftest.err
22993 cat conftest.err
>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } &&
22996 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22998 (eval $ac_try) 2>&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); }; } &&
23002 { ac_try
='test -s conftest.$ac_objext'
23003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004 (eval $ac_try) 2>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); }; }; then
23008 # It does; now see whether it defined to BIG_ENDIAN or not.
23009 cat >conftest.
$ac_ext <<_ACEOF
23012 cat confdefs.h
>>conftest.
$ac_ext
23013 cat >>conftest.
$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #include <sys/types.h>
23016 #include <sys/param.h>
23021 #if BYTE_ORDER != BIG_ENDIAN
23028 rm -f conftest.
$ac_objext
23029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23030 (eval $ac_compile) 2>conftest.er1
23032 grep -v '^ *+' conftest.er1
>conftest.err
23034 cat conftest.err
>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } &&
23037 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; } &&
23043 { ac_try
='test -s conftest.$ac_objext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 ac_cv_c_bigendian
=yes
23051 echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.
$ac_ext >&5
23054 ac_cv_c_bigendian
=no
23056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23058 echo "$as_me: failed program was:" >&5
23059 sed 's/^/| /' conftest.
$ac_ext >&5
23062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23063 if test $ac_cv_c_bigendian = unknown
; then
23064 if test "$cross_compiling" = yes; then
23065 ac_cv_c_bigendian
=unknown
23067 cat >conftest.
$ac_ext <<_ACEOF
23070 cat confdefs.h
>>conftest.
$ac_ext
23071 cat >>conftest.
$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23074 /* Are we little or big endian? From Harbison&Steele. */
23078 char c[sizeof (long)];
23081 exit (u.c[sizeof (long) - 1] == 1);
23084 rm -f conftest
$ac_exeext
23085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23086 (eval $ac_link) 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; }; then
23095 ac_cv_c_bigendian
=no
23097 echo "$as_me: program exited with status $ac_status" >&5
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.
$ac_ext >&5
23101 ( exit $ac_status )
23102 ac_cv_c_bigendian
=yes
23104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23108 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23109 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23110 if test $ac_cv_c_bigendian = unknown
; then
23111 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
23112 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
23114 if test $ac_cv_c_bigendian = yes; then
23115 cat >>confdefs.h
<<\_ACEOF
23116 #define WORDS_BIGENDIAN 1
23126 ac_cpp
='$CXXCPP $CPPFLAGS'
23127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23133 for ac_header
in iostream
23135 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23137 echo "$as_me:$LINENO: checking for $ac_header" >&5
23138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23140 echo $ECHO_N "(cached) $ECHO_C" >&6
23142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23145 # Is the header compilable?
23146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23148 cat >conftest.
$ac_ext <<_ACEOF
23151 cat confdefs.h
>>conftest.
$ac_ext
23152 cat >>conftest.
$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 $ac_includes_default
23155 #include <$ac_header>
23157 rm -f conftest.
$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23161 grep -v '^ *+' conftest.er1
>conftest.err
23163 cat conftest.err
>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23168 (eval $ac_try) 2>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); }; } &&
23172 { ac_try
='test -s conftest.$ac_objext'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; }; then
23178 ac_header_compiler
=yes
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.
$ac_ext >&5
23183 ac_header_compiler
=no
23185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23187 echo "${ECHO_T}$ac_header_compiler" >&6
23189 # Is the header present?
23190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23192 cat >conftest.
$ac_ext <<_ACEOF
23195 cat confdefs.h
>>conftest.
$ac_ext
23196 cat >>conftest.
$ac_ext <<_ACEOF
23197 /* end confdefs.h. */
23198 #include <$ac_header>
23200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23203 grep -v '^ *+' conftest.er1
>conftest.err
23205 cat conftest.err
>&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); } >/dev
/null
; then
23208 if test -s conftest.err
; then
23209 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23210 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23217 if test -z "$ac_cpp_err"; then
23218 ac_header_preproc
=yes
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.
$ac_ext >&5
23223 ac_header_preproc
=no
23225 rm -f conftest.err conftest.
$ac_ext
23226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23227 echo "${ECHO_T}$ac_header_preproc" >&6
23229 # So? What about this header?
23230 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23236 ac_header_preproc
=yes
23239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23253 ## ----------------------------------------- ##
23254 ## Report this to wx-dev@lists.wxwidgets.org ##
23255 ## ----------------------------------------- ##
23258 sed "s/^/$as_me: WARNING: /" >&2
23261 echo "$as_me:$LINENO: checking for $ac_header" >&5
23262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 eval "$as_ac_Header=\$ac_header_preproc"
23268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23273 cat >>confdefs.h
<<_ACEOF
23274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23282 if test "$ac_cv_header_iostream" = "yes" ; then
23285 cat >>confdefs.h
<<\_ACEOF
23286 #define wxUSE_IOSTREAMH 1
23292 ac_cpp
='$CXXCPP $CPPFLAGS'
23293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23300 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23301 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23302 if test "${wx_cv_cpp_bool+set}" = set; then
23303 echo $ECHO_N "(cached) $ECHO_C" >&6
23309 ac_cpp
='$CXXCPP $CPPFLAGS'
23310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23315 cat >conftest.
$ac_ext <<_ACEOF
23318 cat confdefs.h
>>conftest.
$ac_ext
23319 cat >>conftest.
$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23335 rm -f conftest.
$ac_objext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23337 (eval $ac_compile) 2>conftest.er1
23339 grep -v '^ *+' conftest.er1
>conftest.err
23341 cat conftest.err
>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); } &&
23344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; } &&
23350 { ac_try
='test -s conftest.$ac_objext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.
$ac_ext >&5
23368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23371 ac_cpp
='$CXXCPP $CPPFLAGS'
23372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23378 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23379 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23381 if test "$wx_cv_cpp_bool" = "yes"; then
23382 cat >>confdefs.h
<<\_ACEOF
23383 #define HAVE_BOOL 1
23390 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23391 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23392 if test "${wx_cv_explicit+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 ac_cpp
='$CXXCPP $CPPFLAGS'
23400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23405 cat >conftest.
$ac_ext <<_ACEOF
23408 cat confdefs.h
>>conftest.
$ac_ext
23409 cat >>conftest.
$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23412 class Foo { public: explicit Foo(int) {} };
23424 rm -f conftest.
$ac_objext
23425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23426 (eval $ac_compile) 2>conftest.er1
23428 grep -v '^ *+' conftest.er1
>conftest.err
23430 cat conftest.err
>&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } &&
23433 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; } &&
23439 { ac_try
='test -s conftest.$ac_objext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23446 cat >conftest.
$ac_ext <<_ACEOF
23449 cat confdefs.h
>>conftest.
$ac_ext
23450 cat >>conftest.
$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23453 class Foo { public: explicit Foo(int) {} };
23454 static void TakeFoo(const Foo& foo) { }
23467 rm -f conftest.
$ac_objext
23468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23469 (eval $ac_compile) 2>conftest.er1
23471 grep -v '^ *+' conftest.er1
>conftest.err
23473 cat conftest.err
>&5
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } &&
23476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; } &&
23482 { ac_try
='test -s conftest.$ac_objext'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.
$ac_ext >&5
23496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.
$ac_ext >&5
23505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23508 ac_cpp
='$CXXCPP $CPPFLAGS'
23509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23515 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23516 echo "${ECHO_T}$wx_cv_explicit" >&6
23518 if test "$wx_cv_explicit" = "yes"; then
23519 cat >>confdefs.h
<<\_ACEOF
23520 #define HAVE_EXPLICIT 1
23526 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23527 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23528 if test "${ac_cv_cxx_const_cast+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23534 ac_cpp
='$CXXCPP $CPPFLAGS'
23535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23539 cat >conftest.
$ac_ext <<_ACEOF
23542 cat confdefs.h
>>conftest.
$ac_ext
23543 cat >>conftest.
$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23549 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23554 rm -f conftest.
$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>conftest.er1
23558 grep -v '^ *+' conftest.er1
>conftest.err
23560 cat conftest.err
>&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; } &&
23569 { ac_try
='test -s conftest.$ac_objext'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; }; then
23575 ac_cv_cxx_const_cast
=yes
23577 echo "$as_me: failed program was:" >&5
23578 sed 's/^/| /' conftest.
$ac_ext >&5
23580 ac_cv_cxx_const_cast
=no
23582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23584 ac_cpp
='$CXXCPP $CPPFLAGS'
23585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23591 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23592 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23593 if test "$ac_cv_cxx_const_cast" = yes; then
23595 cat >>confdefs.h
<<\_ACEOF
23596 #define HAVE_CONST_CAST
23601 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23602 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23603 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 ac_cpp
='$CXXCPP $CPPFLAGS'
23610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23614 cat >conftest.
$ac_ext <<_ACEOF
23617 cat confdefs.h
>>conftest.
$ac_ext
23618 cat >>conftest.
$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23620 #include <typeinfo>
23621 class Base { public : Base () {} virtual void f () = 0;};
23622 class Derived : public Base { public : Derived () {} virtual void f () {} };
23623 class Unrelated { public : Unrelated () {} };
23624 int g (Unrelated&) { return 0; }
23629 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23634 rm -f conftest.
$ac_objext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23636 (eval $ac_compile) 2>conftest.er1
23638 grep -v '^ *+' conftest.er1
>conftest.err
23640 cat conftest.err
>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; } &&
23649 { ac_try
='test -s conftest.$ac_objext'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; }; then
23655 ac_cv_cxx_reinterpret_cast
=yes
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.
$ac_ext >&5
23660 ac_cv_cxx_reinterpret_cast
=no
23662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23664 ac_cpp
='$CXXCPP $CPPFLAGS'
23665 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23671 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23672 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23673 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23675 cat >>confdefs.h
<<\_ACEOF
23676 #define HAVE_REINTERPRET_CAST
23681 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23682 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23683 if test "${ac_cv_cxx_static_cast+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 ac_cpp
='$CXXCPP $CPPFLAGS'
23690 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23691 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23692 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23694 cat >conftest.
$ac_ext <<_ACEOF
23697 cat confdefs.h
>>conftest.
$ac_ext
23698 cat >>conftest.
$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 #include <typeinfo>
23701 class Base { public : Base () {} virtual void f () = 0; };
23702 class Derived : public Base { public : Derived () {} virtual void f () {} };
23703 int g (Derived&) { return 0; }
23708 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23713 rm -f conftest.
$ac_objext
23714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23715 (eval $ac_compile) 2>conftest.er1
23717 grep -v '^ *+' conftest.er1
>conftest.err
23719 cat conftest.err
>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } &&
23722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; } &&
23728 { ac_try
='test -s conftest.$ac_objext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23734 ac_cv_cxx_static_cast
=yes
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.
$ac_ext >&5
23739 ac_cv_cxx_static_cast
=no
23741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23743 ac_cpp
='$CXXCPP $CPPFLAGS'
23744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23750 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23751 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23752 if test "$ac_cv_cxx_static_cast" = yes; then
23754 cat >>confdefs.h
<<\_ACEOF
23755 #define HAVE_STATIC_CAST
23761 if test "x$SUNCXX" = xyes
; then
23762 CXXFLAGS
="-features=tmplife $CXXFLAGS"
23765 if test "x$SUNCC" = xyes
; then
23766 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23769 if test "x$SGICC" = "xyes"; then
23770 CFLAGS
="-woff 3970 $CFLAGS"
23772 if test "x$SGICXX" = "xyes"; then
23773 CXXFLAGS
="-woff 3970 $CXXFLAGS"
23776 if test "x$HPCC" = "xyes"; then
23777 CFLAGS
="+W 2011,2450 $CFLAGS"
23779 if test "x$HPCXX" = "xyes"; then
23780 CXXFLAGS
="+W 2340 $CXXFLAGS"
23783 if test "x$COMPAQCXX" = "xyes"; then
23784 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23787 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23788 if test "$wxUSE_UNICODE" = "yes"; then
23789 std_string
="std::wstring"
23790 char_type
="wchar_t"
23792 std_string
="std::string"
23796 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23797 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23798 cat >conftest.
$ac_ext <<_ACEOF
23801 cat confdefs.h
>>conftest.
$ac_ext
23802 cat >>conftest.
$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23813 rm -f conftest.
$ac_objext
23814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23815 (eval $ac_compile) 2>conftest.er1
23817 grep -v '^ *+' conftest.er1
>conftest.err
23819 cat conftest.err
>&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } &&
23822 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; } &&
23828 { ac_try
='test -s conftest.$ac_objext'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; }; then
23834 echo "$as_me:$LINENO: result: yes" >&5
23835 echo "${ECHO_T}yes" >&6
23836 cat >>confdefs.h
<<\_ACEOF
23837 #define HAVE_STD_WSTRING 1
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.
$ac_ext >&5
23844 echo "$as_me:$LINENO: result: no" >&5
23845 echo "${ECHO_T}no" >&6
23846 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23847 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23848 cat >conftest.
$ac_ext <<_ACEOF
23851 cat confdefs.h
>>conftest.
$ac_ext
23852 cat >>conftest.
$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23855 #ifdef HAVE_WCHAR_H
23857 # include <stddef.h>
23859 # include <wchar.h>
23861 #ifdef HAVE_STDLIB_H
23862 # include <stdlib.h>
23870 std::basic_string<$char_type> foo;
23871 const $char_type* dummy = foo.c_str();
23876 rm -f conftest.
$ac_objext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23878 (eval $ac_compile) 2>conftest.er1
23880 grep -v '^ *+' conftest.er1
>conftest.err
23882 cat conftest.err
>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; } &&
23891 { ac_try
='test -s conftest.$ac_objext'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; }; then
23897 echo "$as_me:$LINENO: result: yes" >&5
23898 echo "${ECHO_T}yes" >&6
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.
$ac_ext >&5
23903 echo "$as_me:$LINENO: result: no" >&5
23904 echo "${ECHO_T}no" >&6
23905 if test "$wxUSE_STL" = "yes"; then
23906 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23907 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23908 { (exit 1); exit 1; }; }
23909 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
23910 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23911 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23912 { (exit 1); exit 1; }; }
23914 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23915 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23916 wxUSE_STD_STRING
=no
23921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23927 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23928 echo "$as_me:$LINENO: checking for std::istream" >&5
23929 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23930 if test "${ac_cv_type_std__istream+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23933 cat >conftest.
$ac_ext <<_ACEOF
23936 cat confdefs.h
>>conftest.
$ac_ext
23937 cat >>conftest.
$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23939 #include <iostream>
23944 if ((std::istream *) 0)
23946 if (sizeof (std::istream))
23952 rm -f conftest.
$ac_objext
23953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23954 (eval $ac_compile) 2>conftest.er1
23956 grep -v '^ *+' conftest.er1
>conftest.err
23958 cat conftest.err
>&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } &&
23961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try
='test -s conftest.$ac_objext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23973 ac_cv_type_std__istream
=yes
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.
$ac_ext >&5
23978 ac_cv_type_std__istream
=no
23980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23982 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23983 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23984 if test $ac_cv_type_std__istream = yes; then
23986 cat >>confdefs.h
<<_ACEOF
23987 #define HAVE_STD__ISTREAM 1
23992 wxUSE_STD_IOSTREAM
=no
23994 echo "$as_me:$LINENO: checking for std::ostream" >&5
23995 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23996 if test "${ac_cv_type_std__ostream+set}" = set; then
23997 echo $ECHO_N "(cached) $ECHO_C" >&6
23999 cat >conftest.
$ac_ext <<_ACEOF
24002 cat confdefs.h
>>conftest.
$ac_ext
24003 cat >>conftest.
$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24005 #include <iostream>
24010 if ((std::ostream *) 0)
24012 if (sizeof (std::ostream))
24018 rm -f conftest.
$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>conftest.er1
24022 grep -v '^ *+' conftest.er1
>conftest.err
24024 cat conftest.err
>&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try
='test -s conftest.$ac_objext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 ac_cv_type_std__ostream
=yes
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.
$ac_ext >&5
24044 ac_cv_type_std__ostream
=no
24046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24048 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24049 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24050 if test $ac_cv_type_std__ostream = yes; then
24052 cat >>confdefs.h
<<_ACEOF
24053 #define HAVE_STD__OSTREAM 1
24058 wxUSE_STD_IOSTREAM
=no
24062 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24063 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24064 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24065 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24066 { (exit 1); exit 1; }; }
24068 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24069 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24074 if test "$wxUSE_STL" = "yes"; then
24075 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24076 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24077 cat >conftest.
$ac_ext <<_ACEOF
24080 cat confdefs.h
>>conftest.
$ac_ext
24081 cat >>conftest.
$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24084 #include <functional>
24085 #include <algorithm>
24091 std::vector<int> moo;
24092 std::list<int> foo;
24093 std::vector<int>::iterator it =
24094 std::find_if(moo.begin(), moo.end(),
24095 std::bind2nd(std::less<int>(), 3));
24100 rm -f conftest.
$ac_objext
24101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24102 (eval $ac_compile) 2>conftest.er1
24104 grep -v '^ *+' conftest.er1
>conftest.err
24106 cat conftest.err
>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); } &&
24109 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; } &&
24115 { ac_try
='test -s conftest.$ac_objext'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; }; then
24121 echo "$as_me:$LINENO: result: yes" >&5
24122 echo "${ECHO_T}yes" >&6
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.
$ac_ext >&5
24127 echo "$as_me:$LINENO: result: no" >&5
24128 echo "${ECHO_T}no" >&6
24129 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24130 echo "$as_me: error: Basic STL functionality missing" >&2;}
24131 { (exit 1); exit 1; }; }
24133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24135 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24136 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24137 cat >conftest.
$ac_ext <<_ACEOF
24140 cat confdefs.h
>>conftest.
$ac_ext
24141 cat >>conftest.
$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24147 std::string foo, bar;
24149 foo.compare(1, 1, bar);
24150 foo.compare(1, 1, bar, 1, 1);
24152 foo.compare(1, 1, "");
24153 foo.compare(1, 1, "", 2);
24158 rm -f conftest.
$ac_objext
24159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24160 (eval $ac_compile) 2>conftest.er1
24162 grep -v '^ *+' conftest.er1
>conftest.err
24164 cat conftest.err
>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); } &&
24167 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; } &&
24173 { ac_try
='test -s conftest.$ac_objext'
24174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24175 (eval $ac_try) 2>&5
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; }; then
24179 echo "$as_me:$LINENO: result: yes" >&5
24180 echo "${ECHO_T}yes" >&6
24181 cat >>confdefs.h
<<\_ACEOF
24182 #define HAVE_STD_STRING_COMPARE 1
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.
$ac_ext >&5
24189 echo "$as_me:$LINENO: result: no" >&5
24190 echo "${ECHO_T}no" >&6
24192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24194 if test "${ac_cv_header_hash_map+set}" = set; then
24195 echo "$as_me:$LINENO: checking for hash_map" >&5
24196 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24197 if test "${ac_cv_header_hash_map+set}" = set; then
24198 echo $ECHO_N "(cached) $ECHO_C" >&6
24200 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24201 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24203 # Is the header compilable?
24204 echo "$as_me:$LINENO: checking hash_map usability" >&5
24205 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24206 cat >conftest.
$ac_ext <<_ACEOF
24209 cat confdefs.h
>>conftest.
$ac_ext
24210 cat >>conftest.
$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 $ac_includes_default
24213 #include <hash_map>
24215 rm -f conftest.
$ac_objext
24216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24217 (eval $ac_compile) 2>conftest.er1
24219 grep -v '^ *+' conftest.er1
>conftest.err
24221 cat conftest.err
>&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } &&
24224 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24226 (eval $ac_try) 2>&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); }; } &&
24230 { ac_try
='test -s conftest.$ac_objext'
24231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24232 (eval $ac_try) 2>&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; }; then
24236 ac_header_compiler
=yes
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.
$ac_ext >&5
24241 ac_header_compiler
=no
24243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24245 echo "${ECHO_T}$ac_header_compiler" >&6
24247 # Is the header present?
24248 echo "$as_me:$LINENO: checking hash_map presence" >&5
24249 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24250 cat >conftest.
$ac_ext <<_ACEOF
24253 cat confdefs.h
>>conftest.
$ac_ext
24254 cat >>conftest.
$ac_ext <<_ACEOF
24255 /* end confdefs.h. */
24256 #include <hash_map>
24258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24261 grep -v '^ *+' conftest.er1
>conftest.err
24263 cat conftest.err
>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } >/dev
/null
; then
24266 if test -s conftest.err
; then
24267 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24268 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24275 if test -z "$ac_cpp_err"; then
24276 ac_header_preproc
=yes
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.
$ac_ext >&5
24281 ac_header_preproc
=no
24283 rm -f conftest.err conftest.
$ac_ext
24284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24285 echo "${ECHO_T}$ac_header_preproc" >&6
24287 # So? What about this header?
24288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24290 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24291 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24292 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24293 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24294 ac_header_preproc
=yes
24297 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24298 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24299 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24300 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24301 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24302 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24303 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24304 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24305 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24306 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24307 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24308 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24311 ## ----------------------------------------- ##
24312 ## Report this to wx-dev@lists.wxwidgets.org ##
24313 ## ----------------------------------------- ##
24316 sed "s/^/$as_me: WARNING: /" >&2
24319 echo "$as_me:$LINENO: checking for hash_map" >&5
24320 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24321 if test "${ac_cv_header_hash_map+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 ac_cv_header_hash_map
=$ac_header_preproc
24326 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24327 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24330 if test $ac_cv_header_hash_map = yes; then
24331 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24332 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24333 cat >conftest.
$ac_ext <<_ACEOF
24336 cat confdefs.h
>>conftest.
$ac_ext
24337 cat >>conftest.
$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24339 #include <hash_map>
24340 #include <hash_set>
24344 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24345 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24350 rm -f conftest.
$ac_objext
24351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24352 (eval $ac_compile) 2>conftest.er1
24354 grep -v '^ *+' conftest.er1
>conftest.err
24356 cat conftest.err
>&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); } &&
24359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try
='test -s conftest.$ac_objext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24371 echo "$as_me:$LINENO: result: yes" >&5
24372 echo "${ECHO_T}yes" >&6
24373 cat >>confdefs.h
<<\_ACEOF
24374 #define HAVE_HASH_MAP 1
24377 cat >>confdefs.h
<<\_ACEOF
24378 #define HAVE_STD_HASH_MAP 1
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.
$ac_ext >&5
24385 echo "$as_me:$LINENO: result: no" >&5
24386 echo "${ECHO_T}no" >&6
24388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24394 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24395 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24396 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24397 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24400 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24401 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24403 # Is the header compilable?
24404 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24405 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24406 cat >conftest.
$ac_ext <<_ACEOF
24409 cat confdefs.h
>>conftest.
$ac_ext
24410 cat >>conftest.
$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24412 $ac_includes_default
24413 #include <ext/hash_map>
24415 rm -f conftest.
$ac_objext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24417 (eval $ac_compile) 2>conftest.er1
24419 grep -v '^ *+' conftest.er1
>conftest.err
24421 cat conftest.err
>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; } &&
24430 { ac_try
='test -s conftest.$ac_objext'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; }; then
24436 ac_header_compiler
=yes
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.
$ac_ext >&5
24441 ac_header_compiler
=no
24443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24445 echo "${ECHO_T}$ac_header_compiler" >&6
24447 # Is the header present?
24448 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24449 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24450 cat >conftest.
$ac_ext <<_ACEOF
24453 cat confdefs.h
>>conftest.
$ac_ext
24454 cat >>conftest.
$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 #include <ext/hash_map>
24458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24461 grep -v '^ *+' conftest.er1
>conftest.err
24463 cat conftest.err
>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } >/dev
/null
; then
24466 if test -s conftest.err
; then
24467 ac_cpp_err
=$ac_cxx_preproc_warn_flag
24468 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
24475 if test -z "$ac_cpp_err"; then
24476 ac_header_preproc
=yes
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.
$ac_ext >&5
24481 ac_header_preproc
=no
24483 rm -f conftest.err conftest.
$ac_ext
24484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24485 echo "${ECHO_T}$ac_header_preproc" >&6
24487 # So? What about this header?
24488 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24490 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24491 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24492 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24493 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24494 ac_header_preproc
=yes
24497 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24498 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24499 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24500 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24501 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24502 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24503 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24504 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24505 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24506 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24507 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24508 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24511 ## ----------------------------------------- ##
24512 ## Report this to wx-dev@lists.wxwidgets.org ##
24513 ## ----------------------------------------- ##
24516 sed "s/^/$as_me: WARNING: /" >&2
24519 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24520 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24521 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24524 ac_cv_header_ext_hash_map
=$ac_header_preproc
24526 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24527 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24530 if test $ac_cv_header_ext_hash_map = yes; then
24531 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24532 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24533 cat >conftest.
$ac_ext <<_ACEOF
24536 cat confdefs.h
>>conftest.
$ac_ext
24537 cat >>conftest.
$ac_ext <<_ACEOF
24538 /* end confdefs.h. */
24539 #include <ext/hash_map>
24540 #include <ext/hash_set>
24544 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24545 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24550 rm -f conftest.
$ac_objext
24551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24552 (eval $ac_compile) 2>conftest.er1
24554 grep -v '^ *+' conftest.er1
>conftest.err
24556 cat conftest.err
>&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } &&
24559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; } &&
24565 { ac_try
='test -s conftest.$ac_objext'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; }; then
24571 echo "$as_me:$LINENO: result: yes" >&5
24572 echo "${ECHO_T}yes" >&6
24573 cat >>confdefs.h
<<\_ACEOF
24574 #define HAVE_EXT_HASH_MAP 1
24577 cat >>confdefs.h
<<\_ACEOF
24578 #define HAVE_GNU_CXX_HASH_MAP 1
24582 echo "$as_me: failed program was:" >&5
24583 sed 's/^/| /' conftest.
$ac_ext >&5
24585 echo "$as_me:$LINENO: result: no" >&5
24586 echo "${ECHO_T}no" >&6
24588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24597 /usr/local/include \
24599 /usr/Motif-2.1/include \
24600 /usr/Motif-1.2/include \
24601 /usr/include/Motif1.2 \
24604 /usr/openwin/include \
24608 /usr/X11R6/include \
24609 /usr/X11R6.4/include \
24610 /usr/X11R5/include \
24611 /usr/X11R4/include \
24613 /usr/include/X11R6 \
24614 /usr/include/X11R5 \
24615 /usr/include/X11R4 \
24617 /usr/local/X11R6/include \
24618 /usr/local/X11R5/include \
24619 /usr/local/X11R4/include \
24621 /usr/local/include/X11R6 \
24622 /usr/local/include/X11R5 \
24623 /usr/local/include/X11R4 \
24627 /usr/local/X11/include \
24628 /usr/local/include/X11 \
24630 /usr/XFree86/include/X11 \
24633 /usr/openwin/share/include"
24635 echo "$as_me:$LINENO: checking for libraries directory" >&5
24636 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24640 if test "${wx_cv_std_libpath+set}" = set; then
24641 echo $ECHO_N "(cached) $ECHO_C" >&6
24644 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
24645 for e
in a so sl dylib dll.a
; do
24647 if test -f $libc; then
24650 cat >conftest.
$ac_ext <<_ACEOF
24651 int main() { return 0; }
24653 rm -f conftest.
$ac_objext conftest
$ac_exeext
24654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24655 (eval $ac_link) 2>conftest.er1
24657 grep -v '^ *+' conftest.er1
>conftest.err
24659 cat conftest.err
>&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); } &&
24662 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; } &&
24668 { ac_try
='test -s conftest$ac_exeext'
24669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24670 (eval $ac_try) 2>&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); }; }; then
24674 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
24676 echo "$as_me: failed program was:" >&5
24677 sed 's/^/| /' conftest.
$ac_ext >&5
24680 rm -f conftest.err conftest.
$ac_objext \
24681 conftest
$ac_exeext conftest.
$ac_ext
24683 if test "x$wx_cv_std_libpath" != "x"; then
24689 if test "x$wx_cv_std_libpath" = "x"; then
24690 wx_cv_std_libpath
="lib"
24699 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24700 wx_cv_std_libpath
="lib/64"
24702 wx_cv_std_libpath
="lib"
24707 if test "$ac_cv_sizeof_void_p" = 8 -a \
24708 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24709 wx_cv_std_libpath
="lib64"
24711 wx_cv_std_libpath
="lib"
24716 wx_cv_std_libpath
="lib";
24720 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24721 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24723 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24725 if test "$build" != "$host" -a "$GCC" = yes; then
24726 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
24727 cross_root
=`dirname $cross_root`
24728 cross_root
=`dirname $cross_root`
24730 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24731 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24732 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
24734 if test -z "$PKG_CONFIG_PATH"; then
24735 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24736 export PKG_CONFIG_PATH
24739 if test -z "$x_includes" -o "$x_includes" = NONE
; then
24742 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24744 if test -f "$ac_dir/X11/Intrinsic.h"; then
24745 ac_find_includes
=$ac_dir
24750 x_includes
=$ac_find_includes
24752 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
24755 for ac_dir
in $SEARCH_LIB;
24757 for ac_extension
in a so sl dylib dll.a
; do
24758 if test -f "$ac_dir/libXt.$ac_extension"; then
24759 ac_find_libraries
=$ac_dir
24765 x_libraries
=$ac_find_libraries
24771 cat >confcache
<<\_ACEOF
24772 # This file is a shell script that caches the results of configure
24773 # tests run on this system so they can be shared between configure
24774 # scripts and configure runs, see configure's option --config-cache.
24775 # It is not useful on other systems. If it contains results you don't
24776 # want to keep, you may remove or edit it.
24778 # config.status only pays attention to the cache file if you give it
24779 # the --recheck option to rerun configure.
24781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24783 # following values.
24787 # The following way of writing the cache mishandles newlines in values,
24788 # but we know of no workaround that is simple, portable, and efficient.
24789 # So, don't put newlines in cache variables' values.
24790 # Ultrix sh set writes to stderr and can't be redirected directly,
24791 # and sets the high bit in the cache file unless we assign to the vars.
24794 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24796 # `set' does not quote correctly, so add quotes (double-quote
24797 # substitution turns \\\\ into \\, and sed turns \\ into \).
24800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24803 # `set' quotes correctly as required by POSIX, so do not add quotes.
24805 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24814 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24816 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24817 if test -w $cache_file; then
24818 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24819 cat confcache
>$cache_file
24821 echo "not updating unwritable cache $cache_file"
24826 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24827 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24828 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24829 if test "${wx_cv_lib_glibc21+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24833 cat >conftest.
$ac_ext <<_ACEOF
24836 cat confdefs.h
>>conftest.
$ac_ext
24837 cat >>conftest.
$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839 #include <features.h>
24844 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24852 rm -f conftest.
$ac_objext
24853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24854 (eval $ac_compile) 2>conftest.er1
24856 grep -v '^ *+' conftest.er1
>conftest.err
24858 cat conftest.err
>&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } &&
24861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863 (eval $ac_try) 2>&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; } &&
24867 { ac_try
='test -s conftest.$ac_objext'
24868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24869 (eval $ac_try) 2>&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); }; }; then
24874 wx_cv_lib_glibc21
=yes
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.
$ac_ext >&5
24881 wx_cv_lib_glibc21
=no
24885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24888 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24889 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24890 if test "$wx_cv_lib_glibc21" = "yes"; then
24891 cat >>confdefs.h
<<\_ACEOF
24892 #define wxHAVE_GLIBC2 1
24898 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24899 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24900 cat >>confdefs.h
<<\_ACEOF
24901 #define _GNU_SOURCE 1
24912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24913 echo "$as_me:$LINENO: checking for $ac_func" >&5
24914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24915 if eval "test \"\${$as_ac_var+set}\" = set"; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24918 cat >conftest.
$ac_ext <<_ACEOF
24921 cat confdefs.h
>>conftest.
$ac_ext
24922 cat >>conftest.
$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24926 #define $ac_func innocuous_$ac_func
24928 /* System header to define __stub macros and hopefully few prototypes,
24929 which can conflict with char $ac_func (); below.
24930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24931 <limits.h> exists even on freestanding compilers. */
24934 # include <limits.h>
24936 # include <assert.h>
24941 /* Override any gcc2 internal prototype to avoid an error. */
24946 /* We use char because int might match the return type of a gcc2
24947 builtin and then its argument prototype would still apply. */
24949 /* The GNU C library defines this for functions which it implements
24950 to always fail with ENOSYS. Some functions are actually named
24951 something starting with __ and the normal name is an alias. */
24952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24955 char (*f) () = $ac_func;
24964 return f != $ac_func;
24969 rm -f conftest.
$ac_objext conftest
$ac_exeext
24970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24971 (eval $ac_link) 2>conftest.er1
24973 grep -v '^ *+' conftest.er1
>conftest.err
24975 cat conftest.err
>&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } &&
24978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; } &&
24984 { ac_try
='test -s conftest$ac_exeext'
24985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986 (eval $ac_try) 2>&5
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); }; }; then
24990 eval "$as_ac_var=yes"
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.
$ac_ext >&5
24995 eval "$as_ac_var=no"
24997 rm -f conftest.err conftest.
$ac_objext \
24998 conftest
$ac_exeext conftest.
$ac_ext
25000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25002 if test `eval echo '${'$as_ac_var'}'` = yes; then
25003 cat >>confdefs.h
<<_ACEOF
25004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25011 for ac_func
in floor
25013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25014 echo "$as_me:$LINENO: checking for $ac_func" >&5
25015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25016 if eval "test \"\${$as_ac_var+set}\" = set"; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 cat >conftest.
$ac_ext <<_ACEOF
25022 cat confdefs.h
>>conftest.
$ac_ext
25023 cat >>conftest.
$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25027 #define $ac_func innocuous_$ac_func
25029 /* System header to define __stub macros and hopefully few prototypes,
25030 which can conflict with char $ac_func (); below.
25031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25032 <limits.h> exists even on freestanding compilers. */
25035 # include <limits.h>
25037 # include <assert.h>
25042 /* Override any gcc2 internal prototype to avoid an error. */
25047 /* We use char because int might match the return type of a gcc2
25048 builtin and then its argument prototype would still apply. */
25050 /* The GNU C library defines this for functions which it implements
25051 to always fail with ENOSYS. Some functions are actually named
25052 something starting with __ and the normal name is an alias. */
25053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25056 char (*f) () = $ac_func;
25065 return f != $ac_func;
25070 rm -f conftest.
$ac_objext conftest
$ac_exeext
25071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25072 (eval $ac_link) 2>conftest.er1
25074 grep -v '^ *+' conftest.er1
>conftest.err
25076 cat conftest.err
>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } &&
25079 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; } &&
25085 { ac_try
='test -s conftest$ac_exeext'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; }; then
25091 eval "$as_ac_var=yes"
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.
$ac_ext >&5
25096 eval "$as_ac_var=no"
25098 rm -f conftest.err conftest.
$ac_objext \
25099 conftest
$ac_exeext conftest.
$ac_ext
25101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25103 if test `eval echo '${'$as_ac_var'}'` = yes; then
25104 cat >>confdefs.h
<<_ACEOF
25105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25111 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25112 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25113 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25114 echo "$as_me:$LINENO: result: yes" >&5
25115 echo "${ECHO_T}yes" >&6
25117 echo "$as_me:$LINENO: result: no" >&5
25118 echo "${ECHO_T}no" >&6
25120 # use different functions to avoid configure caching
25126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25127 echo "$as_me:$LINENO: checking for $ac_func" >&5
25128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25129 if eval "test \"\${$as_ac_var+set}\" = set"; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25132 cat >conftest.
$ac_ext <<_ACEOF
25135 cat confdefs.h
>>conftest.
$ac_ext
25136 cat >>conftest.
$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25140 #define $ac_func innocuous_$ac_func
25142 /* System header to define __stub macros and hopefully few prototypes,
25143 which can conflict with char $ac_func (); below.
25144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25145 <limits.h> exists even on freestanding compilers. */
25148 # include <limits.h>
25150 # include <assert.h>
25155 /* Override any gcc2 internal prototype to avoid an error. */
25160 /* We use char because int might match the return type of a gcc2
25161 builtin and then its argument prototype would still apply. */
25163 /* The GNU C library defines this for functions which it implements
25164 to always fail with ENOSYS. Some functions are actually named
25165 something starting with __ and the normal name is an alias. */
25166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25169 char (*f) () = $ac_func;
25178 return f != $ac_func;
25183 rm -f conftest.
$ac_objext conftest
$ac_exeext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25185 (eval $ac_link) 2>conftest.er1
25187 grep -v '^ *+' conftest.er1
>conftest.err
25189 cat conftest.err
>&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25194 (eval $ac_try) 2>&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); }; } &&
25198 { ac_try
='test -s conftest$ac_exeext'
25199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25200 (eval $ac_try) 2>&5
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); }; }; then
25204 eval "$as_ac_var=yes"
25206 echo "$as_me: failed program was:" >&5
25207 sed 's/^/| /' conftest.
$ac_ext >&5
25209 eval "$as_ac_var=no"
25211 rm -f conftest.err conftest.
$ac_objext \
25212 conftest
$ac_exeext conftest.
$ac_ext
25214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25216 if test `eval echo '${'$as_ac_var'}'` = yes; then
25217 cat >>confdefs.h
<<_ACEOF
25218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25225 for ac_func
in ceil
25227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25228 echo "$as_me:$LINENO: checking for $ac_func" >&5
25229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25230 if eval "test \"\${$as_ac_var+set}\" = set"; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25233 cat >conftest.
$ac_ext <<_ACEOF
25236 cat confdefs.h
>>conftest.
$ac_ext
25237 cat >>conftest.
$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25241 #define $ac_func innocuous_$ac_func
25243 /* System header to define __stub macros and hopefully few prototypes,
25244 which can conflict with char $ac_func (); below.
25245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25246 <limits.h> exists even on freestanding compilers. */
25249 # include <limits.h>
25251 # include <assert.h>
25256 /* Override any gcc2 internal prototype to avoid an error. */
25261 /* We use char because int might match the return type of a gcc2
25262 builtin and then its argument prototype would still apply. */
25264 /* The GNU C library defines this for functions which it implements
25265 to always fail with ENOSYS. Some functions are actually named
25266 something starting with __ and the normal name is an alias. */
25267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25270 char (*f) () = $ac_func;
25279 return f != $ac_func;
25284 rm -f conftest.
$ac_objext conftest
$ac_exeext
25285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25286 (eval $ac_link) 2>conftest.er1
25288 grep -v '^ *+' conftest.er1
>conftest.err
25290 cat conftest.err
>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } &&
25293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25295 (eval $ac_try) 2>&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; } &&
25299 { ac_try
='test -s conftest$ac_exeext'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; }; then
25305 eval "$as_ac_var=yes"
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.
$ac_ext >&5
25310 eval "$as_ac_var=no"
25312 rm -f conftest.err conftest.
$ac_objext \
25313 conftest
$ac_exeext conftest.
$ac_ext
25315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25317 if test `eval echo '${'$as_ac_var'}'` = yes; then
25318 cat >>confdefs.h
<<_ACEOF
25319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25325 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25326 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25327 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25328 echo "$as_me:$LINENO: result: yes" >&5
25329 echo "${ECHO_T}yes" >&6
25331 echo "$as_me:$LINENO: result: no" >&5
25332 echo "${ECHO_T}no" >&6
25333 # not sure we should warn the user, crash, etc.
25339 if test "$wxUSE_REGEX" != "no"; then
25340 cat >>confdefs.h
<<\_ACEOF
25341 #define wxUSE_REGEX 1
25345 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25346 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25347 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25348 wxUSE_REGEX
=builtin
25351 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25352 if test "${ac_cv_header_regex_h+set}" = set; then
25353 echo "$as_me:$LINENO: checking for regex.h" >&5
25354 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25355 if test "${ac_cv_header_regex_h+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25359 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25361 # Is the header compilable?
25362 echo "$as_me:$LINENO: checking regex.h usability" >&5
25363 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25364 cat >conftest.
$ac_ext <<_ACEOF
25367 cat confdefs.h
>>conftest.
$ac_ext
25368 cat >>conftest.
$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 $ac_includes_default
25373 rm -f conftest.
$ac_objext
25374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25375 (eval $ac_compile) 2>conftest.er1
25377 grep -v '^ *+' conftest.er1
>conftest.err
25379 cat conftest.err
>&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } &&
25382 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; } &&
25388 { ac_try
='test -s conftest.$ac_objext'
25389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25390 (eval $ac_try) 2>&5
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); }; }; then
25394 ac_header_compiler
=yes
25396 echo "$as_me: failed program was:" >&5
25397 sed 's/^/| /' conftest.
$ac_ext >&5
25399 ac_header_compiler
=no
25401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25403 echo "${ECHO_T}$ac_header_compiler" >&6
25405 # Is the header present?
25406 echo "$as_me:$LINENO: checking regex.h presence" >&5
25407 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25408 cat >conftest.
$ac_ext <<_ACEOF
25411 cat confdefs.h
>>conftest.
$ac_ext
25412 cat >>conftest.
$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25419 grep -v '^ *+' conftest.er1
>conftest.err
25421 cat conftest.err
>&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } >/dev
/null
; then
25424 if test -s conftest.err
; then
25425 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25426 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25433 if test -z "$ac_cpp_err"; then
25434 ac_header_preproc
=yes
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.
$ac_ext >&5
25439 ac_header_preproc
=no
25441 rm -f conftest.err conftest.
$ac_ext
25442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25443 echo "${ECHO_T}$ac_header_preproc" >&6
25445 # So? What about this header?
25446 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25448 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25449 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25450 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25451 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25452 ac_header_preproc
=yes
25455 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25456 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25457 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25458 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25459 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25460 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25461 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25462 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25463 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25464 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25465 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25466 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25469 ## ----------------------------------------- ##
25470 ## Report this to wx-dev@lists.wxwidgets.org ##
25471 ## ----------------------------------------- ##
25474 sed "s/^/$as_me: WARNING: /" >&2
25477 echo "$as_me:$LINENO: checking for regex.h" >&5
25478 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25479 if test "${ac_cv_header_regex_h+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 ac_cv_header_regex_h
=$ac_header_preproc
25484 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25485 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25488 if test $ac_cv_header_regex_h = yes; then
25491 for ac_func
in regcomp re_search
25493 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25494 echo "$as_me:$LINENO: checking for $ac_func" >&5
25495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25496 if eval "test \"\${$as_ac_var+set}\" = set"; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 cat >conftest.
$ac_ext <<_ACEOF
25502 cat confdefs.h
>>conftest.
$ac_ext
25503 cat >>conftest.
$ac_ext <<_ACEOF
25504 /* end confdefs.h. */
25505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25507 #define $ac_func innocuous_$ac_func
25509 /* System header to define __stub macros and hopefully few prototypes,
25510 which can conflict with char $ac_func (); below.
25511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25512 <limits.h> exists even on freestanding compilers. */
25515 # include <limits.h>
25517 # include <assert.h>
25522 /* Override any gcc2 internal prototype to avoid an error. */
25527 /* We use char because int might match the return type of a gcc2
25528 builtin and then its argument prototype would still apply. */
25530 /* The GNU C library defines this for functions which it implements
25531 to always fail with ENOSYS. Some functions are actually named
25532 something starting with __ and the normal name is an alias. */
25533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25536 char (*f) () = $ac_func;
25545 return f != $ac_func;
25550 rm -f conftest.
$ac_objext conftest
$ac_exeext
25551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25552 (eval $ac_link) 2>conftest.er1
25554 grep -v '^ *+' conftest.er1
>conftest.err
25556 cat conftest.err
>&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } &&
25559 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try
='test -s conftest$ac_exeext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 eval "$as_ac_var=yes"
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.
$ac_ext >&5
25576 eval "$as_ac_var=no"
25578 rm -f conftest.err conftest.
$ac_objext \
25579 conftest
$ac_exeext conftest.
$ac_ext
25581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25583 if test `eval echo '${'$as_ac_var'}'` = yes; then
25584 cat >>confdefs.h
<<_ACEOF
25585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25595 if test "x$ac_cv_func_regcomp" != "xyes"; then
25596 if test "$wxUSE_REGEX" = "sys" ; then
25597 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25598 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25599 { (exit 1); exit 1; }; }
25601 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25602 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25603 wxUSE_REGEX
=builtin
25607 cat >>confdefs.h
<<\_ACEOF
25608 #define WX_NO_REGEX_ADVANCED 1
25617 if test "$wxUSE_ZLIB" != "no" ; then
25618 cat >>confdefs.h
<<\_ACEOF
25619 #define wxUSE_ZLIB 1
25623 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25624 if test "$USE_DARWIN" = 1; then
25625 system_zlib_h_ok
="yes"
25627 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25628 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25629 if test "${ac_cv_header_zlib_h+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25632 if test "$cross_compiling" = yes; then
25633 unset ac_cv_header_zlib_h
25636 cat >conftest.
$ac_ext <<_ACEOF
25639 cat confdefs.h
>>conftest.
$ac_ext
25640 cat >>conftest.
$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25648 FILE *f=fopen("conftestval", "w");
25651 ZLIB_VERSION[0] == '1' &&
25652 (ZLIB_VERSION[2] > '1' ||
25653 (ZLIB_VERSION[2] == '1' &&
25654 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25659 rm -f conftest
$ac_exeext
25660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25661 (eval $ac_link) 2>&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; }; then
25670 ac_cv_header_zlib_h
=`cat conftestval`
25672 echo "$as_me: program exited with status $ac_status" >&5
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.
$ac_ext >&5
25676 ( exit $ac_status )
25677 ac_cv_header_zlib_h
=no
25679 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25683 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25684 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25685 if test "${ac_cv_header_zlib_h+set}" = set; then
25686 echo "$as_me:$LINENO: checking for zlib.h" >&5
25687 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25688 if test "${ac_cv_header_zlib_h+set}" = set; then
25689 echo $ECHO_N "(cached) $ECHO_C" >&6
25691 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25692 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25694 # Is the header compilable?
25695 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25696 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25697 cat >conftest.
$ac_ext <<_ACEOF
25700 cat confdefs.h
>>conftest.
$ac_ext
25701 cat >>conftest.
$ac_ext <<_ACEOF
25702 /* end confdefs.h. */
25703 $ac_includes_default
25706 rm -f conftest.
$ac_objext
25707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25708 (eval $ac_compile) 2>conftest.er1
25710 grep -v '^ *+' conftest.er1
>conftest.err
25712 cat conftest.err
>&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); } &&
25715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; } &&
25721 { ac_try
='test -s conftest.$ac_objext'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; }; then
25727 ac_header_compiler
=yes
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.
$ac_ext >&5
25732 ac_header_compiler
=no
25734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25736 echo "${ECHO_T}$ac_header_compiler" >&6
25738 # Is the header present?
25739 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25740 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25741 cat >conftest.
$ac_ext <<_ACEOF
25744 cat confdefs.h
>>conftest.
$ac_ext
25745 cat >>conftest.
$ac_ext <<_ACEOF
25746 /* end confdefs.h. */
25749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25750 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25752 grep -v '^ *+' conftest.er1
>conftest.err
25754 cat conftest.err
>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } >/dev
/null
; then
25757 if test -s conftest.err
; then
25758 ac_cpp_err
=$ac_cxx_preproc_warn_flag
25759 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
25766 if test -z "$ac_cpp_err"; then
25767 ac_header_preproc
=yes
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.
$ac_ext >&5
25772 ac_header_preproc
=no
25774 rm -f conftest.err conftest.
$ac_ext
25775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25776 echo "${ECHO_T}$ac_header_preproc" >&6
25778 # So? What about this header?
25779 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25781 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25782 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25783 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25784 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25785 ac_header_preproc
=yes
25788 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25789 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25790 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25791 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25792 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25793 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25794 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25795 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25796 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25797 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25798 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25799 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25802 ## ----------------------------------------- ##
25803 ## Report this to wx-dev@lists.wxwidgets.org ##
25804 ## ----------------------------------------- ##
25807 sed "s/^/$as_me: WARNING: /" >&2
25810 echo "$as_me:$LINENO: checking for zlib.h" >&5
25811 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25812 if test "${ac_cv_header_zlib_h+set}" = set; then
25813 echo $ECHO_N "(cached) $ECHO_C" >&6
25815 ac_cv_header_zlib_h
=$ac_header_preproc
25817 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25818 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25824 system_zlib_h_ok
=$ac_cv_header_zlib_h
25827 if test "$system_zlib_h_ok" = "yes"; then
25828 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25829 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25830 if test "${ac_cv_lib_z_deflate+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 ac_check_lib_save_LIBS
=$LIBS
25835 cat >conftest.
$ac_ext <<_ACEOF
25838 cat confdefs.h
>>conftest.
$ac_ext
25839 cat >>conftest.
$ac_ext <<_ACEOF
25840 /* end confdefs.h. */
25842 /* Override any gcc2 internal prototype to avoid an error. */
25846 /* We use char because int might match the return type of a gcc2
25847 builtin and then its argument prototype would still apply. */
25857 rm -f conftest.
$ac_objext conftest
$ac_exeext
25858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25859 (eval $ac_link) 2>conftest.er1
25861 grep -v '^ *+' conftest.er1
>conftest.err
25863 cat conftest.err
>&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
25866 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try
='test -s conftest$ac_exeext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_cv_lib_z_deflate
=yes
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.
$ac_ext >&5
25883 ac_cv_lib_z_deflate
=no
25885 rm -f conftest.err conftest.
$ac_objext \
25886 conftest
$ac_exeext conftest.
$ac_ext
25887 LIBS
=$ac_check_lib_save_LIBS
25889 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25890 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25891 if test $ac_cv_lib_z_deflate = yes; then
25897 if test "x$ZLIB_LINK" = "x" ; then
25898 if test "$wxUSE_ZLIB" = "sys" ; then
25899 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25900 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25901 { (exit 1); exit 1; }; }
25903 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25904 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25915 if test "$wxUSE_LIBPNG" != "no" ; then
25916 cat >>confdefs.h
<<\_ACEOF
25917 #define wxUSE_LIBPNG 1
25921 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25922 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25923 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25927 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25928 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25929 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25930 wxUSE_LIBPNG
=builtin
25933 if test "$wxUSE_MGL" != 1 ; then
25934 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25935 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25936 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25937 if test "${ac_cv_header_png_h+set}" = set; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25940 if test "$cross_compiling" = yes; then
25941 unset ac_cv_header_png_h
25944 cat >conftest.
$ac_ext <<_ACEOF
25947 cat confdefs.h
>>conftest.
$ac_ext
25948 cat >>conftest.
$ac_ext <<_ACEOF
25949 /* end confdefs.h. */
25956 FILE *f=fopen("conftestval", "w");
25959 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25964 rm -f conftest
$ac_exeext
25965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25966 (eval $ac_link) 2>&5
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25971 (eval $ac_try) 2>&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; }; then
25975 ac_cv_header_png_h
=`cat conftestval`
25977 echo "$as_me: program exited with status $ac_status" >&5
25978 echo "$as_me: failed program was:" >&5
25979 sed 's/^/| /' conftest.
$ac_ext >&5
25981 ( exit $ac_status )
25982 ac_cv_header_png_h
=no
25984 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25988 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25989 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25990 if test "${ac_cv_header_png_h+set}" = set; then
25991 echo "$as_me:$LINENO: checking for png.h" >&5
25992 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25993 if test "${ac_cv_header_png_h+set}" = set; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25997 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25999 # Is the header compilable?
26000 echo "$as_me:$LINENO: checking png.h usability" >&5
26001 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26002 cat >conftest.
$ac_ext <<_ACEOF
26005 cat confdefs.h
>>conftest.
$ac_ext
26006 cat >>conftest.
$ac_ext <<_ACEOF
26007 /* end confdefs.h. */
26008 $ac_includes_default
26011 rm -f conftest.
$ac_objext
26012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26013 (eval $ac_compile) 2>conftest.er1
26015 grep -v '^ *+' conftest.er1
>conftest.err
26017 cat conftest.err
>&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } &&
26020 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; } &&
26026 { ac_try
='test -s conftest.$ac_objext'
26027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028 (eval $ac_try) 2>&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); }; }; then
26032 ac_header_compiler
=yes
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.
$ac_ext >&5
26037 ac_header_compiler
=no
26039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26041 echo "${ECHO_T}$ac_header_compiler" >&6
26043 # Is the header present?
26044 echo "$as_me:$LINENO: checking png.h presence" >&5
26045 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26046 cat >conftest.
$ac_ext <<_ACEOF
26049 cat confdefs.h
>>conftest.
$ac_ext
26050 cat >>conftest.
$ac_ext <<_ACEOF
26051 /* end confdefs.h. */
26054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26055 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26057 grep -v '^ *+' conftest.er1
>conftest.err
26059 cat conftest.err
>&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); } >/dev
/null
; then
26062 if test -s conftest.err
; then
26063 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26064 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26071 if test -z "$ac_cpp_err"; then
26072 ac_header_preproc
=yes
26074 echo "$as_me: failed program was:" >&5
26075 sed 's/^/| /' conftest.
$ac_ext >&5
26077 ac_header_preproc
=no
26079 rm -f conftest.err conftest.
$ac_ext
26080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26081 echo "${ECHO_T}$ac_header_preproc" >&6
26083 # So? What about this header?
26084 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26086 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26087 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26088 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26089 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26090 ac_header_preproc
=yes
26093 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26094 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26095 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26096 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26097 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26098 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26099 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26100 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26101 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26102 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26103 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26104 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26107 ## ----------------------------------------- ##
26108 ## Report this to wx-dev@lists.wxwidgets.org ##
26109 ## ----------------------------------------- ##
26112 sed "s/^/$as_me: WARNING: /" >&2
26115 echo "$as_me:$LINENO: checking for png.h" >&5
26116 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26117 if test "${ac_cv_header_png_h+set}" = set; then
26118 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 ac_cv_header_png_h
=$ac_header_preproc
26122 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26123 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26129 if test "$ac_cv_header_png_h" = "yes"; then
26130 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26131 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26132 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 ac_check_lib_save_LIBS
=$LIBS
26136 LIBS
="-lpng -lz -lm $LIBS"
26137 cat >conftest.
$ac_ext <<_ACEOF
26140 cat confdefs.h
>>conftest.
$ac_ext
26141 cat >>conftest.
$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26144 /* Override any gcc2 internal prototype to avoid an error. */
26148 /* We use char because int might match the return type of a gcc2
26149 builtin and then its argument prototype would still apply. */
26150 char png_check_sig ();
26159 rm -f conftest.
$ac_objext conftest
$ac_exeext
26160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26161 (eval $ac_link) 2>conftest.er1
26163 grep -v '^ *+' conftest.er1
>conftest.err
26165 cat conftest.err
>&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } &&
26168 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; } &&
26174 { ac_try
='test -s conftest$ac_exeext'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 ac_cv_lib_png_png_check_sig
=yes
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.
$ac_ext >&5
26185 ac_cv_lib_png_png_check_sig
=no
26187 rm -f conftest.err conftest.
$ac_objext \
26188 conftest
$ac_exeext conftest.
$ac_ext
26189 LIBS
=$ac_check_lib_save_LIBS
26191 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26192 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26193 if test $ac_cv_lib_png_png_check_sig = yes; then
26194 PNG_LINK
=" -lpng -lz"
26199 if test "x$PNG_LINK" = "x" ; then
26200 if test "$wxUSE_LIBPNG" = "sys" ; then
26201 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26202 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26203 { (exit 1); exit 1; }; }
26205 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26206 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26207 wxUSE_LIBPNG
=builtin
26215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26220 if test "$wxUSE_LIBJPEG" != "no" ; then
26221 cat >>confdefs.h
<<\_ACEOF
26222 #define wxUSE_LIBJPEG 1
26226 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26227 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26228 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26232 if test "$wxUSE_MGL" != 1 ; then
26233 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26234 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26235 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26236 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26237 echo $ECHO_N "(cached) $ECHO_C" >&6
26239 cat >conftest.
$ac_ext <<_ACEOF
26242 cat confdefs.h
>>conftest.
$ac_ext
26243 cat >>conftest.
$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26246 #undef HAVE_STDLIB_H
26248 #include <jpeglib.h>
26259 rm -f conftest.
$ac_objext
26260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26261 (eval $ac_compile) 2>conftest.er1
26263 grep -v '^ *+' conftest.er1
>conftest.err
26265 cat conftest.err
>&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } &&
26268 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26270 (eval $ac_try) 2>&5
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); }; } &&
26274 { ac_try
='test -s conftest.$ac_objext'
26275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26276 (eval $ac_try) 2>&5
26278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26279 (exit $ac_status); }; }; then
26280 ac_cv_header_jpeglib_h
=yes
26282 echo "$as_me: failed program was:" >&5
26283 sed 's/^/| /' conftest.
$ac_ext >&5
26285 ac_cv_header_jpeglib_h
=no
26288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26292 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26293 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26295 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26296 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26297 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26298 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 ac_check_lib_save_LIBS
=$LIBS
26302 LIBS
="-ljpeg $LIBS"
26303 cat >conftest.
$ac_ext <<_ACEOF
26306 cat confdefs.h
>>conftest.
$ac_ext
26307 cat >>conftest.
$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26310 /* Override any gcc2 internal prototype to avoid an error. */
26314 /* We use char because int might match the return type of a gcc2
26315 builtin and then its argument prototype would still apply. */
26316 char jpeg_read_header ();
26320 jpeg_read_header ();
26325 rm -f conftest.
$ac_objext conftest
$ac_exeext
26326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26327 (eval $ac_link) 2>conftest.er1
26329 grep -v '^ *+' conftest.er1
>conftest.err
26331 cat conftest.err
>&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; } &&
26340 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
26346 ac_cv_lib_jpeg_jpeg_read_header
=yes
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.
$ac_ext >&5
26351 ac_cv_lib_jpeg_jpeg_read_header
=no
26353 rm -f conftest.err conftest.
$ac_objext \
26354 conftest
$ac_exeext conftest.
$ac_ext
26355 LIBS
=$ac_check_lib_save_LIBS
26357 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26358 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26359 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26360 JPEG_LINK
=" -ljpeg"
26365 if test "x$JPEG_LINK" = "x" ; then
26366 if test "$wxUSE_LIBJPEG" = "sys" ; then
26367 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26368 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26369 { (exit 1); exit 1; }; }
26371 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26372 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26373 wxUSE_LIBJPEG
=builtin
26384 TIFF_PREREQ_LINKS
=-lm
26385 if test "$wxUSE_LIBTIFF" != "no" ; then
26386 cat >>confdefs.h
<<\_ACEOF
26387 #define wxUSE_LIBTIFF 1
26391 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26392 if test "$wxUSE_LIBJPEG" = "sys"; then
26393 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
26395 if test "$wxUSE_ZLIB" = "sys"; then
26396 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26398 if test "${ac_cv_header_tiffio_h+set}" = set; then
26399 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26400 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26401 if test "${ac_cv_header_tiffio_h+set}" = set; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26404 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26405 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26407 # Is the header compilable?
26408 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26409 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26410 cat >conftest.
$ac_ext <<_ACEOF
26413 cat confdefs.h
>>conftest.
$ac_ext
26414 cat >>conftest.
$ac_ext <<_ACEOF
26415 /* end confdefs.h. */
26416 $ac_includes_default
26417 #include <tiffio.h>
26419 rm -f conftest.
$ac_objext
26420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26421 (eval $ac_compile) 2>conftest.er1
26423 grep -v '^ *+' conftest.er1
>conftest.err
26425 cat conftest.err
>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } &&
26428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; } &&
26434 { ac_try
='test -s conftest.$ac_objext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26440 ac_header_compiler
=yes
26442 echo "$as_me: failed program was:" >&5
26443 sed 's/^/| /' conftest.
$ac_ext >&5
26445 ac_header_compiler
=no
26447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26449 echo "${ECHO_T}$ac_header_compiler" >&6
26451 # Is the header present?
26452 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26453 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26454 cat >conftest.
$ac_ext <<_ACEOF
26457 cat confdefs.h
>>conftest.
$ac_ext
26458 cat >>conftest.
$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460 #include <tiffio.h>
26462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26463 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26465 grep -v '^ *+' conftest.er1
>conftest.err
26467 cat conftest.err
>&5
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); } >/dev
/null
; then
26470 if test -s conftest.err
; then
26471 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26472 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26479 if test -z "$ac_cpp_err"; then
26480 ac_header_preproc
=yes
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.
$ac_ext >&5
26485 ac_header_preproc
=no
26487 rm -f conftest.err conftest.
$ac_ext
26488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26489 echo "${ECHO_T}$ac_header_preproc" >&6
26491 # So? What about this header?
26492 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26494 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26495 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26496 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26497 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26498 ac_header_preproc
=yes
26501 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26502 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26503 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26504 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26505 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26506 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26507 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26508 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26509 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26510 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26511 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26512 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26515 ## ----------------------------------------- ##
26516 ## Report this to wx-dev@lists.wxwidgets.org ##
26517 ## ----------------------------------------- ##
26520 sed "s/^/$as_me: WARNING: /" >&2
26523 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26524 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26525 if test "${ac_cv_header_tiffio_h+set}" = set; then
26526 echo $ECHO_N "(cached) $ECHO_C" >&6
26528 ac_cv_header_tiffio_h
=$ac_header_preproc
26530 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26534 if test $ac_cv_header_tiffio_h = yes; then
26536 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26537 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26538 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 ac_check_lib_save_LIBS
=$LIBS
26542 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26543 cat >conftest.
$ac_ext <<_ACEOF
26546 cat confdefs.h
>>conftest.
$ac_ext
26547 cat >>conftest.
$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26550 /* Override any gcc2 internal prototype to avoid an error. */
26554 /* We use char because int might match the return type of a gcc2
26555 builtin and then its argument prototype would still apply. */
26565 rm -f conftest.
$ac_objext conftest
$ac_exeext
26566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26567 (eval $ac_link) 2>conftest.er1
26569 grep -v '^ *+' conftest.er1
>conftest.err
26571 cat conftest.err
>&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } &&
26574 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26576 (eval $ac_try) 2>&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); }; } &&
26580 { ac_try
='test -s conftest$ac_exeext'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; }; then
26586 ac_cv_lib_tiff_TIFFError
=yes
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.
$ac_ext >&5
26591 ac_cv_lib_tiff_TIFFError
=no
26593 rm -f conftest.err conftest.
$ac_objext \
26594 conftest
$ac_exeext conftest.
$ac_ext
26595 LIBS
=$ac_check_lib_save_LIBS
26597 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26598 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26599 if test $ac_cv_lib_tiff_TIFFError = yes; then
26600 TIFF_LINK
=" -ltiff"
26609 if test "x$TIFF_LINK" = "x" ; then
26610 if test "$wxUSE_LIBTIFF" = "sys" ; then
26611 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26612 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26613 { (exit 1); exit 1; }; }
26615 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26616 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26617 wxUSE_LIBTIFF
=builtin
26626 if test "$wxUSE_WCHAR_T" != "yes"; then
26627 if test "$wxUSE_EXPAT" != "no"; then
26628 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26629 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26632 if test "$wxUSE_XML" != "no"; then
26633 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26634 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26639 if test "$wxUSE_EXPAT" != "no"; then
26641 cat >>confdefs.h
<<\_ACEOF
26642 #define wxUSE_EXPAT 1
26645 cat >>confdefs.h
<<\_ACEOF
26646 #define wxUSE_XML 1
26650 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26651 if test "${ac_cv_header_expat_h+set}" = set; then
26652 echo "$as_me:$LINENO: checking for expat.h" >&5
26653 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26654 if test "${ac_cv_header_expat_h+set}" = set; then
26655 echo $ECHO_N "(cached) $ECHO_C" >&6
26657 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26658 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26660 # Is the header compilable?
26661 echo "$as_me:$LINENO: checking expat.h usability" >&5
26662 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26663 cat >conftest.
$ac_ext <<_ACEOF
26666 cat confdefs.h
>>conftest.
$ac_ext
26667 cat >>conftest.
$ac_ext <<_ACEOF
26668 /* end confdefs.h. */
26669 $ac_includes_default
26672 rm -f conftest.
$ac_objext
26673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26674 (eval $ac_compile) 2>conftest.er1
26676 grep -v '^ *+' conftest.er1
>conftest.err
26678 cat conftest.err
>&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } &&
26681 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; } &&
26687 { ac_try
='test -s conftest.$ac_objext'
26688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26689 (eval $ac_try) 2>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; }; then
26693 ac_header_compiler
=yes
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.
$ac_ext >&5
26698 ac_header_compiler
=no
26700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26702 echo "${ECHO_T}$ac_header_compiler" >&6
26704 # Is the header present?
26705 echo "$as_me:$LINENO: checking expat.h presence" >&5
26706 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26707 cat >conftest.
$ac_ext <<_ACEOF
26710 cat confdefs.h
>>conftest.
$ac_ext
26711 cat >>conftest.
$ac_ext <<_ACEOF
26712 /* end confdefs.h. */
26715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26718 grep -v '^ *+' conftest.er1
>conftest.err
26720 cat conftest.err
>&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); } >/dev
/null
; then
26723 if test -s conftest.err
; then
26724 ac_cpp_err
=$ac_cxx_preproc_warn_flag
26725 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
26732 if test -z "$ac_cpp_err"; then
26733 ac_header_preproc
=yes
26735 echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.
$ac_ext >&5
26738 ac_header_preproc
=no
26740 rm -f conftest.err conftest.
$ac_ext
26741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26742 echo "${ECHO_T}$ac_header_preproc" >&6
26744 # So? What about this header?
26745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26747 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26748 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26749 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26750 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26751 ac_header_preproc
=yes
26754 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26755 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26757 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26758 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26759 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26760 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26761 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26762 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26763 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26764 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26765 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26768 ## ----------------------------------------- ##
26769 ## Report this to wx-dev@lists.wxwidgets.org ##
26770 ## ----------------------------------------- ##
26773 sed "s/^/$as_me: WARNING: /" >&2
26776 echo "$as_me:$LINENO: checking for expat.h" >&5
26777 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26778 if test "${ac_cv_header_expat_h+set}" = set; then
26779 echo $ECHO_N "(cached) $ECHO_C" >&6
26781 ac_cv_header_expat_h
=$ac_header_preproc
26783 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26784 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26787 if test $ac_cv_header_expat_h = yes; then
26792 if test "x$found_expat_h" = "x1"; then
26793 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26794 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26795 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26796 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 cat >conftest.
$ac_ext <<_ACEOF
26802 cat confdefs.h
>>conftest.
$ac_ext
26803 cat >>conftest.
$ac_ext <<_ACEOF
26804 /* end confdefs.h. */
26814 rm -f conftest.
$ac_objext
26815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26816 (eval $ac_compile) 2>conftest.er1
26818 grep -v '^ *+' conftest.er1
>conftest.err
26820 cat conftest.err
>&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } &&
26823 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26825 (eval $ac_try) 2>&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); }; } &&
26829 { ac_try
='test -s conftest.$ac_objext'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; }; then
26835 wx_cv_expat_is_not_broken
=yes
26837 echo "$as_me: failed program was:" >&5
26838 sed 's/^/| /' conftest.
$ac_ext >&5
26840 wx_cv_expat_is_not_broken
=no
26843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26847 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26848 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26849 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26850 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26851 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26852 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26855 ac_check_lib_save_LIBS
=$LIBS
26856 LIBS
="-lexpat $LIBS"
26857 cat >conftest.
$ac_ext <<_ACEOF
26860 cat confdefs.h
>>conftest.
$ac_ext
26861 cat >>conftest.
$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26864 /* Override any gcc2 internal prototype to avoid an error. */
26868 /* We use char because int might match the return type of a gcc2
26869 builtin and then its argument prototype would still apply. */
26870 char XML_ParserCreate ();
26874 XML_ParserCreate ();
26879 rm -f conftest.
$ac_objext conftest
$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881 (eval $ac_link) 2>conftest.er1
26883 grep -v '^ *+' conftest.er1
>conftest.err
26885 cat conftest.err
>&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; } &&
26894 { ac_try
='test -s conftest$ac_exeext'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 ac_cv_lib_expat_XML_ParserCreate
=yes
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.
$ac_ext >&5
26905 ac_cv_lib_expat_XML_ParserCreate
=no
26907 rm -f conftest.err conftest.
$ac_objext \
26908 conftest
$ac_exeext conftest.
$ac_ext
26909 LIBS
=$ac_check_lib_save_LIBS
26911 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26912 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26913 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26914 EXPAT_LINK
=" -lexpat"
26919 if test "x$EXPAT_LINK" = "x" ; then
26920 if test "$wxUSE_EXPAT" = "sys" ; then
26921 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26922 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26923 { (exit 1); exit 1; }; }
26925 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26926 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26927 wxUSE_EXPAT
=builtin
26933 if test "$wxUSE_EXPAT" = "builtin" ; then
26936 subdirs
="$subdirs src/expat"
26943 if test "$wxUSE_LIBMSPACK" != "no"; then
26944 if test "${ac_cv_header_mspack_h+set}" = set; then
26945 echo "$as_me:$LINENO: checking for mspack.h" >&5
26946 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26947 if test "${ac_cv_header_mspack_h+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26950 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26951 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26953 # Is the header compilable?
26954 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26955 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26956 cat >conftest.
$ac_ext <<_ACEOF
26959 cat confdefs.h
>>conftest.
$ac_ext
26960 cat >>conftest.
$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26962 $ac_includes_default
26963 #include <mspack.h>
26965 rm -f conftest.
$ac_objext
26966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26967 (eval $ac_compile) 2>conftest.er1
26969 grep -v '^ *+' conftest.er1
>conftest.err
26971 cat conftest.err
>&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; } &&
26980 { ac_try
='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_header_compiler
=yes
26988 echo "$as_me: failed program was:" >&5
26989 sed 's/^/| /' conftest.
$ac_ext >&5
26991 ac_header_compiler
=no
26993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26995 echo "${ECHO_T}$ac_header_compiler" >&6
26997 # Is the header present?
26998 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26999 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27000 cat >conftest.
$ac_ext <<_ACEOF
27003 cat confdefs.h
>>conftest.
$ac_ext
27004 cat >>conftest.
$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27006 #include <mspack.h>
27008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27011 grep -v '^ *+' conftest.er1
>conftest.err
27013 cat conftest.err
>&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); } >/dev
/null
; then
27016 if test -s conftest.err
; then
27017 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27018 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27025 if test -z "$ac_cpp_err"; then
27026 ac_header_preproc
=yes
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.
$ac_ext >&5
27031 ac_header_preproc
=no
27033 rm -f conftest.err conftest.
$ac_ext
27034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27035 echo "${ECHO_T}$ac_header_preproc" >&6
27037 # So? What about this header?
27038 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27040 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27041 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27043 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27044 ac_header_preproc
=yes
27047 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27048 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27049 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27050 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27051 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27052 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27053 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27054 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27055 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27056 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27057 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27058 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27061 ## ----------------------------------------- ##
27062 ## Report this to wx-dev@lists.wxwidgets.org ##
27063 ## ----------------------------------------- ##
27066 sed "s/^/$as_me: WARNING: /" >&2
27069 echo "$as_me:$LINENO: checking for mspack.h" >&5
27070 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27071 if test "${ac_cv_header_mspack_h+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 ac_cv_header_mspack_h
=$ac_header_preproc
27076 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27077 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27080 if test $ac_cv_header_mspack_h = yes; then
27085 if test "x$found_mspack_h" = "x1"; then
27086 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27087 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27088 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27089 echo $ECHO_N "(cached) $ECHO_C" >&6
27091 ac_check_lib_save_LIBS
=$LIBS
27092 LIBS
="-lmspack $LIBS"
27093 cat >conftest.
$ac_ext <<_ACEOF
27096 cat confdefs.h
>>conftest.
$ac_ext
27097 cat >>conftest.
$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27100 /* Override any gcc2 internal prototype to avoid an error. */
27104 /* We use char because int might match the return type of a gcc2
27105 builtin and then its argument prototype would still apply. */
27106 char mspack_create_chm_decompressor ();
27110 mspack_create_chm_decompressor ();
27115 rm -f conftest.
$ac_objext conftest
$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27119 grep -v '^ *+' conftest.er1
>conftest.err
27121 cat conftest.err
>&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; } &&
27130 { ac_try
='test -s conftest$ac_exeext'
27131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132 (eval $ac_try) 2>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); }; }; then
27136 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.
$ac_ext >&5
27141 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
27143 rm -f conftest.err conftest.
$ac_objext \
27144 conftest
$ac_exeext conftest.
$ac_ext
27145 LIBS
=$ac_check_lib_save_LIBS
27147 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27148 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27149 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27150 MSPACK_LINK
=" -lmspack"
27154 if test "x$MSPACK_LINK" = "x" ; then
27159 if test "$wxUSE_LIBMSPACK" != "no"; then
27160 cat >>confdefs.h
<<\_ACEOF
27161 #define wxUSE_LIBMSPACK 1
27175 if test "$USE_WIN32" = 1 ; then
27177 for ac_header
in w32api.h
27179 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27181 echo "$as_me:$LINENO: checking for $ac_header" >&5
27182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27184 echo $ECHO_N "(cached) $ECHO_C" >&6
27186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27189 # Is the header compilable?
27190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27192 cat >conftest.
$ac_ext <<_ACEOF
27195 cat confdefs.h
>>conftest.
$ac_ext
27196 cat >>conftest.
$ac_ext <<_ACEOF
27197 /* end confdefs.h. */
27198 $ac_includes_default
27199 #include <$ac_header>
27201 rm -f conftest.
$ac_objext
27202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27203 (eval $ac_compile) 2>conftest.er1
27205 grep -v '^ *+' conftest.er1
>conftest.err
27207 cat conftest.err
>&5
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); } &&
27210 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27212 (eval $ac_try) 2>&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); }; } &&
27216 { ac_try
='test -s conftest.$ac_objext'
27217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218 (eval $ac_try) 2>&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); }; }; then
27222 ac_header_compiler
=yes
27224 echo "$as_me: failed program was:" >&5
27225 sed 's/^/| /' conftest.
$ac_ext >&5
27227 ac_header_compiler
=no
27229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27231 echo "${ECHO_T}$ac_header_compiler" >&6
27233 # Is the header present?
27234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27236 cat >conftest.
$ac_ext <<_ACEOF
27239 cat confdefs.h
>>conftest.
$ac_ext
27240 cat >>conftest.
$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27242 #include <$ac_header>
27244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27247 grep -v '^ *+' conftest.er1
>conftest.err
27249 cat conftest.err
>&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } >/dev
/null
; then
27252 if test -s conftest.err
; then
27253 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27254 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27261 if test -z "$ac_cpp_err"; then
27262 ac_header_preproc
=yes
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.
$ac_ext >&5
27267 ac_header_preproc
=no
27269 rm -f conftest.err conftest.
$ac_ext
27270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27271 echo "${ECHO_T}$ac_header_preproc" >&6
27273 # So? What about this header?
27274 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27280 ac_header_preproc
=yes
27283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27297 ## ----------------------------------------- ##
27298 ## Report this to wx-dev@lists.wxwidgets.org ##
27299 ## ----------------------------------------- ##
27302 sed "s/^/$as_me: WARNING: /" >&2
27305 echo "$as_me:$LINENO: checking for $ac_header" >&5
27306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27308 echo $ECHO_N "(cached) $ECHO_C" >&6
27310 eval "$as_ac_Header=\$ac_header_preproc"
27312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27317 cat >>confdefs.h
<<_ACEOF
27318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27325 if test "${ac_cv_header_windows_h+set}" = set; then
27326 echo "$as_me:$LINENO: checking for windows.h" >&5
27327 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27328 if test "${ac_cv_header_windows_h+set}" = set; then
27329 echo $ECHO_N "(cached) $ECHO_C" >&6
27331 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27332 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27334 # Is the header compilable?
27335 echo "$as_me:$LINENO: checking windows.h usability" >&5
27336 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27337 cat >conftest.
$ac_ext <<_ACEOF
27340 cat confdefs.h
>>conftest.
$ac_ext
27341 cat >>conftest.
$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27343 $ac_includes_default
27344 #include <windows.h>
27346 rm -f conftest.
$ac_objext
27347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27348 (eval $ac_compile) 2>conftest.er1
27350 grep -v '^ *+' conftest.er1
>conftest.err
27352 cat conftest.err
>&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; } &&
27361 { ac_try
='test -s conftest.$ac_objext'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; }; then
27367 ac_header_compiler
=yes
27369 echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.
$ac_ext >&5
27372 ac_header_compiler
=no
27374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27376 echo "${ECHO_T}$ac_header_compiler" >&6
27378 # Is the header present?
27379 echo "$as_me:$LINENO: checking windows.h presence" >&5
27380 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27381 cat >conftest.
$ac_ext <<_ACEOF
27384 cat confdefs.h
>>conftest.
$ac_ext
27385 cat >>conftest.
$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387 #include <windows.h>
27389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27392 grep -v '^ *+' conftest.er1
>conftest.err
27394 cat conftest.err
>&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } >/dev
/null
; then
27397 if test -s conftest.err
; then
27398 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27399 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27406 if test -z "$ac_cpp_err"; then
27407 ac_header_preproc
=yes
27409 echo "$as_me: failed program was:" >&5
27410 sed 's/^/| /' conftest.
$ac_ext >&5
27412 ac_header_preproc
=no
27414 rm -f conftest.err conftest.
$ac_ext
27415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27416 echo "${ECHO_T}$ac_header_preproc" >&6
27418 # So? What about this header?
27419 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27421 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27422 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27423 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27424 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27425 ac_header_preproc
=yes
27428 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27429 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27430 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27431 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27432 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27433 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27434 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27435 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27436 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27437 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27438 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27439 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27442 ## ----------------------------------------- ##
27443 ## Report this to wx-dev@lists.wxwidgets.org ##
27444 ## ----------------------------------------- ##
27447 sed "s/^/$as_me: WARNING: /" >&2
27450 echo "$as_me:$LINENO: checking for windows.h" >&5
27451 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27452 if test "${ac_cv_header_windows_h+set}" = set; then
27453 echo $ECHO_N "(cached) $ECHO_C" >&6
27455 ac_cv_header_windows_h
=$ac_header_preproc
27457 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27458 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27461 if test $ac_cv_header_windows_h = yes; then
27465 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27466 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27467 { (exit 1); exit 1; }; }
27473 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27475 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27476 LIBS
="$LIBS -loleacc"
27481 LIBS
="$LIBS -lkernel32 -luser32"
27484 if test "$wxUSE_ODBC" = "sys" ; then
27487 if test "$wxUSE_ODBC" = "yes" ; then
27488 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
27489 cat >>confdefs.h
<<\_ACEOF
27490 #define wxUSE_ODBC 1
27495 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27496 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
27498 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27500 WIN32INSTALL
=win32install
27502 echo "$as_me:$LINENO: checking for boolean" >&5
27503 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27504 if test "${ac_cv_type_boolean+set}" = set; then
27505 echo $ECHO_N "(cached) $ECHO_C" >&6
27507 cat >conftest.
$ac_ext <<_ACEOF
27510 cat confdefs.h
>>conftest.
$ac_ext
27511 cat >>conftest.
$ac_ext <<_ACEOF
27512 /* end confdefs.h. */
27513 #include <windows.h>
27520 if (sizeof (boolean))
27526 rm -f conftest.
$ac_objext
27527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27528 (eval $ac_compile) 2>conftest.er1
27530 grep -v '^ *+' conftest.er1
>conftest.err
27532 cat conftest.err
>&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } &&
27535 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27537 (eval $ac_try) 2>&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); }; } &&
27541 { ac_try
='test -s conftest.$ac_objext'
27542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27543 (eval $ac_try) 2>&5
27545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546 (exit $ac_status); }; }; then
27547 ac_cv_type_boolean
=yes
27549 echo "$as_me: failed program was:" >&5
27550 sed 's/^/| /' conftest.
$ac_ext >&5
27552 ac_cv_type_boolean
=no
27554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27556 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27557 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27558 if test $ac_cv_type_boolean = yes; then
27560 cat >>confdefs.h
<<_ACEOF
27561 #define HAVE_BOOLEAN 1
27569 for ac_header
in pbt.h
27571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27573 echo "$as_me:$LINENO: checking for $ac_header" >&5
27574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27581 # Is the header compilable?
27582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27584 cat >conftest.
$ac_ext <<_ACEOF
27587 cat confdefs.h
>>conftest.
$ac_ext
27588 cat >>conftest.
$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 $ac_includes_default
27591 #include <$ac_header>
27593 rm -f conftest.
$ac_objext
27594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27595 (eval $ac_compile) 2>conftest.er1
27597 grep -v '^ *+' conftest.er1
>conftest.err
27599 cat conftest.err
>&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } &&
27602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27604 (eval $ac_try) 2>&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); }; } &&
27608 { ac_try
='test -s conftest.$ac_objext'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; }; then
27614 ac_header_compiler
=yes
27616 echo "$as_me: failed program was:" >&5
27617 sed 's/^/| /' conftest.
$ac_ext >&5
27619 ac_header_compiler
=no
27621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27623 echo "${ECHO_T}$ac_header_compiler" >&6
27625 # Is the header present?
27626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27628 cat >conftest.
$ac_ext <<_ACEOF
27631 cat confdefs.h
>>conftest.
$ac_ext
27632 cat >>conftest.
$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27634 #include <$ac_header>
27636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27639 grep -v '^ *+' conftest.er1
>conftest.err
27641 cat conftest.err
>&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } >/dev
/null
; then
27644 if test -s conftest.err
; then
27645 ac_cpp_err
=$ac_cxx_preproc_warn_flag
27646 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
27653 if test -z "$ac_cpp_err"; then
27654 ac_header_preproc
=yes
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.
$ac_ext >&5
27659 ac_header_preproc
=no
27661 rm -f conftest.err conftest.
$ac_ext
27662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27663 echo "${ECHO_T}$ac_header_preproc" >&6
27665 # So? What about this header?
27666 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27672 ac_header_preproc
=yes
27675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27689 ## ----------------------------------------- ##
27690 ## Report this to wx-dev@lists.wxwidgets.org ##
27691 ## ----------------------------------------- ##
27694 sed "s/^/$as_me: WARNING: /" >&2
27697 echo "$as_me:$LINENO: checking for $ac_header" >&5
27698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27700 echo $ECHO_N "(cached) $ECHO_C" >&6
27702 eval "$as_ac_Header=\$ac_header_preproc"
27704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27709 cat >>confdefs.h
<<_ACEOF
27710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27714 cat >>confdefs.h
<<\_ACEOF
27715 #define NEED_PBT_H 1
27724 if test "$wxUSE_GUI" = "yes"; then
27734 if test "$wxUSE_COCOA" = 1 ; then
27735 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27736 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27737 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27738 wxUSE_PRINTING_ARCHITECTURE
=no
27740 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27741 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27742 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27743 wxUSE_DRAG_AND_DROP
=no
27745 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27746 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27747 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27752 if test "$wxUSE_MSW" = 1 ; then
27758 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27762 if test "$wxUSE_GTK" = 1; then
27764 ac_cpp
='$CPP $CPPFLAGS'
27765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27770 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27771 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27773 gtk_version_cached
=1
27774 if test "${wx_cv_lib_gtk+set}" = set; then
27775 echo $ECHO_N "(cached) $ECHO_C" >&6
27778 gtk_version_cached
=0
27779 echo "$as_me:$LINENO: result: " >&5
27780 echo "${ECHO_T}" >&6
27783 if test "$wxUSE_THREADS" = "yes"; then
27784 GTK_MODULES
=gthread
27788 if test "x$wxGTK_VERSION" != "x1"
27792 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27797 # Check whether --enable-gtktest or --disable-gtktest was given.
27798 if test "${enable_gtktest+set}" = set; then
27799 enableval
="$enable_gtktest"
27805 pkg_config_args
=gtk
+-2.0
27806 for module
in .
$GTK_MODULES
27810 pkg_config_args
="$pkg_config_args gthread-2.0"
27817 # Extract the first word of "pkg-config", so it can be a program name with args.
27818 set dummy pkg
-config; ac_word
=$2
27819 echo "$as_me:$LINENO: checking for $ac_word" >&5
27820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27821 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 case $PKG_CONFIG in
27826 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27830 for as_dir
in $PATH
27833 test -z "$as_dir" && as_dir
=.
27834 for ac_exec_ext
in '' $ac_executable_extensions; do
27835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27836 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27843 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27847 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27849 if test -n "$PKG_CONFIG"; then
27850 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27851 echo "${ECHO_T}$PKG_CONFIG" >&6
27853 echo "$as_me:$LINENO: result: no" >&5
27854 echo "${ECHO_T}no" >&6
27858 if test x
$PKG_CONFIG != xno
; then
27859 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
27862 echo "*** pkg-config too old; version 0.7 or better required."
27870 min_gtk_version
=2.0.0
27871 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27872 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27874 if test x
$PKG_CONFIG != xno
; then
27875 ## don't try to run the test against uninstalled libtool libs
27876 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27877 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27881 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27888 if test x
"$no_gtk" = x
; then
27889 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
27890 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
27891 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27893 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27895 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
27896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27897 if test "x$enable_gtktest" = "xyes" ; then
27898 ac_save_CFLAGS
="$CFLAGS"
27899 ac_save_LIBS
="$LIBS"
27900 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27901 LIBS
="$GTK_LIBS $LIBS"
27903 if test "$cross_compiling" = yes; then
27904 echo $ac_n "cross compiling; assumed OK... $ac_c"
27906 cat >conftest.
$ac_ext <<_ACEOF
27909 cat confdefs.h
>>conftest.
$ac_ext
27910 cat >>conftest.
$ac_ext <<_ACEOF
27911 /* end confdefs.h. */
27913 #include <gtk/gtk.h>
27915 #include <stdlib.h>
27920 int major, minor, micro;
27923 system ("touch conf.gtktest");
27925 /* HP/UX 9 (%@#!) writes to sscanf strings */
27926 tmp_version = g_strdup("$min_gtk_version");
27927 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27928 printf("%s, bad version string\n", "$min_gtk_version");
27932 if ((gtk_major_version != $gtk_config_major_version) ||
27933 (gtk_minor_version != $gtk_config_minor_version) ||
27934 (gtk_micro_version != $gtk_config_micro_version))
27936 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27937 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27938 gtk_major_version, gtk_minor_version, gtk_micro_version);
27939 printf ("*** was found! If pkg-config was correct, then it is best\n");
27940 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27941 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27942 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27943 printf("*** required on your system.\n");
27944 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27945 printf("*** to point to the correct configuration files\n");
27947 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27948 (gtk_minor_version != GTK_MINOR_VERSION) ||
27949 (gtk_micro_version != GTK_MICRO_VERSION))
27951 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27952 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27953 printf("*** library (version %d.%d.%d)\n",
27954 gtk_major_version, gtk_minor_version, gtk_micro_version);
27958 if ((gtk_major_version > major) ||
27959 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27960 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27966 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27967 gtk_major_version, gtk_minor_version, gtk_micro_version);
27968 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27969 major, minor, micro);
27970 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27972 printf("*** If you have already installed a sufficiently new version, this error\n");
27973 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27974 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27975 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27976 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27977 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27978 printf("*** so that the correct libraries are found at run-time))\n");
27985 rm -f conftest
$ac_exeext
27986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27987 (eval $ac_link) 2>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27992 (eval $ac_try) 2>&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); }; }; then
27998 echo "$as_me: program exited with status $ac_status" >&5
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.
$ac_ext >&5
28002 ( exit $ac_status )
28005 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28007 CFLAGS
="$ac_save_CFLAGS"
28008 LIBS
="$ac_save_LIBS"
28011 if test "x$no_gtk" = x
; then
28012 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28013 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28016 echo "$as_me:$LINENO: result: no" >&5
28017 echo "${ECHO_T}no" >&6
28018 if test "$PKG_CONFIG" = "no" ; then
28019 echo "*** A new enough version of pkg-config was not found."
28020 echo "*** See http://pkgconfig.sourceforge.net"
28022 if test -f conf.gtktest
; then
28025 echo "*** Could not run GTK+ test program, checking why..."
28026 ac_save_CFLAGS
="$CFLAGS"
28027 ac_save_LIBS
="$LIBS"
28028 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28029 LIBS
="$LIBS $GTK_LIBS"
28030 cat >conftest.
$ac_ext <<_ACEOF
28033 cat confdefs.h
>>conftest.
$ac_ext
28034 cat >>conftest.
$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28037 #include <gtk/gtk.h>
28043 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28048 rm -f conftest.
$ac_objext conftest
$ac_exeext
28049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28050 (eval $ac_link) 2>conftest.er1
28052 grep -v '^ *+' conftest.er1
>conftest.err
28054 cat conftest.err
>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); } &&
28057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059 (eval $ac_try) 2>&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); }; } &&
28063 { ac_try
='test -s conftest$ac_exeext'
28064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28065 (eval $ac_try) 2>&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); }; }; then
28069 echo "*** The test program compiled, but did not run. This usually means"
28070 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28071 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28072 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28073 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28074 echo "*** is required on your system"
28076 echo "*** If you have an old version installed, it is best to remove it, although"
28077 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28079 echo "$as_me: failed program was:" >&5
28080 sed 's/^/| /' conftest.
$ac_ext >&5
28082 echo "*** The test program failed to compile or link. See the file config.log for the"
28083 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28085 rm -f conftest.err conftest.
$ac_objext \
28086 conftest
$ac_exeext conftest.
$ac_ext
28087 CFLAGS
="$ac_save_CFLAGS"
28088 LIBS
="$ac_save_LIBS"
28102 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28103 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
28104 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
28106 if test "$wxUSE_SHARED" != "yes"; then
28107 GTK_LIBS
="$GTK_LIBS -lX11"
28112 if test -z "$wx_cv_lib_gtk"; then
28113 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28115 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28116 if test "${with_gtk_prefix+set}" = set; then
28117 withval
="$with_gtk_prefix"
28118 gtk_config_prefix
="$withval"
28120 gtk_config_prefix
=""
28123 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28124 if test "${with_gtk_exec_prefix+set}" = set; then
28125 withval
="$with_gtk_exec_prefix"
28126 gtk_config_exec_prefix
="$withval"
28128 gtk_config_exec_prefix
=""
28130 # Check whether --enable-gtktest or --disable-gtktest was given.
28131 if test "${enable_gtktest+set}" = set; then
28132 enableval
="$enable_gtktest"
28138 for module
in .
$GTK_MODULES
28142 gtk_config_args
="$gtk_config_args gthread"
28147 if test x
$gtk_config_exec_prefix != x
; then
28148 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28149 if test x
${GTK_CONFIG+set} != xset
; then
28150 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28153 if test x
$gtk_config_prefix != x
; then
28154 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28155 if test x
${GTK_CONFIG+set} != xset
; then
28156 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28160 # Extract the first word of "gtk-config", so it can be a program name with args.
28161 set dummy gtk
-config; ac_word
=$2
28162 echo "$as_me:$LINENO: checking for $ac_word" >&5
28163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28164 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28167 case $GTK_CONFIG in
28169 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28173 for as_dir
in $PATH
28176 test -z "$as_dir" && as_dir
=.
28177 for ac_exec_ext
in '' $ac_executable_extensions; do
28178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28179 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28186 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28190 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28192 if test -n "$GTK_CONFIG"; then
28193 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28194 echo "${ECHO_T}$GTK_CONFIG" >&6
28196 echo "$as_me:$LINENO: result: no" >&5
28197 echo "${ECHO_T}no" >&6
28200 min_gtk_version
=1.2.7
28201 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28202 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28204 if test "$GTK_CONFIG" = "no" ; then
28207 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28208 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28209 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28211 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28213 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28215 if test "x$enable_gtktest" = "xyes" ; then
28216 ac_save_CFLAGS
="$CFLAGS"
28217 ac_save_LIBS
="$LIBS"
28218 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28219 LIBS
="$GTK_LIBS $LIBS"
28221 if test "$cross_compiling" = yes; then
28222 echo $ac_n "cross compiling; assumed OK... $ac_c"
28224 cat >conftest.
$ac_ext <<_ACEOF
28227 cat confdefs.h
>>conftest.
$ac_ext
28228 cat >>conftest.
$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28231 #include <gtk/gtk.h>
28233 #include <stdlib.h>
28238 int major, minor, micro;
28241 system ("touch conf.gtktest");
28243 /* HP/UX 9 (%@#!) writes to sscanf strings */
28244 tmp_version = g_strdup("$min_gtk_version");
28245 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28246 printf("%s, bad version string\n", "$min_gtk_version");
28250 if ((gtk_major_version != $gtk_config_major_version) ||
28251 (gtk_minor_version != $gtk_config_minor_version) ||
28252 (gtk_micro_version != $gtk_config_micro_version))
28254 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28255 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28256 gtk_major_version, gtk_minor_version, gtk_micro_version);
28257 printf ("*** was found! If gtk-config was correct, then it is best\n");
28258 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28259 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28260 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28261 printf("*** required on your system.\n");
28262 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28263 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28264 printf("*** before re-running configure\n");
28266 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28267 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28268 (gtk_minor_version != GTK_MINOR_VERSION) ||
28269 (gtk_micro_version != GTK_MICRO_VERSION))
28271 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28272 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28273 printf("*** library (version %d.%d.%d)\n",
28274 gtk_major_version, gtk_minor_version, gtk_micro_version);
28276 #endif /* defined (GTK_MAJOR_VERSION) ... */
28279 if ((gtk_major_version > major) ||
28280 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28281 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28287 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28288 gtk_major_version, gtk_minor_version, gtk_micro_version);
28289 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28290 major, minor, micro);
28291 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28293 printf("*** If you have already installed a sufficiently new version, this error\n");
28294 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28295 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28296 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28297 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28298 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28299 printf("*** so that the correct libraries are found at run-time))\n");
28306 rm -f conftest
$ac_exeext
28307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28308 (eval $ac_link) 2>&5
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28313 (eval $ac_try) 2>&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); }; }; then
28319 echo "$as_me: program exited with status $ac_status" >&5
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.
$ac_ext >&5
28323 ( exit $ac_status )
28326 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28328 CFLAGS
="$ac_save_CFLAGS"
28329 LIBS
="$ac_save_LIBS"
28332 if test "x$no_gtk" = x
; then
28333 echo "$as_me:$LINENO: result: yes" >&5
28334 echo "${ECHO_T}yes" >&6
28335 wx_cv_lib_gtk
=1.2.7
28337 echo "$as_me:$LINENO: result: no" >&5
28338 echo "${ECHO_T}no" >&6
28339 if test "$GTK_CONFIG" = "no" ; then
28340 echo "*** The gtk-config script installed by GTK could not be found"
28341 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28342 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28343 echo "*** full path to gtk-config."
28345 if test -f conf.gtktest
; then
28348 echo "*** Could not run GTK test program, checking why..."
28349 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28350 LIBS
="$LIBS $GTK_LIBS"
28351 cat >conftest.
$ac_ext <<_ACEOF
28354 cat confdefs.h
>>conftest.
$ac_ext
28355 cat >>conftest.
$ac_ext <<_ACEOF
28356 /* end confdefs.h. */
28358 #include <gtk/gtk.h>
28364 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28369 rm -f conftest.
$ac_objext conftest
$ac_exeext
28370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28371 (eval $ac_link) 2>conftest.er1
28373 grep -v '^ *+' conftest.er1
>conftest.err
28375 cat conftest.err
>&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); } &&
28378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28380 (eval $ac_try) 2>&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); }; } &&
28384 { ac_try
='test -s conftest$ac_exeext'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; }; then
28390 echo "*** The test program compiled, but did not run. This usually means"
28391 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28392 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28393 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28394 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28395 echo "*** is required on your system"
28397 echo "*** If you have an old version installed, it is best to remove it, although"
28398 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28400 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28401 echo "*** came with the system with the command"
28403 echo "*** rpm --erase --nodeps gtk gtk-devel"
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.
$ac_ext >&5
28408 echo "*** The test program failed to compile or link. See the file config.log for the"
28409 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28410 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28411 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28413 rm -f conftest.err conftest.
$ac_objext \
28414 conftest
$ac_exeext conftest.
$ac_ext
28415 CFLAGS
="$ac_save_CFLAGS"
28416 LIBS
="$ac_save_LIBS"
28428 if test -z "$wx_cv_lib_gtk"; then
28430 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28431 if test "${with_gtk_prefix+set}" = set; then
28432 withval
="$with_gtk_prefix"
28433 gtk_config_prefix
="$withval"
28435 gtk_config_prefix
=""
28438 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28439 if test "${with_gtk_exec_prefix+set}" = set; then
28440 withval
="$with_gtk_exec_prefix"
28441 gtk_config_exec_prefix
="$withval"
28443 gtk_config_exec_prefix
=""
28445 # Check whether --enable-gtktest or --disable-gtktest was given.
28446 if test "${enable_gtktest+set}" = set; then
28447 enableval
="$enable_gtktest"
28453 for module
in .
$GTK_MODULES
28457 gtk_config_args
="$gtk_config_args gthread"
28462 if test x
$gtk_config_exec_prefix != x
; then
28463 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28464 if test x
${GTK_CONFIG+set} != xset
; then
28465 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28468 if test x
$gtk_config_prefix != x
; then
28469 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28470 if test x
${GTK_CONFIG+set} != xset
; then
28471 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28475 # Extract the first word of "gtk-config", so it can be a program name with args.
28476 set dummy gtk
-config; ac_word
=$2
28477 echo "$as_me:$LINENO: checking for $ac_word" >&5
28478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28479 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28482 case $GTK_CONFIG in
28484 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28488 for as_dir
in $PATH
28491 test -z "$as_dir" && as_dir
=.
28492 for ac_exec_ext
in '' $ac_executable_extensions; do
28493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28494 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28501 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28505 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28507 if test -n "$GTK_CONFIG"; then
28508 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28509 echo "${ECHO_T}$GTK_CONFIG" >&6
28511 echo "$as_me:$LINENO: result: no" >&5
28512 echo "${ECHO_T}no" >&6
28515 min_gtk_version
=1.2.3
28516 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28517 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28519 if test "$GTK_CONFIG" = "no" ; then
28522 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28523 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28524 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28526 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28528 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28530 if test "x$enable_gtktest" = "xyes" ; then
28531 ac_save_CFLAGS
="$CFLAGS"
28532 ac_save_LIBS
="$LIBS"
28533 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28534 LIBS
="$GTK_LIBS $LIBS"
28536 if test "$cross_compiling" = yes; then
28537 echo $ac_n "cross compiling; assumed OK... $ac_c"
28539 cat >conftest.
$ac_ext <<_ACEOF
28542 cat confdefs.h
>>conftest.
$ac_ext
28543 cat >>conftest.
$ac_ext <<_ACEOF
28544 /* end confdefs.h. */
28546 #include <gtk/gtk.h>
28548 #include <stdlib.h>
28553 int major, minor, micro;
28556 system ("touch conf.gtktest");
28558 /* HP/UX 9 (%@#!) writes to sscanf strings */
28559 tmp_version = g_strdup("$min_gtk_version");
28560 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28561 printf("%s, bad version string\n", "$min_gtk_version");
28565 if ((gtk_major_version != $gtk_config_major_version) ||
28566 (gtk_minor_version != $gtk_config_minor_version) ||
28567 (gtk_micro_version != $gtk_config_micro_version))
28569 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28570 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28571 gtk_major_version, gtk_minor_version, gtk_micro_version);
28572 printf ("*** was found! If gtk-config was correct, then it is best\n");
28573 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28574 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28575 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28576 printf("*** required on your system.\n");
28577 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28578 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28579 printf("*** before re-running configure\n");
28581 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28582 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28583 (gtk_minor_version != GTK_MINOR_VERSION) ||
28584 (gtk_micro_version != GTK_MICRO_VERSION))
28586 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28587 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28588 printf("*** library (version %d.%d.%d)\n",
28589 gtk_major_version, gtk_minor_version, gtk_micro_version);
28591 #endif /* defined (GTK_MAJOR_VERSION) ... */
28594 if ((gtk_major_version > major) ||
28595 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28596 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28602 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28603 gtk_major_version, gtk_minor_version, gtk_micro_version);
28604 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28605 major, minor, micro);
28606 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28608 printf("*** If you have already installed a sufficiently new version, this error\n");
28609 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28610 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28611 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28612 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28613 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28614 printf("*** so that the correct libraries are found at run-time))\n");
28621 rm -f conftest
$ac_exeext
28622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28623 (eval $ac_link) 2>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28628 (eval $ac_try) 2>&5
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); }; }; then
28634 echo "$as_me: program exited with status $ac_status" >&5
28635 echo "$as_me: failed program was:" >&5
28636 sed 's/^/| /' conftest.
$ac_ext >&5
28638 ( exit $ac_status )
28641 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28643 CFLAGS
="$ac_save_CFLAGS"
28644 LIBS
="$ac_save_LIBS"
28647 if test "x$no_gtk" = x
; then
28648 echo "$as_me:$LINENO: result: yes" >&5
28649 echo "${ECHO_T}yes" >&6
28650 wx_cv_lib_gtk
=1.2.3
28652 echo "$as_me:$LINENO: result: no" >&5
28653 echo "${ECHO_T}no" >&6
28654 if test "$GTK_CONFIG" = "no" ; then
28655 echo "*** The gtk-config script installed by GTK could not be found"
28656 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28657 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28658 echo "*** full path to gtk-config."
28660 if test -f conf.gtktest
; then
28663 echo "*** Could not run GTK test program, checking why..."
28664 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28665 LIBS
="$LIBS $GTK_LIBS"
28666 cat >conftest.
$ac_ext <<_ACEOF
28669 cat confdefs.h
>>conftest.
$ac_ext
28670 cat >>conftest.
$ac_ext <<_ACEOF
28671 /* end confdefs.h. */
28673 #include <gtk/gtk.h>
28679 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28684 rm -f conftest.
$ac_objext conftest
$ac_exeext
28685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28686 (eval $ac_link) 2>conftest.er1
28688 grep -v '^ *+' conftest.er1
>conftest.err
28690 cat conftest.err
>&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; } &&
28699 { ac_try
='test -s conftest$ac_exeext'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; }; then
28705 echo "*** The test program compiled, but did not run. This usually means"
28706 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28707 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28708 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28709 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28710 echo "*** is required on your system"
28712 echo "*** If you have an old version installed, it is best to remove it, although"
28713 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28715 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28716 echo "*** came with the system with the command"
28718 echo "*** rpm --erase --nodeps gtk gtk-devel"
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.
$ac_ext >&5
28723 echo "*** The test program failed to compile or link. See the file config.log for the"
28724 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28725 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28726 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28728 rm -f conftest.err conftest.
$ac_objext \
28729 conftest
$ac_exeext conftest.
$ac_ext
28730 CFLAGS
="$ac_save_CFLAGS"
28731 LIBS
="$ac_save_LIBS"
28746 if test -z "$wx_cv_lib_gtk"; then
28749 wx_cv_cflags_gtk
=$GTK_CFLAGS
28750 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28757 if test "$gtk_version_cached" = 1; then
28758 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28759 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28762 case "$wx_cv_lib_gtk" in
28771 *) { { echo "$as_me:$LINENO: error:
28772 The development files for GTK+ were not found. For GTK+ 2, please
28773 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28774 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28775 and that the version is 1.2.3 or above. Also check that the
28776 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28777 --libs' are in the LD_LIBRARY_PATH or equivalent.
28779 echo "$as_me: error:
28780 The development files for GTK+ were not found. For GTK+ 2, please
28781 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28782 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28783 and that the version is 1.2.3 or above. Also check that the
28784 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28785 --libs' are in the LD_LIBRARY_PATH or equivalent.
28787 { (exit 1); exit 1; }; }
28791 if test "$WXGTK20" = 1; then
28792 save_CFLAGS
="$CFLAGS"
28794 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
28795 LIBS
="$LIBS $wx_cv_libs_gtk"
28797 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28798 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28799 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28800 echo $ECHO_N "(cached) $ECHO_C" >&6
28802 cat >conftest.
$ac_ext <<_ACEOF
28805 cat confdefs.h
>>conftest.
$ac_ext
28806 cat >>conftest.
$ac_ext <<_ACEOF
28807 /* end confdefs.h. */
28808 #include <gtk/gtk.h>
28813 #ifndef gtk_icon_size_lookup
28814 char *p = (char *) gtk_icon_size_lookup;
28821 rm -f conftest.
$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823 (eval $ac_compile) 2>conftest.er1
28825 grep -v '^ *+' conftest.er1
>conftest.err
28827 cat conftest.err
>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; } &&
28836 { ac_try
='test -s conftest.$ac_objext'
28837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28838 (eval $ac_try) 2>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); }; }; then
28842 ac_cv_have_decl_gtk_icon_size_lookup
=yes
28844 echo "$as_me: failed program was:" >&5
28845 sed 's/^/| /' conftest.
$ac_ext >&5
28847 ac_cv_have_decl_gtk_icon_size_lookup
=no
28849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28851 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28852 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28853 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28855 cat >>confdefs.h
<<_ACEOF
28856 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28861 cat >>confdefs.h
<<_ACEOF
28862 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28865 cat >>confdefs.h
<<\_ACEOF
28866 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28873 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28874 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28875 cat >conftest.
$ac_ext <<_ACEOF
28878 cat confdefs.h
>>conftest.
$ac_ext
28879 cat >>conftest.
$ac_ext <<_ACEOF
28880 /* end confdefs.h. */
28882 #include <gtk/gtk.h>
28888 #if !GTK_CHECK_VERSION(2,6,0)
28896 rm -f conftest.
$ac_objext
28897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28898 (eval $ac_compile) 2>conftest.er1
28900 grep -v '^ *+' conftest.er1
>conftest.err
28902 cat conftest.err
>&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); } &&
28905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; } &&
28911 { ac_try
='test -s conftest.$ac_objext'
28912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28913 (eval $ac_try) 2>&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); }; }; then
28918 cat >>confdefs.h
<<\_ACEOF
28919 #define __WXGTK26__ 1
28922 cat >>confdefs.h
<<\_ACEOF
28923 #define __WXGTK24__ 1
28926 echo "$as_me:$LINENO: result: yes" >&5
28927 echo "${ECHO_T}yes" >&6
28931 echo "$as_me: failed program was:" >&5
28932 sed 's/^/| /' conftest.
$ac_ext >&5
28935 echo "$as_me:$LINENO: result: no" >&5
28936 echo "${ECHO_T}no" >&6
28940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28942 if test "$ac_wxgtk26" = 0; then
28943 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28944 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28945 cat >conftest.
$ac_ext <<_ACEOF
28948 cat confdefs.h
>>conftest.
$ac_ext
28949 cat >>conftest.
$ac_ext <<_ACEOF
28950 /* end confdefs.h. */
28952 #include <gtk/gtk.h>
28958 #if !GTK_CHECK_VERSION(2,4,0)
28966 rm -f conftest.
$ac_objext
28967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28968 (eval $ac_compile) 2>conftest.er1
28970 grep -v '^ *+' conftest.er1
>conftest.err
28972 cat conftest.err
>&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } &&
28975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); }; } &&
28981 { ac_try
='test -s conftest.$ac_objext'
28982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983 (eval $ac_try) 2>&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); }; }; then
28988 cat >>confdefs.h
<<\_ACEOF
28989 #define __WXGTK24__ 1
28992 echo "$as_me:$LINENO: result: yes" >&5
28993 echo "${ECHO_T}yes" >&6
28996 echo "$as_me: failed program was:" >&5
28997 sed 's/^/| /' conftest.
$ac_ext >&5
29000 echo "$as_me:$LINENO: result: no" >&5
29001 echo "${ECHO_T}no" >&6
29004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29007 CFLAGS
="$save_CFLAGS"
29010 if test "$wxUSE_UNICODE" = "yes"; then
29011 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29012 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29016 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29017 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29018 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29019 echo $ECHO_N "(cached) $ECHO_C" >&6
29021 ac_check_lib_save_LIBS
=$LIBS
29023 cat >conftest.
$ac_ext <<_ACEOF
29026 cat confdefs.h
>>conftest.
$ac_ext
29027 cat >>conftest.
$ac_ext <<_ACEOF
29028 /* end confdefs.h. */
29030 /* Override any gcc2 internal prototype to avoid an error. */
29034 /* We use char because int might match the return type of a gcc2
29035 builtin and then its argument prototype would still apply. */
29036 char gdk_im_open ();
29045 rm -f conftest.
$ac_objext conftest
$ac_exeext
29046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29047 (eval $ac_link) 2>conftest.er1
29049 grep -v '^ *+' conftest.er1
>conftest.err
29051 cat conftest.err
>&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } &&
29054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29056 (eval $ac_try) 2>&5
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); }; } &&
29060 { ac_try
='test -s conftest$ac_exeext'
29061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29062 (eval $ac_try) 2>&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); }; }; then
29066 ac_cv_lib_gdk_gdk_im_open
=yes
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.
$ac_ext >&5
29071 ac_cv_lib_gdk_gdk_im_open
=no
29073 rm -f conftest.err conftest.
$ac_objext \
29074 conftest
$ac_exeext conftest.
$ac_ext
29075 LIBS
=$ac_check_lib_save_LIBS
29077 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29078 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29079 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29080 cat >>confdefs.h
<<\_ACEOF
29089 ac_cpp
='$CXXCPP $CPPFLAGS'
29090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29095 if test "$USE_DARWIN" != 1; then
29097 for ac_func
in poll
29099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29100 echo "$as_me:$LINENO: checking for $ac_func" >&5
29101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29102 if eval "test \"\${$as_ac_var+set}\" = set"; then
29103 echo $ECHO_N "(cached) $ECHO_C" >&6
29105 cat >conftest.
$ac_ext <<_ACEOF
29108 cat confdefs.h
>>conftest.
$ac_ext
29109 cat >>conftest.
$ac_ext <<_ACEOF
29110 /* end confdefs.h. */
29111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29113 #define $ac_func innocuous_$ac_func
29115 /* System header to define __stub macros and hopefully few prototypes,
29116 which can conflict with char $ac_func (); below.
29117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29118 <limits.h> exists even on freestanding compilers. */
29121 # include <limits.h>
29123 # include <assert.h>
29128 /* Override any gcc2 internal prototype to avoid an error. */
29133 /* We use char because int might match the return type of a gcc2
29134 builtin and then its argument prototype would still apply. */
29136 /* The GNU C library defines this for functions which it implements
29137 to always fail with ENOSYS. Some functions are actually named
29138 something starting with __ and the normal name is an alias. */
29139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29142 char (*f) () = $ac_func;
29151 return f != $ac_func;
29156 rm -f conftest.
$ac_objext conftest
$ac_exeext
29157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29158 (eval $ac_link) 2>conftest.er1
29160 grep -v '^ *+' conftest.er1
>conftest.err
29162 cat conftest.err
>&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } &&
29165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; } &&
29171 { ac_try
='test -s conftest$ac_exeext'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; }; then
29177 eval "$as_ac_var=yes"
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.
$ac_ext >&5
29182 eval "$as_ac_var=no"
29184 rm -f conftest.err conftest.
$ac_objext \
29185 conftest
$ac_exeext conftest.
$ac_ext
29187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29189 if test `eval echo '${'$as_ac_var'}'` = yes; then
29190 cat >>confdefs.h
<<_ACEOF
29191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29199 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29200 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29202 AFMINSTALL
=afminstall
29206 if test "$wxUSE_GPE" = "yes"; then
29207 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29208 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29211 for ac_dir
in $SEARCH_LIB;
29213 for ac_extension
in a so sl dylib dll.a
; do
29214 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29215 ac_find_libraries
=$ac_dir
29221 if test "$ac_find_libraries" != "" ; then
29223 if test "$ac_find_libraries" = "default location"; then
29226 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29228 if test $result = 0; then
29231 ac_path_to_link
=" -L$ac_find_libraries"
29235 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29237 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29238 echo "${ECHO_T}found in $ac_find_libraries" >&6
29240 echo "$as_me:$LINENO: result: not found" >&5
29241 echo "${ECHO_T}not found" >&6
29247 if test "$wxUSE_MGL" = 1; then
29248 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29249 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29250 if test "x$MGL_ROOT" = x
; then
29251 echo "$as_me:$LINENO: result: not found" >&5
29252 echo "${ECHO_T}not found" >&6
29253 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29254 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29255 { (exit 1); exit 1; }; }
29257 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29258 echo "${ECHO_T}$MGL_ROOT" >&6
29261 echo "$as_me:$LINENO: checking for libmgl location" >&5
29262 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29265 if test "x$wxUSE_SHARED" = xyes
; then
29266 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29268 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29272 mgl_os_candidates
="dos32/dj2"
29275 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29276 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29277 { (exit 1); exit 1; }; }
29283 for mgl_os_i
in $mgl_os_candidates ; do
29284 if test "x$mgl_os" = x
; then
29285 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29286 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
29287 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
29292 if test "x$mgl_lib_type" = x
; then
29293 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
29294 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
29295 mgl_lib_type
=release
29302 if test "x$mgl_os" = x
; then
29303 echo "$as_me:$LINENO: result: not found" >&5
29304 echo "${ECHO_T}not found" >&6
29305 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29306 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29307 { (exit 1); exit 1; }; }
29309 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29310 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29312 wxUSE_UNIVERSAL
="yes"
29314 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
29315 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29317 AFMINSTALL
=afminstall
29322 if test "$wxUSE_DFB" = 1; then
29325 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29326 if test -n "$ac_tool_prefix"; then
29327 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29328 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29329 echo "$as_me:$LINENO: checking for $ac_word" >&5
29330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29331 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29332 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 case $PKG_CONFIG in
29336 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29340 for as_dir
in $PATH
29343 test -z "$as_dir" && as_dir
=.
29344 for ac_exec_ext
in '' $ac_executable_extensions; do
29345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29346 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29356 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29358 if test -n "$PKG_CONFIG"; then
29359 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29360 echo "${ECHO_T}$PKG_CONFIG" >&6
29362 echo "$as_me:$LINENO: result: no" >&5
29363 echo "${ECHO_T}no" >&6
29367 if test -z "$ac_cv_path_PKG_CONFIG"; then
29368 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29369 # Extract the first word of "pkg-config", so it can be a program name with args.
29370 set dummy pkg
-config; ac_word
=$2
29371 echo "$as_me:$LINENO: checking for $ac_word" >&5
29372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29373 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29376 case $ac_pt_PKG_CONFIG in
29378 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29382 for as_dir
in $PATH
29385 test -z "$as_dir" && as_dir
=.
29386 for ac_exec_ext
in '' $ac_executable_extensions; do
29387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29388 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29398 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29400 if test -n "$ac_pt_PKG_CONFIG"; then
29401 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29402 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29404 echo "$as_me:$LINENO: result: no" >&5
29405 echo "${ECHO_T}no" >&6
29408 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29410 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29414 if test -n "$PKG_CONFIG"; then
29415 _pkg_min_version
=0.9.0
29416 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29417 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29418 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29419 echo "$as_me:$LINENO: result: yes" >&5
29420 echo "${ECHO_T}yes" >&6
29422 echo "$as_me:$LINENO: result: no" >&5
29423 echo "${ECHO_T}no" >&6
29431 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29432 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29434 if test -n "$PKG_CONFIG"; then
29435 if test -n "$DIRECTFB_CFLAGS"; then
29436 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
29438 if test -n "$PKG_CONFIG" && \
29439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29440 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); }; then
29444 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29452 if test -n "$PKG_CONFIG"; then
29453 if test -n "$DIRECTFB_LIBS"; then
29454 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
29456 if test -n "$PKG_CONFIG" && \
29457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29458 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; then
29462 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29473 if test $pkg_failed = yes; then
29475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29476 _pkg_short_errors_supported
=yes
29478 _pkg_short_errors_supported
=no
29480 if test $_pkg_short_errors_supported = yes; then
29481 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29483 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29485 # Put the nasty error message in config.log where it belongs
29486 echo "$DIRECTFB_PKG_ERRORS" >&5
29489 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29490 echo "$as_me: error: DirectFB not found." >&2;}
29491 { (exit 1); exit 1; }; }
29494 elif test $pkg_failed = untried
; then
29496 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29497 echo "$as_me: error: DirectFB not found." >&2;}
29498 { (exit 1); exit 1; }; }
29502 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
29503 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
29504 echo "$as_me:$LINENO: result: yes" >&5
29505 echo "${ECHO_T}yes" >&6
29507 wxUSE_UNIVERSAL
="yes"
29508 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
29509 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
29516 if test "$wxUSE_MICROWIN" = 1; then
29517 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29518 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29519 if test "x$MICROWINDOWS" = x
; then
29520 echo "$as_me:$LINENO: result: not found" >&5
29521 echo "${ECHO_T}not found" >&6
29522 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29523 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29524 { (exit 1); exit 1; }; }
29526 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29527 echo "${ECHO_T}$MICROWINDOWS" >&6
29530 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
29531 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29532 echo "${ECHO_T}MicroWindows' libraries found." >&6
29534 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29535 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29536 { (exit 1); exit 1; }; }
29539 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
29540 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29542 wxUSE_UNIVERSAL
="yes"
29544 AFMINSTALL
=afminstall
29546 GUIDIST
=MICROWIN_DIST
29548 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29551 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29553 if test "x$ac_path_x_has_been_run" != xyes
; then
29554 echo "$as_me:$LINENO: checking for X" >&5
29555 echo $ECHO_N "checking for X... $ECHO_C" >&6
29557 ac_path_x_has_been_run
=yes
29559 # Check whether --with-x or --without-x was given.
29560 if test "${with_x+set}" = set; then
29564 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29565 if test "x$with_x" = xno
; then
29566 # The user explicitly disabled X.
29569 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
29570 # Both variables are already set.
29573 if test "${ac_cv_have_x+set}" = set; then
29574 echo $ECHO_N "(cached) $ECHO_C" >&6
29576 # One or both of the vars are not set, and there is no cached value.
29577 ac_x_includes
=no ac_x_libraries
=no
29578 rm -fr conftest.dir
29579 if mkdir conftest.dir
; then
29581 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29582 cat >Imakefile
<<'_ACEOF'
29584 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29586 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
29587 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29588 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29589 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29590 for ac_extension
in a so sl
; do
29591 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
29592 test -f $ac_im_libdir/libX11.
$ac_extension; then
29593 ac_im_usrlibdir
=$ac_im_libdir; break
29596 # Screen out bogus values from the imake configuration. They are
29597 # bogus both because they are the default anyway, and because
29598 # using them would break gcc on systems where it needs fixed includes.
29599 case $ac_im_incroot in
29601 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
29603 case $ac_im_usrlibdir in
29604 /usr
/lib
| /lib
) ;;
29605 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
29609 rm -fr conftest.dir
29612 # Standard set of common directories for X headers.
29613 # Check X11 before X11Rn because it is often a symlink to the current release.
29625 /usr/local/X11/include
29626 /usr/local/X11R6/include
29627 /usr/local/X11R5/include
29628 /usr/local/X11R4/include
29630 /usr/local/include/X11
29631 /usr/local/include/X11R6
29632 /usr/local/include/X11R5
29633 /usr/local/include/X11R4
29637 /usr/XFree86/include/X11
29641 /usr/unsupported/include
29642 /usr/athena/include
29643 /usr/local/x11r5/include
29644 /usr/lpp/Xamples/include
29646 /usr/openwin/include
29647 /usr/openwin/share/include'
29649 if test "$ac_x_includes" = no
; then
29650 # Guess where to find include files, by looking for a specified header file.
29651 # First, try using that file with no special directory specified.
29652 cat >conftest.
$ac_ext <<_ACEOF
29655 cat confdefs.h
>>conftest.
$ac_ext
29656 cat >>conftest.
$ac_ext <<_ACEOF
29657 /* end confdefs.h. */
29658 #include <X11/Intrinsic.h>
29660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29663 grep -v '^ *+' conftest.er1
>conftest.err
29665 cat conftest.err
>&5
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); } >/dev
/null
; then
29668 if test -s conftest.err
; then
29669 ac_cpp_err
=$ac_cxx_preproc_warn_flag
29670 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
29677 if test -z "$ac_cpp_err"; then
29678 # We can compile using X headers with no special include directory.
29681 echo "$as_me: failed program was:" >&5
29682 sed 's/^/| /' conftest.
$ac_ext >&5
29684 for ac_dir
in $ac_x_header_dirs; do
29685 if test -r "$ac_dir/X11/Intrinsic.h"; then
29686 ac_x_includes
=$ac_dir
29691 rm -f conftest.err conftest.
$ac_ext
29692 fi # $ac_x_includes = no
29694 if test "$ac_x_libraries" = no
; then
29695 # Check for the libraries.
29696 # See if we find them without any special options.
29697 # Don't add to $LIBS permanently.
29700 cat >conftest.
$ac_ext <<_ACEOF
29703 cat confdefs.h
>>conftest.
$ac_ext
29704 cat >>conftest.
$ac_ext <<_ACEOF
29705 /* end confdefs.h. */
29706 #include <X11/Intrinsic.h>
29715 rm -f conftest.
$ac_objext conftest
$ac_exeext
29716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29717 (eval $ac_link) 2>conftest.er1
29719 grep -v '^ *+' conftest.er1
>conftest.err
29721 cat conftest.err
>&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } &&
29724 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; } &&
29730 { ac_try
='test -s conftest$ac_exeext'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; }; then
29737 # We can link X programs with no special library path.
29740 echo "$as_me: failed program was:" >&5
29741 sed 's/^/| /' conftest.
$ac_ext >&5
29744 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29746 # Don't even attempt the hair of trying to link an X program!
29747 for ac_extension
in a so sl
; do
29748 if test -r $ac_dir/libXt.
$ac_extension; then
29749 ac_x_libraries
=$ac_dir
29755 rm -f conftest.err conftest.
$ac_objext \
29756 conftest
$ac_exeext conftest.
$ac_ext
29757 fi # $ac_x_libraries = no
29759 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
29760 # Didn't find X anywhere. Cache the known absence of X.
29761 ac_cv_have_x
="have_x=no"
29763 # Record where we found X for the cache.
29764 ac_cv_have_x
="have_x=yes \
29765 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29770 eval "$ac_cv_have_x"
29773 if test "$have_x" != yes; then
29774 echo "$as_me:$LINENO: result: $have_x" >&5
29775 echo "${ECHO_T}$have_x" >&6
29778 # If each of the values was on the command line, it overrides each guess.
29779 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
29780 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
29781 # Update the cache value to reflect the command line values.
29782 ac_cv_have_x
="have_x=yes \
29783 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29784 # It might be that x_includes is empty (headers are found in the
29785 # standard search path. Then output the corresponding message
29786 ac_out_x_includes
=$x_includes
29787 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
29788 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29789 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29793 if test "$no_x" = yes; then
29794 # Not all programs may use this symbol, but it does not hurt to define it.
29796 cat >>confdefs.h
<<\_ACEOF
29797 #define X_DISPLAY_MISSING 1
29800 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
29802 if test -n "$x_includes"; then
29803 X_CFLAGS
="$X_CFLAGS -I$x_includes"
29806 # It would also be nice to do this for all -L options, not just this one.
29807 if test -n "$x_libraries"; then
29808 X_LIBS
="$X_LIBS -L$x_libraries"
29809 # For Solaris; some versions of Sun CC require a space after -R and
29810 # others require no space. Words are not sufficient . . . .
29811 case `(uname -sr) 2>/dev/null` in
29813 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29814 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29815 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
29816 cat >conftest.
$ac_ext <<_ACEOF
29819 cat confdefs.h
>>conftest.
$ac_ext
29820 cat >>conftest.
$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29831 rm -f conftest.
$ac_objext conftest
$ac_exeext
29832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29833 (eval $ac_link) 2>conftest.er1
29835 grep -v '^ *+' conftest.er1
>conftest.err
29837 cat conftest.err
>&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); } &&
29840 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29842 (eval $ac_try) 2>&5
29844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 (exit $ac_status); }; } &&
29846 { ac_try
='test -s conftest$ac_exeext'
29847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29848 (eval $ac_try) 2>&5
29850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851 (exit $ac_status); }; }; then
29854 echo "$as_me: failed program was:" >&5
29855 sed 's/^/| /' conftest.
$ac_ext >&5
29859 rm -f conftest.err conftest.
$ac_objext \
29860 conftest
$ac_exeext conftest.
$ac_ext
29861 if test $ac_R_nospace = yes; then
29862 echo "$as_me:$LINENO: result: no" >&5
29863 echo "${ECHO_T}no" >&6
29864 X_LIBS
="$X_LIBS -R$x_libraries"
29866 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29867 cat >conftest.
$ac_ext <<_ACEOF
29870 cat confdefs.h
>>conftest.
$ac_ext
29871 cat >>conftest.
$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29882 rm -f conftest.
$ac_objext conftest
$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884 (eval $ac_link) 2>conftest.er1
29886 grep -v '^ *+' conftest.er1
>conftest.err
29888 cat conftest.err
>&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); } &&
29891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29893 (eval $ac_try) 2>&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); }; } &&
29897 { ac_try
='test -s conftest$ac_exeext'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; }; then
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.
$ac_ext >&5
29910 rm -f conftest.err conftest.
$ac_objext \
29911 conftest
$ac_exeext conftest.
$ac_ext
29912 if test $ac_R_space = yes; then
29913 echo "$as_me:$LINENO: result: yes" >&5
29914 echo "${ECHO_T}yes" >&6
29915 X_LIBS
="$X_LIBS -R $x_libraries"
29917 echo "$as_me:$LINENO: result: neither works" >&5
29918 echo "${ECHO_T}neither works" >&6
29921 LIBS
=$ac_xsave_LIBS
29925 # Check for system-dependent libraries X programs must link with.
29926 # Do this before checking for the system-independent R6 libraries
29927 # (-lICE), since we may need -lsocket or whatever for X linking.
29929 if test "$ISC" = yes; then
29930 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
29932 # Martyn Johnson says this is needed for Ultrix, if the X
29933 # libraries were built with DECnet support. And Karl Berry says
29934 # the Alpha needs dnet_stub (dnet does not exist).
29935 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
29936 cat >conftest.
$ac_ext <<_ACEOF
29939 cat confdefs.h
>>conftest.
$ac_ext
29940 cat >>conftest.
$ac_ext <<_ACEOF
29941 /* end confdefs.h. */
29943 /* Override any gcc2 internal prototype to avoid an error. */
29947 /* We use char because int might match the return type of a gcc2
29948 builtin and then its argument prototype would still apply. */
29949 char XOpenDisplay ();
29958 rm -f conftest.
$ac_objext conftest
$ac_exeext
29959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29960 (eval $ac_link) 2>conftest.er1
29962 grep -v '^ *+' conftest.er1
>conftest.err
29964 cat conftest.err
>&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); } &&
29967 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; } &&
29973 { ac_try
='test -s conftest$ac_exeext'
29974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29975 (eval $ac_try) 2>&5
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); }; }; then
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.
$ac_ext >&5
29984 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29985 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29986 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29987 echo $ECHO_N "(cached) $ECHO_C" >&6
29989 ac_check_lib_save_LIBS
=$LIBS
29990 LIBS
="-ldnet $LIBS"
29991 cat >conftest.
$ac_ext <<_ACEOF
29994 cat confdefs.h
>>conftest.
$ac_ext
29995 cat >>conftest.
$ac_ext <<_ACEOF
29996 /* end confdefs.h. */
29998 /* Override any gcc2 internal prototype to avoid an error. */
30002 /* We use char because int might match the return type of a gcc2
30003 builtin and then its argument prototype would still apply. */
30013 rm -f conftest.
$ac_objext conftest
$ac_exeext
30014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30015 (eval $ac_link) 2>conftest.er1
30017 grep -v '^ *+' conftest.er1
>conftest.err
30019 cat conftest.err
>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); } &&
30022 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; } &&
30028 { ac_try
='test -s conftest$ac_exeext'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; }; then
30034 ac_cv_lib_dnet_dnet_ntoa
=yes
30036 echo "$as_me: failed program was:" >&5
30037 sed 's/^/| /' conftest.
$ac_ext >&5
30039 ac_cv_lib_dnet_dnet_ntoa
=no
30041 rm -f conftest.err conftest.
$ac_objext \
30042 conftest
$ac_exeext conftest.
$ac_ext
30043 LIBS
=$ac_check_lib_save_LIBS
30045 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30046 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30047 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30048 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30051 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30052 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30053 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30054 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30055 echo $ECHO_N "(cached) $ECHO_C" >&6
30057 ac_check_lib_save_LIBS
=$LIBS
30058 LIBS
="-ldnet_stub $LIBS"
30059 cat >conftest.
$ac_ext <<_ACEOF
30062 cat confdefs.h
>>conftest.
$ac_ext
30063 cat >>conftest.
$ac_ext <<_ACEOF
30064 /* end confdefs.h. */
30066 /* Override any gcc2 internal prototype to avoid an error. */
30070 /* We use char because int might match the return type of a gcc2
30071 builtin and then its argument prototype would still apply. */
30081 rm -f conftest.
$ac_objext conftest
$ac_exeext
30082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30083 (eval $ac_link) 2>conftest.er1
30085 grep -v '^ *+' conftest.er1
>conftest.err
30087 cat conftest.err
>&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); } &&
30090 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; } &&
30096 { ac_try
='test -s conftest$ac_exeext'
30097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098 (eval $ac_try) 2>&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); }; }; then
30102 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30104 echo "$as_me: failed program was:" >&5
30105 sed 's/^/| /' conftest.
$ac_ext >&5
30107 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30109 rm -f conftest.err conftest.
$ac_objext \
30110 conftest
$ac_exeext conftest.
$ac_ext
30111 LIBS
=$ac_check_lib_save_LIBS
30113 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30114 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30115 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30116 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30121 rm -f conftest.err conftest.
$ac_objext \
30122 conftest
$ac_exeext conftest.
$ac_ext
30123 LIBS
="$ac_xsave_LIBS"
30125 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30126 # to get the SysV transport functions.
30127 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30129 # The nsl library prevents programs from opening the X display
30130 # on Irix 5.2, according to T.E. Dickey.
30131 # The functions gethostbyname, getservbyname, and inet_addr are
30132 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30133 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30134 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30135 if test "${ac_cv_func_gethostbyname+set}" = set; then
30136 echo $ECHO_N "(cached) $ECHO_C" >&6
30138 cat >conftest.
$ac_ext <<_ACEOF
30141 cat confdefs.h
>>conftest.
$ac_ext
30142 cat >>conftest.
$ac_ext <<_ACEOF
30143 /* end confdefs.h. */
30144 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30146 #define gethostbyname innocuous_gethostbyname
30148 /* System header to define __stub macros and hopefully few prototypes,
30149 which can conflict with char gethostbyname (); below.
30150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30151 <limits.h> exists even on freestanding compilers. */
30154 # include <limits.h>
30156 # include <assert.h>
30159 #undef gethostbyname
30161 /* Override any gcc2 internal prototype to avoid an error. */
30166 /* We use char because int might match the return type of a gcc2
30167 builtin and then its argument prototype would still apply. */
30168 char gethostbyname ();
30169 /* The GNU C library defines this for functions which it implements
30170 to always fail with ENOSYS. Some functions are actually named
30171 something starting with __ and the normal name is an alias. */
30172 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30175 char (*f) () = gethostbyname;
30184 return f != gethostbyname;
30189 rm -f conftest.
$ac_objext conftest
$ac_exeext
30190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30191 (eval $ac_link) 2>conftest.er1
30193 grep -v '^ *+' conftest.er1
>conftest.err
30195 cat conftest.err
>&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); } &&
30198 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; } &&
30204 { ac_try
='test -s conftest$ac_exeext'
30205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30206 (eval $ac_try) 2>&5
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); }; }; then
30210 ac_cv_func_gethostbyname
=yes
30212 echo "$as_me: failed program was:" >&5
30213 sed 's/^/| /' conftest.
$ac_ext >&5
30215 ac_cv_func_gethostbyname
=no
30217 rm -f conftest.err conftest.
$ac_objext \
30218 conftest
$ac_exeext conftest.
$ac_ext
30220 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30221 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30223 if test $ac_cv_func_gethostbyname = no
; then
30224 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30225 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30226 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30227 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 ac_check_lib_save_LIBS
=$LIBS
30231 cat >conftest.
$ac_ext <<_ACEOF
30234 cat confdefs.h
>>conftest.
$ac_ext
30235 cat >>conftest.
$ac_ext <<_ACEOF
30236 /* end confdefs.h. */
30238 /* Override any gcc2 internal prototype to avoid an error. */
30242 /* We use char because int might match the return type of a gcc2
30243 builtin and then its argument prototype would still apply. */
30244 char gethostbyname ();
30253 rm -f conftest.
$ac_objext conftest
$ac_exeext
30254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30255 (eval $ac_link) 2>conftest.er1
30257 grep -v '^ *+' conftest.er1
>conftest.err
30259 cat conftest.err
>&5
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); } &&
30262 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30264 (eval $ac_try) 2>&5
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); }; } &&
30268 { ac_try
='test -s conftest$ac_exeext'
30269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30270 (eval $ac_try) 2>&5
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; }; then
30274 ac_cv_lib_nsl_gethostbyname
=yes
30276 echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.
$ac_ext >&5
30279 ac_cv_lib_nsl_gethostbyname
=no
30281 rm -f conftest.err conftest.
$ac_objext \
30282 conftest
$ac_exeext conftest.
$ac_ext
30283 LIBS
=$ac_check_lib_save_LIBS
30285 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30286 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30287 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30291 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30292 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30293 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30294 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30297 ac_check_lib_save_LIBS
=$LIBS
30299 cat >conftest.
$ac_ext <<_ACEOF
30302 cat confdefs.h
>>conftest.
$ac_ext
30303 cat >>conftest.
$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30306 /* Override any gcc2 internal prototype to avoid an error. */
30310 /* We use char because int might match the return type of a gcc2
30311 builtin and then its argument prototype would still apply. */
30312 char gethostbyname ();
30321 rm -f conftest.
$ac_objext conftest
$ac_exeext
30322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30323 (eval $ac_link) 2>conftest.er1
30325 grep -v '^ *+' conftest.er1
>conftest.err
30327 cat conftest.err
>&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); } &&
30330 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30332 (eval $ac_try) 2>&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); }; } &&
30336 { ac_try
='test -s conftest$ac_exeext'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; }; then
30342 ac_cv_lib_bsd_gethostbyname
=yes
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.
$ac_ext >&5
30347 ac_cv_lib_bsd_gethostbyname
=no
30349 rm -f conftest.err conftest.
$ac_objext \
30350 conftest
$ac_exeext conftest.
$ac_ext
30351 LIBS
=$ac_check_lib_save_LIBS
30353 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30354 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30355 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30356 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
30362 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30363 # socket/setsockopt and other routines are undefined under SCO ODT
30364 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30365 # on later versions), says Simon Leinen: it contains gethostby*
30366 # variants that don't use the name server (or something). -lsocket
30367 # must be given before -lnsl if both are needed. We assume that
30368 # if connect needs -lnsl, so does gethostbyname.
30369 echo "$as_me:$LINENO: checking for connect" >&5
30370 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30371 if test "${ac_cv_func_connect+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30374 cat >conftest.
$ac_ext <<_ACEOF
30377 cat confdefs.h
>>conftest.
$ac_ext
30378 cat >>conftest.
$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30380 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30382 #define connect innocuous_connect
30384 /* System header to define __stub macros and hopefully few prototypes,
30385 which can conflict with char connect (); below.
30386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30387 <limits.h> exists even on freestanding compilers. */
30390 # include <limits.h>
30392 # include <assert.h>
30397 /* Override any gcc2 internal prototype to avoid an error. */
30402 /* We use char because int might match the return type of a gcc2
30403 builtin and then its argument prototype would still apply. */
30405 /* The GNU C library defines this for functions which it implements
30406 to always fail with ENOSYS. Some functions are actually named
30407 something starting with __ and the normal name is an alias. */
30408 #if defined (__stub_connect) || defined (__stub___connect)
30411 char (*f) () = connect;
30420 return f != connect;
30425 rm -f conftest.
$ac_objext conftest
$ac_exeext
30426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30427 (eval $ac_link) 2>conftest.er1
30429 grep -v '^ *+' conftest.er1
>conftest.err
30431 cat conftest.err
>&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); } &&
30434 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; } &&
30440 { ac_try
='test -s conftest$ac_exeext'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; }; then
30446 ac_cv_func_connect
=yes
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.
$ac_ext >&5
30451 ac_cv_func_connect
=no
30453 rm -f conftest.err conftest.
$ac_objext \
30454 conftest
$ac_exeext conftest.
$ac_ext
30456 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30457 echo "${ECHO_T}$ac_cv_func_connect" >&6
30459 if test $ac_cv_func_connect = no
; then
30460 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30461 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30462 if test "${ac_cv_lib_socket_connect+set}" = set; then
30463 echo $ECHO_N "(cached) $ECHO_C" >&6
30465 ac_check_lib_save_LIBS
=$LIBS
30466 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30467 cat >conftest.
$ac_ext <<_ACEOF
30470 cat confdefs.h
>>conftest.
$ac_ext
30471 cat >>conftest.
$ac_ext <<_ACEOF
30472 /* end confdefs.h. */
30474 /* Override any gcc2 internal prototype to avoid an error. */
30478 /* We use char because int might match the return type of a gcc2
30479 builtin and then its argument prototype would still apply. */
30489 rm -f conftest.
$ac_objext conftest
$ac_exeext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30491 (eval $ac_link) 2>conftest.er1
30493 grep -v '^ *+' conftest.er1
>conftest.err
30495 cat conftest.err
>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } &&
30498 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; } &&
30504 { ac_try
='test -s conftest$ac_exeext'
30505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30506 (eval $ac_try) 2>&5
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; }; then
30510 ac_cv_lib_socket_connect
=yes
30512 echo "$as_me: failed program was:" >&5
30513 sed 's/^/| /' conftest.
$ac_ext >&5
30515 ac_cv_lib_socket_connect
=no
30517 rm -f conftest.err conftest.
$ac_objext \
30518 conftest
$ac_exeext conftest.
$ac_ext
30519 LIBS
=$ac_check_lib_save_LIBS
30521 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30522 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30523 if test $ac_cv_lib_socket_connect = yes; then
30524 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
30529 # Guillermo Gomez says -lposix is necessary on A/UX.
30530 echo "$as_me:$LINENO: checking for remove" >&5
30531 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30532 if test "${ac_cv_func_remove+set}" = set; then
30533 echo $ECHO_N "(cached) $ECHO_C" >&6
30535 cat >conftest.
$ac_ext <<_ACEOF
30538 cat confdefs.h
>>conftest.
$ac_ext
30539 cat >>conftest.
$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30541 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30543 #define remove innocuous_remove
30545 /* System header to define __stub macros and hopefully few prototypes,
30546 which can conflict with char remove (); below.
30547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30548 <limits.h> exists even on freestanding compilers. */
30551 # include <limits.h>
30553 # include <assert.h>
30558 /* Override any gcc2 internal prototype to avoid an error. */
30563 /* We use char because int might match the return type of a gcc2
30564 builtin and then its argument prototype would still apply. */
30566 /* The GNU C library defines this for functions which it implements
30567 to always fail with ENOSYS. Some functions are actually named
30568 something starting with __ and the normal name is an alias. */
30569 #if defined (__stub_remove) || defined (__stub___remove)
30572 char (*f) () = remove;
30581 return f != remove;
30586 rm -f conftest.
$ac_objext conftest
$ac_exeext
30587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30588 (eval $ac_link) 2>conftest.er1
30590 grep -v '^ *+' conftest.er1
>conftest.err
30592 cat conftest.err
>&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); } &&
30595 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30597 (eval $ac_try) 2>&5
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); }; } &&
30601 { ac_try
='test -s conftest$ac_exeext'
30602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30603 (eval $ac_try) 2>&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); }; }; then
30607 ac_cv_func_remove
=yes
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.
$ac_ext >&5
30612 ac_cv_func_remove
=no
30614 rm -f conftest.err conftest.
$ac_objext \
30615 conftest
$ac_exeext conftest.
$ac_ext
30617 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30618 echo "${ECHO_T}$ac_cv_func_remove" >&6
30620 if test $ac_cv_func_remove = no
; then
30621 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30622 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30623 if test "${ac_cv_lib_posix_remove+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30626 ac_check_lib_save_LIBS
=$LIBS
30627 LIBS
="-lposix $LIBS"
30628 cat >conftest.
$ac_ext <<_ACEOF
30631 cat confdefs.h
>>conftest.
$ac_ext
30632 cat >>conftest.
$ac_ext <<_ACEOF
30633 /* end confdefs.h. */
30635 /* Override any gcc2 internal prototype to avoid an error. */
30639 /* We use char because int might match the return type of a gcc2
30640 builtin and then its argument prototype would still apply. */
30650 rm -f conftest.
$ac_objext conftest
$ac_exeext
30651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30652 (eval $ac_link) 2>conftest.er1
30654 grep -v '^ *+' conftest.er1
>conftest.err
30656 cat conftest.err
>&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); } &&
30659 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; } &&
30665 { ac_try
='test -s conftest$ac_exeext'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; }; then
30671 ac_cv_lib_posix_remove
=yes
30673 echo "$as_me: failed program was:" >&5
30674 sed 's/^/| /' conftest.
$ac_ext >&5
30676 ac_cv_lib_posix_remove
=no
30678 rm -f conftest.err conftest.
$ac_objext \
30679 conftest
$ac_exeext conftest.
$ac_ext
30680 LIBS
=$ac_check_lib_save_LIBS
30682 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30683 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30684 if test $ac_cv_lib_posix_remove = yes; then
30685 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
30690 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30691 echo "$as_me:$LINENO: checking for shmat" >&5
30692 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30693 if test "${ac_cv_func_shmat+set}" = set; then
30694 echo $ECHO_N "(cached) $ECHO_C" >&6
30696 cat >conftest.
$ac_ext <<_ACEOF
30699 cat confdefs.h
>>conftest.
$ac_ext
30700 cat >>conftest.
$ac_ext <<_ACEOF
30701 /* end confdefs.h. */
30702 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30704 #define shmat innocuous_shmat
30706 /* System header to define __stub macros and hopefully few prototypes,
30707 which can conflict with char shmat (); below.
30708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30709 <limits.h> exists even on freestanding compilers. */
30712 # include <limits.h>
30714 # include <assert.h>
30719 /* Override any gcc2 internal prototype to avoid an error. */
30724 /* We use char because int might match the return type of a gcc2
30725 builtin and then its argument prototype would still apply. */
30727 /* The GNU C library defines this for functions which it implements
30728 to always fail with ENOSYS. Some functions are actually named
30729 something starting with __ and the normal name is an alias. */
30730 #if defined (__stub_shmat) || defined (__stub___shmat)
30733 char (*f) () = shmat;
30747 rm -f conftest.
$ac_objext conftest
$ac_exeext
30748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30749 (eval $ac_link) 2>conftest.er1
30751 grep -v '^ *+' conftest.er1
>conftest.err
30753 cat conftest.err
>&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); } &&
30756 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758 (eval $ac_try) 2>&5
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); }; } &&
30762 { ac_try
='test -s conftest$ac_exeext'
30763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764 (eval $ac_try) 2>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); }; }; then
30768 ac_cv_func_shmat
=yes
30770 echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.
$ac_ext >&5
30773 ac_cv_func_shmat
=no
30775 rm -f conftest.err conftest.
$ac_objext \
30776 conftest
$ac_exeext conftest.
$ac_ext
30778 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30779 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30781 if test $ac_cv_func_shmat = no
; then
30782 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30783 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30784 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30785 echo $ECHO_N "(cached) $ECHO_C" >&6
30787 ac_check_lib_save_LIBS
=$LIBS
30789 cat >conftest.
$ac_ext <<_ACEOF
30792 cat confdefs.h
>>conftest.
$ac_ext
30793 cat >>conftest.
$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30796 /* Override any gcc2 internal prototype to avoid an error. */
30800 /* We use char because int might match the return type of a gcc2
30801 builtin and then its argument prototype would still apply. */
30811 rm -f conftest.
$ac_objext conftest
$ac_exeext
30812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30813 (eval $ac_link) 2>conftest.er1
30815 grep -v '^ *+' conftest.er1
>conftest.err
30817 cat conftest.err
>&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); } &&
30820 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30822 (eval $ac_try) 2>&5
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 (exit $ac_status); }; } &&
30826 { ac_try
='test -s conftest$ac_exeext'
30827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30828 (eval $ac_try) 2>&5
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); }; }; then
30832 ac_cv_lib_ipc_shmat
=yes
30834 echo "$as_me: failed program was:" >&5
30835 sed 's/^/| /' conftest.
$ac_ext >&5
30837 ac_cv_lib_ipc_shmat
=no
30839 rm -f conftest.err conftest.
$ac_objext \
30840 conftest
$ac_exeext conftest.
$ac_ext
30841 LIBS
=$ac_check_lib_save_LIBS
30843 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30844 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30845 if test $ac_cv_lib_ipc_shmat = yes; then
30846 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
30852 # Check for libraries that X11R6 Xt/Xaw programs need.
30853 ac_save_LDFLAGS
=$LDFLAGS
30854 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
30855 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30856 # check for ICE first), but we must link in the order -lSM -lICE or
30857 # we get undefined symbols. So assume we have SM if we have ICE.
30858 # These have to be linked with before -lX11, unlike the other
30859 # libraries we check for below, so use a different variable.
30860 # John Interrante, Karl Berry
30861 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30862 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30863 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30864 echo $ECHO_N "(cached) $ECHO_C" >&6
30866 ac_check_lib_save_LIBS
=$LIBS
30867 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
30868 cat >conftest.
$ac_ext <<_ACEOF
30871 cat confdefs.h
>>conftest.
$ac_ext
30872 cat >>conftest.
$ac_ext <<_ACEOF
30873 /* end confdefs.h. */
30875 /* Override any gcc2 internal prototype to avoid an error. */
30879 /* We use char because int might match the return type of a gcc2
30880 builtin and then its argument prototype would still apply. */
30881 char IceConnectionNumber ();
30885 IceConnectionNumber ();
30890 rm -f conftest.
$ac_objext conftest
$ac_exeext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30892 (eval $ac_link) 2>conftest.er1
30894 grep -v '^ *+' conftest.er1
>conftest.err
30896 cat conftest.err
>&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } &&
30899 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; } &&
30905 { ac_try
='test -s conftest$ac_exeext'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; }; then
30911 ac_cv_lib_ICE_IceConnectionNumber
=yes
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.
$ac_ext >&5
30916 ac_cv_lib_ICE_IceConnectionNumber
=no
30918 rm -f conftest.err conftest.
$ac_objext \
30919 conftest
$ac_exeext conftest.
$ac_ext
30920 LIBS
=$ac_check_lib_save_LIBS
30922 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30923 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30924 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30925 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30928 LDFLAGS
=$ac_save_LDFLAGS
30933 if test "$no_x" = "yes"; then
30934 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30935 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30936 { (exit 1); exit 1; }; }
30939 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30940 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30941 AFMINSTALL
=afminstall
30942 COMPILED_X_PROGRAM
=0
30946 if test "$wxUSE_X11" = 1; then
30947 if test "$wxUSE_NANOX" = "yes"; then
30948 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30949 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30950 if test "x$MICROWIN" = x
; then
30951 echo "$as_me:$LINENO: result: not found" >&5
30952 echo "${ECHO_T}not found" >&6
30953 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30954 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30955 { (exit 1); exit 1; }; }
30957 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30958 echo "${ECHO_T}$MICROWIN" >&6
30959 cat >>confdefs.h
<<\_ACEOF
30960 #define wxUSE_NANOX 1
30966 if test "$wxUSE_UNICODE" = "yes"; then
30969 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30970 if test -n "$ac_tool_prefix"; then
30971 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30972 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30973 echo "$as_me:$LINENO: checking for $ac_word" >&5
30974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30975 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30976 echo $ECHO_N "(cached) $ECHO_C" >&6
30978 case $PKG_CONFIG in
30980 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30984 for as_dir
in $PATH
30987 test -z "$as_dir" && as_dir
=.
30988 for ac_exec_ext
in '' $ac_executable_extensions; do
30989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30990 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31000 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31002 if test -n "$PKG_CONFIG"; then
31003 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31004 echo "${ECHO_T}$PKG_CONFIG" >&6
31006 echo "$as_me:$LINENO: result: no" >&5
31007 echo "${ECHO_T}no" >&6
31011 if test -z "$ac_cv_path_PKG_CONFIG"; then
31012 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31013 # Extract the first word of "pkg-config", so it can be a program name with args.
31014 set dummy pkg
-config; ac_word
=$2
31015 echo "$as_me:$LINENO: checking for $ac_word" >&5
31016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31017 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 case $ac_pt_PKG_CONFIG in
31022 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31026 for as_dir
in $PATH
31029 test -z "$as_dir" && as_dir
=.
31030 for ac_exec_ext
in '' $ac_executable_extensions; do
31031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31032 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31042 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31044 if test -n "$ac_pt_PKG_CONFIG"; then
31045 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31046 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31048 echo "$as_me:$LINENO: result: no" >&5
31049 echo "${ECHO_T}no" >&6
31052 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31054 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31058 if test -n "$PKG_CONFIG"; then
31059 _pkg_min_version
=0.9.0
31060 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31061 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31062 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31063 echo "$as_me:$LINENO: result: yes" >&5
31064 echo "${ECHO_T}yes" >&6
31066 echo "$as_me:$LINENO: result: no" >&5
31067 echo "${ECHO_T}no" >&6
31075 echo "$as_me:$LINENO: checking for PANGOX" >&5
31076 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31078 if test -n "$PKG_CONFIG"; then
31079 if test -n "$PANGOX_CFLAGS"; then
31080 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31082 if test -n "$PKG_CONFIG" && \
31083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31084 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; then
31088 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31096 if test -n "$PKG_CONFIG"; then
31097 if test -n "$PANGOX_LIBS"; then
31098 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31100 if test -n "$PKG_CONFIG" && \
31101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31102 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; then
31106 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31117 if test $pkg_failed = yes; then
31119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31120 _pkg_short_errors_supported
=yes
31122 _pkg_short_errors_supported
=no
31124 if test $_pkg_short_errors_supported = yes; then
31125 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31127 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31129 # Put the nasty error message in config.log where it belongs
31130 echo "$PANGOX_PKG_ERRORS" >&5
31133 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31134 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31135 { (exit 1); exit 1; }; }
31138 elif test $pkg_failed = untried
; then
31140 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31141 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31142 { (exit 1); exit 1; }; }
31146 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31147 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31148 echo "$as_me:$LINENO: result: yes" >&5
31149 echo "${ECHO_T}yes" >&6
31151 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31152 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31157 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31158 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31160 if test -n "$PKG_CONFIG"; then
31161 if test -n "$PANGOFT2_CFLAGS"; then
31162 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31164 if test -n "$PKG_CONFIG" && \
31165 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31166 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); }; then
31170 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31178 if test -n "$PKG_CONFIG"; then
31179 if test -n "$PANGOFT2_LIBS"; then
31180 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31182 if test -n "$PKG_CONFIG" && \
31183 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31184 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; then
31188 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31199 if test $pkg_failed = yes; then
31201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31202 _pkg_short_errors_supported
=yes
31204 _pkg_short_errors_supported
=no
31206 if test $_pkg_short_errors_supported = yes; then
31207 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31209 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31211 # Put the nasty error message in config.log where it belongs
31212 echo "$PANGOFT2_PKG_ERRORS" >&5
31215 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31216 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31217 wxUSE_PRINTING_ARCHITECTURE
="no"
31220 elif test $pkg_failed = untried
; then
31222 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31223 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31224 wxUSE_PRINTING_ARCHITECTURE
="no"
31228 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31229 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31230 echo "$as_me:$LINENO: result: yes" >&5
31231 echo "${ECHO_T}yes" >&6
31233 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31234 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31239 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31240 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31242 if test -n "$PKG_CONFIG"; then
31243 if test -n "$PANGOXFT_CFLAGS"; then
31244 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31246 if test -n "$PKG_CONFIG" && \
31247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31248 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; then
31252 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31260 if test -n "$PKG_CONFIG"; then
31261 if test -n "$PANGOXFT_LIBS"; then
31262 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31264 if test -n "$PKG_CONFIG" && \
31265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31266 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); }; then
31270 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31281 if test $pkg_failed = yes; then
31283 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31284 _pkg_short_errors_supported
=yes
31286 _pkg_short_errors_supported
=no
31288 if test $_pkg_short_errors_supported = yes; then
31289 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31291 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31293 # Put the nasty error message in config.log where it belongs
31294 echo "$PANGOXFT_PKG_ERRORS" >&5
31297 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31298 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31301 elif test $pkg_failed = untried
; then
31303 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31304 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31308 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31309 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31310 echo "$as_me:$LINENO: result: yes" >&5
31311 echo "${ECHO_T}yes" >&6
31313 cat >>confdefs.h
<<\_ACEOF
31314 #define HAVE_PANGO_XFT 1
31317 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31318 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31321 save_CXXFLAGS
="$CXXFLAGS"
31323 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31324 LIBS
="$LIBS $PANGOX_LIBS"
31326 for ac_func
in pango_font_family_is_monospace
31328 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31329 echo "$as_me:$LINENO: checking for $ac_func" >&5
31330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31331 if eval "test \"\${$as_ac_var+set}\" = set"; then
31332 echo $ECHO_N "(cached) $ECHO_C" >&6
31334 cat >conftest.
$ac_ext <<_ACEOF
31337 cat confdefs.h
>>conftest.
$ac_ext
31338 cat >>conftest.
$ac_ext <<_ACEOF
31339 /* end confdefs.h. */
31340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31342 #define $ac_func innocuous_$ac_func
31344 /* System header to define __stub macros and hopefully few prototypes,
31345 which can conflict with char $ac_func (); below.
31346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31347 <limits.h> exists even on freestanding compilers. */
31350 # include <limits.h>
31352 # include <assert.h>
31357 /* Override any gcc2 internal prototype to avoid an error. */
31362 /* We use char because int might match the return type of a gcc2
31363 builtin and then its argument prototype would still apply. */
31365 /* The GNU C library defines this for functions which it implements
31366 to always fail with ENOSYS. Some functions are actually named
31367 something starting with __ and the normal name is an alias. */
31368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31371 char (*f) () = $ac_func;
31380 return f != $ac_func;
31385 rm -f conftest.
$ac_objext conftest
$ac_exeext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31387 (eval $ac_link) 2>conftest.er1
31389 grep -v '^ *+' conftest.er1
>conftest.err
31391 cat conftest.err
>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try
='test -s conftest$ac_exeext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406 eval "$as_ac_var=yes"
31408 echo "$as_me: failed program was:" >&5
31409 sed 's/^/| /' conftest.
$ac_ext >&5
31411 eval "$as_ac_var=no"
31413 rm -f conftest.err conftest.
$ac_objext \
31414 conftest
$ac_exeext conftest.
$ac_ext
31416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31418 if test `eval echo '${'$as_ac_var'}'` = yes; then
31419 cat >>confdefs.h
<<_ACEOF
31420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31426 CXXFLAGS
="$save_CXXFLAGS"
31430 wxUSE_UNIVERSAL
="yes"
31432 if test "$wxUSE_NANOX" = "yes"; then
31433 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31434 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"
31435 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31437 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
31444 if test "$wxUSE_MOTIF" = 1; then
31445 if test "$wxUSE_UNICODE" = "yes"; then
31446 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31447 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31448 { (exit 1); exit 1; }; }
31451 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31452 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31455 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31457 if test -f "$ac_dir/Xm/Xm.h"; then
31458 ac_find_includes
=$ac_dir
31463 if test "$ac_find_includes" != "" ; then
31464 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31465 echo "${ECHO_T}found in $ac_find_includes" >&6
31467 if test "x$ac_find_includes" = "x/usr/include"; then
31468 ac_path_to_include
=""
31470 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
31472 if test $result = 0; then
31473 ac_path_to_include
=""
31475 ac_path_to_include
=" -I$ac_find_includes"
31479 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
31481 save_CXXFLAGS
=$CXXFLAGS
31482 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31484 cat >conftest.
$ac_ext <<_ACEOF
31487 cat confdefs.h
>>conftest.
$ac_ext
31488 cat >>conftest.
$ac_ext <<_ACEOF
31489 /* end confdefs.h. */
31498 version = xmUseVersion;
31504 rm -f conftest.
$ac_objext
31505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31506 (eval $ac_compile) 2>conftest.er1
31508 grep -v '^ *+' conftest.er1
>conftest.err
31510 cat conftest.err
>&5
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); } &&
31513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; } &&
31519 { ac_try
='test -s conftest.$ac_objext'
31520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31521 (eval $ac_try) 2>&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); }; }; then
31526 echo "$as_me:$LINENO: result: found in default search path" >&5
31527 echo "${ECHO_T}found in default search path" >&6
31528 COMPILED_X_PROGRAM
=1
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.
$ac_ext >&5
31535 echo "$as_me:$LINENO: result: no" >&5
31536 echo "${ECHO_T}no" >&6
31537 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31538 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31539 { (exit 1); exit 1; }; }
31543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31545 CXXFLAGS
=$save_CXXFLAGS
31549 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31550 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31553 for ac_dir
in $SEARCH_LIB;
31555 for ac_extension
in a so sl dylib dll.a
; do
31556 if test -f "$ac_dir/libXm.$ac_extension"; then
31557 ac_find_libraries
=$ac_dir
31564 if test "x$ac_find_libraries" != "x" ; then
31565 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31566 echo "${ECHO_T}found in $ac_find_libraries" >&6
31569 if test "$ac_find_libraries" = "default location"; then
31572 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31574 if test $result = 0; then
31577 ac_path_to_link
=" -L$ac_find_libraries"
31581 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31583 save_CXXFLAGS
=$CXXFLAGS
31584 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31586 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31588 cat >conftest.
$ac_ext <<_ACEOF
31591 cat confdefs.h
>>conftest.
$ac_ext
31592 cat >>conftest.
$ac_ext <<_ACEOF
31593 /* end confdefs.h. */
31602 version = xmUseVersion;
31608 rm -f conftest.
$ac_objext conftest
$ac_exeext
31609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31610 (eval $ac_link) 2>conftest.er1
31612 grep -v '^ *+' conftest.er1
>conftest.err
31614 cat conftest.err
>&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } &&
31617 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; } &&
31623 { ac_try
='test -s conftest$ac_exeext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31630 echo "$as_me:$LINENO: result: found in default search path" >&5
31631 echo "${ECHO_T}found in default search path" >&6
31632 COMPILED_X_PROGRAM
=1
31635 echo "$as_me: failed program was:" >&5
31636 sed 's/^/| /' conftest.
$ac_ext >&5
31639 echo "$as_me:$LINENO: result: no" >&5
31640 echo "${ECHO_T}no" >&6
31641 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31642 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31643 { (exit 1); exit 1; }; }
31647 rm -f conftest.err conftest.
$ac_objext \
31648 conftest
$ac_exeext conftest.
$ac_ext
31650 CXXFLAGS
=$save_CXXFLAGS
31654 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31655 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31659 for libp
in "" " -lXp"; do
31660 if test "$libs_found" = "0"; then
31661 for libsm_ice
in "" " -lSM -lICE"; do
31662 if test "$libs_found" = "0"; then
31664 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31665 save_CXXFLAGS
=$CXXFLAGS
31666 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31668 cat >conftest.
$ac_ext <<_ACEOF
31671 cat confdefs.h
>>conftest.
$ac_ext
31672 cat >>conftest.
$ac_ext <<_ACEOF
31673 /* end confdefs.h. */
31676 #include <Xm/List.h>
31682 XmString string = NULL;
31685 XmListAddItem(w, string, position);
31691 rm -f conftest.
$ac_objext conftest
$ac_exeext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31693 (eval $ac_link) 2>conftest.er1
31695 grep -v '^ *+' conftest.er1
>conftest.err
31697 cat conftest.err
>&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); } &&
31700 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
31706 { ac_try
='test -s conftest$ac_exeext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31714 libsm_ice_link
="$libsm_ice"
31715 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31716 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31720 echo "$as_me: failed program was:" >&5
31721 sed 's/^/| /' conftest.
$ac_ext >&5
31726 rm -f conftest.err conftest.
$ac_objext \
31727 conftest
$ac_exeext conftest.
$ac_ext
31730 CXXFLAGS
=$save_CXXFLAGS
31736 if test "$libs_found" = "0"; then
31737 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31738 echo "${ECHO_T}can't find the right libraries" >&6
31739 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31740 echo "$as_me: error: can't link a simple motif program" >&2;}
31741 { (exit 1); exit 1; }; }
31744 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31745 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31746 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31747 echo $ECHO_N "(cached) $ECHO_C" >&6
31749 ac_check_lib_save_LIBS
=$LIBS
31751 cat >conftest.
$ac_ext <<_ACEOF
31754 cat confdefs.h
>>conftest.
$ac_ext
31755 cat >>conftest.
$ac_ext <<_ACEOF
31756 /* end confdefs.h. */
31758 /* Override any gcc2 internal prototype to avoid an error. */
31762 /* We use char because int might match the return type of a gcc2
31763 builtin and then its argument prototype would still apply. */
31764 char SgCreateList ();
31773 rm -f conftest.
$ac_objext conftest
$ac_exeext
31774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31775 (eval $ac_link) 2>conftest.er1
31777 grep -v '^ *+' conftest.er1
>conftest.err
31779 cat conftest.err
>&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); } &&
31782 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31784 (eval $ac_try) 2>&5
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); }; } &&
31788 { ac_try
='test -s conftest$ac_exeext'
31789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31790 (eval $ac_try) 2>&5
31792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31793 (exit $ac_status); }; }; then
31794 ac_cv_lib_Sgm_SgCreateList
=yes
31796 echo "$as_me: failed program was:" >&5
31797 sed 's/^/| /' conftest.
$ac_ext >&5
31799 ac_cv_lib_Sgm_SgCreateList
=no
31801 rm -f conftest.err conftest.
$ac_objext \
31802 conftest
$ac_exeext conftest.
$ac_ext
31803 LIBS
=$ac_check_lib_save_LIBS
31805 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31806 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31807 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31808 libsgm_link
=" -lSgm"
31812 save_CXXFLAGS
=$CXXFLAGS
31813 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
31815 echo "$as_me:$LINENO: checking for Motif 2" >&5
31816 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31817 if test "${wx_cv_lib_motif2+set}" = set; then
31818 echo $ECHO_N "(cached) $ECHO_C" >&6
31820 cat >conftest.
$ac_ext <<_ACEOF
31823 cat confdefs.h
>>conftest.
$ac_ext
31824 cat >>conftest.
$ac_ext <<_ACEOF
31825 /* end confdefs.h. */
31833 #if XmVersion < 2000
31841 rm -f conftest.
$ac_objext
31842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31843 (eval $ac_compile) 2>conftest.er1
31845 grep -v '^ *+' conftest.er1
>conftest.err
31847 cat conftest.err
>&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); } &&
31850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31852 (eval $ac_try) 2>&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); }; } &&
31856 { ac_try
='test -s conftest.$ac_objext'
31857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31858 (eval $ac_try) 2>&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); }; }; then
31862 wx_cv_lib_motif2
="yes"
31864 echo "$as_me: failed program was:" >&5
31865 sed 's/^/| /' conftest.
$ac_ext >&5
31867 wx_cv_lib_motif2
="no"
31869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31871 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31872 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31873 if test "$wx_cv_lib_motif2" = "yes"; then
31874 cat >>confdefs.h
<<\_ACEOF
31875 #define __WXMOTIF20__ 1
31879 cat >>confdefs.h
<<\_ACEOF
31880 #define __WXMOTIF20__ 0
31885 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31886 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31887 if test "${wx_cv_lib_lesstif+set}" = set; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31890 cat >conftest.
$ac_ext <<_ACEOF
31893 cat confdefs.h
>>conftest.
$ac_ext
31894 cat >>conftest.
$ac_ext <<_ACEOF
31895 /* end confdefs.h. */
31903 #if !defined(LesstifVersion) || LesstifVersion <= 0
31911 rm -f conftest.
$ac_objext
31912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31913 (eval $ac_compile) 2>conftest.er1
31915 grep -v '^ *+' conftest.er1
>conftest.err
31917 cat conftest.err
>&5
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); } &&
31920 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31922 (eval $ac_try) 2>&5
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); }; } &&
31926 { ac_try
='test -s conftest.$ac_objext'
31927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; }; then
31932 wx_cv_lib_lesstif
="yes"
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.
$ac_ext >&5
31937 wx_cv_lib_lesstif
="no"
31939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31942 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31943 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31944 if test "$wx_cv_lib_lesstif" = "yes"; then
31945 cat >>confdefs.h
<<\_ACEOF
31946 #define __WXLESSTIF__ 1
31950 cat >>confdefs.h
<<\_ACEOF
31951 #define __WXLESSTIF__ 0
31956 CXXFLAGS
=$save_CXXFLAGS
31958 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31963 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31964 if test "$wxUSE_LIBXPM" = "sys"; then
31965 echo "$as_me:$LINENO: checking for Xpm library" >&5
31966 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31969 for ac_dir
in $SEARCH_LIB;
31971 for ac_extension
in a so sl dylib dll.a
; do
31972 if test -f "$ac_dir/libXpm.$ac_extension"; then
31973 ac_find_libraries
=$ac_dir
31979 if test "$ac_find_libraries" != "" ; then
31981 if test "$ac_find_libraries" = "default location"; then
31984 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31986 if test $result = 0; then
31989 ac_path_to_link
=" -L$ac_find_libraries"
31993 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31994 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31995 echo "${ECHO_T}found in $ac_find_libraries" >&6
31997 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31998 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31999 if test "${wx_cv_x11_xpm_h+set}" = set; then
32000 echo $ECHO_N "(cached) $ECHO_C" >&6
32003 save_CXXFLAGS
=$CXXFLAGS
32004 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32006 cat >conftest.
$ac_ext <<_ACEOF
32009 cat confdefs.h
>>conftest.
$ac_ext
32010 cat >>conftest.
$ac_ext <<_ACEOF
32011 /* end confdefs.h. */
32013 #include <X11/xpm.h>
32020 version = XpmLibraryVersion();
32026 rm -f conftest.
$ac_objext
32027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32028 (eval $ac_compile) 2>conftest.er1
32030 grep -v '^ *+' conftest.er1
>conftest.err
32032 cat conftest.err
>&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); } &&
32035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; } &&
32041 { ac_try
='test -s conftest.$ac_objext'
32042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32043 (eval $ac_try) 2>&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); }; }; then
32047 wx_cv_x11_xpm_h
=yes
32049 echo "$as_me: failed program was:" >&5
32050 sed 's/^/| /' conftest.
$ac_ext >&5
32055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32057 CXXFLAGS
=$save_CXXFLAGS
32061 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32062 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32064 if test $wx_cv_x11_xpm_h = "yes"; then
32065 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32066 cat >>confdefs.h
<<\_ACEOF
32067 #define wxHAVE_LIB_XPM 1
32071 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32072 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32078 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32079 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32080 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32083 ac_check_lib_save_LIBS
=$LIBS
32084 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32085 cat >conftest.
$ac_ext <<_ACEOF
32088 cat confdefs.h
>>conftest.
$ac_ext
32089 cat >>conftest.
$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32092 /* Override any gcc2 internal prototype to avoid an error. */
32096 /* We use char because int might match the return type of a gcc2
32097 builtin and then its argument prototype would still apply. */
32098 char XShapeQueryExtension ();
32102 XShapeQueryExtension ();
32107 rm -f conftest.
$ac_objext conftest
$ac_exeext
32108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32109 (eval $ac_link) 2>conftest.er1
32111 grep -v '^ *+' conftest.er1
>conftest.err
32113 cat conftest.err
>&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); } &&
32116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32118 (eval $ac_try) 2>&5
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); }; } &&
32122 { ac_try
='test -s conftest$ac_exeext'
32123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32124 (eval $ac_try) 2>&5
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); }; }; then
32128 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32130 echo "$as_me: failed program was:" >&5
32131 sed 's/^/| /' conftest.
$ac_ext >&5
32133 ac_cv_lib_Xext_XShapeQueryExtension
=no
32135 rm -f conftest.err conftest.
$ac_objext \
32136 conftest
$ac_exeext conftest.
$ac_ext
32137 LIBS
=$ac_check_lib_save_LIBS
32139 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32140 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32141 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32143 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32149 if test "$wxHAVE_XEXT_LIB" = 1; then
32150 save_CXXFLAGS
="$CXXFLAGS"
32151 CXXFLAGS
="$TOOLKIT_INCLUDE $CXXFLAGS"
32153 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32154 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32155 cat >conftest.
$ac_ext <<_ACEOF
32158 cat confdefs.h
>>conftest.
$ac_ext
32159 cat >>conftest.
$ac_ext <<_ACEOF
32160 /* end confdefs.h. */
32162 #include <X11/Xlib.h>
32163 #include <X11/extensions/shape.h>
32169 int dummy1, dummy2;
32170 XShapeQueryExtension((Display*)NULL,
32171 (int*)NULL, (int*)NULL);
32177 rm -f conftest.
$ac_objext
32178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32179 (eval $ac_compile) 2>conftest.er1
32181 grep -v '^ *+' conftest.er1
>conftest.err
32183 cat conftest.err
>&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } &&
32186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32188 (eval $ac_try) 2>&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); }; } &&
32192 { ac_try
='test -s conftest.$ac_objext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32199 cat >>confdefs.h
<<\_ACEOF
32200 #define HAVE_XSHAPE 1
32203 echo "$as_me:$LINENO: result: found" >&5
32204 echo "${ECHO_T}found" >&6
32207 echo "$as_me: failed program was:" >&5
32208 sed 's/^/| /' conftest.
$ac_ext >&5
32211 echo "$as_me:$LINENO: result: not found" >&5
32212 echo "${ECHO_T}not found" >&6
32215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32216 CXXFLAGS
="$save_CXXFLAGS"
32221 if test "$wxUSE_MAC" = 1; then
32222 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32223 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32224 if test "$GCC" = yes; then
32225 echo "$as_me:$LINENO: result: gcc" >&5
32226 echo "${ECHO_T}gcc" >&6
32227 CPPFLAGS_PASCAL
="-fpascal-strings"
32228 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32229 echo "$as_me:$LINENO: result: xlc" >&5
32230 echo "${ECHO_T}xlc" >&6
32231 CPPFLAGS_PASCAL
="-qmacpstr"
32233 echo "$as_me:$LINENO: result: none" >&5
32234 echo "${ECHO_T}none" >&6
32237 if test "x$wxUSE_UNIX" = "xyes"; then
32238 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32240 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32245 WXBASEPORT
="_carbon"
32248 if test "$wxUSE_COCOA" = 1; then
32253 if test "$wxUSE_PM" = 1; then
32256 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32257 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32258 if test "${wx_cv_spbcdata+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 cat >conftest.
$ac_ext <<_ACEOF
32265 cat confdefs.h
>>conftest.
$ac_ext
32266 cat >>conftest.
$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32282 rm -f conftest.
$ac_objext
32283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32284 (eval $ac_compile) 2>conftest.er1
32286 grep -v '^ *+' conftest.er1
>conftest.err
32288 cat conftest.err
>&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } &&
32291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; } &&
32297 { ac_try
='test -s conftest.$ac_objext'
32298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299 (eval $ac_try) 2>&5
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; }; then
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.
$ac_ext >&5
32311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32315 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32316 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32318 if test $wx_cv_spbcdata = "yes"; then
32319 cat >>confdefs.h
<<\_ACEOF
32320 #define HAVE_SPBCDATA 1
32326 if test "$TOOLKIT" = "PM" ; then
32329 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32332 if test "$wxUSE_UNIVERSAL" = "yes"; then
32333 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32337 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32338 DISTDIR
="wx\$(TOOLKIT)"
32344 if test "$USE_WIN32" = 1 ; then
32348 GUIDIST
="BASE_DIST"
32353 if test "$wxUSE_GUI" = "yes"; then
32354 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32356 for ac_header
in X
11/Xlib.h
32358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32360 echo "$as_me:$LINENO: checking for $ac_header" >&5
32361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32368 # Is the header compilable?
32369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32371 cat >conftest.
$ac_ext <<_ACEOF
32374 cat confdefs.h
>>conftest.
$ac_ext
32375 cat >>conftest.
$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377 $ac_includes_default
32378 #include <$ac_header>
32380 rm -f conftest.
$ac_objext
32381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32382 (eval $ac_compile) 2>conftest.er1
32384 grep -v '^ *+' conftest.er1
>conftest.err
32386 cat conftest.err
>&5
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); } &&
32389 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32391 (eval $ac_try) 2>&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); }; } &&
32395 { ac_try
='test -s conftest.$ac_objext'
32396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32397 (eval $ac_try) 2>&5
32399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32400 (exit $ac_status); }; }; then
32401 ac_header_compiler
=yes
32403 echo "$as_me: failed program was:" >&5
32404 sed 's/^/| /' conftest.
$ac_ext >&5
32406 ac_header_compiler
=no
32408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32410 echo "${ECHO_T}$ac_header_compiler" >&6
32412 # Is the header present?
32413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32415 cat >conftest.
$ac_ext <<_ACEOF
32418 cat confdefs.h
>>conftest.
$ac_ext
32419 cat >>conftest.
$ac_ext <<_ACEOF
32420 /* end confdefs.h. */
32421 #include <$ac_header>
32423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32424 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32426 grep -v '^ *+' conftest.er1
>conftest.err
32428 cat conftest.err
>&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } >/dev
/null
; then
32431 if test -s conftest.err
; then
32432 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32433 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32440 if test -z "$ac_cpp_err"; then
32441 ac_header_preproc
=yes
32443 echo "$as_me: failed program was:" >&5
32444 sed 's/^/| /' conftest.
$ac_ext >&5
32446 ac_header_preproc
=no
32448 rm -f conftest.err conftest.
$ac_ext
32449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32450 echo "${ECHO_T}$ac_header_preproc" >&6
32452 # So? What about this header?
32453 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32459 ac_header_preproc
=yes
32462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32476 ## ----------------------------------------- ##
32477 ## Report this to wx-dev@lists.wxwidgets.org ##
32478 ## ----------------------------------------- ##
32481 sed "s/^/$as_me: WARNING: /" >&2
32484 echo "$as_me:$LINENO: checking for $ac_header" >&5
32485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32487 echo $ECHO_N "(cached) $ECHO_C" >&6
32489 eval "$as_ac_Header=\$ac_header_preproc"
32491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32496 cat >>confdefs.h
<<_ACEOF
32497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32505 for ac_header
in X
11/XKBlib.h
32507 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32508 echo "$as_me:$LINENO: checking for $ac_header" >&5
32509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32511 echo $ECHO_N "(cached) $ECHO_C" >&6
32513 cat >conftest.
$ac_ext <<_ACEOF
32516 cat confdefs.h
>>conftest.
$ac_ext
32517 cat >>conftest.
$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32520 #if HAVE_X11_XLIB_H
32521 #include <X11/Xlib.h>
32525 #include <$ac_header>
32527 rm -f conftest.
$ac_objext
32528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32529 (eval $ac_compile) 2>conftest.er1
32531 grep -v '^ *+' conftest.er1
>conftest.err
32533 cat conftest.err
>&5
32534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535 (exit $ac_status); } &&
32536 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32538 (eval $ac_try) 2>&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); }; } &&
32542 { ac_try
='test -s conftest.$ac_objext'
32543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32544 (eval $ac_try) 2>&5
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); }; }; then
32548 eval "$as_ac_Header=yes"
32550 echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.
$ac_ext >&5
32553 eval "$as_ac_Header=no"
32555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32560 cat >>confdefs.h
<<_ACEOF
32561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32576 if test "$TOOLKIT" != "MSW" ; then
32578 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32580 if test "${ac_cv_header_sql_h+set}" = set; then
32581 echo "$as_me:$LINENO: checking for sql.h" >&5
32582 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32583 if test "${ac_cv_header_sql_h+set}" = set; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32586 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32587 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32589 # Is the header compilable?
32590 echo "$as_me:$LINENO: checking sql.h usability" >&5
32591 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32592 cat >conftest.
$ac_ext <<_ACEOF
32595 cat confdefs.h
>>conftest.
$ac_ext
32596 cat >>conftest.
$ac_ext <<_ACEOF
32597 /* end confdefs.h. */
32598 $ac_includes_default
32601 rm -f conftest.
$ac_objext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32603 (eval $ac_compile) 2>conftest.er1
32605 grep -v '^ *+' conftest.er1
>conftest.err
32607 cat conftest.err
>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try
='test -s conftest.$ac_objext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622 ac_header_compiler
=yes
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.
$ac_ext >&5
32627 ac_header_compiler
=no
32629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32631 echo "${ECHO_T}$ac_header_compiler" >&6
32633 # Is the header present?
32634 echo "$as_me:$LINENO: checking sql.h presence" >&5
32635 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32636 cat >conftest.
$ac_ext <<_ACEOF
32639 cat confdefs.h
>>conftest.
$ac_ext
32640 cat >>conftest.
$ac_ext <<_ACEOF
32641 /* end confdefs.h. */
32644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32647 grep -v '^ *+' conftest.er1
>conftest.err
32649 cat conftest.err
>&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); } >/dev
/null
; then
32652 if test -s conftest.err
; then
32653 ac_cpp_err
=$ac_cxx_preproc_warn_flag
32654 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
32661 if test -z "$ac_cpp_err"; then
32662 ac_header_preproc
=yes
32664 echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.
$ac_ext >&5
32667 ac_header_preproc
=no
32669 rm -f conftest.err conftest.
$ac_ext
32670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32671 echo "${ECHO_T}$ac_header_preproc" >&6
32673 # So? What about this header?
32674 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32676 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32677 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32678 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32679 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32680 ac_header_preproc
=yes
32683 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32684 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32685 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32686 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32687 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32688 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32689 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32690 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32691 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32692 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32693 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32694 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32697 ## ----------------------------------------- ##
32698 ## Report this to wx-dev@lists.wxwidgets.org ##
32699 ## ----------------------------------------- ##
32702 sed "s/^/$as_me: WARNING: /" >&2
32705 echo "$as_me:$LINENO: checking for sql.h" >&5
32706 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32707 if test "${ac_cv_header_sql_h+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32710 ac_cv_header_sql_h
=$ac_header_preproc
32712 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32713 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32716 if test $ac_cv_header_sql_h = yes; then
32721 if test "x$found_sql_h" = "x1" ; then
32722 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32723 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32724 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32725 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 ac_check_lib_save_LIBS
=$LIBS
32728 LIBS
="-liodbc $LIBS"
32729 cat >conftest.
$ac_ext <<_ACEOF
32732 cat confdefs.h
>>conftest.
$ac_ext
32733 cat >>conftest.
$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32736 /* Override any gcc2 internal prototype to avoid an error. */
32740 /* We use char because int might match the return type of a gcc2
32741 builtin and then its argument prototype would still apply. */
32742 char SQLAllocEnv ();
32751 rm -f conftest.
$ac_objext conftest
$ac_exeext
32752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32753 (eval $ac_link) 2>conftest.er1
32755 grep -v '^ *+' conftest.er1
>conftest.err
32757 cat conftest.err
>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } &&
32760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32762 (eval $ac_try) 2>&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); }; } &&
32766 { ac_try
='test -s conftest$ac_exeext'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; }; then
32772 ac_cv_lib_iodbc_SQLAllocEnv
=yes
32774 echo "$as_me: failed program was:" >&5
32775 sed 's/^/| /' conftest.
$ac_ext >&5
32777 ac_cv_lib_iodbc_SQLAllocEnv
=no
32779 rm -f conftest.err conftest.
$ac_objext \
32780 conftest
$ac_exeext conftest.
$ac_ext
32781 LIBS
=$ac_check_lib_save_LIBS
32783 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32784 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32785 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32786 ODBC_LINK
=" -liodbc"
32789 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32790 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32791 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32794 ac_check_lib_save_LIBS
=$LIBS
32795 LIBS
="-lunixodbc $LIBS"
32796 cat >conftest.
$ac_ext <<_ACEOF
32799 cat confdefs.h
>>conftest.
$ac_ext
32800 cat >>conftest.
$ac_ext <<_ACEOF
32801 /* end confdefs.h. */
32803 /* Override any gcc2 internal prototype to avoid an error. */
32807 /* We use char because int might match the return type of a gcc2
32808 builtin and then its argument prototype would still apply. */
32809 char SQLAllocEnv ();
32818 rm -f conftest.
$ac_objext conftest
$ac_exeext
32819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32820 (eval $ac_link) 2>conftest.er1
32822 grep -v '^ *+' conftest.er1
>conftest.err
32824 cat conftest.err
>&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); } &&
32827 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32829 (eval $ac_try) 2>&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); }; } &&
32833 { ac_try
='test -s conftest$ac_exeext'
32834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32835 (eval $ac_try) 2>&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); }; }; then
32839 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.
$ac_ext >&5
32844 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32846 rm -f conftest.err conftest.
$ac_objext \
32847 conftest
$ac_exeext conftest.
$ac_ext
32848 LIBS
=$ac_check_lib_save_LIBS
32850 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32851 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32852 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32853 ODBC_LINK
=" -lunixodbc"
32856 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32857 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32858 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32859 echo $ECHO_N "(cached) $ECHO_C" >&6
32861 ac_check_lib_save_LIBS
=$LIBS
32862 LIBS
="-lodbc $LIBS"
32863 cat >conftest.
$ac_ext <<_ACEOF
32866 cat confdefs.h
>>conftest.
$ac_ext
32867 cat >>conftest.
$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32870 /* Override any gcc2 internal prototype to avoid an error. */
32874 /* We use char because int might match the return type of a gcc2
32875 builtin and then its argument prototype would still apply. */
32876 char SQLAllocEnv ();
32885 rm -f conftest.
$ac_objext conftest
$ac_exeext
32886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32887 (eval $ac_link) 2>conftest.er1
32889 grep -v '^ *+' conftest.er1
>conftest.err
32891 cat conftest.err
>&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); } &&
32894 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32896 (eval $ac_try) 2>&5
32898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32899 (exit $ac_status); }; } &&
32900 { ac_try
='test -s conftest$ac_exeext'
32901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32902 (eval $ac_try) 2>&5
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); }; }; then
32906 ac_cv_lib_odbc_SQLAllocEnv
=yes
32908 echo "$as_me: failed program was:" >&5
32909 sed 's/^/| /' conftest.
$ac_ext >&5
32911 ac_cv_lib_odbc_SQLAllocEnv
=no
32913 rm -f conftest.err conftest.
$ac_objext \
32914 conftest
$ac_exeext conftest.
$ac_ext
32915 LIBS
=$ac_check_lib_save_LIBS
32917 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32918 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32919 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32920 ODBC_LINK
=" -lodbc"
32930 if test "x$ODBC_LINK" = "x" ; then
32931 if test "$wxUSE_ODBC" = "sys" ; then
32932 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32933 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32934 { (exit 1); exit 1; }; }
32936 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32937 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32945 if test "$wxUSE_ODBC" = "builtin" ; then
32946 cat >>confdefs.h
<<\_ACEOF
32947 #define wxUSE_BUILTIN_IODBC 1
32953 if test "$wxUSE_ODBC" != "no" ; then
32954 cat >>confdefs.h
<<\_ACEOF
32955 #define wxUSE_ODBC 1
32958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
32960 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
32964 if test "$wxUSE_DISPLAY" = "yes"; then
32965 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32966 echo "$as_me:$LINENO: checking for Xinerama" >&5
32967 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32970 for ac_dir
in $SEARCH_LIB;
32972 for ac_extension
in a so sl dylib dll.a
; do
32973 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32974 ac_find_libraries
=$ac_dir
32980 if test "$ac_find_libraries" != "" ; then
32982 if test "$ac_find_libraries" = "default location"; then
32985 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32987 if test $result = 0; then
32990 ac_path_to_link
=" -L$ac_find_libraries"
32994 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32995 LDFLAGS
="$LDFLAGS $ac_path_to_link"
32997 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
32998 echo "$as_me:$LINENO: result: yes" >&5
32999 echo "${ECHO_T}yes" >&6
33001 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33002 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33005 for ac_dir
in $SEARCH_LIB;
33007 for ac_extension
in a so sl dylib dll.a
; do
33008 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33009 ac_find_libraries
=$ac_dir
33015 if test "$ac_find_libraries" != "" ; then
33016 echo "$as_me:$LINENO: result: yes" >&5
33017 echo "${ECHO_T}yes" >&6
33019 for ac_header
in X
11/extensions
/xf86vmode.h
33021 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33022 echo "$as_me:$LINENO: checking for $ac_header" >&5
33023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 cat >conftest.
$ac_ext <<_ACEOF
33030 cat confdefs.h
>>conftest.
$ac_ext
33031 cat >>conftest.
$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33034 #if HAVE_X11_XLIB_H
33035 #include <X11/Xlib.h>
33039 #include <$ac_header>
33041 rm -f conftest.
$ac_objext
33042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33043 (eval $ac_compile) 2>conftest.er1
33045 grep -v '^ *+' conftest.er1
>conftest.err
33047 cat conftest.err
>&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); } &&
33050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33052 (eval $ac_try) 2>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; } &&
33056 { ac_try
='test -s conftest.$ac_objext'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; }; then
33062 eval "$as_ac_Header=yes"
33064 echo "$as_me: failed program was:" >&5
33065 sed 's/^/| /' conftest.
$ac_ext >&5
33067 eval "$as_ac_Header=no"
33069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33074 cat >>confdefs.h
<<_ACEOF
33075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33078 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33085 echo "$as_me:$LINENO: result: no" >&5
33086 echo "${ECHO_T}no" >&6
33090 echo "$as_me:$LINENO: result: no" >&5
33091 echo "${ECHO_T}no" >&6
33092 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33093 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33096 elif test "$wxUSE_MSW" = 1; then
33098 for ac_header
in ddraw.h
33100 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33101 echo "$as_me:$LINENO: checking for $ac_header" >&5
33102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 #include <windows.h>
33114 #include <$ac_header>
33116 rm -f conftest.
$ac_objext
33117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33118 (eval $ac_compile) 2>conftest.er1
33120 grep -v '^ *+' conftest.er1
>conftest.err
33122 cat conftest.err
>&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } &&
33125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; } &&
33131 { ac_try
='test -s conftest.$ac_objext'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; }; then
33137 eval "$as_ac_Header=yes"
33139 echo "$as_me: failed program was:" >&5
33140 sed 's/^/| /' conftest.
$ac_ext >&5
33142 eval "$as_ac_Header=no"
33144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33149 cat >>confdefs.h
<<_ACEOF
33150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33160 if test "$wxUSE_DETECT_SM" = "yes"; then
33161 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33162 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33163 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33166 for ac_dir
in $SEARCH_LIB;
33168 for ac_extension
in a so sl dylib dll.a
; do
33169 if test -f "$ac_dir/libSM.$ac_extension"; then
33170 ac_find_libraries
=$ac_dir
33176 if test "$ac_find_libraries" != "" ; then
33178 if test "$ac_find_libraries" = "default location"; then
33181 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33183 if test $result = 0; then
33186 ac_path_to_link
=" -L$ac_find_libraries"
33190 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33191 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33193 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33194 echo "$as_me:$LINENO: result: yes" >&5
33195 echo "${ECHO_T}yes" >&6
33197 echo "$as_me:$LINENO: result: no" >&5
33198 echo "${ECHO_T}no" >&6
33199 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33200 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33201 wxUSE_DETECT_SM
="no"
33204 wxUSE_DETECT_SM
="no"
33211 if test "$wxUSE_OPENGL" = "yes"; then
33212 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33213 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33214 elif test "$wxUSE_MSW" = 1; then
33215 OPENGL_LIBS
="-lopengl32 -lglu32"
33220 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
33222 if test -f "$ac_dir/GL/gl.h"; then
33223 ac_find_includes
=$ac_dir
33228 if test "$ac_find_includes" != "" ; then
33229 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33230 echo "${ECHO_T}found in $ac_find_includes" >&6
33232 if test "x$ac_find_includes" = "x/usr/include"; then
33233 ac_path_to_include
=""
33235 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33237 if test $result = 0; then
33238 ac_path_to_include
=""
33240 ac_path_to_include
=" -I$ac_find_includes"
33244 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33247 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33248 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33249 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33250 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33253 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33254 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33256 # Is the header compilable?
33257 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33258 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33259 cat >conftest.
$ac_ext <<_ACEOF
33262 cat confdefs.h
>>conftest.
$ac_ext
33263 cat >>conftest.
$ac_ext <<_ACEOF
33264 /* end confdefs.h. */
33265 $ac_includes_default
33268 rm -f conftest.
$ac_objext
33269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33270 (eval $ac_compile) 2>conftest.er1
33272 grep -v '^ *+' conftest.er1
>conftest.err
33274 cat conftest.err
>&5
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); } &&
33277 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33279 (eval $ac_try) 2>&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; } &&
33283 { ac_try
='test -s conftest.$ac_objext'
33284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33285 (eval $ac_try) 2>&5
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); }; }; then
33289 ac_header_compiler
=yes
33291 echo "$as_me: failed program was:" >&5
33292 sed 's/^/| /' conftest.
$ac_ext >&5
33294 ac_header_compiler
=no
33296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33298 echo "${ECHO_T}$ac_header_compiler" >&6
33300 # Is the header present?
33301 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33302 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33303 cat >conftest.
$ac_ext <<_ACEOF
33306 cat confdefs.h
>>conftest.
$ac_ext
33307 cat >>conftest.
$ac_ext <<_ACEOF
33308 /* end confdefs.h. */
33311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33314 grep -v '^ *+' conftest.er1
>conftest.err
33316 cat conftest.err
>&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); } >/dev
/null
; then
33319 if test -s conftest.err
; then
33320 ac_cpp_err
=$ac_cxx_preproc_warn_flag
33321 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
33328 if test -z "$ac_cpp_err"; then
33329 ac_header_preproc
=yes
33331 echo "$as_me: failed program was:" >&5
33332 sed 's/^/| /' conftest.
$ac_ext >&5
33334 ac_header_preproc
=no
33336 rm -f conftest.err conftest.
$ac_ext
33337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33338 echo "${ECHO_T}$ac_header_preproc" >&6
33340 # So? What about this header?
33341 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33343 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33344 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33345 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33346 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33347 ac_header_preproc
=yes
33350 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33351 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33352 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33353 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33354 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33355 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33356 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33357 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33358 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33359 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33360 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33361 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33364 ## ----------------------------------------- ##
33365 ## Report this to wx-dev@lists.wxwidgets.org ##
33366 ## ----------------------------------------- ##
33369 sed "s/^/$as_me: WARNING: /" >&2
33372 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33373 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33374 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33375 echo $ECHO_N "(cached) $ECHO_C" >&6
33377 ac_cv_header_GL_gl_h
=$ac_header_preproc
33379 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33380 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33383 if test $ac_cv_header_GL_gl_h = yes; then
33387 echo "$as_me:$LINENO: checking for -lGL" >&5
33388 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33391 for ac_dir
in $SEARCH_LIB;
33393 for ac_extension
in a so sl dylib dll.a
; do
33394 if test -f "$ac_dir/libGL.$ac_extension"; then
33395 ac_find_libraries
=$ac_dir
33401 if test "$ac_find_libraries" != "" ; then
33402 echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6
33406 if test "$ac_find_libraries" = "default location"; then
33409 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33411 if test $result = 0; then
33414 ac_path_to_link
=" -L$ac_find_libraries"
33418 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33419 LDFLAGS_GL
="$ac_path_to_link"
33422 echo "$as_me:$LINENO: checking for -lGLU" >&5
33423 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33426 for ac_dir
in $SEARCH_LIB;
33428 for ac_extension
in a so sl dylib dll.a
; do
33429 if test -f "$ac_dir/libGLU.$ac_extension"; then
33430 ac_find_libraries
=$ac_dir
33436 if test "$ac_find_libraries" != "" ; then
33438 if test "$ac_find_libraries" = "default location"; then
33441 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33443 if test $result = 0; then
33446 ac_path_to_link
=" -L$ac_find_libraries"
33450 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33451 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33452 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33456 OPENGL_LIBS
="-lGL -lGLU"
33457 echo "$as_me:$LINENO: result: yes" >&5
33458 echo "${ECHO_T}yes" >&6
33460 echo "$as_me:$LINENO: result: no" >&5
33461 echo "${ECHO_T}no" >&6
33464 echo "$as_me:$LINENO: result: no" >&5
33465 echo "${ECHO_T}no" >&6
33468 if test "$found_gl" != 1; then
33469 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33470 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33473 for ac_dir
in $SEARCH_LIB;
33475 for ac_extension
in a so sl dylib dll.a
; do
33476 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33477 ac_find_libraries
=$ac_dir
33483 if test "$ac_find_libraries" != "" ; then
33485 if test "$ac_find_libraries" = "default location"; then
33488 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33490 if test $result = 0; then
33493 ac_path_to_link
=" -L$ac_find_libraries"
33497 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33498 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33499 echo "$as_me:$LINENO: result: yes" >&5
33500 echo "${ECHO_T}yes" >&6
33502 echo "$as_me:$LINENO: result: no" >&5
33503 echo "${ECHO_T}no" >&6
33511 if test "x$OPENGL_LIBS" = "x"; then
33512 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33513 echo "$as_me: error: OpenGL libraries not available" >&2;}
33514 { (exit 1); exit 1; }; }
33518 if test "$wxUSE_OPENGL" = "yes"; then
33520 cat >>confdefs.h
<<\_ACEOF
33521 #define wxUSE_OPENGL 1
33524 cat >>confdefs.h
<<\_ACEOF
33525 #define wxUSE_GLCANVAS 1
33528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33533 if test -n "$TOOLKIT" ; then
33534 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33539 if test "$wxUSE_SHARED" = "yes"; then
33543 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33544 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33549 if test "$wxUSE_SHARED" = "yes"; then
33552 found_versioning
=no
33555 if test $found_versioning = no
; then
33556 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33557 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33558 if test "${wx_cv_version_script+set}" = set; then
33559 echo $ECHO_N "(cached) $ECHO_C" >&6
33562 echo "VER_1 { *; };" >conftest.sym
33563 echo "int main() { return 0; }" >conftest.cpp
33566 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33567 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33569 (eval $ac_try) 2>&5
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); }; } ; then
33573 if test -s conftest.stderr
; then
33574 wx_cv_version_script
=no
33576 wx_cv_version_script
=yes
33579 wx_cv_version_script
=no
33582 if test $wx_cv_version_script = yes
33584 echo "struct B { virtual ~B() { } }; \
33585 struct D : public B { }; \
33586 void F() { D d; }" > conftest.cpp
33589 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33590 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33592 (eval $ac_try) 2>&5
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); }; } &&
33597 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33598 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; }
33606 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33607 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609 (eval $ac_try) 2>&5
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; }
33614 wx_cv_version_script
=yes
33616 wx_cv_version_script
=no
33621 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33622 rm -f conftest1.output conftest2.output conftest3.output
33625 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33626 echo "${ECHO_T}$wx_cv_version_script" >&6
33627 if test $wx_cv_version_script = yes ; then
33628 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
33634 *-*-linux* | *-*-gnu* )
33635 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33636 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33640 if test "$GCC" = yes ; then
33641 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33643 saveLdflags
="$LDFLAGS"
33644 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33645 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33646 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33647 cat >conftest.
$ac_ext <<_ACEOF
33650 cat confdefs.h
>>conftest.
$ac_ext
33651 cat >>conftest.
$ac_ext <<_ACEOF
33652 /* end confdefs.h. */
33662 rm -f conftest.
$ac_objext conftest
$ac_exeext
33663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33664 (eval $ac_link) 2>conftest.er1
33666 grep -v '^ *+' conftest.er1
>conftest.err
33668 cat conftest.err
>&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } &&
33671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; } &&
33677 { ac_try
='test -s conftest$ac_exeext'
33678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33679 (eval $ac_try) 2>&5
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); }; }; then
33684 echo "$as_me:$LINENO: result: yes" >&5
33685 echo "${ECHO_T}yes" >&6
33686 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
33687 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33690 echo "$as_me: failed program was:" >&5
33691 sed 's/^/| /' conftest.
$ac_ext >&5
33694 echo "$as_me:$LINENO: result: no" >&5
33695 echo "${ECHO_T}no" >&6
33696 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33697 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33698 LDFLAGS
="$saveLdflags -Wl,-R,/"
33699 cat >conftest.
$ac_ext <<_ACEOF
33702 cat confdefs.h
>>conftest.
$ac_ext
33703 cat >>conftest.
$ac_ext <<_ACEOF
33704 /* end confdefs.h. */
33714 rm -f conftest.
$ac_objext conftest
$ac_exeext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33716 (eval $ac_link) 2>conftest.er1
33718 grep -v '^ *+' conftest.er1
>conftest.err
33720 cat conftest.err
>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; } &&
33729 { ac_try
='test -s conftest$ac_exeext'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; }; then
33736 echo "$as_me:$LINENO: result: yes" >&5
33737 echo "${ECHO_T}yes" >&6
33738 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
33739 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.
$ac_ext >&5
33746 echo "$as_me:$LINENO: result: no" >&5
33747 echo "${ECHO_T}no" >&6
33750 rm -f conftest.err conftest.
$ac_objext \
33751 conftest
$ac_exeext conftest.
$ac_ext
33754 rm -f conftest.err conftest.
$ac_objext \
33755 conftest
$ac_exeext conftest.
$ac_ext
33756 LDFLAGS
="$saveLdflags"
33758 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
33759 WXCONFIG_RPATH
="-R\$libdir"
33764 install_name_tool
=`which install_name_tool`
33765 if test "$install_name_tool" -a -x "$install_name_tool"; then
33766 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33767 cat <<EOF >change-install-names
33769 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33770 inst_cmd="install_name_tool "
33771 for i in \${libnames} ; do
33772 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33776 chmod +x change
-install-names
33780 *-*-cygwin* | *-*-mingw32* )
33781 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33785 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
33786 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33791 if test $wxUSE_RPATH = "no"; then
33792 SAMPLES_RPATH_FLAG
=''
33793 SAMPLES_RPATH_POSTLINK
=''
33801 config_linkage_component
="-static"
33808 lib_unicode_suffix
=
33810 if test "$wxUSE_UNICODE" = "yes"; then
33811 lib_unicode_suffix
=u
33812 WX_CHARTYPE
="unicode"
33817 WX_DEBUGTYPE
="release"
33819 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33821 WX_DEBUGTYPE
="debug"
33825 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33826 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33829 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33833 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33835 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33837 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33839 if test "$cross_compiling" = "yes"; then
33840 HOST_SUFFIX
="-$host_alias"
33841 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33842 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33845 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33846 if test "${TOOLKIT_DIR}" = "os2"; then
33847 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33849 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33854 if test "$wxUSE_COCOA" = 1; then
33858 ac_cpp
='$CPP $CPPFLAGS'
33859 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33860 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33861 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33865 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33866 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33867 cat >conftest.
$ac_ext <<_ACEOF
33870 cat confdefs.h
>>conftest.
$ac_ext
33871 cat >>conftest.
$ac_ext <<_ACEOF
33872 /* end confdefs.h. */
33873 #include <AppKit/NSEvent.h>
33874 #include <CoreFoundation/CoreFoundation.h>
33884 rm -f conftest.
$ac_objext
33885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33886 (eval $ac_compile) 2>conftest.er1
33888 grep -v '^ *+' conftest.er1
>conftest.err
33890 cat conftest.err
>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } &&
33893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895 (eval $ac_try) 2>&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); }; } &&
33899 { ac_try
='test -s conftest.$ac_objext'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; }; then
33905 echo "$as_me:$LINENO: result: no" >&5
33906 echo "${ECHO_T}no" >&6
33908 echo "$as_me: failed program was:" >&5
33909 sed 's/^/| /' conftest.
$ac_ext >&5
33911 echo "$as_me:$LINENO: result: yes" >&5
33912 echo "${ECHO_T}yes" >&6
33913 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33914 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33915 cat >conftest.
$ac_ext <<_ACEOF
33918 cat confdefs.h
>>conftest.
$ac_ext
33919 cat >>conftest.
$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921 #define __Point__ 1
33922 #include <AppKit/NSEvent.h>
33923 #include <CoreFoundation/CoreFoundation.h>
33933 rm -f conftest.
$ac_objext
33934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33935 (eval $ac_compile) 2>conftest.er1
33937 grep -v '^ *+' conftest.er1
>conftest.err
33939 cat conftest.err
>&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); } &&
33942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33944 (eval $ac_try) 2>&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); }; } &&
33948 { ac_try
='test -s conftest.$ac_objext'
33949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33950 (eval $ac_try) 2>&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); }; }; then
33954 echo "$as_me:$LINENO: result: yes" >&5
33955 echo "${ECHO_T}yes" >&6
33956 cat >>confdefs.h
<<\_ACEOF
33957 #define __Point__ 1
33962 echo "$as_me: failed program was:" >&5
33963 sed 's/^/| /' conftest.
$ac_ext >&5
33965 { { echo "$as_me:$LINENO: error: no
33966 See \`config.log' for more details." >&5
33967 echo "$as_me: error: no
33968 See \`config.log' for more details." >&2;}
33969 { (exit 1); exit 1; }; }
33972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33977 ac_cpp
='$CXXCPP $CPPFLAGS'
33978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33984 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33985 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33986 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33988 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33990 # Extract the first word of "Rez", so it can be a program name with args.
33991 set dummy Rez
; ac_word
=$2
33992 echo "$as_me:$LINENO: checking for $ac_word" >&5
33993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33994 if test "${ac_cv_prog_REZ+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 if test -n "$REZ"; then
33998 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
34000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34001 for as_dir
in $PATH
34004 test -z "$as_dir" && as_dir
=.
34005 for ac_exec_ext
in '' $ac_executable_extensions; do
34006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34007 ac_cv_prog_REZ
="Rez"
34008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34014 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
34017 REZ
=$ac_cv_prog_REZ
34018 if test -n "$REZ"; then
34019 echo "$as_me:$LINENO: result: $REZ" >&5
34020 echo "${ECHO_T}$REZ" >&6
34022 echo "$as_me:$LINENO: result: no" >&5
34023 echo "${ECHO_T}no" >&6
34026 # Extract the first word of "DeRez", so it can be a program name with args.
34027 set dummy DeRez
; ac_word
=$2
34028 echo "$as_me:$LINENO: checking for $ac_word" >&5
34029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34030 if test "${ac_cv_prog_DEREZ+set}" = set; then
34031 echo $ECHO_N "(cached) $ECHO_C" >&6
34033 if test -n "$DEREZ"; then
34034 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
34036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34037 for as_dir
in $PATH
34040 test -z "$as_dir" && as_dir
=.
34041 for ac_exec_ext
in '' $ac_executable_extensions; do
34042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34043 ac_cv_prog_DEREZ
="DeRez"
34044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34050 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
34053 DEREZ
=$ac_cv_prog_DEREZ
34054 if test -n "$DEREZ"; then
34055 echo "$as_me:$LINENO: result: $DEREZ" >&5
34056 echo "${ECHO_T}$DEREZ" >&6
34058 echo "$as_me:$LINENO: result: no" >&5
34059 echo "${ECHO_T}no" >&6
34062 # Extract the first word of "SetFile", so it can be a program name with args.
34063 set dummy SetFile
; ac_word
=$2
34064 echo "$as_me:$LINENO: checking for $ac_word" >&5
34065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34066 if test "${ac_cv_prog_SETFILE+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 if test -n "$SETFILE"; then
34070 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34073 for as_dir
in $PATH
34076 test -z "$as_dir" && as_dir
=.
34077 for ac_exec_ext
in '' $ac_executable_extensions; do
34078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34079 ac_cv_prog_SETFILE
="SetFile"
34080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34086 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34089 SETFILE
=$ac_cv_prog_SETFILE
34090 if test -n "$SETFILE"; then
34091 echo "$as_me:$LINENO: result: $SETFILE" >&5
34092 echo "${ECHO_T}$SETFILE" >&6
34094 echo "$as_me:$LINENO: result: no" >&5
34095 echo "${ECHO_T}no" >&6
34099 MACSETFILE
="\$(SETFILE)"
34101 if test "$wxUSE_MAC" = 1; then
34102 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34104 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
34106 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34107 RESCOMP
="echo -n \| $REZ"
34108 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34114 if test "$wxUSE_PM" = 1; then
34116 WXCONFIG_RESFLAGS
="-ep"
34118 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
34120 POSTLINK_COMMAND
="@true"
34127 echo "$as_me:$LINENO: checking for mode_t" >&5
34128 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34129 if test "${ac_cv_type_mode_t+set}" = set; then
34130 echo $ECHO_N "(cached) $ECHO_C" >&6
34132 cat >conftest.
$ac_ext <<_ACEOF
34135 cat confdefs.h
>>conftest.
$ac_ext
34136 cat >>conftest.
$ac_ext <<_ACEOF
34137 /* end confdefs.h. */
34138 $ac_includes_default
34144 if (sizeof (mode_t))
34150 rm -f conftest.
$ac_objext
34151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34152 (eval $ac_compile) 2>conftest.er1
34154 grep -v '^ *+' conftest.er1
>conftest.err
34156 cat conftest.err
>&5
34157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34158 (exit $ac_status); } &&
34159 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34161 (eval $ac_try) 2>&5
34163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34164 (exit $ac_status); }; } &&
34165 { ac_try
='test -s conftest.$ac_objext'
34166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34167 (eval $ac_try) 2>&5
34169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34170 (exit $ac_status); }; }; then
34171 ac_cv_type_mode_t
=yes
34173 echo "$as_me: failed program was:" >&5
34174 sed 's/^/| /' conftest.
$ac_ext >&5
34176 ac_cv_type_mode_t
=no
34178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34180 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34181 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34182 if test $ac_cv_type_mode_t = yes; then
34186 cat >>confdefs.h
<<_ACEOF
34192 echo "$as_me:$LINENO: checking for off_t" >&5
34193 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34194 if test "${ac_cv_type_off_t+set}" = set; then
34195 echo $ECHO_N "(cached) $ECHO_C" >&6
34197 cat >conftest.
$ac_ext <<_ACEOF
34200 cat confdefs.h
>>conftest.
$ac_ext
34201 cat >>conftest.
$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 $ac_includes_default
34209 if (sizeof (off_t))
34215 rm -f conftest.
$ac_objext
34216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34217 (eval $ac_compile) 2>conftest.er1
34219 grep -v '^ *+' conftest.er1
>conftest.err
34221 cat conftest.err
>&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } &&
34224 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34226 (eval $ac_try) 2>&5
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); }; } &&
34230 { ac_try
='test -s conftest.$ac_objext'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; }; then
34236 ac_cv_type_off_t
=yes
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.
$ac_ext >&5
34241 ac_cv_type_off_t
=no
34243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34245 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34246 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34247 if test $ac_cv_type_off_t = yes; then
34251 cat >>confdefs.h
<<_ACEOF
34257 echo "$as_me:$LINENO: checking for pid_t" >&5
34258 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34259 if test "${ac_cv_type_pid_t+set}" = set; then
34260 echo $ECHO_N "(cached) $ECHO_C" >&6
34262 cat >conftest.
$ac_ext <<_ACEOF
34265 cat confdefs.h
>>conftest.
$ac_ext
34266 cat >>conftest.
$ac_ext <<_ACEOF
34267 /* end confdefs.h. */
34268 $ac_includes_default
34274 if (sizeof (pid_t))
34280 rm -f conftest.
$ac_objext
34281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34282 (eval $ac_compile) 2>conftest.er1
34284 grep -v '^ *+' conftest.er1
>conftest.err
34286 cat conftest.err
>&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } &&
34289 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34291 (eval $ac_try) 2>&5
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); }; } &&
34295 { ac_try
='test -s conftest.$ac_objext'
34296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34297 (eval $ac_try) 2>&5
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); }; }; then
34301 ac_cv_type_pid_t
=yes
34303 echo "$as_me: failed program was:" >&5
34304 sed 's/^/| /' conftest.
$ac_ext >&5
34306 ac_cv_type_pid_t
=no
34308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34310 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34311 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34312 if test $ac_cv_type_pid_t = yes; then
34316 cat >>confdefs.h
<<_ACEOF
34322 echo "$as_me:$LINENO: checking for size_t" >&5
34323 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34324 if test "${ac_cv_type_size_t+set}" = set; then
34325 echo $ECHO_N "(cached) $ECHO_C" >&6
34327 cat >conftest.
$ac_ext <<_ACEOF
34330 cat confdefs.h
>>conftest.
$ac_ext
34331 cat >>conftest.
$ac_ext <<_ACEOF
34332 /* end confdefs.h. */
34333 $ac_includes_default
34339 if (sizeof (size_t))
34345 rm -f conftest.
$ac_objext
34346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34347 (eval $ac_compile) 2>conftest.er1
34349 grep -v '^ *+' conftest.er1
>conftest.err
34351 cat conftest.err
>&5
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); } &&
34354 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; } &&
34360 { ac_try
='test -s conftest.$ac_objext'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; }; then
34366 ac_cv_type_size_t
=yes
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.
$ac_ext >&5
34371 ac_cv_type_size_t
=no
34373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34375 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34376 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34377 if test $ac_cv_type_size_t = yes; then
34381 cat >>confdefs.h
<<_ACEOF
34382 #define size_t unsigned
34387 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34388 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34389 if test "${ac_cv_type_uid_t+set}" = set; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 cat >conftest.
$ac_ext <<_ACEOF
34395 cat confdefs.h
>>conftest.
$ac_ext
34396 cat >>conftest.
$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398 #include <sys/types.h>
34401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34402 $EGREP "uid_t" >/dev
/null
2>&1; then
34403 ac_cv_type_uid_t
=yes
34405 ac_cv_type_uid_t
=no
34410 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34411 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34412 if test $ac_cv_type_uid_t = no
; then
34414 cat >>confdefs.h
<<\_ACEOF
34419 cat >>confdefs.h
<<\_ACEOF
34426 echo "$as_me:$LINENO: checking for ssize_t" >&5
34427 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34428 if test "${ac_cv_type_ssize_t+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 cat >conftest.
$ac_ext <<_ACEOF
34434 cat confdefs.h
>>conftest.
$ac_ext
34435 cat >>conftest.
$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 $ac_includes_default
34443 if (sizeof (ssize_t))
34449 rm -f conftest.
$ac_objext
34450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34451 (eval $ac_compile) 2>conftest.er1
34453 grep -v '^ *+' conftest.er1
>conftest.err
34455 cat conftest.err
>&5
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); } &&
34458 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34460 (eval $ac_try) 2>&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); }; } &&
34464 { ac_try
='test -s conftest.$ac_objext'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; }; then
34470 ac_cv_type_ssize_t
=yes
34472 echo "$as_me: failed program was:" >&5
34473 sed 's/^/| /' conftest.
$ac_ext >&5
34475 ac_cv_type_ssize_t
=no
34477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34479 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34480 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34481 if test $ac_cv_type_ssize_t = yes; then
34483 cat >>confdefs.h
<<_ACEOF
34484 #define HAVE_SSIZE_T 1
34491 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34492 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34493 if test "${wx_cv_size_t_is_uint+set}" = set; then
34494 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 cat >conftest.
$ac_ext <<_ACEOF
34500 cat confdefs.h
>>conftest.
$ac_ext
34501 cat >>conftest.
$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 #include <stddef.h>
34510 struct Foo { void foo(size_t); void foo(unsigned int); };
34518 rm -f conftest.
$ac_objext
34519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34520 (eval $ac_compile) 2>conftest.er1
34522 grep -v '^ *+' conftest.er1
>conftest.err
34524 cat conftest.err
>&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } &&
34527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34529 (eval $ac_try) 2>&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); }; } &&
34533 { ac_try
='test -s conftest.$ac_objext'
34534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34535 (eval $ac_try) 2>&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); }; }; then
34539 wx_cv_size_t_is_uint
=no
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.
$ac_ext >&5
34544 wx_cv_size_t_is_uint
=yes
34547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34551 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34552 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34554 if test "$wx_cv_size_t_is_uint" = "yes"; then
34555 cat >>confdefs.h
<<\_ACEOF
34556 #define wxSIZE_T_IS_UINT 1
34560 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34561 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34562 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34565 cat >conftest.
$ac_ext <<_ACEOF
34568 cat confdefs.h
>>conftest.
$ac_ext
34569 cat >>conftest.
$ac_ext <<_ACEOF
34570 /* end confdefs.h. */
34571 #include <stddef.h>
34578 struct Foo { void foo(size_t); void foo(unsigned long); };
34586 rm -f conftest.
$ac_objext
34587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34588 (eval $ac_compile) 2>conftest.er1
34590 grep -v '^ *+' conftest.er1
>conftest.err
34592 cat conftest.err
>&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); } &&
34595 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; } &&
34601 { ac_try
='test -s conftest.$ac_objext'
34602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34603 (eval $ac_try) 2>&5
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); }; }; then
34607 wx_cv_size_t_is_ulong
=no
34609 echo "$as_me: failed program was:" >&5
34610 sed 's/^/| /' conftest.
$ac_ext >&5
34612 wx_cv_size_t_is_ulong
=yes
34615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34618 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34619 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34621 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34622 cat >>confdefs.h
<<\_ACEOF
34623 #define wxSIZE_T_IS_ULONG 1
34630 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34631 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34632 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34633 echo $ECHO_N "(cached) $ECHO_C" >&6
34636 cat >conftest.
$ac_ext <<_ACEOF
34639 cat confdefs.h
>>conftest.
$ac_ext
34640 cat >>conftest.
$ac_ext <<_ACEOF
34641 /* end confdefs.h. */
34655 rm -f conftest.
$ac_objext
34656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34657 (eval $ac_compile) 2>conftest.er1
34659 grep -v '^ *+' conftest.er1
>conftest.err
34661 cat conftest.err
>&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); } &&
34664 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666 (eval $ac_try) 2>&5
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); }; } &&
34670 { ac_try
='test -s conftest.$ac_objext'
34671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672 (eval $ac_try) 2>&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); }; }; then
34677 wx_cv_struct_pw_gecos
=yes
34680 echo "$as_me: failed program was:" >&5
34681 sed 's/^/| /' conftest.
$ac_ext >&5
34684 wx_cv_struct_pw_gecos
=no
34688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34692 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34693 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34695 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34696 cat >>confdefs.h
<<\_ACEOF
34697 #define HAVE_PW_GECOS 1
34703 if test "$wxUSE_WCHAR_T" = "yes"; then
34704 cat >>confdefs.h
<<\_ACEOF
34705 #define wxUSE_WCHAR_T 1
34712 for ac_func
in wcslen
34714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34715 echo "$as_me:$LINENO: checking for $ac_func" >&5
34716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34717 if eval "test \"\${$as_ac_var+set}\" = set"; then
34718 echo $ECHO_N "(cached) $ECHO_C" >&6
34720 cat >conftest.
$ac_ext <<_ACEOF
34723 cat confdefs.h
>>conftest.
$ac_ext
34724 cat >>conftest.
$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34728 #define $ac_func innocuous_$ac_func
34730 /* System header to define __stub macros and hopefully few prototypes,
34731 which can conflict with char $ac_func (); below.
34732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34733 <limits.h> exists even on freestanding compilers. */
34736 # include <limits.h>
34738 # include <assert.h>
34743 /* Override any gcc2 internal prototype to avoid an error. */
34748 /* We use char because int might match the return type of a gcc2
34749 builtin and then its argument prototype would still apply. */
34751 /* The GNU C library defines this for functions which it implements
34752 to always fail with ENOSYS. Some functions are actually named
34753 something starting with __ and the normal name is an alias. */
34754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34757 char (*f) () = $ac_func;
34766 return f != $ac_func;
34771 rm -f conftest.
$ac_objext conftest
$ac_exeext
34772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34773 (eval $ac_link) 2>conftest.er1
34775 grep -v '^ *+' conftest.er1
>conftest.err
34777 cat conftest.err
>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } &&
34780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34782 (eval $ac_try) 2>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); }; } &&
34786 { ac_try
='test -s conftest$ac_exeext'
34787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34788 (eval $ac_try) 2>&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); }; }; then
34792 eval "$as_ac_var=yes"
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.
$ac_ext >&5
34797 eval "$as_ac_var=no"
34799 rm -f conftest.err conftest.
$ac_objext \
34800 conftest
$ac_exeext conftest.
$ac_ext
34802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34804 if test `eval echo '${'$as_ac_var'}'` = yes; then
34805 cat >>confdefs.h
<<_ACEOF
34806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34813 if test "$WCSLEN_FOUND" = 0; then
34814 if test "$TOOLKIT" = "MSW"; then
34815 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34816 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34817 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34818 echo $ECHO_N "(cached) $ECHO_C" >&6
34820 ac_check_lib_save_LIBS
=$LIBS
34821 LIBS
="-lmsvcrt $LIBS"
34822 cat >conftest.
$ac_ext <<_ACEOF
34825 cat confdefs.h
>>conftest.
$ac_ext
34826 cat >>conftest.
$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34829 /* Override any gcc2 internal prototype to avoid an error. */
34833 /* We use char because int might match the return type of a gcc2
34834 builtin and then its argument prototype would still apply. */
34844 rm -f conftest.
$ac_objext conftest
$ac_exeext
34845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34846 (eval $ac_link) 2>conftest.er1
34848 grep -v '^ *+' conftest.er1
>conftest.err
34850 cat conftest.err
>&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } &&
34853 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34855 (eval $ac_try) 2>&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); }; } &&
34859 { ac_try
='test -s conftest$ac_exeext'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; }; then
34865 ac_cv_lib_msvcrt_wcslen
=yes
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.
$ac_ext >&5
34870 ac_cv_lib_msvcrt_wcslen
=no
34872 rm -f conftest.err conftest.
$ac_objext \
34873 conftest
$ac_exeext conftest.
$ac_ext
34874 LIBS
=$ac_check_lib_save_LIBS
34876 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34877 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34878 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34883 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34884 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34885 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34888 ac_check_lib_save_LIBS
=$LIBS
34890 cat >conftest.
$ac_ext <<_ACEOF
34893 cat confdefs.h
>>conftest.
$ac_ext
34894 cat >>conftest.
$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34897 /* Override any gcc2 internal prototype to avoid an error. */
34901 /* We use char because int might match the return type of a gcc2
34902 builtin and then its argument prototype would still apply. */
34912 rm -f conftest.
$ac_objext conftest
$ac_exeext
34913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34914 (eval $ac_link) 2>conftest.er1
34916 grep -v '^ *+' conftest.er1
>conftest.err
34918 cat conftest.err
>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try
='test -s conftest$ac_exeext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 ac_cv_lib_w_wcslen
=yes
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.
$ac_ext >&5
34938 ac_cv_lib_w_wcslen
=no
34940 rm -f conftest.err conftest.
$ac_objext \
34941 conftest
$ac_exeext conftest.
$ac_ext
34942 LIBS
=$ac_check_lib_save_LIBS
34944 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34945 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34946 if test $ac_cv_lib_w_wcslen = yes; then
34956 if test "$WCSLEN_FOUND" = 1; then
34957 cat >>confdefs.h
<<\_ACEOF
34958 #define HAVE_WCSLEN 1
34963 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34964 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34967 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34968 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34969 if test "${ac_cv_type_mbstate_t+set}" = set; then
34970 echo $ECHO_N "(cached) $ECHO_C" >&6
34972 cat >conftest.
$ac_ext <<_ACEOF
34975 cat confdefs.h
>>conftest.
$ac_ext
34976 cat >>conftest.
$ac_ext <<_ACEOF
34977 /* end confdefs.h. */
34983 if ((mbstate_t *) 0)
34985 if (sizeof (mbstate_t))
34991 rm -f conftest.
$ac_objext
34992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34993 (eval $ac_compile) 2>conftest.er1
34995 grep -v '^ *+' conftest.er1
>conftest.err
34997 cat conftest.err
>&5
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); } &&
35000 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35002 (eval $ac_try) 2>&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); }; } &&
35006 { ac_try
='test -s conftest.$ac_objext'
35007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35008 (eval $ac_try) 2>&5
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); }; }; then
35012 ac_cv_type_mbstate_t
=yes
35014 echo "$as_me: failed program was:" >&5
35015 sed 's/^/| /' conftest.
$ac_ext >&5
35017 ac_cv_type_mbstate_t
=no
35019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35021 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35022 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35023 if test $ac_cv_type_mbstate_t = yes; then
35025 cat >>confdefs.h
<<_ACEOF
35026 #define HAVE_MBSTATE_T 1
35030 for ac_func
in wcsrtombs
35032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35033 echo "$as_me:$LINENO: checking for $ac_func" >&5
35034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35035 if eval "test \"\${$as_ac_var+set}\" = set"; then
35036 echo $ECHO_N "(cached) $ECHO_C" >&6
35038 cat >conftest.
$ac_ext <<_ACEOF
35041 cat confdefs.h
>>conftest.
$ac_ext
35042 cat >>conftest.
$ac_ext <<_ACEOF
35043 /* end confdefs.h. */
35044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35046 #define $ac_func innocuous_$ac_func
35048 /* System header to define __stub macros and hopefully few prototypes,
35049 which can conflict with char $ac_func (); below.
35050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35051 <limits.h> exists even on freestanding compilers. */
35054 # include <limits.h>
35056 # include <assert.h>
35061 /* Override any gcc2 internal prototype to avoid an error. */
35066 /* We use char because int might match the return type of a gcc2
35067 builtin and then its argument prototype would still apply. */
35069 /* The GNU C library defines this for functions which it implements
35070 to always fail with ENOSYS. Some functions are actually named
35071 something starting with __ and the normal name is an alias. */
35072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35075 char (*f) () = $ac_func;
35084 return f != $ac_func;
35089 rm -f conftest.
$ac_objext conftest
$ac_exeext
35090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35091 (eval $ac_link) 2>conftest.er1
35093 grep -v '^ *+' conftest.er1
>conftest.err
35095 cat conftest.err
>&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); } &&
35098 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35100 (eval $ac_try) 2>&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); }; } &&
35104 { ac_try
='test -s conftest$ac_exeext'
35105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35106 (eval $ac_try) 2>&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); }; }; then
35110 eval "$as_ac_var=yes"
35112 echo "$as_me: failed program was:" >&5
35113 sed 's/^/| /' conftest.
$ac_ext >&5
35115 eval "$as_ac_var=no"
35117 rm -f conftest.err conftest.
$ac_objext \
35118 conftest
$ac_exeext conftest.
$ac_ext
35120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35122 if test `eval echo '${'$as_ac_var'}'` = yes; then
35123 cat >>confdefs.h
<<_ACEOF
35124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35133 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35134 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35139 for ac_func
in snprintf vsnprintf
35141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35142 echo "$as_me:$LINENO: checking for $ac_func" >&5
35143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35144 if eval "test \"\${$as_ac_var+set}\" = set"; then
35145 echo $ECHO_N "(cached) $ECHO_C" >&6
35147 cat >conftest.
$ac_ext <<_ACEOF
35150 cat confdefs.h
>>conftest.
$ac_ext
35151 cat >>conftest.
$ac_ext <<_ACEOF
35152 /* end confdefs.h. */
35153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35155 #define $ac_func innocuous_$ac_func
35157 /* System header to define __stub macros and hopefully few prototypes,
35158 which can conflict with char $ac_func (); below.
35159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35160 <limits.h> exists even on freestanding compilers. */
35163 # include <limits.h>
35165 # include <assert.h>
35170 /* Override any gcc2 internal prototype to avoid an error. */
35175 /* We use char because int might match the return type of a gcc2
35176 builtin and then its argument prototype would still apply. */
35178 /* The GNU C library defines this for functions which it implements
35179 to always fail with ENOSYS. Some functions are actually named
35180 something starting with __ and the normal name is an alias. */
35181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35184 char (*f) () = $ac_func;
35193 return f != $ac_func;
35198 rm -f conftest.
$ac_objext conftest
$ac_exeext
35199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35200 (eval $ac_link) 2>conftest.er1
35202 grep -v '^ *+' conftest.er1
>conftest.err
35204 cat conftest.err
>&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); } &&
35207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; } &&
35213 { ac_try
='test -s conftest$ac_exeext'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; }; then
35219 eval "$as_ac_var=yes"
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.
$ac_ext >&5
35224 eval "$as_ac_var=no"
35226 rm -f conftest.err conftest.
$ac_objext \
35227 conftest
$ac_exeext conftest.
$ac_ext
35229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35231 if test `eval echo '${'$as_ac_var'}'` = yes; then
35232 cat >>confdefs.h
<<_ACEOF
35233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35240 if test "$ac_cv_func_vsnprintf" = "yes"; then
35241 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35242 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35243 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35247 cat >conftest.
$ac_ext <<_ACEOF
35250 cat confdefs.h
>>conftest.
$ac_ext
35251 cat >>conftest.
$ac_ext <<_ACEOF
35252 /* end confdefs.h. */
35255 #include <stdarg.h>
35257 #if __MSL__ >= 0x6000
35259 using namespace std;
35269 vsnprintf(buf, 10u, "%s", ap);
35275 rm -f conftest.
$ac_objext
35276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35277 (eval $ac_compile) 2>conftest.er1
35279 grep -v '^ *+' conftest.er1
>conftest.err
35281 cat conftest.err
>&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); } &&
35284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286 (eval $ac_try) 2>&5
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); }; } &&
35290 { ac_try
='test -s conftest.$ac_objext'
35291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35292 (eval $ac_try) 2>&5
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); }; }; then
35296 wx_cv_func_vsnprintf_decl
=yes
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.
$ac_ext >&5
35301 wx_cv_func_vsnprintf_decl
=no
35304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35308 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35309 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35311 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35312 cat >>confdefs.h
<<\_ACEOF
35313 #define HAVE_VSNPRINTF_DECL 1
35317 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35318 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35319 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 cat >conftest.
$ac_ext <<_ACEOF
35326 cat confdefs.h
>>conftest.
$ac_ext
35327 cat >>conftest.
$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35331 #include <stdarg.h>
35333 #if __MSL__ >= 0x6000
35335 using namespace std;
35345 const char *fmt = "%s";
35346 vsnprintf(buf, 10u, fmt, ap);
35352 rm -f conftest.
$ac_objext
35353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35354 (eval $ac_compile) 2>conftest.er1
35356 grep -v '^ *+' conftest.er1
>conftest.err
35358 cat conftest.err
>&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } &&
35361 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35363 (eval $ac_try) 2>&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); }; } &&
35367 { ac_try
='test -s conftest.$ac_objext'
35368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35369 (eval $ac_try) 2>&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); }; }; then
35373 wx_cv_func_broken_vsnprintf_decl
=no
35375 echo "$as_me: failed program was:" >&5
35376 sed 's/^/| /' conftest.
$ac_ext >&5
35378 wx_cv_func_broken_vsnprintf_decl
=yes
35381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35385 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35386 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35388 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35389 cat >>confdefs.h
<<\_ACEOF
35390 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35397 if test "$ac_cv_func_snprintf" = "yes"; then
35398 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35399 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35400 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 cat >conftest.
$ac_ext <<_ACEOF
35407 cat confdefs.h
>>conftest.
$ac_ext
35408 cat >>conftest.
$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35412 #include <stdarg.h>
35414 #if __MSL__ >= 0x6000
35416 using namespace std;
35425 snprintf(buf, 10u, "%s", "wx");
35431 rm -f conftest.
$ac_objext
35432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35433 (eval $ac_compile) 2>conftest.er1
35435 grep -v '^ *+' conftest.er1
>conftest.err
35437 cat conftest.err
>&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } &&
35440 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; } &&
35446 { ac_try
='test -s conftest.$ac_objext'
35447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35448 (eval $ac_try) 2>&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); }; }; then
35452 wx_cv_func_snprintf_decl
=yes
35454 echo "$as_me: failed program was:" >&5
35455 sed 's/^/| /' conftest.
$ac_ext >&5
35457 wx_cv_func_snprintf_decl
=no
35460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35464 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35465 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35467 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35468 cat >>confdefs.h
<<\_ACEOF
35469 #define HAVE_SNPRINTF_DECL 1
35473 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35474 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35475 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35476 echo $ECHO_N "(cached) $ECHO_C" >&6
35479 cat >conftest.
$ac_ext <<_ACEOF
35482 cat confdefs.h
>>conftest.
$ac_ext
35483 cat >>conftest.
$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35487 #include <stdarg.h>
35489 #if __MSL__ >= 0x6000
35491 using namespace std;
35500 const char *fmt = "%s";
35501 snprintf(buf, 10u, fmt, "wx");
35507 rm -f conftest.
$ac_objext
35508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35509 (eval $ac_compile) 2>conftest.er1
35511 grep -v '^ *+' conftest.er1
>conftest.err
35513 cat conftest.err
>&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } &&
35516 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35518 (eval $ac_try) 2>&5
35520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521 (exit $ac_status); }; } &&
35522 { ac_try
='test -s conftest.$ac_objext'
35523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35524 (eval $ac_try) 2>&5
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); }; }; then
35528 wx_cv_func_broken_snprintf_decl
=no
35530 echo "$as_me: failed program was:" >&5
35531 sed 's/^/| /' conftest.
$ac_ext >&5
35533 wx_cv_func_broken_snprintf_decl
=yes
35536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35540 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35541 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35543 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35544 cat >>confdefs.h
<<\_ACEOF
35545 #define HAVE_BROKEN_SNPRINTF_DECL 1
35551 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35553 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35554 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35555 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35556 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 if test "$cross_compiling" = yes; then
35561 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35562 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35563 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35565 wx_cv_func_snprintf_pos_params
=no
35569 cat >conftest.
$ac_ext <<_ACEOF
35572 cat confdefs.h
>>conftest.
$ac_ext
35573 cat >>conftest.
$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35581 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35582 if (strcmp ("2 3 1", buffer) == 0)
35588 rm -f conftest
$ac_exeext
35589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35590 (eval $ac_link) 2>&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35595 (eval $ac_try) 2>&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); }; }; then
35599 wx_cv_func_snprintf_pos_params
=no
35601 echo "$as_me: program exited with status $ac_status" >&5
35602 echo "$as_me: failed program was:" >&5
35603 sed 's/^/| /' conftest.
$ac_ext >&5
35605 ( exit $ac_status )
35606 wx_cv_func_snprintf_pos_params
=yes
35608 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35613 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35614 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35616 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35617 cat >>confdefs.h
<<\_ACEOF
35618 #define HAVE_UNIX98_PRINTF 1
35625 if test "$wxUSE_UNICODE" = yes; then
35628 for ac_func
in swprintf
35630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35631 echo "$as_me:$LINENO: checking for $ac_func" >&5
35632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35633 if eval "test \"\${$as_ac_var+set}\" = set"; then
35634 echo $ECHO_N "(cached) $ECHO_C" >&6
35636 cat >conftest.
$ac_ext <<_ACEOF
35639 cat confdefs.h
>>conftest.
$ac_ext
35640 cat >>conftest.
$ac_ext <<_ACEOF
35641 /* end confdefs.h. */
35642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35644 #define $ac_func innocuous_$ac_func
35646 /* System header to define __stub macros and hopefully few prototypes,
35647 which can conflict with char $ac_func (); below.
35648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35649 <limits.h> exists even on freestanding compilers. */
35652 # include <limits.h>
35654 # include <assert.h>
35659 /* Override any gcc2 internal prototype to avoid an error. */
35664 /* We use char because int might match the return type of a gcc2
35665 builtin and then its argument prototype would still apply. */
35667 /* The GNU C library defines this for functions which it implements
35668 to always fail with ENOSYS. Some functions are actually named
35669 something starting with __ and the normal name is an alias. */
35670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35673 char (*f) () = $ac_func;
35682 return f != $ac_func;
35687 rm -f conftest.
$ac_objext conftest
$ac_exeext
35688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35689 (eval $ac_link) 2>conftest.er1
35691 grep -v '^ *+' conftest.er1
>conftest.err
35693 cat conftest.err
>&5
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); } &&
35696 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35698 (eval $ac_try) 2>&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); }; } &&
35702 { ac_try
='test -s conftest$ac_exeext'
35703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35704 (eval $ac_try) 2>&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); }; }; then
35708 eval "$as_ac_var=yes"
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.
$ac_ext >&5
35713 eval "$as_ac_var=no"
35715 rm -f conftest.err conftest.
$ac_objext \
35716 conftest
$ac_exeext conftest.
$ac_ext
35718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35720 if test `eval echo '${'$as_ac_var'}'` = yes; then
35721 cat >>confdefs.h
<<_ACEOF
35722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35729 if test "$ac_cv_func_swprintf" = "yes"; then
35730 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35731 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35732 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35736 cat >conftest.
$ac_ext <<_ACEOF
35739 cat confdefs.h
>>conftest.
$ac_ext
35740 cat >>conftest.
$ac_ext <<_ACEOF
35741 /* end confdefs.h. */
35744 #include <stdarg.h>
35752 const wchar_t *fmt = L"test";
35753 swprintf(buf, 10u, fmt);
35759 rm -f conftest.
$ac_objext
35760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35761 (eval $ac_compile) 2>conftest.er1
35763 grep -v '^ *+' conftest.er1
>conftest.err
35765 cat conftest.err
>&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } &&
35768 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35770 (eval $ac_try) 2>&5
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); }; } &&
35774 { ac_try
='test -s conftest.$ac_objext'
35775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35776 (eval $ac_try) 2>&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); }; }; then
35780 wx_cv_func_broken_swprintf_decl
=no
35782 echo "$as_me: failed program was:" >&5
35783 sed 's/^/| /' conftest.
$ac_ext >&5
35785 wx_cv_func_broken_swprintf_decl
=yes
35788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35792 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35793 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35795 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35796 cat >>confdefs.h
<<\_ACEOF
35797 #define HAVE_BROKEN_SWPRINTF_DECL 1
35809 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
35811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35812 echo "$as_me:$LINENO: checking for $ac_func" >&5
35813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35814 if eval "test \"\${$as_ac_var+set}\" = set"; then
35815 echo $ECHO_N "(cached) $ECHO_C" >&6
35817 cat >conftest.
$ac_ext <<_ACEOF
35820 cat confdefs.h
>>conftest.
$ac_ext
35821 cat >>conftest.
$ac_ext <<_ACEOF
35822 /* end confdefs.h. */
35823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35825 #define $ac_func innocuous_$ac_func
35827 /* System header to define __stub macros and hopefully few prototypes,
35828 which can conflict with char $ac_func (); below.
35829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35830 <limits.h> exists even on freestanding compilers. */
35833 # include <limits.h>
35835 # include <assert.h>
35840 /* Override any gcc2 internal prototype to avoid an error. */
35845 /* We use char because int might match the return type of a gcc2
35846 builtin and then its argument prototype would still apply. */
35848 /* The GNU C library defines this for functions which it implements
35849 to always fail with ENOSYS. Some functions are actually named
35850 something starting with __ and the normal name is an alias. */
35851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35854 char (*f) () = $ac_func;
35863 return f != $ac_func;
35868 rm -f conftest.
$ac_objext conftest
$ac_exeext
35869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35870 (eval $ac_link) 2>conftest.er1
35872 grep -v '^ *+' conftest.er1
>conftest.err
35874 cat conftest.err
>&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } &&
35877 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35879 (eval $ac_try) 2>&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); }; } &&
35883 { ac_try
='test -s conftest$ac_exeext'
35884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35885 (eval $ac_try) 2>&5
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); }; }; then
35889 eval "$as_ac_var=yes"
35891 echo "$as_me: failed program was:" >&5
35892 sed 's/^/| /' conftest.
$ac_ext >&5
35894 eval "$as_ac_var=no"
35896 rm -f conftest.err conftest.
$ac_objext \
35897 conftest
$ac_exeext conftest.
$ac_ext
35899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35901 if test `eval echo '${'$as_ac_var'}'` = yes; then
35902 cat >>confdefs.h
<<_ACEOF
35903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35910 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35911 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35912 cat >conftest.
$ac_ext <<_ACEOF
35915 cat confdefs.h
>>conftest.
$ac_ext
35916 cat >>conftest.
$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35927 rm -f conftest.
$ac_objext
35928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35929 (eval $ac_compile) 2>conftest.er1
35931 grep -v '^ *+' conftest.er1
>conftest.err
35933 cat conftest.err
>&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } &&
35936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; } &&
35942 { ac_try
='test -s conftest.$ac_objext'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; }; then
35948 echo "$as_me:$LINENO: result: yes" >&5
35949 echo "${ECHO_T}yes" >&6
35950 cat >>confdefs.h
<<\_ACEOF
35951 #define HAVE__VSNWPRINTF 1
35955 echo "$as_me: failed program was:" >&5
35956 sed 's/^/| /' conftest.
$ac_ext >&5
35958 echo "$as_me:$LINENO: result: no" >&5
35959 echo "${ECHO_T}no" >&6
35961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
35964 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35966 for ac_func
in fnmatch
35968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 echo "$as_me:$LINENO: checking for $ac_func" >&5
35970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35971 if eval "test \"\${$as_ac_var+set}\" = set"; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 cat >conftest.
$ac_ext <<_ACEOF
35977 cat confdefs.h
>>conftest.
$ac_ext
35978 cat >>conftest.
$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35982 #define $ac_func innocuous_$ac_func
35984 /* System header to define __stub macros and hopefully few prototypes,
35985 which can conflict with char $ac_func (); below.
35986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35987 <limits.h> exists even on freestanding compilers. */
35990 # include <limits.h>
35992 # include <assert.h>
35997 /* Override any gcc2 internal prototype to avoid an error. */
36002 /* We use char because int might match the return type of a gcc2
36003 builtin and then its argument prototype would still apply. */
36005 /* The GNU C library defines this for functions which it implements
36006 to always fail with ENOSYS. Some functions are actually named
36007 something starting with __ and the normal name is an alias. */
36008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36011 char (*f) () = $ac_func;
36020 return f != $ac_func;
36025 rm -f conftest.
$ac_objext conftest
$ac_exeext
36026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36027 (eval $ac_link) 2>conftest.er1
36029 grep -v '^ *+' conftest.er1
>conftest.err
36031 cat conftest.err
>&5
36032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36033 (exit $ac_status); } &&
36034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36036 (eval $ac_try) 2>&5
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); }; } &&
36040 { ac_try
='test -s conftest$ac_exeext'
36041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042 (eval $ac_try) 2>&5
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); }; }; then
36046 eval "$as_ac_var=yes"
36048 echo "$as_me: failed program was:" >&5
36049 sed 's/^/| /' conftest.
$ac_ext >&5
36051 eval "$as_ac_var=no"
36053 rm -f conftest.err conftest.
$ac_objext \
36054 conftest
$ac_exeext conftest.
$ac_ext
36056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36058 if test `eval echo '${'$as_ac_var'}'` = yes; then
36059 cat >>confdefs.h
<<_ACEOF
36060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36068 if test "$wxUSE_FILE" = "yes"; then
36070 for ac_func
in fsync
36072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36073 echo "$as_me:$LINENO: checking for $ac_func" >&5
36074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36075 if eval "test \"\${$as_ac_var+set}\" = set"; then
36076 echo $ECHO_N "(cached) $ECHO_C" >&6
36078 cat >conftest.
$ac_ext <<_ACEOF
36081 cat confdefs.h
>>conftest.
$ac_ext
36082 cat >>conftest.
$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36086 #define $ac_func innocuous_$ac_func
36088 /* System header to define __stub macros and hopefully few prototypes,
36089 which can conflict with char $ac_func (); below.
36090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36091 <limits.h> exists even on freestanding compilers. */
36094 # include <limits.h>
36096 # include <assert.h>
36101 /* Override any gcc2 internal prototype to avoid an error. */
36106 /* We use char because int might match the return type of a gcc2
36107 builtin and then its argument prototype would still apply. */
36109 /* The GNU C library defines this for functions which it implements
36110 to always fail with ENOSYS. Some functions are actually named
36111 something starting with __ and the normal name is an alias. */
36112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36115 char (*f) () = $ac_func;
36124 return f != $ac_func;
36129 rm -f conftest.
$ac_objext conftest
$ac_exeext
36130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36131 (eval $ac_link) 2>conftest.er1
36133 grep -v '^ *+' conftest.er1
>conftest.err
36135 cat conftest.err
>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } &&
36138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36140 (eval $ac_try) 2>&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); }; } &&
36144 { ac_try
='test -s conftest$ac_exeext'
36145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36146 (eval $ac_try) 2>&5
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); }; }; then
36150 eval "$as_ac_var=yes"
36152 echo "$as_me: failed program was:" >&5
36153 sed 's/^/| /' conftest.
$ac_ext >&5
36155 eval "$as_ac_var=no"
36157 rm -f conftest.err conftest.
$ac_objext \
36158 conftest
$ac_exeext conftest.
$ac_ext
36160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36162 if test `eval echo '${'$as_ac_var'}'` = yes; then
36163 cat >>confdefs.h
<<_ACEOF
36164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36173 for ac_func
in round
36175 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36176 echo "$as_me:$LINENO: checking for $ac_func" >&5
36177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36178 if eval "test \"\${$as_ac_var+set}\" = set"; then
36179 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 cat >conftest.
$ac_ext <<_ACEOF
36184 cat confdefs.h
>>conftest.
$ac_ext
36185 cat >>conftest.
$ac_ext <<_ACEOF
36186 /* end confdefs.h. */
36187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36189 #define $ac_func innocuous_$ac_func
36191 /* System header to define __stub macros and hopefully few prototypes,
36192 which can conflict with char $ac_func (); below.
36193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36194 <limits.h> exists even on freestanding compilers. */
36197 # include <limits.h>
36199 # include <assert.h>
36204 /* Override any gcc2 internal prototype to avoid an error. */
36209 /* We use char because int might match the return type of a gcc2
36210 builtin and then its argument prototype would still apply. */
36212 /* The GNU C library defines this for functions which it implements
36213 to always fail with ENOSYS. Some functions are actually named
36214 something starting with __ and the normal name is an alias. */
36215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36218 char (*f) () = $ac_func;
36227 return f != $ac_func;
36232 rm -f conftest.
$ac_objext conftest
$ac_exeext
36233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36234 (eval $ac_link) 2>conftest.er1
36236 grep -v '^ *+' conftest.er1
>conftest.err
36238 cat conftest.err
>&5
36239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240 (exit $ac_status); } &&
36241 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; } &&
36247 { ac_try
='test -s conftest$ac_exeext'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; }; then
36253 eval "$as_ac_var=yes"
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.
$ac_ext >&5
36258 eval "$as_ac_var=no"
36260 rm -f conftest.err conftest.
$ac_objext \
36261 conftest
$ac_exeext conftest.
$ac_ext
36263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36265 if test `eval echo '${'$as_ac_var'}'` = yes; then
36266 cat >>confdefs.h
<<_ACEOF
36267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36273 if test "$ac_cv_func_round" = yes; then
36274 echo "$as_me:$LINENO: checking whether round is declared" >&5
36275 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36276 if test "${ac_cv_have_decl_round+set}" = set; then
36277 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 cat >conftest.
$ac_ext <<_ACEOF
36282 cat confdefs.h
>>conftest.
$ac_ext
36283 cat >>conftest.
$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36291 char *p = (char *) round;
36298 rm -f conftest.
$ac_objext
36299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36300 (eval $ac_compile) 2>conftest.er1
36302 grep -v '^ *+' conftest.er1
>conftest.err
36304 cat conftest.err
>&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } &&
36307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; } &&
36313 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
36319 ac_cv_have_decl_round
=yes
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.
$ac_ext >&5
36324 ac_cv_have_decl_round
=no
36326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36328 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36329 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36330 if test $ac_cv_have_decl_round = yes; then
36332 cat >>confdefs.h
<<_ACEOF
36333 #define HAVE_DECL_ROUND 1
36338 cat >>confdefs.h
<<_ACEOF
36339 #define HAVE_DECL_ROUND 0
36349 if test "$TOOLKIT" != "MSW"; then
36355 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36356 if test "${with_libiconv_prefix+set}" = set; then
36357 withval
="$with_libiconv_prefix"
36359 for dir
in `echo "$withval" | tr : ' '`; do
36360 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
36361 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
36366 echo "$as_me:$LINENO: checking for iconv" >&5
36367 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36368 if test "${am_cv_func_iconv+set}" = set; then
36369 echo $ECHO_N "(cached) $ECHO_C" >&6
36372 am_cv_func_iconv
="no, consider installing GNU libiconv"
36374 cat >conftest.
$ac_ext <<_ACEOF
36377 cat confdefs.h
>>conftest.
$ac_ext
36378 cat >>conftest.
$ac_ext <<_ACEOF
36379 /* end confdefs.h. */
36380 #include <stdlib.h>
36385 iconv_t cd = iconv_open("","");
36386 iconv(cd,NULL,NULL,NULL,NULL);
36392 rm -f conftest.
$ac_objext conftest
$ac_exeext
36393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36394 (eval $ac_link) 2>conftest.er1
36396 grep -v '^ *+' conftest.er1
>conftest.err
36398 cat conftest.err
>&5
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); } &&
36401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36403 (eval $ac_try) 2>&5
36405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406 (exit $ac_status); }; } &&
36407 { ac_try
='test -s conftest$ac_exeext'
36408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36409 (eval $ac_try) 2>&5
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); }; }; then
36413 am_cv_func_iconv
=yes
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.
$ac_ext >&5
36419 rm -f conftest.err conftest.
$ac_objext \
36420 conftest
$ac_exeext conftest.
$ac_ext
36421 if test "$am_cv_func_iconv" != yes; then
36422 am_save_LIBS
="$LIBS"
36423 LIBS
="$LIBS -liconv"
36424 cat >conftest.
$ac_ext <<_ACEOF
36427 cat confdefs.h
>>conftest.
$ac_ext
36428 cat >>conftest.
$ac_ext <<_ACEOF
36429 /* end confdefs.h. */
36430 #include <stdlib.h>
36435 iconv_t cd = iconv_open("","");
36436 iconv(cd,NULL,NULL,NULL,NULL);
36442 rm -f conftest.
$ac_objext conftest
$ac_exeext
36443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36444 (eval $ac_link) 2>conftest.er1
36446 grep -v '^ *+' conftest.er1
>conftest.err
36448 cat conftest.err
>&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); } &&
36451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36453 (eval $ac_try) 2>&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); }; } &&
36457 { ac_try
='test -s conftest$ac_exeext'
36458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36459 (eval $ac_try) 2>&5
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); }; }; then
36463 am_cv_lib_iconv
=yes
36464 am_cv_func_iconv
=yes
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.
$ac_ext >&5
36470 rm -f conftest.err conftest.
$ac_objext \
36471 conftest
$ac_exeext conftest.
$ac_ext
36472 LIBS
="$am_save_LIBS"
36476 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36477 echo "${ECHO_T}$am_cv_func_iconv" >&6
36478 if test "$am_cv_func_iconv" = yes; then
36480 cat >>confdefs.h
<<\_ACEOF
36481 #define HAVE_ICONV 1
36484 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36485 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36486 if test "${wx_cv_func_iconv_const+set}" = set; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 cat >conftest.
$ac_ext <<_ACEOF
36492 cat confdefs.h
>>conftest.
$ac_ext
36493 cat >>conftest.
$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36496 #include <stdlib.h>
36502 #if defined(__STDC__) || defined(__cplusplus)
36503 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36516 rm -f conftest.
$ac_objext
36517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36518 (eval $ac_compile) 2>conftest.er1
36520 grep -v '^ *+' conftest.er1
>conftest.err
36522 cat conftest.err
>&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); } &&
36525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; } &&
36531 { ac_try
='test -s conftest.$ac_objext'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; }; then
36537 wx_cv_func_iconv_const
="no"
36539 echo "$as_me: failed program was:" >&5
36540 sed 's/^/| /' conftest.
$ac_ext >&5
36542 wx_cv_func_iconv_const
="yes"
36545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36548 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36549 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36552 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36553 iconv_const
="const"
36557 cat >>confdefs.h
<<_ACEOF
36558 #define ICONV_CONST $iconv_const
36563 if test "$am_cv_lib_iconv" = yes; then
36568 LIBS
="$LIBICONV $LIBS"
36570 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36572 for ac_func
in sigaction
36574 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36575 echo "$as_me:$LINENO: checking for $ac_func" >&5
36576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36577 if eval "test \"\${$as_ac_var+set}\" = set"; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36580 cat >conftest.
$ac_ext <<_ACEOF
36583 cat confdefs.h
>>conftest.
$ac_ext
36584 cat >>conftest.
$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36588 #define $ac_func innocuous_$ac_func
36590 /* System header to define __stub macros and hopefully few prototypes,
36591 which can conflict with char $ac_func (); below.
36592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36593 <limits.h> exists even on freestanding compilers. */
36596 # include <limits.h>
36598 # include <assert.h>
36603 /* Override any gcc2 internal prototype to avoid an error. */
36608 /* We use char because int might match the return type of a gcc2
36609 builtin and then its argument prototype would still apply. */
36611 /* The GNU C library defines this for functions which it implements
36612 to always fail with ENOSYS. Some functions are actually named
36613 something starting with __ and the normal name is an alias. */
36614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36617 char (*f) () = $ac_func;
36626 return f != $ac_func;
36631 rm -f conftest.
$ac_objext conftest
$ac_exeext
36632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36633 (eval $ac_link) 2>conftest.er1
36635 grep -v '^ *+' conftest.er1
>conftest.err
36637 cat conftest.err
>&5
36638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639 (exit $ac_status); } &&
36640 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36642 (eval $ac_try) 2>&5
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); }; } &&
36646 { ac_try
='test -s conftest$ac_exeext'
36647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36648 (eval $ac_try) 2>&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); }; }; then
36652 eval "$as_ac_var=yes"
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.
$ac_ext >&5
36657 eval "$as_ac_var=no"
36659 rm -f conftest.err conftest.
$ac_objext \
36660 conftest
$ac_exeext conftest.
$ac_ext
36662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36664 if test `eval echo '${'$as_ac_var'}'` = yes; then
36665 cat >>confdefs.h
<<_ACEOF
36666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36673 if test "$ac_cv_func_sigaction" = "no"; then
36674 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36675 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36676 wxUSE_ON_FATAL_EXCEPTION
=no
36679 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36680 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36681 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36682 if test "${wx_cv_type_sa_handler+set}" = set; then
36683 echo $ECHO_N "(cached) $ECHO_C" >&6
36686 cat >conftest.
$ac_ext <<_ACEOF
36689 cat confdefs.h
>>conftest.
$ac_ext
36690 cat >>conftest.
$ac_ext <<_ACEOF
36691 /* end confdefs.h. */
36692 #include <signal.h>
36697 extern void testSigHandler(int);
36699 struct sigaction sa;
36700 sa.sa_handler = testSigHandler;
36706 rm -f conftest.
$ac_objext
36707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36708 (eval $ac_compile) 2>conftest.er1
36710 grep -v '^ *+' conftest.er1
>conftest.err
36712 cat conftest.err
>&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } &&
36715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; } &&
36721 { ac_try
='test -s conftest.$ac_objext'
36722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723 (eval $ac_try) 2>&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; }; then
36728 wx_cv_type_sa_handler
=int
36731 echo "$as_me: failed program was:" >&5
36732 sed 's/^/| /' conftest.
$ac_ext >&5
36735 wx_cv_type_sa_handler
=void
36738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36741 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36742 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36744 cat >>confdefs.h
<<_ACEOF
36745 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36751 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36752 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36753 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36754 if test "${wx_cv_func_backtrace+set}" = set; then
36755 echo $ECHO_N "(cached) $ECHO_C" >&6
36758 cat >conftest.
$ac_ext <<_ACEOF
36761 cat confdefs.h
>>conftest.
$ac_ext
36762 cat >>conftest.
$ac_ext <<_ACEOF
36763 /* end confdefs.h. */
36764 #include <execinfo.h>
36772 backtrace(trace, 1);
36773 messages = backtrace_symbols(trace, 1);
36779 rm -f conftest.
$ac_objext
36780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36781 (eval $ac_compile) 2>conftest.er1
36783 grep -v '^ *+' conftest.er1
>conftest.err
36785 cat conftest.err
>&5
36786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787 (exit $ac_status); } &&
36788 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36790 (eval $ac_try) 2>&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); }; } &&
36794 { ac_try
='test -s conftest.$ac_objext'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; }; then
36800 wx_cv_func_backtrace
=yes
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.
$ac_ext >&5
36805 wx_cv_func_backtrace
=no
36808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36812 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36813 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36816 if test "$wx_cv_func_backtrace" = "no"; then
36817 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36818 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36819 wxUSE_STACKWALKER
=no
36821 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36822 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36823 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36827 cat >conftest.
$ac_ext <<_ACEOF
36830 cat confdefs.h
>>conftest.
$ac_ext
36831 cat >>conftest.
$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36833 #include <cxxabi.h>
36839 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36845 rm -f conftest.
$ac_objext conftest
$ac_exeext
36846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36847 (eval $ac_link) 2>conftest.er1
36849 grep -v '^ *+' conftest.er1
>conftest.err
36851 cat conftest.err
>&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } &&
36854 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; } &&
36860 { ac_try
='test -s conftest$ac_exeext'
36861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 (eval $ac_try) 2>&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); }; }; then
36866 wx_cv_func_cxa_demangle
=yes
36868 echo "$as_me: failed program was:" >&5
36869 sed 's/^/| /' conftest.
$ac_ext >&5
36871 wx_cv_func_cxa_demangle
=no
36874 rm -f conftest.err conftest.
$ac_objext \
36875 conftest
$ac_exeext conftest.
$ac_ext
36879 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36880 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36882 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36883 cat >>confdefs.h
<<\_ACEOF
36884 #define HAVE_CXA_DEMANGLE 1
36891 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36892 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36893 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36894 wxUSE_STACKWALKER
=no
36900 for ac_func
in mkstemp mktemp
36902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36903 echo "$as_me:$LINENO: checking for $ac_func" >&5
36904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36905 if eval "test \"\${$as_ac_var+set}\" = set"; then
36906 echo $ECHO_N "(cached) $ECHO_C" >&6
36908 cat >conftest.
$ac_ext <<_ACEOF
36911 cat confdefs.h
>>conftest.
$ac_ext
36912 cat >>conftest.
$ac_ext <<_ACEOF
36913 /* end confdefs.h. */
36914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36916 #define $ac_func innocuous_$ac_func
36918 /* System header to define __stub macros and hopefully few prototypes,
36919 which can conflict with char $ac_func (); below.
36920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36921 <limits.h> exists even on freestanding compilers. */
36924 # include <limits.h>
36926 # include <assert.h>
36931 /* Override any gcc2 internal prototype to avoid an error. */
36936 /* We use char because int might match the return type of a gcc2
36937 builtin and then its argument prototype would still apply. */
36939 /* The GNU C library defines this for functions which it implements
36940 to always fail with ENOSYS. Some functions are actually named
36941 something starting with __ and the normal name is an alias. */
36942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36945 char (*f) () = $ac_func;
36954 return f != $ac_func;
36959 rm -f conftest.
$ac_objext conftest
$ac_exeext
36960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36961 (eval $ac_link) 2>conftest.er1
36963 grep -v '^ *+' conftest.er1
>conftest.err
36965 cat conftest.err
>&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } &&
36968 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36970 (eval $ac_try) 2>&5
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); }; } &&
36974 { ac_try
='test -s conftest$ac_exeext'
36975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36976 (eval $ac_try) 2>&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); }; }; then
36980 eval "$as_ac_var=yes"
36982 echo "$as_me: failed program was:" >&5
36983 sed 's/^/| /' conftest.
$ac_ext >&5
36985 eval "$as_ac_var=no"
36987 rm -f conftest.err conftest.
$ac_objext \
36988 conftest
$ac_exeext conftest.
$ac_ext
36990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36992 if test `eval echo '${'$as_ac_var'}'` = yes; then
36993 cat >>confdefs.h
<<_ACEOF
36994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37001 echo "$as_me:$LINENO: checking for statfs" >&5
37002 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37003 if test "${wx_cv_func_statfs+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37006 cat >conftest.
$ac_ext <<_ACEOF
37009 cat confdefs.h
>>conftest.
$ac_ext
37010 cat >>conftest.
$ac_ext <<_ACEOF
37011 /* end confdefs.h. */
37013 #if defined(__BSD__)
37014 #include <sys/param.h>
37015 #include <sys/mount.h>
37017 #include <sys/vfs.h>
37035 rm -f conftest.
$ac_objext
37036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37037 (eval $ac_compile) 2>conftest.er1
37039 grep -v '^ *+' conftest.er1
>conftest.err
37041 cat conftest.err
>&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } &&
37044 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37046 (eval $ac_try) 2>&5
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); }; } &&
37050 { ac_try
='test -s conftest.$ac_objext'
37051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052 (eval $ac_try) 2>&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); }; }; then
37056 wx_cv_func_statfs
=yes
37058 echo "$as_me: failed program was:" >&5
37059 sed 's/^/| /' conftest.
$ac_ext >&5
37061 wx_cv_func_statfs
=no
37064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37067 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37068 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37070 if test "$wx_cv_func_statfs" = "yes"; then
37071 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37072 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37073 if test "${wx_cv_func_statfs_decl+set}" = set; then
37074 echo $ECHO_N "(cached) $ECHO_C" >&6
37076 cat >conftest.
$ac_ext <<_ACEOF
37079 cat confdefs.h
>>conftest.
$ac_ext
37080 cat >>conftest.
$ac_ext <<_ACEOF
37081 /* end confdefs.h. */
37083 #if defined(__BSD__)
37084 #include <sys/param.h>
37085 #include <sys/mount.h>
37087 #include <sys/vfs.h>
37101 rm -f conftest.
$ac_objext
37102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37103 (eval $ac_compile) 2>conftest.er1
37105 grep -v '^ *+' conftest.er1
>conftest.err
37107 cat conftest.err
>&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } &&
37110 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37112 (eval $ac_try) 2>&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); }; } &&
37116 { ac_try
='test -s conftest.$ac_objext'
37117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37118 (eval $ac_try) 2>&5
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); }; }; then
37122 wx_cv_func_statfs_decl
=yes
37124 echo "$as_me: failed program was:" >&5
37125 sed 's/^/| /' conftest.
$ac_ext >&5
37127 wx_cv_func_statfs_decl
=no
37130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37133 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37134 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37136 if test "$wx_cv_func_statfs_decl" = "yes"; then
37137 cat >>confdefs.h
<<\_ACEOF
37138 #define HAVE_STATFS_DECL 1
37143 wx_cv_type_statvfs_t
="struct statfs"
37144 cat >>confdefs.h
<<\_ACEOF
37145 #define HAVE_STATFS 1
37149 echo "$as_me:$LINENO: checking for statvfs" >&5
37150 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37151 if test "${wx_cv_func_statvfs+set}" = set; then
37152 echo $ECHO_N "(cached) $ECHO_C" >&6
37154 cat >conftest.
$ac_ext <<_ACEOF
37157 cat confdefs.h
>>conftest.
$ac_ext
37158 cat >>conftest.
$ac_ext <<_ACEOF
37159 /* end confdefs.h. */
37161 #include <stddef.h>
37162 #include <sys/statvfs.h>
37168 statvfs("/", NULL);
37174 rm -f conftest.
$ac_objext
37175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37176 (eval $ac_compile) 2>conftest.er1
37178 grep -v '^ *+' conftest.er1
>conftest.err
37180 cat conftest.err
>&5
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); } &&
37183 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37185 (eval $ac_try) 2>&5
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); }; } &&
37189 { ac_try
='test -s conftest.$ac_objext'
37190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37191 (eval $ac_try) 2>&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); }; }; then
37195 wx_cv_func_statvfs
=yes
37197 echo "$as_me: failed program was:" >&5
37198 sed 's/^/| /' conftest.
$ac_ext >&5
37200 wx_cv_func_statvfs
=no
37203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37206 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37207 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37209 if test "$wx_cv_func_statvfs" = "yes"; then
37210 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37211 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37212 if test "${wx_cv_type_statvfs_t+set}" = set; then
37213 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 cat >conftest.
$ac_ext <<_ACEOF
37218 cat confdefs.h
>>conftest.
$ac_ext
37219 cat >>conftest.
$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37222 #include <sys/statvfs.h>
37239 rm -f conftest.
$ac_objext
37240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37241 (eval $ac_compile) 2>conftest.er1
37243 grep -v '^ *+' conftest.er1
>conftest.err
37245 cat conftest.err
>&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); } &&
37248 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250 (eval $ac_try) 2>&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); }; } &&
37254 { ac_try
='test -s conftest.$ac_objext'
37255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37256 (eval $ac_try) 2>&5
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); }; }; then
37260 wx_cv_type_statvfs_t
=statvfs_t
37262 echo "$as_me: failed program was:" >&5
37263 sed 's/^/| /' conftest.
$ac_ext >&5
37266 cat >conftest.
$ac_ext <<_ACEOF
37269 cat confdefs.h
>>conftest.
$ac_ext
37270 cat >>conftest.
$ac_ext <<_ACEOF
37271 /* end confdefs.h. */
37273 #include <sys/statvfs.h>
37290 rm -f conftest.
$ac_objext
37291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37292 (eval $ac_compile) 2>conftest.er1
37294 grep -v '^ *+' conftest.er1
>conftest.err
37296 cat conftest.err
>&5
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); } &&
37299 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37301 (eval $ac_try) 2>&5
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); }; } &&
37305 { ac_try
='test -s conftest.$ac_objext'
37306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37307 (eval $ac_try) 2>&5
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); }; }; then
37311 wx_cv_type_statvfs_t
="struct statvfs"
37313 echo "$as_me: failed program was:" >&5
37314 sed 's/^/| /' conftest.
$ac_ext >&5
37316 wx_cv_type_statvfs_t
="unknown"
37319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37326 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37327 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37329 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37330 cat >>confdefs.h
<<\_ACEOF
37331 #define HAVE_STATVFS 1
37336 wx_cv_type_statvfs_t
="unknown"
37340 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37341 cat >>confdefs.h
<<_ACEOF
37342 #define WX_STATFS_T $wx_cv_type_statvfs_t
37346 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37347 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37350 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37353 for ac_func
in fcntl flock
37355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37358 if eval "test \"\${$as_ac_var+set}\" = set"; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 cat >conftest.
$ac_ext <<_ACEOF
37364 cat confdefs.h
>>conftest.
$ac_ext
37365 cat >>conftest.
$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37377 # include <limits.h>
37379 # include <assert.h>
37384 /* Override any gcc2 internal prototype to avoid an error. */
37389 /* We use char because int might match the return type of a gcc2
37390 builtin and then its argument prototype would still apply. */
37392 /* The GNU C library defines this for functions which it implements
37393 to always fail with ENOSYS. Some functions are actually named
37394 something starting with __ and the normal name is an alias. */
37395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37398 char (*f) () = $ac_func;
37407 return f != $ac_func;
37412 rm -f conftest.
$ac_objext conftest
$ac_exeext
37413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37414 (eval $ac_link) 2>conftest.er1
37416 grep -v '^ *+' conftest.er1
>conftest.err
37418 cat conftest.err
>&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); } &&
37421 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; } &&
37427 { ac_try
='test -s conftest$ac_exeext'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; }; then
37433 eval "$as_ac_var=yes"
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.
$ac_ext >&5
37438 eval "$as_ac_var=no"
37440 rm -f conftest.err conftest.
$ac_objext \
37441 conftest
$ac_exeext conftest.
$ac_ext
37443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37445 if test `eval echo '${'$as_ac_var'}'` = yes; then
37446 cat >>confdefs.h
<<_ACEOF
37447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37454 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37455 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37456 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37457 wxUSE_SNGLINST_CHECKER
=no
37462 for ac_func
in timegm
37464 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37465 echo "$as_me:$LINENO: checking for $ac_func" >&5
37466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37467 if eval "test \"\${$as_ac_var+set}\" = set"; then
37468 echo $ECHO_N "(cached) $ECHO_C" >&6
37470 cat >conftest.
$ac_ext <<_ACEOF
37473 cat confdefs.h
>>conftest.
$ac_ext
37474 cat >>conftest.
$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37478 #define $ac_func innocuous_$ac_func
37480 /* System header to define __stub macros and hopefully few prototypes,
37481 which can conflict with char $ac_func (); below.
37482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37483 <limits.h> exists even on freestanding compilers. */
37486 # include <limits.h>
37488 # include <assert.h>
37493 /* Override any gcc2 internal prototype to avoid an error. */
37498 /* We use char because int might match the return type of a gcc2
37499 builtin and then its argument prototype would still apply. */
37501 /* The GNU C library defines this for functions which it implements
37502 to always fail with ENOSYS. Some functions are actually named
37503 something starting with __ and the normal name is an alias. */
37504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37507 char (*f) () = $ac_func;
37516 return f != $ac_func;
37521 rm -f conftest.
$ac_objext conftest
$ac_exeext
37522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37523 (eval $ac_link) 2>conftest.er1
37525 grep -v '^ *+' conftest.er1
>conftest.err
37527 cat conftest.err
>&5
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); } &&
37530 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532 (eval $ac_try) 2>&5
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); }; } &&
37536 { ac_try
='test -s conftest$ac_exeext'
37537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538 (eval $ac_try) 2>&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); }; }; then
37542 eval "$as_ac_var=yes"
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.
$ac_ext >&5
37547 eval "$as_ac_var=no"
37549 rm -f conftest.err conftest.
$ac_objext \
37550 conftest
$ac_exeext conftest.
$ac_ext
37552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37554 if test `eval echo '${'$as_ac_var'}'` = yes; then
37555 cat >>confdefs.h
<<_ACEOF
37556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37565 for ac_func
in putenv setenv
37567 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37568 echo "$as_me:$LINENO: checking for $ac_func" >&5
37569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37570 if eval "test \"\${$as_ac_var+set}\" = set"; then
37571 echo $ECHO_N "(cached) $ECHO_C" >&6
37573 cat >conftest.
$ac_ext <<_ACEOF
37576 cat confdefs.h
>>conftest.
$ac_ext
37577 cat >>conftest.
$ac_ext <<_ACEOF
37578 /* end confdefs.h. */
37579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37581 #define $ac_func innocuous_$ac_func
37583 /* System header to define __stub macros and hopefully few prototypes,
37584 which can conflict with char $ac_func (); below.
37585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37586 <limits.h> exists even on freestanding compilers. */
37589 # include <limits.h>
37591 # include <assert.h>
37596 /* Override any gcc2 internal prototype to avoid an error. */
37601 /* We use char because int might match the return type of a gcc2
37602 builtin and then its argument prototype would still apply. */
37604 /* The GNU C library defines this for functions which it implements
37605 to always fail with ENOSYS. Some functions are actually named
37606 something starting with __ and the normal name is an alias. */
37607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37610 char (*f) () = $ac_func;
37619 return f != $ac_func;
37624 rm -f conftest.
$ac_objext conftest
$ac_exeext
37625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37626 (eval $ac_link) 2>conftest.er1
37628 grep -v '^ *+' conftest.er1
>conftest.err
37630 cat conftest.err
>&5
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); } &&
37633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37635 (eval $ac_try) 2>&5
37637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37638 (exit $ac_status); }; } &&
37639 { ac_try
='test -s conftest$ac_exeext'
37640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37641 (eval $ac_try) 2>&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); }; }; then
37645 eval "$as_ac_var=yes"
37647 echo "$as_me: failed program was:" >&5
37648 sed 's/^/| /' conftest.
$ac_ext >&5
37650 eval "$as_ac_var=no"
37652 rm -f conftest.err conftest.
$ac_objext \
37653 conftest
$ac_exeext conftest.
$ac_ext
37655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37657 if test `eval echo '${'$as_ac_var'}'` = yes; then
37658 cat >>confdefs.h
<<_ACEOF
37659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37666 HAVE_SOME_SLEEP_FUNC
=0
37667 if test "$USE_BEOS" = 1; then
37668 cat >>confdefs.h
<<\_ACEOF
37669 #define HAVE_SLEEP 1
37672 HAVE_SOME_SLEEP_FUNC
=1
37675 if test "$USE_DARWIN" = 1; then
37676 cat >>confdefs.h
<<\_ACEOF
37677 #define HAVE_USLEEP 1
37680 HAVE_SOME_SLEEP_FUNC
=1
37683 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37686 for ac_func
in nanosleep
37688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37689 echo "$as_me:$LINENO: checking for $ac_func" >&5
37690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37691 if eval "test \"\${$as_ac_var+set}\" = set"; then
37692 echo $ECHO_N "(cached) $ECHO_C" >&6
37694 cat >conftest.
$ac_ext <<_ACEOF
37697 cat confdefs.h
>>conftest.
$ac_ext
37698 cat >>conftest.
$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37702 #define $ac_func innocuous_$ac_func
37704 /* System header to define __stub macros and hopefully few prototypes,
37705 which can conflict with char $ac_func (); below.
37706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37707 <limits.h> exists even on freestanding compilers. */
37710 # include <limits.h>
37712 # include <assert.h>
37717 /* Override any gcc2 internal prototype to avoid an error. */
37722 /* We use char because int might match the return type of a gcc2
37723 builtin and then its argument prototype would still apply. */
37725 /* The GNU C library defines this for functions which it implements
37726 to always fail with ENOSYS. Some functions are actually named
37727 something starting with __ and the normal name is an alias. */
37728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37731 char (*f) () = $ac_func;
37740 return f != $ac_func;
37745 rm -f conftest.
$ac_objext conftest
$ac_exeext
37746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37747 (eval $ac_link) 2>conftest.er1
37749 grep -v '^ *+' conftest.er1
>conftest.err
37751 cat conftest.err
>&5
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); } &&
37754 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756 (eval $ac_try) 2>&5
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); }; } &&
37760 { ac_try
='test -s conftest$ac_exeext'
37761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37762 (eval $ac_try) 2>&5
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); }; }; then
37766 eval "$as_ac_var=yes"
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.
$ac_ext >&5
37771 eval "$as_ac_var=no"
37773 rm -f conftest.err conftest.
$ac_objext \
37774 conftest
$ac_exeext conftest.
$ac_ext
37776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37778 if test `eval echo '${'$as_ac_var'}'` = yes; then
37779 cat >>confdefs.h
<<_ACEOF
37780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37782 cat >>confdefs.h
<<\_ACEOF
37783 #define HAVE_NANOSLEEP 1
37788 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37789 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37790 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37791 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 ac_check_lib_save_LIBS
=$LIBS
37794 LIBS
="-lposix4 $LIBS"
37795 cat >conftest.
$ac_ext <<_ACEOF
37798 cat confdefs.h
>>conftest.
$ac_ext
37799 cat >>conftest.
$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37802 /* Override any gcc2 internal prototype to avoid an error. */
37806 /* We use char because int might match the return type of a gcc2
37807 builtin and then its argument prototype would still apply. */
37817 rm -f conftest.
$ac_objext conftest
$ac_exeext
37818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37819 (eval $ac_link) 2>conftest.er1
37821 grep -v '^ *+' conftest.er1
>conftest.err
37823 cat conftest.err
>&5
37824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37825 (exit $ac_status); } &&
37826 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37828 (eval $ac_try) 2>&5
37830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831 (exit $ac_status); }; } &&
37832 { ac_try
='test -s conftest$ac_exeext'
37833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37834 (eval $ac_try) 2>&5
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); }; }; then
37838 ac_cv_lib_posix4_nanosleep
=yes
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.
$ac_ext >&5
37843 ac_cv_lib_posix4_nanosleep
=no
37845 rm -f conftest.err conftest.
$ac_objext \
37846 conftest
$ac_exeext conftest.
$ac_ext
37847 LIBS
=$ac_check_lib_save_LIBS
37849 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37850 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37851 if test $ac_cv_lib_posix4_nanosleep = yes; then
37853 cat >>confdefs.h
<<\_ACEOF
37854 #define HAVE_NANOSLEEP 1
37857 POSIX4_LINK
=" -lposix4"
37862 for ac_func
in usleep
37864 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37865 echo "$as_me:$LINENO: checking for $ac_func" >&5
37866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37867 if eval "test \"\${$as_ac_var+set}\" = set"; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37870 cat >conftest.
$ac_ext <<_ACEOF
37873 cat confdefs.h
>>conftest.
$ac_ext
37874 cat >>conftest.
$ac_ext <<_ACEOF
37875 /* end confdefs.h. */
37876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37878 #define $ac_func innocuous_$ac_func
37880 /* System header to define __stub macros and hopefully few prototypes,
37881 which can conflict with char $ac_func (); below.
37882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37883 <limits.h> exists even on freestanding compilers. */
37886 # include <limits.h>
37888 # include <assert.h>
37893 /* Override any gcc2 internal prototype to avoid an error. */
37898 /* We use char because int might match the return type of a gcc2
37899 builtin and then its argument prototype would still apply. */
37901 /* The GNU C library defines this for functions which it implements
37902 to always fail with ENOSYS. Some functions are actually named
37903 something starting with __ and the normal name is an alias. */
37904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37907 char (*f) () = $ac_func;
37916 return f != $ac_func;
37921 rm -f conftest.
$ac_objext conftest
$ac_exeext
37922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37923 (eval $ac_link) 2>conftest.er1
37925 grep -v '^ *+' conftest.er1
>conftest.err
37927 cat conftest.err
>&5
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); } &&
37930 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37932 (eval $ac_try) 2>&5
37934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37935 (exit $ac_status); }; } &&
37936 { ac_try
='test -s conftest$ac_exeext'
37937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37938 (eval $ac_try) 2>&5
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); }; }; then
37942 eval "$as_ac_var=yes"
37944 echo "$as_me: failed program was:" >&5
37945 sed 's/^/| /' conftest.
$ac_ext >&5
37947 eval "$as_ac_var=no"
37949 rm -f conftest.err conftest.
$ac_objext \
37950 conftest
$ac_exeext conftest.
$ac_ext
37952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37954 if test `eval echo '${'$as_ac_var'}'` = yes; then
37955 cat >>confdefs.h
<<_ACEOF
37956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37958 cat >>confdefs.h
<<\_ACEOF
37959 #define HAVE_USLEEP 1
37963 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37964 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37982 for ac_func
in uname gethostname
37984 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37985 echo "$as_me:$LINENO: checking for $ac_func" >&5
37986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37987 if eval "test \"\${$as_ac_var+set}\" = set"; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37990 cat >conftest.
$ac_ext <<_ACEOF
37993 cat confdefs.h
>>conftest.
$ac_ext
37994 cat >>conftest.
$ac_ext <<_ACEOF
37995 /* end confdefs.h. */
37996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37998 #define $ac_func innocuous_$ac_func
38000 /* System header to define __stub macros and hopefully few prototypes,
38001 which can conflict with char $ac_func (); below.
38002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38003 <limits.h> exists even on freestanding compilers. */
38006 # include <limits.h>
38008 # include <assert.h>
38013 /* Override any gcc2 internal prototype to avoid an error. */
38018 /* We use char because int might match the return type of a gcc2
38019 builtin and then its argument prototype would still apply. */
38021 /* The GNU C library defines this for functions which it implements
38022 to always fail with ENOSYS. Some functions are actually named
38023 something starting with __ and the normal name is an alias. */
38024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38027 char (*f) () = $ac_func;
38036 return f != $ac_func;
38041 rm -f conftest.
$ac_objext conftest
$ac_exeext
38042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38043 (eval $ac_link) 2>conftest.er1
38045 grep -v '^ *+' conftest.er1
>conftest.err
38047 cat conftest.err
>&5
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); } &&
38050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38052 (eval $ac_try) 2>&5
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); }; } &&
38056 { ac_try
='test -s conftest$ac_exeext'
38057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38058 (eval $ac_try) 2>&5
38060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061 (exit $ac_status); }; }; then
38062 eval "$as_ac_var=yes"
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.
$ac_ext >&5
38067 eval "$as_ac_var=no"
38069 rm -f conftest.err conftest.
$ac_objext \
38070 conftest
$ac_exeext conftest.
$ac_ext
38072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38074 if test `eval echo '${'$as_ac_var'}'` = yes; then
38075 cat >>confdefs.h
<<_ACEOF
38076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38084 for wx_func
in strtok_r
38086 echo "$as_me:$LINENO: checking for $wx_func" >&5
38087 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38088 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38089 echo $ECHO_N "(cached) $ECHO_C" >&6
38092 cat >conftest.
$ac_ext <<_ACEOF
38096 cat confdefs.h
>>conftest.
$ac_ext
38097 cat >>conftest.
$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38101 $ac_includes_default
38117 rm -f conftest.
$ac_objext conftest
$ac_exeext
38118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38119 (eval $ac_link) 2>conftest.er1
38121 grep -v '^ *+' conftest.er1
>conftest.err
38123 cat conftest.err
>&5
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); } &&
38126 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38128 (eval $ac_try) 2>&5
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); }; } &&
38132 { ac_try
='test -s conftest$ac_exeext'
38133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38134 (eval $ac_try) 2>&5
38136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38137 (exit $ac_status); }; }; then
38138 eval wx_cv_func_
$wx_func=yes
38140 echo "$as_me: failed program was:" >&5
38141 sed 's/^/| /' conftest.
$ac_ext >&5
38143 eval wx_cv_func_
$wx_func=no
38145 rm -f conftest.err conftest.
$ac_objext \
38146 conftest
$ac_exeext conftest.
$ac_ext
38149 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38150 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38152 if eval test \
$wx_cv_func_$wx_func = yes
38154 cat >>confdefs.h
<<_ACEOF
38155 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38168 for ac_func
in inet_addr
38170 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38171 echo "$as_me:$LINENO: checking for $ac_func" >&5
38172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38173 if eval "test \"\${$as_ac_var+set}\" = set"; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 cat >conftest.
$ac_ext <<_ACEOF
38179 cat confdefs.h
>>conftest.
$ac_ext
38180 cat >>conftest.
$ac_ext <<_ACEOF
38181 /* end confdefs.h. */
38182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38184 #define $ac_func innocuous_$ac_func
38186 /* System header to define __stub macros and hopefully few prototypes,
38187 which can conflict with char $ac_func (); below.
38188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38189 <limits.h> exists even on freestanding compilers. */
38192 # include <limits.h>
38194 # include <assert.h>
38199 /* Override any gcc2 internal prototype to avoid an error. */
38204 /* We use char because int might match the return type of a gcc2
38205 builtin and then its argument prototype would still apply. */
38207 /* The GNU C library defines this for functions which it implements
38208 to always fail with ENOSYS. Some functions are actually named
38209 something starting with __ and the normal name is an alias. */
38210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38213 char (*f) () = $ac_func;
38222 return f != $ac_func;
38227 rm -f conftest.
$ac_objext conftest
$ac_exeext
38228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38229 (eval $ac_link) 2>conftest.er1
38231 grep -v '^ *+' conftest.er1
>conftest.err
38233 cat conftest.err
>&5
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); } &&
38236 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38238 (eval $ac_try) 2>&5
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); }; } &&
38242 { ac_try
='test -s conftest$ac_exeext'
38243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38244 (eval $ac_try) 2>&5
38246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38247 (exit $ac_status); }; }; then
38248 eval "$as_ac_var=yes"
38250 echo "$as_me: failed program was:" >&5
38251 sed 's/^/| /' conftest.
$ac_ext >&5
38253 eval "$as_ac_var=no"
38255 rm -f conftest.err conftest.
$ac_objext \
38256 conftest
$ac_exeext conftest.
$ac_ext
38258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38260 if test `eval echo '${'$as_ac_var'}'` = yes; then
38261 cat >>confdefs.h
<<_ACEOF
38262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38264 cat >>confdefs.h
<<\_ACEOF
38265 #define HAVE_INET_ADDR 1
38270 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38271 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38272 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38273 echo $ECHO_N "(cached) $ECHO_C" >&6
38275 ac_check_lib_save_LIBS
=$LIBS
38277 cat >conftest.
$ac_ext <<_ACEOF
38280 cat confdefs.h
>>conftest.
$ac_ext
38281 cat >>conftest.
$ac_ext <<_ACEOF
38282 /* end confdefs.h. */
38284 /* Override any gcc2 internal prototype to avoid an error. */
38288 /* We use char because int might match the return type of a gcc2
38289 builtin and then its argument prototype would still apply. */
38299 rm -f conftest.
$ac_objext conftest
$ac_exeext
38300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38301 (eval $ac_link) 2>conftest.er1
38303 grep -v '^ *+' conftest.er1
>conftest.err
38305 cat conftest.err
>&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); } &&
38308 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38310 (eval $ac_try) 2>&5
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); }; } &&
38314 { ac_try
='test -s conftest$ac_exeext'
38315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38316 (eval $ac_try) 2>&5
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); }; }; then
38320 ac_cv_lib_nsl_inet_addr
=yes
38322 echo "$as_me: failed program was:" >&5
38323 sed 's/^/| /' conftest.
$ac_ext >&5
38325 ac_cv_lib_nsl_inet_addr
=no
38327 rm -f conftest.err conftest.
$ac_objext \
38328 conftest
$ac_exeext conftest.
$ac_ext
38329 LIBS
=$ac_check_lib_save_LIBS
38331 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38332 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38333 if test $ac_cv_lib_nsl_inet_addr = yes; then
38337 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38338 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38339 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38342 ac_check_lib_save_LIBS
=$LIBS
38343 LIBS
="-lresolv $LIBS"
38344 cat >conftest.
$ac_ext <<_ACEOF
38347 cat confdefs.h
>>conftest.
$ac_ext
38348 cat >>conftest.
$ac_ext <<_ACEOF
38349 /* end confdefs.h. */
38351 /* Override any gcc2 internal prototype to avoid an error. */
38355 /* We use char because int might match the return type of a gcc2
38356 builtin and then its argument prototype would still apply. */
38366 rm -f conftest.
$ac_objext conftest
$ac_exeext
38367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38368 (eval $ac_link) 2>conftest.er1
38370 grep -v '^ *+' conftest.er1
>conftest.err
38372 cat conftest.err
>&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); } &&
38375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38377 (eval $ac_try) 2>&5
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); }; } &&
38381 { ac_try
='test -s conftest$ac_exeext'
38382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38383 (eval $ac_try) 2>&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); }; }; then
38387 ac_cv_lib_resolv_inet_addr
=yes
38389 echo "$as_me: failed program was:" >&5
38390 sed 's/^/| /' conftest.
$ac_ext >&5
38392 ac_cv_lib_resolv_inet_addr
=no
38394 rm -f conftest.err conftest.
$ac_objext \
38395 conftest
$ac_exeext conftest.
$ac_ext
38396 LIBS
=$ac_check_lib_save_LIBS
38398 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38399 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38400 if test $ac_cv_lib_resolv_inet_addr = yes; then
38404 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38405 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38406 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38407 echo $ECHO_N "(cached) $ECHO_C" >&6
38409 ac_check_lib_save_LIBS
=$LIBS
38410 LIBS
="-lsocket $LIBS"
38411 cat >conftest.
$ac_ext <<_ACEOF
38414 cat confdefs.h
>>conftest.
$ac_ext
38415 cat >>conftest.
$ac_ext <<_ACEOF
38416 /* end confdefs.h. */
38418 /* Override any gcc2 internal prototype to avoid an error. */
38422 /* We use char because int might match the return type of a gcc2
38423 builtin and then its argument prototype would still apply. */
38433 rm -f conftest.
$ac_objext conftest
$ac_exeext
38434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38435 (eval $ac_link) 2>conftest.er1
38437 grep -v '^ *+' conftest.er1
>conftest.err
38439 cat conftest.err
>&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } &&
38442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try
='test -s conftest$ac_exeext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 ac_cv_lib_socket_inet_addr
=yes
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.
$ac_ext >&5
38459 ac_cv_lib_socket_inet_addr
=no
38461 rm -f conftest.err conftest.
$ac_objext \
38462 conftest
$ac_exeext conftest.
$ac_ext
38463 LIBS
=$ac_check_lib_save_LIBS
38465 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38466 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38467 if test $ac_cv_lib_socket_inet_addr = yes; then
38487 for ac_func
in inet_aton
38489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38490 echo "$as_me:$LINENO: checking for $ac_func" >&5
38491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38492 if eval "test \"\${$as_ac_var+set}\" = set"; then
38493 echo $ECHO_N "(cached) $ECHO_C" >&6
38495 cat >conftest.
$ac_ext <<_ACEOF
38498 cat confdefs.h
>>conftest.
$ac_ext
38499 cat >>conftest.
$ac_ext <<_ACEOF
38500 /* end confdefs.h. */
38501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38503 #define $ac_func innocuous_$ac_func
38505 /* System header to define __stub macros and hopefully few prototypes,
38506 which can conflict with char $ac_func (); below.
38507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38508 <limits.h> exists even on freestanding compilers. */
38511 # include <limits.h>
38513 # include <assert.h>
38518 /* Override any gcc2 internal prototype to avoid an error. */
38523 /* We use char because int might match the return type of a gcc2
38524 builtin and then its argument prototype would still apply. */
38526 /* The GNU C library defines this for functions which it implements
38527 to always fail with ENOSYS. Some functions are actually named
38528 something starting with __ and the normal name is an alias. */
38529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38532 char (*f) () = $ac_func;
38541 return f != $ac_func;
38546 rm -f conftest.
$ac_objext conftest
$ac_exeext
38547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38548 (eval $ac_link) 2>conftest.er1
38550 grep -v '^ *+' conftest.er1
>conftest.err
38552 cat conftest.err
>&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } &&
38555 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557 (eval $ac_try) 2>&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); }; } &&
38561 { ac_try
='test -s conftest$ac_exeext'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; }; then
38567 eval "$as_ac_var=yes"
38569 echo "$as_me: failed program was:" >&5
38570 sed 's/^/| /' conftest.
$ac_ext >&5
38572 eval "$as_ac_var=no"
38574 rm -f conftest.err conftest.
$ac_objext \
38575 conftest
$ac_exeext conftest.
$ac_ext
38577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38579 if test `eval echo '${'$as_ac_var'}'` = yes; then
38580 cat >>confdefs.h
<<_ACEOF
38581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38583 cat >>confdefs.h
<<\_ACEOF
38584 #define HAVE_INET_ATON 1
38589 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38590 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38591 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38592 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38593 echo $ECHO_N "(cached) $ECHO_C" >&6
38595 ac_check_lib_save_LIBS
=$LIBS
38596 LIBS
="-l$INET_LINK $LIBS"
38597 cat >conftest.
$ac_ext <<_ACEOF
38600 cat confdefs.h
>>conftest.
$ac_ext
38601 cat >>conftest.
$ac_ext <<_ACEOF
38602 /* end confdefs.h. */
38604 /* Override any gcc2 internal prototype to avoid an error. */
38608 /* We use char because int might match the return type of a gcc2
38609 builtin and then its argument prototype would still apply. */
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 "$as_ac_Lib=yes"
38642 echo "$as_me: failed program was:" >&5
38643 sed 's/^/| /' conftest.
$ac_ext >&5
38645 eval "$as_ac_Lib=no"
38647 rm -f conftest.err conftest.
$ac_objext \
38648 conftest
$ac_exeext conftest.
$ac_ext
38649 LIBS
=$ac_check_lib_save_LIBS
38651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38652 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38653 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38654 cat >>confdefs.h
<<\_ACEOF
38655 #define HAVE_INET_ATON 1
38665 if test "x$INET_LINK" != "x"; then
38666 cat >>confdefs.h
<<\_ACEOF
38667 #define HAVE_INET_ADDR 1
38670 INET_LINK
=" -l$INET_LINK"
38674 for wx_func
in fdopen
38676 echo "$as_me:$LINENO: checking for $wx_func" >&5
38677 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38678 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38679 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 cat >conftest.
$ac_ext <<_ACEOF
38686 cat confdefs.h
>>conftest.
$ac_ext
38687 cat >>conftest.
$ac_ext <<_ACEOF
38688 /* end confdefs.h. */
38691 $ac_includes_default
38707 rm -f conftest.
$ac_objext conftest
$ac_exeext
38708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38709 (eval $ac_link) 2>conftest.er1
38711 grep -v '^ *+' conftest.er1
>conftest.err
38713 cat conftest.err
>&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } &&
38716 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38718 (eval $ac_try) 2>&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); }; } &&
38722 { ac_try
='test -s conftest$ac_exeext'
38723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38724 (eval $ac_try) 2>&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); }; }; then
38728 eval wx_cv_func_
$wx_func=yes
38730 echo "$as_me: failed program was:" >&5
38731 sed 's/^/| /' conftest.
$ac_ext >&5
38733 eval wx_cv_func_
$wx_func=no
38735 rm -f conftest.err conftest.
$ac_objext \
38736 conftest
$ac_exeext conftest.
$ac_ext
38739 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38740 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38742 if eval test \
$wx_cv_func_$wx_func = yes
38744 cat >>confdefs.h
<<_ACEOF
38745 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38762 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38763 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38764 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38767 ac_check_lib_save_LIBS
=$LIBS
38769 cat >conftest.
$ac_ext <<_ACEOF
38772 cat confdefs.h
>>conftest.
$ac_ext
38773 cat >>conftest.
$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38776 /* Override any gcc2 internal prototype to avoid an error. */
38780 /* We use char because int might match the return type of a gcc2
38781 builtin and then its argument prototype would still apply. */
38791 rm -f conftest.
$ac_objext conftest
$ac_exeext
38792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38793 (eval $ac_link) 2>conftest.er1
38795 grep -v '^ *+' conftest.er1
>conftest.err
38797 cat conftest.err
>&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } &&
38800 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; } &&
38806 { ac_try
='test -s conftest$ac_exeext'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; }; then
38812 ac_cv_lib_esd_esd_close
=yes
38814 echo "$as_me: failed program was:" >&5
38815 sed 's/^/| /' conftest.
$ac_ext >&5
38817 ac_cv_lib_esd_esd_close
=no
38819 rm -f conftest.err conftest.
$ac_objext \
38820 conftest
$ac_exeext conftest.
$ac_ext
38821 LIBS
=$ac_check_lib_save_LIBS
38823 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38824 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38825 if test $ac_cv_lib_esd_esd_close = yes; then
38828 for ac_header
in esd.h
38830 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38832 echo "$as_me:$LINENO: checking for $ac_header" >&5
38833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38835 echo $ECHO_N "(cached) $ECHO_C" >&6
38837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38840 # Is the header compilable?
38841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38843 cat >conftest.
$ac_ext <<_ACEOF
38846 cat confdefs.h
>>conftest.
$ac_ext
38847 cat >>conftest.
$ac_ext <<_ACEOF
38848 /* end confdefs.h. */
38849 $ac_includes_default
38850 #include <$ac_header>
38852 rm -f conftest.
$ac_objext
38853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38854 (eval $ac_compile) 2>conftest.er1
38856 grep -v '^ *+' conftest.er1
>conftest.err
38858 cat conftest.err
>&5
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); } &&
38861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38863 (eval $ac_try) 2>&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); }; } &&
38867 { ac_try
='test -s conftest.$ac_objext'
38868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38869 (eval $ac_try) 2>&5
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); }; }; then
38873 ac_header_compiler
=yes
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.
$ac_ext >&5
38878 ac_header_compiler
=no
38880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38882 echo "${ECHO_T}$ac_header_compiler" >&6
38884 # Is the header present?
38885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38887 cat >conftest.
$ac_ext <<_ACEOF
38890 cat confdefs.h
>>conftest.
$ac_ext
38891 cat >>conftest.
$ac_ext <<_ACEOF
38892 /* end confdefs.h. */
38893 #include <$ac_header>
38895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38896 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38898 grep -v '^ *+' conftest.er1
>conftest.err
38900 cat conftest.err
>&5
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); } >/dev
/null
; then
38903 if test -s conftest.err
; then
38904 ac_cpp_err
=$ac_cxx_preproc_warn_flag
38905 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
38912 if test -z "$ac_cpp_err"; then
38913 ac_header_preproc
=yes
38915 echo "$as_me: failed program was:" >&5
38916 sed 's/^/| /' conftest.
$ac_ext >&5
38918 ac_header_preproc
=no
38920 rm -f conftest.err conftest.
$ac_ext
38921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38922 echo "${ECHO_T}$ac_header_preproc" >&6
38924 # So? What about this header?
38925 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38930 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38931 ac_header_preproc
=yes
38934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38938 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38939 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38940 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38941 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38944 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38945 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38948 ## ----------------------------------------- ##
38949 ## Report this to wx-dev@lists.wxwidgets.org ##
38950 ## ----------------------------------------- ##
38953 sed "s/^/$as_me: WARNING: /" >&2
38956 echo "$as_me:$LINENO: checking for $ac_header" >&5
38957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38959 echo $ECHO_N "(cached) $ECHO_C" >&6
38961 eval "$as_ac_Header=\$ac_header_preproc"
38963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38968 cat >>confdefs.h
<<_ACEOF
38969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38972 EXTRALIBS_ESD
="-lesd"
38983 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38984 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38985 cat >conftest.
$ac_ext <<_ACEOF
38988 cat confdefs.h
>>conftest.
$ac_ext
38989 cat >>conftest.
$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38992 #include <linux/cdrom.h>
38995 #include <sys/cdio.h>
39001 struct cdrom_tocentry entry, old_entry;
39006 rm -f conftest.
$ac_objext
39007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39008 (eval $ac_compile) 2>conftest.er1
39010 grep -v '^ *+' conftest.er1
>conftest.err
39012 cat conftest.err
>&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); } &&
39015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39017 (eval $ac_try) 2>&5
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); }; } &&
39021 { ac_try
='test -s conftest.$ac_objext'
39022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39023 (eval $ac_try) 2>&5
39025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026 (exit $ac_status); }; }; then
39027 echo "$as_me:$LINENO: result: yes" >&5
39028 echo "${ECHO_T}yes" >&6
39029 cat >>confdefs.h
<<\_ACEOF
39030 #define HAVE_KNOWN_CDROM_INTERFACE 1
39034 echo "$as_me: failed program was:" >&5
39035 sed 's/^/| /' conftest.
$ac_ext >&5
39037 echo "$as_me:$LINENO: result: no" >&5
39038 echo "${ECHO_T}no" >&6
39040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39043 cat >confcache
<<\_ACEOF
39044 # This file is a shell script that caches the results of configure
39045 # tests run on this system so they can be shared between configure
39046 # scripts and configure runs, see configure's option --config-cache.
39047 # It is not useful on other systems. If it contains results you don't
39048 # want to keep, you may remove or edit it.
39050 # config.status only pays attention to the cache file if you give it
39051 # the --recheck option to rerun configure.
39053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39055 # following values.
39059 # The following way of writing the cache mishandles newlines in values,
39060 # but we know of no workaround that is simple, portable, and efficient.
39061 # So, don't put newlines in cache variables' values.
39062 # Ultrix sh set writes to stderr and can't be redirected directly,
39063 # and sets the high bit in the cache file unless we assign to the vars.
39066 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39068 # `set' does not quote correctly, so add quotes (double-quote
39069 # substitution turns \\\\ into \\, and sed turns \\ into \).
39072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39075 # `set' quotes correctly as required by POSIX, so do not add quotes.
39077 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39086 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39088 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39089 if test -w $cache_file; then
39090 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39091 cat confcache
>$cache_file
39093 echo "not updating unwritable cache $cache_file"
39099 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39105 if test "$wxUSE_THREADS" = "yes" ; then
39106 if test "$USE_BEOS" = 1; then
39107 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39108 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39113 if test "$wxUSE_THREADS" = "yes" ; then
39116 THREAD_OPTS
="-pthread"
39118 *-*-solaris2* | *-*-sunos4* )
39119 if test "x$GCC" = "xyes"; then
39120 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39122 THREAD_OPTS
="-mt $THREAD_OPTS"
39126 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39128 *-*-darwin* | *-*-cygwin* )
39132 THREAD_OPTS
="pthreads"
39135 if test "x$GCC" = "xyes"; then
39136 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39144 if test "x$GCC" = "xyes"; then
39150 if test "x$GCC" != "xyes"; then
39151 THREAD_OPTS
="-Ethread"
39156 THREAD_OPTS
="$THREAD_OPTS pthread none"
39159 for flag
in $THREAD_OPTS; do
39162 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39163 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39167 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39168 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39169 THREADS_CXXFLAGS
="$flag"
39173 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39174 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39175 THREADS_LINK
="-l$flag"
39180 save_CXXFLAGS
="$CXXFLAGS"
39181 LIBS
="$THREADS_LINK $LIBS"
39182 CXXFLAGS
="$THREADS_CXXFLAGS $CXXFLAGS"
39184 cat >conftest.
$ac_ext <<_ACEOF
39187 cat confdefs.h
>>conftest.
$ac_ext
39188 cat >>conftest.
$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190 #include <pthread.h>
39194 pthread_create(0,0,0,0);
39199 rm -f conftest.
$ac_objext conftest
$ac_exeext
39200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39201 (eval $ac_link) 2>conftest.er1
39203 grep -v '^ *+' conftest.er1
>conftest.err
39205 cat conftest.err
>&5
39206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39207 (exit $ac_status); } &&
39208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39210 (eval $ac_try) 2>&5
39212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39213 (exit $ac_status); }; } &&
39214 { ac_try
='test -s conftest$ac_exeext'
39215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39216 (eval $ac_try) 2>&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; }; then
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.
$ac_ext >&5
39226 rm -f conftest.err conftest.
$ac_objext \
39227 conftest
$ac_exeext conftest.
$ac_ext
39230 CXXFLAGS
="$save_CXXFLAGS"
39232 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39233 echo "${ECHO_T}$THREADS_OK" >&6
39234 if test "x$THREADS_OK" = "xyes"; then
39239 THREADS_CXXFLAGS
=""
39242 if test "x$THREADS_OK" != "xyes"; then
39244 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39245 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39247 LDFLAGS
="$THREADS_CXXFLAGS $LDFLAGS"
39248 LIBS
="$THREADS_LINK $LIBS"
39250 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39251 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39255 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
39256 flag
="-D_THREAD_SAFE"
39259 flag
="-D_THREAD_SAFE"
39262 flag
="-D_REENTRANT"
39263 if test "x$GCC" != "xyes"; then
39264 flag
="$flag -D_RWSTD_MULTI_THREAD"
39267 *solaris
* | alpha
*-osf*)
39268 flag
="-D_REENTRANT"
39271 echo "$as_me:$LINENO: result: ${flag}" >&5
39272 echo "${ECHO_T}${flag}" >&6
39273 if test "x$flag" != xno
; then
39274 THREADS_CXXFLAGS
="$THREADS_CXXFLAGS $flag"
39277 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39281 if test "$wxUSE_THREADS" = "yes" ; then
39283 for ac_func
in thr_setconcurrency
39285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39286 echo "$as_me:$LINENO: checking for $ac_func" >&5
39287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39288 if eval "test \"\${$as_ac_var+set}\" = set"; then
39289 echo $ECHO_N "(cached) $ECHO_C" >&6
39291 cat >conftest.
$ac_ext <<_ACEOF
39294 cat confdefs.h
>>conftest.
$ac_ext
39295 cat >>conftest.
$ac_ext <<_ACEOF
39296 /* end confdefs.h. */
39297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39299 #define $ac_func innocuous_$ac_func
39301 /* System header to define __stub macros and hopefully few prototypes,
39302 which can conflict with char $ac_func (); below.
39303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39304 <limits.h> exists even on freestanding compilers. */
39307 # include <limits.h>
39309 # include <assert.h>
39314 /* Override any gcc2 internal prototype to avoid an error. */
39319 /* We use char because int might match the return type of a gcc2
39320 builtin and then its argument prototype would still apply. */
39322 /* The GNU C library defines this for functions which it implements
39323 to always fail with ENOSYS. Some functions are actually named
39324 something starting with __ and the normal name is an alias. */
39325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39328 char (*f) () = $ac_func;
39337 return f != $ac_func;
39342 rm -f conftest.
$ac_objext conftest
$ac_exeext
39343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39344 (eval $ac_link) 2>conftest.er1
39346 grep -v '^ *+' conftest.er1
>conftest.err
39348 cat conftest.err
>&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); } &&
39351 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; } &&
39357 { ac_try
='test -s conftest$ac_exeext'
39358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39359 (eval $ac_try) 2>&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); }; }; then
39363 eval "$as_ac_var=yes"
39365 echo "$as_me: failed program was:" >&5
39366 sed 's/^/| /' conftest.
$ac_ext >&5
39368 eval "$as_ac_var=no"
39370 rm -f conftest.err conftest.
$ac_objext \
39371 conftest
$ac_exeext conftest.
$ac_ext
39373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39375 if test `eval echo '${'$as_ac_var'}'` = yes; then
39376 cat >>confdefs.h
<<_ACEOF
39377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39384 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39385 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39386 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39387 echo $ECHO_N "(cached) $ECHO_C" >&6
39390 cat >conftest.
$ac_ext <<_ACEOF
39393 cat confdefs.h
>>conftest.
$ac_ext
39394 cat >>conftest.
$ac_ext <<_ACEOF
39395 /* end confdefs.h. */
39396 #include <pthread.h>
39397 void ThreadCleanupFunc(void *p);
39404 pthread_cleanup_push(ThreadCleanupFunc, p);
39405 pthread_cleanup_pop(0);
39411 rm -f conftest.
$ac_objext
39412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39413 (eval $ac_compile) 2>conftest.er1
39415 grep -v '^ *+' conftest.er1
>conftest.err
39417 cat conftest.err
>&5
39418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39419 (exit $ac_status); } &&
39420 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39422 (eval $ac_try) 2>&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); }; } &&
39426 { ac_try
='test -s conftest.$ac_objext'
39427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39428 (eval $ac_try) 2>&5
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); }; }; then
39433 wx_cv_func_pthread_cleanup
=yes
39436 echo "$as_me: failed program was:" >&5
39437 sed 's/^/| /' conftest.
$ac_ext >&5
39440 wx_cv_func_pthread_cleanup
=no
39444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39447 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39448 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39449 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39450 cat >>confdefs.h
<<\_ACEOF
39451 #define wxHAVE_PTHREAD_CLEANUP 1
39457 for ac_header
in sched.h
39459 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39461 echo "$as_me:$LINENO: checking for $ac_header" >&5
39462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39464 echo $ECHO_N "(cached) $ECHO_C" >&6
39466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39469 # Is the header compilable?
39470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39472 cat >conftest.
$ac_ext <<_ACEOF
39475 cat confdefs.h
>>conftest.
$ac_ext
39476 cat >>conftest.
$ac_ext <<_ACEOF
39477 /* end confdefs.h. */
39478 $ac_includes_default
39479 #include <$ac_header>
39481 rm -f conftest.
$ac_objext
39482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39483 (eval $ac_compile) 2>conftest.er1
39485 grep -v '^ *+' conftest.er1
>conftest.err
39487 cat conftest.err
>&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); } &&
39490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; } &&
39496 { ac_try
='test -s conftest.$ac_objext'
39497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498 (eval $ac_try) 2>&5
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); }; }; then
39502 ac_header_compiler
=yes
39504 echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.
$ac_ext >&5
39507 ac_header_compiler
=no
39509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39511 echo "${ECHO_T}$ac_header_compiler" >&6
39513 # Is the header present?
39514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39516 cat >conftest.
$ac_ext <<_ACEOF
39519 cat confdefs.h
>>conftest.
$ac_ext
39520 cat >>conftest.
$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39522 #include <$ac_header>
39524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39527 grep -v '^ *+' conftest.er1
>conftest.err
39529 cat conftest.err
>&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); } >/dev
/null
; then
39532 if test -s conftest.err
; then
39533 ac_cpp_err
=$ac_cxx_preproc_warn_flag
39534 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
39541 if test -z "$ac_cpp_err"; then
39542 ac_header_preproc
=yes
39544 echo "$as_me: failed program was:" >&5
39545 sed 's/^/| /' conftest.
$ac_ext >&5
39547 ac_header_preproc
=no
39549 rm -f conftest.err conftest.
$ac_ext
39550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39551 echo "${ECHO_T}$ac_header_preproc" >&6
39553 # So? What about this header?
39554 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39560 ac_header_preproc
=yes
39563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39577 ## ----------------------------------------- ##
39578 ## Report this to wx-dev@lists.wxwidgets.org ##
39579 ## ----------------------------------------- ##
39582 sed "s/^/$as_me: WARNING: /" >&2
39585 echo "$as_me:$LINENO: checking for $ac_header" >&5
39586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39588 echo $ECHO_N "(cached) $ECHO_C" >&6
39590 eval "$as_ac_Header=\$ac_header_preproc"
39592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39597 cat >>confdefs.h
<<_ACEOF
39598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39605 if test "$ac_cv_header_sched_h" = "yes"; then
39606 echo "$as_me:$LINENO: checking for sched_yield" >&5
39607 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39608 if test "${ac_cv_func_sched_yield+set}" = set; then
39609 echo $ECHO_N "(cached) $ECHO_C" >&6
39611 cat >conftest.
$ac_ext <<_ACEOF
39614 cat confdefs.h
>>conftest.
$ac_ext
39615 cat >>conftest.
$ac_ext <<_ACEOF
39616 /* end confdefs.h. */
39617 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39619 #define sched_yield innocuous_sched_yield
39621 /* System header to define __stub macros and hopefully few prototypes,
39622 which can conflict with char sched_yield (); below.
39623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39624 <limits.h> exists even on freestanding compilers. */
39627 # include <limits.h>
39629 # include <assert.h>
39634 /* Override any gcc2 internal prototype to avoid an error. */
39639 /* We use char because int might match the return type of a gcc2
39640 builtin and then its argument prototype would still apply. */
39641 char sched_yield ();
39642 /* The GNU C library defines this for functions which it implements
39643 to always fail with ENOSYS. Some functions are actually named
39644 something starting with __ and the normal name is an alias. */
39645 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39648 char (*f) () = sched_yield;
39657 return f != sched_yield;
39662 rm -f conftest.
$ac_objext conftest
$ac_exeext
39663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39664 (eval $ac_link) 2>conftest.er1
39666 grep -v '^ *+' conftest.er1
>conftest.err
39668 cat conftest.err
>&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); } &&
39671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; } &&
39677 { ac_try
='test -s conftest$ac_exeext'
39678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39679 (eval $ac_try) 2>&5
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); }; }; then
39683 ac_cv_func_sched_yield
=yes
39685 echo "$as_me: failed program was:" >&5
39686 sed 's/^/| /' conftest.
$ac_ext >&5
39688 ac_cv_func_sched_yield
=no
39690 rm -f conftest.err conftest.
$ac_objext \
39691 conftest
$ac_exeext conftest.
$ac_ext
39693 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39694 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39695 if test $ac_cv_func_sched_yield = yes; then
39696 cat >>confdefs.h
<<\_ACEOF
39697 #define HAVE_SCHED_YIELD 1
39702 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39703 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39704 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39705 echo $ECHO_N "(cached) $ECHO_C" >&6
39707 ac_check_lib_save_LIBS
=$LIBS
39708 LIBS
="-lposix4 $LIBS"
39709 cat >conftest.
$ac_ext <<_ACEOF
39712 cat confdefs.h
>>conftest.
$ac_ext
39713 cat >>conftest.
$ac_ext <<_ACEOF
39714 /* end confdefs.h. */
39716 /* Override any gcc2 internal prototype to avoid an error. */
39720 /* We use char because int might match the return type of a gcc2
39721 builtin and then its argument prototype would still apply. */
39722 char sched_yield ();
39731 rm -f conftest.
$ac_objext conftest
$ac_exeext
39732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39733 (eval $ac_link) 2>conftest.er1
39735 grep -v '^ *+' conftest.er1
>conftest.err
39737 cat conftest.err
>&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); } &&
39740 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; } &&
39746 { ac_try
='test -s conftest$ac_exeext'
39747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39748 (eval $ac_try) 2>&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); }; }; then
39752 ac_cv_lib_posix4_sched_yield
=yes
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.
$ac_ext >&5
39757 ac_cv_lib_posix4_sched_yield
=no
39759 rm -f conftest.err conftest.
$ac_objext \
39760 conftest
$ac_exeext conftest.
$ac_ext
39761 LIBS
=$ac_check_lib_save_LIBS
39763 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39764 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39765 if test $ac_cv_lib_posix4_sched_yield = yes; then
39766 cat >>confdefs.h
<<\_ACEOF
39767 #define HAVE_SCHED_YIELD 1
39769 POSIX4_LINK
=" -lposix4"
39771 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39772 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39783 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39784 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39785 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39786 echo $ECHO_N "(cached) $ECHO_C" >&6
39788 cat >conftest.
$ac_ext <<_ACEOF
39791 cat confdefs.h
>>conftest.
$ac_ext
39792 cat >>conftest.
$ac_ext <<_ACEOF
39793 /* end confdefs.h. */
39794 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39796 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39798 /* System header to define __stub macros and hopefully few prototypes,
39799 which can conflict with char pthread_attr_getschedpolicy (); below.
39800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39801 <limits.h> exists even on freestanding compilers. */
39804 # include <limits.h>
39806 # include <assert.h>
39809 #undef pthread_attr_getschedpolicy
39811 /* Override any gcc2 internal prototype to avoid an error. */
39816 /* We use char because int might match the return type of a gcc2
39817 builtin and then its argument prototype would still apply. */
39818 char pthread_attr_getschedpolicy ();
39819 /* The GNU C library defines this for functions which it implements
39820 to always fail with ENOSYS. Some functions are actually named
39821 something starting with __ and the normal name is an alias. */
39822 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39825 char (*f) () = pthread_attr_getschedpolicy;
39834 return f != pthread_attr_getschedpolicy;
39839 rm -f conftest.
$ac_objext conftest
$ac_exeext
39840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39841 (eval $ac_link) 2>conftest.er1
39843 grep -v '^ *+' conftest.er1
>conftest.err
39845 cat conftest.err
>&5
39846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39847 (exit $ac_status); } &&
39848 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39850 (eval $ac_try) 2>&5
39852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39853 (exit $ac_status); }; } &&
39854 { ac_try
='test -s conftest$ac_exeext'
39855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39856 (eval $ac_try) 2>&5
39858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859 (exit $ac_status); }; }; then
39860 ac_cv_func_pthread_attr_getschedpolicy
=yes
39862 echo "$as_me: failed program was:" >&5
39863 sed 's/^/| /' conftest.
$ac_ext >&5
39865 ac_cv_func_pthread_attr_getschedpolicy
=no
39867 rm -f conftest.err conftest.
$ac_objext \
39868 conftest
$ac_exeext conftest.
$ac_ext
39870 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39871 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39872 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39873 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39874 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39875 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39876 echo $ECHO_N "(cached) $ECHO_C" >&6
39878 cat >conftest.
$ac_ext <<_ACEOF
39881 cat confdefs.h
>>conftest.
$ac_ext
39882 cat >>conftest.
$ac_ext <<_ACEOF
39883 /* end confdefs.h. */
39884 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39886 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39888 /* System header to define __stub macros and hopefully few prototypes,
39889 which can conflict with char pthread_attr_setschedparam (); below.
39890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39891 <limits.h> exists even on freestanding compilers. */
39894 # include <limits.h>
39896 # include <assert.h>
39899 #undef pthread_attr_setschedparam
39901 /* Override any gcc2 internal prototype to avoid an error. */
39906 /* We use char because int might match the return type of a gcc2
39907 builtin and then its argument prototype would still apply. */
39908 char pthread_attr_setschedparam ();
39909 /* The GNU C library defines this for functions which it implements
39910 to always fail with ENOSYS. Some functions are actually named
39911 something starting with __ and the normal name is an alias. */
39912 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39915 char (*f) () = pthread_attr_setschedparam;
39924 return f != pthread_attr_setschedparam;
39929 rm -f conftest.
$ac_objext conftest
$ac_exeext
39930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39931 (eval $ac_link) 2>conftest.er1
39933 grep -v '^ *+' conftest.er1
>conftest.err
39935 cat conftest.err
>&5
39936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937 (exit $ac_status); } &&
39938 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39940 (eval $ac_try) 2>&5
39942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39943 (exit $ac_status); }; } &&
39944 { ac_try
='test -s conftest$ac_exeext'
39945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39946 (eval $ac_try) 2>&5
39948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39949 (exit $ac_status); }; }; then
39950 ac_cv_func_pthread_attr_setschedparam
=yes
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.
$ac_ext >&5
39955 ac_cv_func_pthread_attr_setschedparam
=no
39957 rm -f conftest.err conftest.
$ac_objext \
39958 conftest
$ac_exeext conftest.
$ac_ext
39960 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39961 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39962 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39963 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39964 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39965 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39966 echo $ECHO_N "(cached) $ECHO_C" >&6
39968 cat >conftest.
$ac_ext <<_ACEOF
39971 cat confdefs.h
>>conftest.
$ac_ext
39972 cat >>conftest.
$ac_ext <<_ACEOF
39973 /* end confdefs.h. */
39974 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39976 #define sched_get_priority_max innocuous_sched_get_priority_max
39978 /* System header to define __stub macros and hopefully few prototypes,
39979 which can conflict with char sched_get_priority_max (); below.
39980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39981 <limits.h> exists even on freestanding compilers. */
39984 # include <limits.h>
39986 # include <assert.h>
39989 #undef sched_get_priority_max
39991 /* Override any gcc2 internal prototype to avoid an error. */
39996 /* We use char because int might match the return type of a gcc2
39997 builtin and then its argument prototype would still apply. */
39998 char sched_get_priority_max ();
39999 /* The GNU C library defines this for functions which it implements
40000 to always fail with ENOSYS. Some functions are actually named
40001 something starting with __ and the normal name is an alias. */
40002 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40005 char (*f) () = sched_get_priority_max;
40014 return f != sched_get_priority_max;
40019 rm -f conftest.
$ac_objext conftest
$ac_exeext
40020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40021 (eval $ac_link) 2>conftest.er1
40023 grep -v '^ *+' conftest.er1
>conftest.err
40025 cat conftest.err
>&5
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); } &&
40028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030 (eval $ac_try) 2>&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; } &&
40034 { ac_try
='test -s conftest$ac_exeext'
40035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036 (eval $ac_try) 2>&5
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); }; }; then
40040 ac_cv_func_sched_get_priority_max
=yes
40042 echo "$as_me: failed program was:" >&5
40043 sed 's/^/| /' conftest.
$ac_ext >&5
40045 ac_cv_func_sched_get_priority_max
=no
40047 rm -f conftest.err conftest.
$ac_objext \
40048 conftest
$ac_exeext conftest.
$ac_ext
40050 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40051 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40052 if test $ac_cv_func_sched_get_priority_max = yes; then
40055 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40056 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40057 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40058 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 ac_check_lib_save_LIBS
=$LIBS
40061 LIBS
="-lposix4 $LIBS"
40062 cat >conftest.
$ac_ext <<_ACEOF
40065 cat confdefs.h
>>conftest.
$ac_ext
40066 cat >>conftest.
$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40069 /* Override any gcc2 internal prototype to avoid an error. */
40073 /* We use char because int might match the return type of a gcc2
40074 builtin and then its argument prototype would still apply. */
40075 char sched_get_priority_max ();
40079 sched_get_priority_max ();
40084 rm -f conftest.
$ac_objext conftest
$ac_exeext
40085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40086 (eval $ac_link) 2>conftest.er1
40088 grep -v '^ *+' conftest.er1
>conftest.err
40090 cat conftest.err
>&5
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); } &&
40093 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40095 (eval $ac_try) 2>&5
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); }; } &&
40099 { ac_try
='test -s conftest$ac_exeext'
40100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40101 (eval $ac_try) 2>&5
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); }; }; then
40105 ac_cv_lib_posix4_sched_get_priority_max
=yes
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.
$ac_ext >&5
40110 ac_cv_lib_posix4_sched_get_priority_max
=no
40112 rm -f conftest.err conftest.
$ac_objext \
40113 conftest
$ac_exeext conftest.
$ac_ext
40114 LIBS
=$ac_check_lib_save_LIBS
40116 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40117 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40118 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40121 POSIX4_LINK
=" -lposix4"
40135 if test "$HAVE_PRIOR_FUNCS" = 1; then
40136 cat >>confdefs.h
<<\_ACEOF
40137 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40141 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40142 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40145 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40146 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40147 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40148 echo $ECHO_N "(cached) $ECHO_C" >&6
40150 cat >conftest.
$ac_ext <<_ACEOF
40153 cat confdefs.h
>>conftest.
$ac_ext
40154 cat >>conftest.
$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40158 #define pthread_cancel innocuous_pthread_cancel
40160 /* System header to define __stub macros and hopefully few prototypes,
40161 which can conflict with char pthread_cancel (); below.
40162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40163 <limits.h> exists even on freestanding compilers. */
40166 # include <limits.h>
40168 # include <assert.h>
40171 #undef pthread_cancel
40173 /* Override any gcc2 internal prototype to avoid an error. */
40178 /* We use char because int might match the return type of a gcc2
40179 builtin and then its argument prototype would still apply. */
40180 char pthread_cancel ();
40181 /* The GNU C library defines this for functions which it implements
40182 to always fail with ENOSYS. Some functions are actually named
40183 something starting with __ and the normal name is an alias. */
40184 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40187 char (*f) () = pthread_cancel;
40196 return f != pthread_cancel;
40201 rm -f conftest.
$ac_objext conftest
$ac_exeext
40202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40203 (eval $ac_link) 2>conftest.er1
40205 grep -v '^ *+' conftest.er1
>conftest.err
40207 cat conftest.err
>&5
40208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); } &&
40210 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40212 (eval $ac_try) 2>&5
40214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40215 (exit $ac_status); }; } &&
40216 { ac_try
='test -s conftest$ac_exeext'
40217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40218 (eval $ac_try) 2>&5
40220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221 (exit $ac_status); }; }; then
40222 ac_cv_func_pthread_cancel
=yes
40224 echo "$as_me: failed program was:" >&5
40225 sed 's/^/| /' conftest.
$ac_ext >&5
40227 ac_cv_func_pthread_cancel
=no
40229 rm -f conftest.err conftest.
$ac_objext \
40230 conftest
$ac_exeext conftest.
$ac_ext
40232 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40233 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40234 if test $ac_cv_func_pthread_cancel = yes; then
40235 cat >>confdefs.h
<<\_ACEOF
40236 #define HAVE_PTHREAD_CANCEL 1
40240 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40241 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40245 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40246 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40247 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40248 echo $ECHO_N "(cached) $ECHO_C" >&6
40250 cat >conftest.
$ac_ext <<_ACEOF
40253 cat confdefs.h
>>conftest.
$ac_ext
40254 cat >>conftest.
$ac_ext <<_ACEOF
40255 /* end confdefs.h. */
40256 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40258 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40260 /* System header to define __stub macros and hopefully few prototypes,
40261 which can conflict with char pthread_attr_setstacksize (); below.
40262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40263 <limits.h> exists even on freestanding compilers. */
40266 # include <limits.h>
40268 # include <assert.h>
40271 #undef pthread_attr_setstacksize
40273 /* Override any gcc2 internal prototype to avoid an error. */
40278 /* We use char because int might match the return type of a gcc2
40279 builtin and then its argument prototype would still apply. */
40280 char pthread_attr_setstacksize ();
40281 /* The GNU C library defines this for functions which it implements
40282 to always fail with ENOSYS. Some functions are actually named
40283 something starting with __ and the normal name is an alias. */
40284 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40287 char (*f) () = pthread_attr_setstacksize;
40296 return f != pthread_attr_setstacksize;
40301 rm -f conftest.
$ac_objext conftest
$ac_exeext
40302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40303 (eval $ac_link) 2>conftest.er1
40305 grep -v '^ *+' conftest.er1
>conftest.err
40307 cat conftest.err
>&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } &&
40310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40312 (eval $ac_try) 2>&5
40314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315 (exit $ac_status); }; } &&
40316 { ac_try
='test -s conftest$ac_exeext'
40317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40318 (eval $ac_try) 2>&5
40320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40321 (exit $ac_status); }; }; then
40322 ac_cv_func_pthread_attr_setstacksize
=yes
40324 echo "$as_me: failed program was:" >&5
40325 sed 's/^/| /' conftest.
$ac_ext >&5
40327 ac_cv_func_pthread_attr_setstacksize
=no
40329 rm -f conftest.err conftest.
$ac_objext \
40330 conftest
$ac_exeext conftest.
$ac_ext
40332 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40333 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40334 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40335 cat >>confdefs.h
<<\_ACEOF
40336 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40343 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40344 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40345 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40346 echo $ECHO_N "(cached) $ECHO_C" >&6
40349 cat >conftest.
$ac_ext <<_ACEOF
40352 cat confdefs.h
>>conftest.
$ac_ext
40353 cat >>conftest.
$ac_ext <<_ACEOF
40354 /* end confdefs.h. */
40355 #include <pthread.h>
40360 pthread_mutexattr_t attr;
40361 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40367 rm -f conftest.
$ac_objext
40368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40369 (eval $ac_compile) 2>conftest.er1
40371 grep -v '^ *+' conftest.er1
>conftest.err
40373 cat conftest.err
>&5
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); } &&
40376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40378 (eval $ac_try) 2>&5
40380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40381 (exit $ac_status); }; } &&
40382 { ac_try
='test -s conftest.$ac_objext'
40383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40384 (eval $ac_try) 2>&5
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); }; }; then
40388 wx_cv_type_pthread_mutexattr_t
=yes
40390 echo "$as_me: failed program was:" >&5
40391 sed 's/^/| /' conftest.
$ac_ext >&5
40393 wx_cv_type_pthread_mutexattr_t
=no
40396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40399 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40400 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40402 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40403 cat >>confdefs.h
<<\_ACEOF
40404 #define HAVE_PTHREAD_MUTEXATTR_T 1
40408 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40409 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40410 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40411 echo $ECHO_N "(cached) $ECHO_C" >&6
40414 cat >conftest.
$ac_ext <<_ACEOF
40417 cat confdefs.h
>>conftest.
$ac_ext
40418 cat >>conftest.
$ac_ext <<_ACEOF
40419 /* end confdefs.h. */
40420 #include <pthread.h>
40425 pthread_mutexattr_t attr;
40426 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40432 rm -f conftest.
$ac_objext
40433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40434 (eval $ac_compile) 2>conftest.er1
40436 grep -v '^ *+' conftest.er1
>conftest.err
40438 cat conftest.err
>&5
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); } &&
40441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40443 (eval $ac_try) 2>&5
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); }; } &&
40447 { ac_try
='test -s conftest.$ac_objext'
40448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40449 (eval $ac_try) 2>&5
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); }; }; then
40453 wx_cv_func_pthread_mutexattr_settype_decl
=yes
40455 echo "$as_me: failed program was:" >&5
40456 sed 's/^/| /' conftest.
$ac_ext >&5
40458 wx_cv_func_pthread_mutexattr_settype_decl
=no
40461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40464 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40465 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40466 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40467 cat >>confdefs.h
<<\_ACEOF
40468 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40473 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40474 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40475 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40476 echo $ECHO_N "(cached) $ECHO_C" >&6
40479 cat >conftest.
$ac_ext <<_ACEOF
40482 cat confdefs.h
>>conftest.
$ac_ext
40483 cat >>conftest.
$ac_ext <<_ACEOF
40484 /* end confdefs.h. */
40485 #include <pthread.h>
40490 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40496 rm -f conftest.
$ac_objext
40497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40498 (eval $ac_compile) 2>conftest.er1
40500 grep -v '^ *+' conftest.er1
>conftest.err
40502 cat conftest.err
>&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); } &&
40505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40507 (eval $ac_try) 2>&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); }; } &&
40511 { ac_try
='test -s conftest.$ac_objext'
40512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40513 (eval $ac_try) 2>&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); }; }; then
40518 wx_cv_type_pthread_rec_mutex_init
=yes
40521 echo "$as_me: failed program was:" >&5
40522 sed 's/^/| /' conftest.
$ac_ext >&5
40525 wx_cv_type_pthread_rec_mutex_init
=no
40529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40532 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40533 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40534 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40535 cat >>confdefs.h
<<\_ACEOF
40536 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40540 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40541 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40547 if test "$wxUSE_THREADS" = "yes" ; then
40550 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40551 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40552 if test "${wx_cv_cflags_mthread+set}" = set; then
40553 echo $ECHO_N "(cached) $ECHO_C" >&6
40556 CXXFLAGS_OLD
="$CXXFLAGS"
40557 CXXFLAGS
="-mthreads $CXXFLAGS"
40558 cat >conftest.
$ac_ext <<_ACEOF
40561 cat confdefs.h
>>conftest.
$ac_ext
40562 cat >>conftest.
$ac_ext <<_ACEOF
40563 /* end confdefs.h. */
40573 rm -f conftest.
$ac_objext
40574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40575 (eval $ac_compile) 2>conftest.er1
40577 grep -v '^ *+' conftest.er1
>conftest.err
40579 cat conftest.err
>&5
40580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581 (exit $ac_status); } &&
40582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40584 (eval $ac_try) 2>&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); }; } &&
40588 { ac_try
='test -s conftest.$ac_objext'
40589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40590 (eval $ac_try) 2>&5
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); }; }; then
40594 wx_cv_cflags_mthread
=yes
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.
$ac_ext >&5
40599 wx_cv_cflags_mthread
=no
40602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40606 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40607 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40609 if test "$wx_cv_cflags_mthread" = "yes"; then
40610 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -mthreads"
40611 LDFLAGS
="$LDFLAGS -mthreads"
40613 CXXFLAGS
="$CXXFLAGS_OLD"
40617 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40618 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40619 LDFLAGS
="$LDFLAGS -Zmt"
40625 echo "$as_me:$LINENO: checking for localtime_r" >&5
40626 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40627 if test "${ac_cv_func_localtime_r+set}" = set; then
40628 echo $ECHO_N "(cached) $ECHO_C" >&6
40630 cat >conftest.
$ac_ext <<_ACEOF
40633 cat confdefs.h
>>conftest.
$ac_ext
40634 cat >>conftest.
$ac_ext <<_ACEOF
40635 /* end confdefs.h. */
40636 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40638 #define localtime_r innocuous_localtime_r
40640 /* System header to define __stub macros and hopefully few prototypes,
40641 which can conflict with char localtime_r (); below.
40642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40643 <limits.h> exists even on freestanding compilers. */
40646 # include <limits.h>
40648 # include <assert.h>
40653 /* Override any gcc2 internal prototype to avoid an error. */
40658 /* We use char because int might match the return type of a gcc2
40659 builtin and then its argument prototype would still apply. */
40660 char localtime_r ();
40661 /* The GNU C library defines this for functions which it implements
40662 to always fail with ENOSYS. Some functions are actually named
40663 something starting with __ and the normal name is an alias. */
40664 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40667 char (*f) () = localtime_r;
40676 return f != localtime_r;
40681 rm -f conftest.
$ac_objext conftest
$ac_exeext
40682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40683 (eval $ac_link) 2>conftest.er1
40685 grep -v '^ *+' conftest.er1
>conftest.err
40687 cat conftest.err
>&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } &&
40690 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40692 (eval $ac_try) 2>&5
40694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40695 (exit $ac_status); }; } &&
40696 { ac_try
='test -s conftest$ac_exeext'
40697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40698 (eval $ac_try) 2>&5
40700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40701 (exit $ac_status); }; }; then
40702 ac_cv_func_localtime_r
=yes
40704 echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.
$ac_ext >&5
40707 ac_cv_func_localtime_r
=no
40709 rm -f conftest.err conftest.
$ac_objext \
40710 conftest
$ac_exeext conftest.
$ac_ext
40712 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40713 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40714 if test $ac_cv_func_localtime_r = yes; then
40715 cat >>confdefs.h
<<\_ACEOF
40716 #define HAVE_LOCALTIME_R 1
40721 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40722 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40723 if test "${ac_cv_func_gmtime_r+set}" = set; then
40724 echo $ECHO_N "(cached) $ECHO_C" >&6
40726 cat >conftest.
$ac_ext <<_ACEOF
40729 cat confdefs.h
>>conftest.
$ac_ext
40730 cat >>conftest.
$ac_ext <<_ACEOF
40731 /* end confdefs.h. */
40732 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40734 #define gmtime_r innocuous_gmtime_r
40736 /* System header to define __stub macros and hopefully few prototypes,
40737 which can conflict with char gmtime_r (); below.
40738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40739 <limits.h> exists even on freestanding compilers. */
40742 # include <limits.h>
40744 # include <assert.h>
40749 /* Override any gcc2 internal prototype to avoid an error. */
40754 /* We use char because int might match the return type of a gcc2
40755 builtin and then its argument prototype would still apply. */
40757 /* The GNU C library defines this for functions which it implements
40758 to always fail with ENOSYS. Some functions are actually named
40759 something starting with __ and the normal name is an alias. */
40760 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40763 char (*f) () = gmtime_r;
40772 return f != gmtime_r;
40777 rm -f conftest.
$ac_objext conftest
$ac_exeext
40778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40779 (eval $ac_link) 2>conftest.er1
40781 grep -v '^ *+' conftest.er1
>conftest.err
40783 cat conftest.err
>&5
40784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40785 (exit $ac_status); } &&
40786 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40788 (eval $ac_try) 2>&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); }; } &&
40792 { ac_try
='test -s conftest$ac_exeext'
40793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40794 (eval $ac_try) 2>&5
40796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40797 (exit $ac_status); }; }; then
40798 ac_cv_func_gmtime_r
=yes
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.
$ac_ext >&5
40803 ac_cv_func_gmtime_r
=no
40805 rm -f conftest.err conftest.
$ac_objext \
40806 conftest
$ac_exeext conftest.
$ac_ext
40808 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40809 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40810 if test $ac_cv_func_gmtime_r = yes; then
40811 cat >>confdefs.h
<<\_ACEOF
40812 #define HAVE_GMTIME_R 1
40817 echo "$as_me:$LINENO: checking for readdir_r" >&5
40818 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40819 if test "${ac_cv_func_readdir_r+set}" = set; then
40820 echo $ECHO_N "(cached) $ECHO_C" >&6
40822 cat >conftest.
$ac_ext <<_ACEOF
40825 cat confdefs.h
>>conftest.
$ac_ext
40826 cat >>conftest.
$ac_ext <<_ACEOF
40827 /* end confdefs.h. */
40828 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40830 #define readdir_r innocuous_readdir_r
40832 /* System header to define __stub macros and hopefully few prototypes,
40833 which can conflict with char readdir_r (); below.
40834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40835 <limits.h> exists even on freestanding compilers. */
40838 # include <limits.h>
40840 # include <assert.h>
40845 /* Override any gcc2 internal prototype to avoid an error. */
40850 /* We use char because int might match the return type of a gcc2
40851 builtin and then its argument prototype would still apply. */
40853 /* The GNU C library defines this for functions which it implements
40854 to always fail with ENOSYS. Some functions are actually named
40855 something starting with __ and the normal name is an alias. */
40856 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40859 char (*f) () = readdir_r;
40868 return f != readdir_r;
40873 rm -f conftest.
$ac_objext conftest
$ac_exeext
40874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40875 (eval $ac_link) 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_cxx_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_exeext'
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_readdir_r
=yes
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.
$ac_ext >&5
40899 ac_cv_func_readdir_r
=no
40901 rm -f conftest.err conftest.
$ac_objext \
40902 conftest
$ac_exeext conftest.
$ac_ext
40904 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40905 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40906 if test $ac_cv_func_readdir_r = yes; then
40907 cat >>confdefs.h
<<\_ACEOF
40908 #define HAVE_READDIR_R 1
40917 ac_cpp
='$CPP $CPPFLAGS'
40918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40922 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40923 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40925 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40926 echo $ECHO_N "(cached) $ECHO_C" >&6
40930 ################################################################
40932 ac_cv_func_which_gethostbyname_r
=unknown
40935 # ONE ARGUMENT (sanity check)
40938 # This should fail, as there is no variant of gethostbyname_r() that takes
40939 # a single argument. If it actually compiles, then we can assume that
40940 # netdb.h is not declaring the function, and the compiler is thereby
40941 # assuming an implicit prototype. In which case, we're out of luck.
40943 cat >conftest.
$ac_ext <<_ACEOF
40946 cat confdefs.h
>>conftest.
$ac_ext
40947 cat >>conftest.
$ac_ext <<_ACEOF
40948 /* end confdefs.h. */
40954 char *name = "www.gnu.org";
40955 (void)gethostbyname_r(name) /* ; */
40961 rm -f conftest.
$ac_objext
40962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40963 (eval $ac_compile) 2>conftest.er1
40965 grep -v '^ *+' conftest.er1
>conftest.err
40967 cat conftest.err
>&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } &&
40970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40972 (eval $ac_try) 2>&5
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); }; } &&
40976 { ac_try
='test -s conftest.$ac_objext'
40977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40978 (eval $ac_try) 2>&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); }; }; then
40982 ac_cv_func_which_gethostbyname_r
=no
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.
$ac_ext >&5
40988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40995 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40997 cat >conftest.
$ac_ext <<_ACEOF
41000 cat confdefs.h
>>conftest.
$ac_ext
41001 cat >>conftest.
$ac_ext <<_ACEOF
41002 /* end confdefs.h. */
41008 char *name = "www.gnu.org";
41009 struct hostent ret, *retp;
41013 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41019 rm -f conftest.
$ac_objext
41020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41021 (eval $ac_compile) 2>conftest.er1
41023 grep -v '^ *+' conftest.er1
>conftest.err
41025 cat conftest.err
>&5
41026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027 (exit $ac_status); } &&
41028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41030 (eval $ac_try) 2>&5
41032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41033 (exit $ac_status); }; } &&
41034 { ac_try
='test -s conftest.$ac_objext'
41035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41036 (eval $ac_try) 2>&5
41038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41039 (exit $ac_status); }; }; then
41040 ac_cv_func_which_gethostbyname_r
=six
41042 echo "$as_me: failed program was:" >&5
41043 sed 's/^/| /' conftest.
$ac_ext >&5
41046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41055 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41057 cat >conftest.
$ac_ext <<_ACEOF
41060 cat confdefs.h
>>conftest.
$ac_ext
41061 cat >>conftest.
$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41068 char *name = "www.gnu.org";
41069 struct hostent ret;
41073 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41079 rm -f conftest.
$ac_objext
41080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41081 (eval $ac_compile) 2>conftest.er1
41083 grep -v '^ *+' conftest.er1
>conftest.err
41085 cat conftest.err
>&5
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); } &&
41088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41090 (eval $ac_try) 2>&5
41092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41093 (exit $ac_status); }; } &&
41094 { ac_try
='test -s conftest.$ac_objext'
41095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41096 (eval $ac_try) 2>&5
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); }; }; then
41100 ac_cv_func_which_gethostbyname_r
=five
41102 echo "$as_me: failed program was:" >&5
41103 sed 's/^/| /' conftest.
$ac_ext >&5
41106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41112 # (e.g. AIX, HP-UX, Tru64)
41115 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41117 cat >conftest.
$ac_ext <<_ACEOF
41120 cat confdefs.h
>>conftest.
$ac_ext
41121 cat >>conftest.
$ac_ext <<_ACEOF
41122 /* end confdefs.h. */
41128 char *name = "www.gnu.org";
41129 struct hostent ret;
41130 struct hostent_data data;
41131 (void)gethostbyname_r(name, &ret, &data) /* ; */
41137 rm -f conftest.
$ac_objext
41138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41139 (eval $ac_compile) 2>conftest.er1
41141 grep -v '^ *+' conftest.er1
>conftest.err
41143 cat conftest.err
>&5
41144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41145 (exit $ac_status); } &&
41146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41148 (eval $ac_try) 2>&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); }; } &&
41152 { ac_try
='test -s conftest.$ac_objext'
41153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41154 (eval $ac_try) 2>&5
41156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41157 (exit $ac_status); }; }; then
41158 ac_cv_func_which_gethostbyname_r
=three
41160 echo "$as_me: failed program was:" >&5
41161 sed 's/^/| /' conftest.
$ac_ext >&5
41164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41168 ################################################################
41173 case "$ac_cv_func_which_gethostbyname_r" in
41175 echo "$as_me:$LINENO: result: three" >&5
41176 echo "${ECHO_T}three" >&6
41177 cat >>confdefs.h
<<\_ACEOF
41178 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41184 echo "$as_me:$LINENO: result: five" >&5
41185 echo "${ECHO_T}five" >&6
41186 cat >>confdefs.h
<<\_ACEOF
41187 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41193 echo "$as_me:$LINENO: result: six" >&5
41194 echo "${ECHO_T}six" >&6
41195 cat >>confdefs.h
<<\_ACEOF
41196 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41202 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41203 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41207 echo "$as_me:$LINENO: result: can't tell" >&5
41208 echo "${ECHO_T}can't tell" >&6
41212 { { echo "$as_me:$LINENO: error: internal error" >&5
41213 echo "$as_me: error: internal error" >&2;}
41214 { (exit 1); exit 1; }; }
41219 ac_cpp
='$CXXCPP $CPPFLAGS'
41220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41226 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41227 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41228 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41229 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41230 if test "${ac_cv_func_gethostbyname+set}" = set; then
41231 echo $ECHO_N "(cached) $ECHO_C" >&6
41233 cat >conftest.
$ac_ext <<_ACEOF
41236 cat confdefs.h
>>conftest.
$ac_ext
41237 cat >>conftest.
$ac_ext <<_ACEOF
41238 /* end confdefs.h. */
41239 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41241 #define gethostbyname innocuous_gethostbyname
41243 /* System header to define __stub macros and hopefully few prototypes,
41244 which can conflict with char gethostbyname (); below.
41245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41246 <limits.h> exists even on freestanding compilers. */
41249 # include <limits.h>
41251 # include <assert.h>
41254 #undef gethostbyname
41256 /* Override any gcc2 internal prototype to avoid an error. */
41261 /* We use char because int might match the return type of a gcc2
41262 builtin and then its argument prototype would still apply. */
41263 char gethostbyname ();
41264 /* The GNU C library defines this for functions which it implements
41265 to always fail with ENOSYS. Some functions are actually named
41266 something starting with __ and the normal name is an alias. */
41267 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41270 char (*f) () = gethostbyname;
41279 return f != gethostbyname;
41284 rm -f conftest.
$ac_objext conftest
$ac_exeext
41285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41286 (eval $ac_link) 2>conftest.er1
41288 grep -v '^ *+' conftest.er1
>conftest.err
41290 cat conftest.err
>&5
41291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292 (exit $ac_status); } &&
41293 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41295 (eval $ac_try) 2>&5
41297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41298 (exit $ac_status); }; } &&
41299 { ac_try
='test -s conftest$ac_exeext'
41300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41301 (eval $ac_try) 2>&5
41303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41304 (exit $ac_status); }; }; then
41305 ac_cv_func_gethostbyname
=yes
41307 echo "$as_me: failed program was:" >&5
41308 sed 's/^/| /' conftest.
$ac_ext >&5
41310 ac_cv_func_gethostbyname
=no
41312 rm -f conftest.err conftest.
$ac_objext \
41313 conftest
$ac_exeext conftest.
$ac_ext
41315 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41316 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41317 if test $ac_cv_func_gethostbyname = yes; then
41318 cat >>confdefs.h
<<\_ACEOF
41319 #define HAVE_GETHOSTBYNAME 1
41326 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41327 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41328 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41329 echo $ECHO_N "(cached) $ECHO_C" >&6
41332 cat >conftest.
$ac_ext <<_ACEOF
41335 cat confdefs.h
>>conftest.
$ac_ext
41336 cat >>conftest.
$ac_ext <<_ACEOF
41337 /* end confdefs.h. */
41345 struct servent *se, *res;
41348 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41354 rm -f conftest.
$ac_objext
41355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41356 (eval $ac_compile) 2>conftest.er1
41358 grep -v '^ *+' conftest.er1
>conftest.err
41360 cat conftest.err
>&5
41361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362 (exit $ac_status); } &&
41363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41365 (eval $ac_try) 2>&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); }; } &&
41369 { ac_try
='test -s conftest.$ac_objext'
41370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41371 (eval $ac_try) 2>&5
41373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41374 (exit $ac_status); }; }; then
41375 ac_cv_func_which_getservbyname_r
=six
41377 echo "$as_me: failed program was:" >&5
41378 sed 's/^/| /' conftest.
$ac_ext >&5
41381 cat >conftest.
$ac_ext <<_ACEOF
41384 cat confdefs.h
>>conftest.
$ac_ext
41385 cat >>conftest.
$ac_ext <<_ACEOF
41386 /* end confdefs.h. */
41394 struct servent *se;
41397 (void) getservbyname_r(name, proto, se, buffer, buflen)
41403 rm -f conftest.
$ac_objext
41404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41405 (eval $ac_compile) 2>conftest.er1
41407 grep -v '^ *+' conftest.er1
>conftest.err
41409 cat conftest.err
>&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); } &&
41412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41414 (eval $ac_try) 2>&5
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); }; } &&
41418 { ac_try
='test -s conftest.$ac_objext'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; }; then
41424 ac_cv_func_which_getservbyname_r
=five
41426 echo "$as_me: failed program was:" >&5
41427 sed 's/^/| /' conftest.
$ac_ext >&5
41430 cat >conftest.
$ac_ext <<_ACEOF
41433 cat confdefs.h
>>conftest.
$ac_ext
41434 cat >>conftest.
$ac_ext <<_ACEOF
41435 /* end confdefs.h. */
41443 struct servent *se;
41444 struct servent_data data;
41445 (void) getservbyname_r(name, proto, se, &data);
41451 rm -f conftest.
$ac_objext
41452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41453 (eval $ac_compile) 2>conftest.er1
41455 grep -v '^ *+' conftest.er1
>conftest.err
41457 cat conftest.err
>&5
41458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459 (exit $ac_status); } &&
41460 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41462 (eval $ac_try) 2>&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); }; } &&
41466 { ac_try
='test -s conftest.$ac_objext'
41467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41468 (eval $ac_try) 2>&5
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); }; }; then
41472 ac_cv_func_which_getservbyname_r
=four
41474 echo "$as_me: failed program was:" >&5
41475 sed 's/^/| /' conftest.
$ac_ext >&5
41477 ac_cv_func_which_getservbyname_r
=no
41480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41492 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41493 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41495 if test $ac_cv_func_which_getservbyname_r = six
; then
41496 cat >>confdefs.h
<<\_ACEOF
41497 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41500 elif test $ac_cv_func_which_getservbyname_r = five
; then
41501 cat >>confdefs.h
<<\_ACEOF
41502 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41505 elif test $ac_cv_func_which_getservbyname_r = four
; then
41506 cat >>confdefs.h
<<\_ACEOF
41507 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41513 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41514 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41516 for ac_func
in getservbyname
41518 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41519 echo "$as_me:$LINENO: checking for $ac_func" >&5
41520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41521 if eval "test \"\${$as_ac_var+set}\" = set"; then
41522 echo $ECHO_N "(cached) $ECHO_C" >&6
41524 cat >conftest.
$ac_ext <<_ACEOF
41527 cat confdefs.h
>>conftest.
$ac_ext
41528 cat >>conftest.
$ac_ext <<_ACEOF
41529 /* end confdefs.h. */
41530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41532 #define $ac_func innocuous_$ac_func
41534 /* System header to define __stub macros and hopefully few prototypes,
41535 which can conflict with char $ac_func (); below.
41536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41537 <limits.h> exists even on freestanding compilers. */
41540 # include <limits.h>
41542 # include <assert.h>
41547 /* Override any gcc2 internal prototype to avoid an error. */
41552 /* We use char because int might match the return type of a gcc2
41553 builtin and then its argument prototype would still apply. */
41555 /* The GNU C library defines this for functions which it implements
41556 to always fail with ENOSYS. Some functions are actually named
41557 something starting with __ and the normal name is an alias. */
41558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41561 char (*f) () = $ac_func;
41570 return f != $ac_func;
41575 rm -f conftest.
$ac_objext conftest
$ac_exeext
41576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41577 (eval $ac_link) 2>conftest.er1
41579 grep -v '^ *+' conftest.er1
>conftest.err
41581 cat conftest.err
>&5
41582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583 (exit $ac_status); } &&
41584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41586 (eval $ac_try) 2>&5
41588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589 (exit $ac_status); }; } &&
41590 { ac_try
='test -s conftest$ac_exeext'
41591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41592 (eval $ac_try) 2>&5
41594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41595 (exit $ac_status); }; }; then
41596 eval "$as_ac_var=yes"
41598 echo "$as_me: failed program was:" >&5
41599 sed 's/^/| /' conftest.
$ac_ext >&5
41601 eval "$as_ac_var=no"
41603 rm -f conftest.err conftest.
$ac_objext \
41604 conftest
$ac_exeext conftest.
$ac_ext
41606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41608 if test `eval echo '${'$as_ac_var'}'` = yes; then
41609 cat >>confdefs.h
<<_ACEOF
41610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41612 cat >>confdefs.h
<<\_ACEOF
41613 #define HAVE_GETSERVBYNAME 1
41621 if test "$wxUSE_THREADS" = "yes"; then
41622 cat >>confdefs.h
<<\_ACEOF
41623 #define wxUSE_THREADS 1
41627 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
41629 if test "$wx_cv_func_strtok_r" = "yes"; then
41630 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41631 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41632 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41633 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41634 echo "$as_me:$LINENO: result: yes" >&5
41635 echo "${ECHO_T}yes" >&6
41637 echo "$as_me:$LINENO: result: no" >&5
41638 echo "${ECHO_T}no" >&6
41643 if test "$WXGTK20" = 1 ; then
41644 cat >>confdefs.h
<<_ACEOF
41645 #define __WXGTK20__ $WXGTK20
41651 if test "$WXGTK12" = 1 ; then
41652 cat >>confdefs.h
<<_ACEOF
41653 #define __WXGTK12__ $WXGTK12
41658 if test "$WXGTK127" = 1 ; then
41659 cat >>confdefs.h
<<_ACEOF
41660 #define __WXGTK127__ $WXGTK127
41665 if test "$WXGPE" = 1 ; then
41666 cat >>confdefs.h
<<_ACEOF
41667 #define __WXGPE__ $WXGPE
41673 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41678 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41679 wxUSE_DEBUG_INFO
=yes
41680 if test "$GCC" = yes; then
41681 DEBUG_CFLAGS
="-ggdb"
41685 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41686 cat >>confdefs.h
<<\_ACEOF
41690 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41692 if test "$wxUSE_GTK" = 1 ; then
41693 if test "x$wxGTK_VERSION" = "x1" ; then
41694 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41699 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41700 cat >>confdefs.h
<<\_ACEOF
41701 #define wxUSE_MEMORY_TRACING 1
41704 cat >>confdefs.h
<<\_ACEOF
41705 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41708 cat >>confdefs.h
<<\_ACEOF
41709 #define wxUSE_DEBUG_NEW_ALWAYS 1
41712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
41715 if test "$wxUSE_DMALLOC" = "yes" ; then
41716 DMALLOC_LIBS
="-ldmallocthcxx"
41720 if test "$wxUSE_PROFILE" = "yes" ; then
41721 PROFILE_FLAGS
=" -pg"
41724 if test "$GCC" = "yes" ; then
41725 if test "$wxUSE_NO_RTTI" = "yes" ; then
41726 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
41728 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41729 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
41731 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41732 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
41737 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
41740 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
41746 if test "$wxUSE_OPTIMISE" = "no" ; then
41747 if test "$GCC" = yes ; then
41748 OPTIMISE_CFLAGS
="-O0"
41751 if test "$GCC" = yes ; then
41753 *-pc-os2_emx | *-pc-os2-emx )
41754 OPTIMISE_CFLAGS
="-O2"
41757 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
41761 OPTIMISE_CFLAGS
="-O"
41766 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41767 cat >>confdefs.h
<<\_ACEOF
41768 #define WXWIN_COMPATIBILITY_2_4 1
41772 WXWIN_COMPATIBILITY_2_6
="yes"
41775 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41776 cat >>confdefs.h
<<\_ACEOF
41777 #define WXWIN_COMPATIBILITY_2_6 1
41783 if test "$wxUSE_GUI" = "yes"; then
41784 cat >>confdefs.h
<<\_ACEOF
41785 #define wxUSE_GUI 1
41792 if test "$wxUSE_UNIX" = "yes"; then
41793 cat >>confdefs.h
<<\_ACEOF
41794 #define wxUSE_UNIX 1
41800 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41804 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41805 if test "$USE_DARWIN" = 1; then
41807 elif test "$USE_DOS" = 1; then
41811 for ac_func
in dlopen
41813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41814 echo "$as_me:$LINENO: checking for $ac_func" >&5
41815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41816 if eval "test \"\${$as_ac_var+set}\" = set"; then
41817 echo $ECHO_N "(cached) $ECHO_C" >&6
41819 cat >conftest.
$ac_ext <<_ACEOF
41822 cat confdefs.h
>>conftest.
$ac_ext
41823 cat >>conftest.
$ac_ext <<_ACEOF
41824 /* end confdefs.h. */
41825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41827 #define $ac_func innocuous_$ac_func
41829 /* System header to define __stub macros and hopefully few prototypes,
41830 which can conflict with char $ac_func (); below.
41831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41832 <limits.h> exists even on freestanding compilers. */
41835 # include <limits.h>
41837 # include <assert.h>
41842 /* Override any gcc2 internal prototype to avoid an error. */
41847 /* We use char because int might match the return type of a gcc2
41848 builtin and then its argument prototype would still apply. */
41850 /* The GNU C library defines this for functions which it implements
41851 to always fail with ENOSYS. Some functions are actually named
41852 something starting with __ and the normal name is an alias. */
41853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41856 char (*f) () = $ac_func;
41865 return f != $ac_func;
41870 rm -f conftest.
$ac_objext conftest
$ac_exeext
41871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41872 (eval $ac_link) 2>conftest.er1
41874 grep -v '^ *+' conftest.er1
>conftest.err
41876 cat conftest.err
>&5
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); } &&
41879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41881 (eval $ac_try) 2>&5
41883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41884 (exit $ac_status); }; } &&
41885 { ac_try
='test -s conftest$ac_exeext'
41886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41887 (eval $ac_try) 2>&5
41889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41890 (exit $ac_status); }; }; then
41891 eval "$as_ac_var=yes"
41893 echo "$as_me: failed program was:" >&5
41894 sed 's/^/| /' conftest.
$ac_ext >&5
41896 eval "$as_ac_var=no"
41898 rm -f conftest.err conftest.
$ac_objext \
41899 conftest
$ac_exeext conftest.
$ac_ext
41901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41903 if test `eval echo '${'$as_ac_var'}'` = yes; then
41904 cat >>confdefs.h
<<_ACEOF
41905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41908 cat >>confdefs.h
<<\_ACEOF
41909 #define HAVE_DLOPEN 1
41916 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41917 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41918 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41919 echo $ECHO_N "(cached) $ECHO_C" >&6
41921 ac_check_lib_save_LIBS
=$LIBS
41923 cat >conftest.
$ac_ext <<_ACEOF
41926 cat confdefs.h
>>conftest.
$ac_ext
41927 cat >>conftest.
$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41930 /* Override any gcc2 internal prototype to avoid an error. */
41934 /* We use char because int might match the return type of a gcc2
41935 builtin and then its argument prototype would still apply. */
41945 rm -f conftest.
$ac_objext conftest
$ac_exeext
41946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41947 (eval $ac_link) 2>conftest.er1
41949 grep -v '^ *+' conftest.er1
>conftest.err
41951 cat conftest.err
>&5
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); } &&
41954 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41956 (eval $ac_try) 2>&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); }; } &&
41960 { ac_try
='test -s conftest$ac_exeext'
41961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41962 (eval $ac_try) 2>&5
41964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41965 (exit $ac_status); }; }; then
41966 ac_cv_lib_dl_dlopen
=yes
41968 echo "$as_me: failed program was:" >&5
41969 sed 's/^/| /' conftest.
$ac_ext >&5
41971 ac_cv_lib_dl_dlopen
=no
41973 rm -f conftest.err conftest.
$ac_objext \
41974 conftest
$ac_exeext conftest.
$ac_ext
41975 LIBS
=$ac_check_lib_save_LIBS
41977 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41978 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41979 if test $ac_cv_lib_dl_dlopen = yes; then
41981 cat >>confdefs.h
<<\_ACEOF
41982 #define HAVE_DLOPEN 1
41986 DL_LINK
=" -ldl$DL_LINK"
41991 for ac_func
in shl_load
41993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41994 echo "$as_me:$LINENO: checking for $ac_func" >&5
41995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41996 if eval "test \"\${$as_ac_var+set}\" = set"; then
41997 echo $ECHO_N "(cached) $ECHO_C" >&6
41999 cat >conftest.
$ac_ext <<_ACEOF
42002 cat confdefs.h
>>conftest.
$ac_ext
42003 cat >>conftest.
$ac_ext <<_ACEOF
42004 /* end confdefs.h. */
42005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42007 #define $ac_func innocuous_$ac_func
42009 /* System header to define __stub macros and hopefully few prototypes,
42010 which can conflict with char $ac_func (); below.
42011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42012 <limits.h> exists even on freestanding compilers. */
42015 # include <limits.h>
42017 # include <assert.h>
42022 /* Override any gcc2 internal prototype to avoid an error. */
42027 /* We use char because int might match the return type of a gcc2
42028 builtin and then its argument prototype would still apply. */
42030 /* The GNU C library defines this for functions which it implements
42031 to always fail with ENOSYS. Some functions are actually named
42032 something starting with __ and the normal name is an alias. */
42033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42036 char (*f) () = $ac_func;
42045 return f != $ac_func;
42050 rm -f conftest.
$ac_objext conftest
$ac_exeext
42051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42052 (eval $ac_link) 2>conftest.er1
42054 grep -v '^ *+' conftest.er1
>conftest.err
42056 cat conftest.err
>&5
42057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42058 (exit $ac_status); } &&
42059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42061 (eval $ac_try) 2>&5
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); }; } &&
42065 { ac_try
='test -s conftest$ac_exeext'
42066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42067 (eval $ac_try) 2>&5
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; }; then
42071 eval "$as_ac_var=yes"
42073 echo "$as_me: failed program was:" >&5
42074 sed 's/^/| /' conftest.
$ac_ext >&5
42076 eval "$as_ac_var=no"
42078 rm -f conftest.err conftest.
$ac_objext \
42079 conftest
$ac_exeext conftest.
$ac_ext
42081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42083 if test `eval echo '${'$as_ac_var'}'` = yes; then
42084 cat >>confdefs.h
<<_ACEOF
42085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42088 cat >>confdefs.h
<<\_ACEOF
42089 #define HAVE_SHL_LOAD 1
42096 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42097 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42098 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42099 echo $ECHO_N "(cached) $ECHO_C" >&6
42101 ac_check_lib_save_LIBS
=$LIBS
42102 LIBS
="-lshl_load $LIBS"
42103 cat >conftest.
$ac_ext <<_ACEOF
42106 cat confdefs.h
>>conftest.
$ac_ext
42107 cat >>conftest.
$ac_ext <<_ACEOF
42108 /* end confdefs.h. */
42110 /* Override any gcc2 internal prototype to avoid an error. */
42114 /* We use char because int might match the return type of a gcc2
42115 builtin and then its argument prototype would still apply. */
42125 rm -f conftest.
$ac_objext conftest
$ac_exeext
42126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42127 (eval $ac_link) 2>conftest.er1
42129 grep -v '^ *+' conftest.er1
>conftest.err
42131 cat conftest.err
>&5
42132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133 (exit $ac_status); } &&
42134 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42136 (eval $ac_try) 2>&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); }; } &&
42140 { ac_try
='test -s conftest$ac_exeext'
42141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42142 (eval $ac_try) 2>&5
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); }; }; then
42146 ac_cv_lib_shl_load_dld
=yes
42148 echo "$as_me: failed program was:" >&5
42149 sed 's/^/| /' conftest.
$ac_ext >&5
42151 ac_cv_lib_shl_load_dld
=no
42153 rm -f conftest.err conftest.
$ac_objext \
42154 conftest
$ac_exeext conftest.
$ac_ext
42155 LIBS
=$ac_check_lib_save_LIBS
42157 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42158 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42159 if test $ac_cv_lib_shl_load_dld = yes; then
42162 DL_LINK
=" -ldld$DL_LINK"
42178 if test "$HAVE_DL_FUNCS" = 1; then
42180 for ac_func
in dlerror
42182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42183 echo "$as_me:$LINENO: checking for $ac_func" >&5
42184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42185 if eval "test \"\${$as_ac_var+set}\" = set"; then
42186 echo $ECHO_N "(cached) $ECHO_C" >&6
42188 cat >conftest.
$ac_ext <<_ACEOF
42191 cat confdefs.h
>>conftest.
$ac_ext
42192 cat >>conftest.
$ac_ext <<_ACEOF
42193 /* end confdefs.h. */
42194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42196 #define $ac_func innocuous_$ac_func
42198 /* System header to define __stub macros and hopefully few prototypes,
42199 which can conflict with char $ac_func (); below.
42200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42201 <limits.h> exists even on freestanding compilers. */
42204 # include <limits.h>
42206 # include <assert.h>
42211 /* Override any gcc2 internal prototype to avoid an error. */
42216 /* We use char because int might match the return type of a gcc2
42217 builtin and then its argument prototype would still apply. */
42219 /* The GNU C library defines this for functions which it implements
42220 to always fail with ENOSYS. Some functions are actually named
42221 something starting with __ and the normal name is an alias. */
42222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42225 char (*f) () = $ac_func;
42234 return f != $ac_func;
42239 rm -f conftest.
$ac_objext conftest
$ac_exeext
42240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42241 (eval $ac_link) 2>conftest.er1
42243 grep -v '^ *+' conftest.er1
>conftest.err
42245 cat conftest.err
>&5
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); } &&
42248 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; } &&
42254 { ac_try
='test -s conftest$ac_exeext'
42255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42256 (eval $ac_try) 2>&5
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); }; }; then
42260 eval "$as_ac_var=yes"
42262 echo "$as_me: failed program was:" >&5
42263 sed 's/^/| /' conftest.
$ac_ext >&5
42265 eval "$as_ac_var=no"
42267 rm -f conftest.err conftest.
$ac_objext \
42268 conftest
$ac_exeext conftest.
$ac_ext
42270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42272 if test `eval echo '${'$as_ac_var'}'` = yes; then
42273 cat >>confdefs.h
<<_ACEOF
42274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42276 cat >>confdefs.h
<<\_ACEOF
42277 #define HAVE_DLERROR 1
42282 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42283 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42284 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42285 echo $ECHO_N "(cached) $ECHO_C" >&6
42287 ac_check_lib_save_LIBS
=$LIBS
42289 cat >conftest.
$ac_ext <<_ACEOF
42292 cat confdefs.h
>>conftest.
$ac_ext
42293 cat >>conftest.
$ac_ext <<_ACEOF
42294 /* end confdefs.h. */
42296 /* Override any gcc2 internal prototype to avoid an error. */
42300 /* We use char because int might match the return type of a gcc2
42301 builtin and then its argument prototype would still apply. */
42311 rm -f conftest.
$ac_objext conftest
$ac_exeext
42312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42313 (eval $ac_link) 2>conftest.er1
42315 grep -v '^ *+' conftest.er1
>conftest.err
42317 cat conftest.err
>&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } &&
42320 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322 (eval $ac_try) 2>&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; } &&
42326 { ac_try
='test -s conftest$ac_exeext'
42327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42328 (eval $ac_try) 2>&5
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); }; }; then
42332 ac_cv_lib_dl_dlerror
=yes
42334 echo "$as_me: failed program was:" >&5
42335 sed 's/^/| /' conftest.
$ac_ext >&5
42337 ac_cv_lib_dl_dlerror
=no
42339 rm -f conftest.err conftest.
$ac_objext \
42340 conftest
$ac_exeext conftest.
$ac_ext
42341 LIBS
=$ac_check_lib_save_LIBS
42343 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42344 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42345 if test $ac_cv_lib_dl_dlerror = yes; then
42346 cat >>confdefs.h
<<\_ACEOF
42347 #define HAVE_DLERROR 1
42360 if test "$HAVE_DL_FUNCS" = 0; then
42361 if test "$HAVE_SHL_FUNCS" = 0; then
42362 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42363 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42364 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42365 wxUSE_DYNAMIC_LOADER
=no
42366 wxUSE_DYNLIB_CLASS
=no
42368 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42369 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42376 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42377 cat >>confdefs.h
<<\_ACEOF
42378 #define wxUSE_DYNAMIC_LOADER 1
42382 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42383 cat >>confdefs.h
<<\_ACEOF
42384 #define wxUSE_DYNLIB_CLASS 1
42391 if test "$wxUSE_PLUGINS" = "yes" ; then
42392 if test "$wxUSE_SHARED" = "no" ; then
42393 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42394 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42397 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42398 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42399 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42402 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42403 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42404 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42407 if test "$wxUSE_PLUGINS" = "yes" ; then
42408 cat >>confdefs.h
<<\_ACEOF
42409 #define wxUSE_PLUGINS 1
42416 if test "$wxUSE_STL" = "yes"; then
42417 cat >>confdefs.h
<<\_ACEOF
42418 #define wxUSE_STL 1
42423 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42424 cat >>confdefs.h
<<\_ACEOF
42425 #define wxUSE_APPLE_IEEE 1
42430 if test "$wxUSE_TIMER" = "yes"; then
42431 cat >>confdefs.h
<<\_ACEOF
42432 #define wxUSE_TIMER 1
42437 if test "$USE_UNIX" = "1" ; then
42438 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42439 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42440 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42441 echo $ECHO_N "(cached) $ECHO_C" >&6
42444 cat >conftest.
$ac_ext <<_ACEOF
42447 cat confdefs.h
>>conftest.
$ac_ext
42448 cat >>conftest.
$ac_ext <<_ACEOF
42449 /* end confdefs.h. */
42451 #include <sys/ioctl.h>
42452 #include <sys/soundcard.h>
42458 ioctl(0, SNDCTL_DSP_SPEED, 0);
42464 rm -f conftest.
$ac_objext conftest
$ac_exeext
42465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42466 (eval $ac_link) 2>conftest.er1
42468 grep -v '^ *+' conftest.er1
>conftest.err
42470 cat conftest.err
>&5
42471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42472 (exit $ac_status); } &&
42473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42475 (eval $ac_try) 2>&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); }; } &&
42479 { ac_try
='test -s conftest$ac_exeext'
42480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42481 (eval $ac_try) 2>&5
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); }; }; then
42485 ac_cv_header_sys_soundcard
=yes
42487 echo "$as_me: failed program was:" >&5
42488 sed 's/^/| /' conftest.
$ac_ext >&5
42492 LIBS
="$saveLibs -lossaudio"
42493 cat >conftest.
$ac_ext <<_ACEOF
42496 cat confdefs.h
>>conftest.
$ac_ext
42497 cat >>conftest.
$ac_ext <<_ACEOF
42498 /* end confdefs.h. */
42500 #include <sys/ioctl.h>
42501 #include <sys/soundcard.h>
42507 ioctl(0, SNDCTL_DSP_SPEED, 0);
42513 rm -f conftest.
$ac_objext conftest
$ac_exeext
42514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42515 (eval $ac_link) 2>conftest.er1
42517 grep -v '^ *+' conftest.er1
>conftest.err
42519 cat conftest.err
>&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } &&
42522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524 (eval $ac_try) 2>&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; } &&
42528 { ac_try
='test -s conftest$ac_exeext'
42529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42530 (eval $ac_try) 2>&5
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); }; }; then
42534 ac_cv_header_sys_soundcard
=yes
42536 echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.
$ac_ext >&5
42541 ac_cv_header_sys_soundcard
=no
42545 rm -f conftest.err conftest.
$ac_objext \
42546 conftest
$ac_exeext conftest.
$ac_ext
42550 rm -f conftest.err conftest.
$ac_objext \
42551 conftest
$ac_exeext conftest.
$ac_ext
42554 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42555 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42557 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42558 cat >>confdefs.h
<<\_ACEOF
42559 #define HAVE_SYS_SOUNDCARD_H 1
42563 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
42567 if test "$wxUSE_SOUND" = "yes"; then
42568 if test "$USE_UNIX" = "1" ; then
42569 if test "$wxUSE_LIBSDL" != "no"; then
42571 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42572 if test "${with_sdl_prefix+set}" = set; then
42573 withval
="$with_sdl_prefix"
42574 sdl_prefix
="$withval"
42579 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42580 if test "${with_sdl_exec_prefix+set}" = set; then
42581 withval
="$with_sdl_exec_prefix"
42582 sdl_exec_prefix
="$withval"
42586 # Check whether --enable-sdltest or --disable-sdltest was given.
42587 if test "${enable_sdltest+set}" = set; then
42588 enableval
="$enable_sdltest"
42594 if test x
$sdl_exec_prefix != x
; then
42595 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
42596 if test x
${SDL_CONFIG+set} != xset
; then
42597 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
42600 if test x
$sdl_prefix != x
; then
42601 sdl_args
="$sdl_args --prefix=$sdl_prefix"
42602 if test x
${SDL_CONFIG+set} != xset
; then
42603 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
42607 if test "x$prefix" != xNONE
; then
42608 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
42610 # Extract the first word of "sdl-config", so it can be a program name with args.
42611 set dummy sdl
-config; ac_word
=$2
42612 echo "$as_me:$LINENO: checking for $ac_word" >&5
42613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42614 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42615 echo $ECHO_N "(cached) $ECHO_C" >&6
42617 case $SDL_CONFIG in
42619 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
42622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42623 for as_dir
in $PATH
42626 test -z "$as_dir" && as_dir
=.
42627 for ac_exec_ext
in '' $ac_executable_extensions; do
42628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42629 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42636 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
42640 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
42642 if test -n "$SDL_CONFIG"; then
42643 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42644 echo "${ECHO_T}$SDL_CONFIG" >&6
42646 echo "$as_me:$LINENO: result: no" >&5
42647 echo "${ECHO_T}no" >&6
42650 min_sdl_version
=1.2.0
42651 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42652 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42654 if test "$SDL_CONFIG" = "no" ; then
42657 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
42658 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
42660 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
42661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42662 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
42663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42664 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
42665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42666 if test "x$enable_sdltest" = "xyes" ; then
42667 ac_save_CFLAGS
="$CFLAGS"
42668 ac_save_CXXFLAGS
="$CXXFLAGS"
42669 ac_save_LIBS
="$LIBS"
42670 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42671 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42672 LIBS
="$LIBS $SDL_LIBS"
42674 if test "$cross_compiling" = yes; then
42675 echo $ac_n "cross compiling; assumed OK... $ac_c"
42677 cat >conftest.
$ac_ext <<_ACEOF
42680 cat confdefs.h
>>conftest.
$ac_ext
42681 cat >>conftest.
$ac_ext <<_ACEOF
42682 /* end confdefs.h. */
42685 #include <stdlib.h>
42686 #include <string.h>
42690 my_strdup (char *str)
42696 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42697 strcpy (new_str, str);
42705 int main (int argc, char *argv[])
42707 int major, minor, micro;
42710 /* This hangs on some systems (?)
42711 system ("touch conf.sdltest");
42713 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42715 /* HP/UX 9 (%@#!) writes to sscanf strings */
42716 tmp_version = my_strdup("$min_sdl_version");
42717 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42718 printf("%s, bad version string\n", "$min_sdl_version");
42722 if (($sdl_major_version > major) ||
42723 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42724 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42730 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42731 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42732 printf("*** best to upgrade to the required version.\n");
42733 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42734 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42735 printf("*** config.cache before re-running configure\n");
42742 rm -f conftest
$ac_exeext
42743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42744 (eval $ac_link) 2>&5
42746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42749 (eval $ac_try) 2>&5
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); }; }; then
42755 echo "$as_me: program exited with status $ac_status" >&5
42756 echo "$as_me: failed program was:" >&5
42757 sed 's/^/| /' conftest.
$ac_ext >&5
42759 ( exit $ac_status )
42762 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42764 CFLAGS
="$ac_save_CFLAGS"
42765 CXXFLAGS
="$ac_save_CXXFLAGS"
42766 LIBS
="$ac_save_LIBS"
42769 if test "x$no_sdl" = x
; then
42770 echo "$as_me:$LINENO: result: yes" >&5
42771 echo "${ECHO_T}yes" >&6
42773 EXTRALIBS_SDL
="$SDL_LIBS"
42774 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
42775 cat >>confdefs.h
<<\_ACEOF
42776 #define wxUSE_LIBSDL 1
42781 echo "$as_me:$LINENO: result: no" >&5
42782 echo "${ECHO_T}no" >&6
42783 if test "$SDL_CONFIG" = "no" ; then
42784 echo "*** The sdl-config script installed by SDL could not be found"
42785 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42786 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42787 echo "*** full path to sdl-config."
42789 if test -f conf.sdltest
; then
42792 echo "*** Could not run SDL test program, checking why..."
42793 CFLAGS
="$CFLAGS $SDL_CFLAGS"
42794 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
42795 LIBS
="$LIBS $SDL_LIBS"
42796 cat >conftest.
$ac_ext <<_ACEOF
42799 cat confdefs.h
>>conftest.
$ac_ext
42800 cat >>conftest.
$ac_ext <<_ACEOF
42801 /* end confdefs.h. */
42806 int main(int argc, char *argv[])
42809 #define main K_and_R_C_main
42819 rm -f conftest.
$ac_objext conftest
$ac_exeext
42820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42821 (eval $ac_link) 2>conftest.er1
42823 grep -v '^ *+' conftest.er1
>conftest.err
42825 cat conftest.err
>&5
42826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42827 (exit $ac_status); } &&
42828 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42830 (eval $ac_try) 2>&5
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); }; } &&
42834 { ac_try
='test -s conftest$ac_exeext'
42835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42836 (eval $ac_try) 2>&5
42838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42839 (exit $ac_status); }; }; then
42840 echo "*** The test program compiled, but did not run. This usually means"
42841 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42842 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42843 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42844 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42845 echo "*** is required on your system"
42847 echo "*** If you have an old version installed, it is best to remove it, although"
42848 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42850 echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.
$ac_ext >&5
42853 echo "*** The test program failed to compile or link. See the file config.log for the"
42854 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42855 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42856 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42858 rm -f conftest.err conftest.
$ac_objext \
42859 conftest
$ac_exeext conftest.
$ac_ext
42860 CFLAGS
="$ac_save_CFLAGS"
42861 CXXFLAGS
="$ac_save_CXXFLAGS"
42862 LIBS
="$ac_save_LIBS"
42873 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42879 cat >>confdefs.h
<<\_ACEOF
42880 #define wxUSE_SOUND 1
42883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42886 if test "$WXGTK20" = 1; then
42887 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42888 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42892 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42893 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42895 if test -n "$PKG_CONFIG"; then
42896 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42897 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42899 if test -n "$PKG_CONFIG" && \
42900 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42901 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904 (exit $ac_status); }; then
42905 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42913 if test -n "$PKG_CONFIG"; then
42914 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42915 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42917 if test -n "$PKG_CONFIG" && \
42918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42919 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42922 (exit $ac_status); }; then
42923 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42934 if test $pkg_failed = yes; then
42936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42937 _pkg_short_errors_supported
=yes
42939 _pkg_short_errors_supported
=no
42941 if test $_pkg_short_errors_supported = yes; then
42942 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42944 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42946 # Put the nasty error message in config.log where it belongs
42947 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42950 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42951 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42952 wxUSE_LIBGNOMEPRINT
="no"
42955 elif test $pkg_failed = untried
; then
42957 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42958 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42959 wxUSE_LIBGNOMEPRINT
="no"
42963 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42964 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42965 echo "$as_me:$LINENO: result: yes" >&5
42966 echo "${ECHO_T}yes" >&6
42968 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42969 cat >>confdefs.h
<<\_ACEOF
42970 #define wxUSE_LIBGNOMEPRINT 1
42979 if test "$WXGTK20" = 1; then
42980 if test "$wxUSE_MIMETYPE" = "yes" ; then
42981 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42985 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42986 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42988 if test -n "$PKG_CONFIG"; then
42989 if test -n "$GNOMEVFS_CFLAGS"; then
42990 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42992 if test -n "$PKG_CONFIG" && \
42993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42994 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); }; then
42998 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43006 if test -n "$PKG_CONFIG"; then
43007 if test -n "$GNOMEVFS_LIBS"; then
43008 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43010 if test -n "$PKG_CONFIG" && \
43011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43012 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43015 (exit $ac_status); }; then
43016 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43027 if test $pkg_failed = yes; then
43029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43030 _pkg_short_errors_supported
=yes
43032 _pkg_short_errors_supported
=no
43034 if test $_pkg_short_errors_supported = yes; then
43035 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43037 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43039 # Put the nasty error message in config.log where it belongs
43040 echo "$GNOMEVFS_PKG_ERRORS" >&5
43043 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43044 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43045 wxUSE_LIBGNOMEVFS
="no"
43048 elif test $pkg_failed = untried
; then
43050 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43051 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43052 wxUSE_LIBGNOMEVFS
="no"
43056 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43057 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43058 echo "$as_me:$LINENO: result: yes" >&5
43059 echo "${ECHO_T}yes" >&6
43061 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43062 cat >>confdefs.h
<<\_ACEOF
43063 #define wxUSE_LIBGNOMEVFS 1
43072 if test "$WXGTK20" = 1; then
43073 if test "$wxUSE_LIBHILDON" = "yes" ; then
43076 echo "$as_me:$LINENO: checking for HILDON" >&5
43077 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43079 if test -n "$PKG_CONFIG"; then
43080 if test -n "$HILDON_CFLAGS"; then
43081 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43083 if test -n "$PKG_CONFIG" && \
43084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43085 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); }; then
43089 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43097 if test -n "$PKG_CONFIG"; then
43098 if test -n "$HILDON_LIBS"; then
43099 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43101 if test -n "$PKG_CONFIG" && \
43102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43103 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43106 (exit $ac_status); }; then
43107 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43118 if test $pkg_failed = yes; then
43120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43121 _pkg_short_errors_supported
=yes
43123 _pkg_short_errors_supported
=no
43125 if test $_pkg_short_errors_supported = yes; then
43126 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43128 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43130 # Put the nasty error message in config.log where it belongs
43131 echo "$HILDON_PKG_ERRORS" >&5
43134 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43135 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43136 wxUSE_LIBHILDON
="no"
43139 elif test $pkg_failed = untried
; then
43141 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43142 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43143 wxUSE_LIBHILDON
="no"
43147 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43148 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43149 echo "$as_me:$LINENO: result: yes" >&5
43150 echo "${ECHO_T}yes" >&6
43152 EXTRALIBS_HILDON
="$HILDON_LIBS"
43153 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43154 cat >>confdefs.h
<<\_ACEOF
43155 #define wxUSE_LIBHILDON 1
43163 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43164 cat >>confdefs.h
<<\_ACEOF
43165 #define wxUSE_CMDLINE_PARSER 1
43170 if test "$wxUSE_STOPWATCH" = "yes"; then
43171 cat >>confdefs.h
<<\_ACEOF
43172 #define wxUSE_STOPWATCH 1
43177 if test "$wxUSE_DATETIME" = "yes"; then
43178 cat >>confdefs.h
<<\_ACEOF
43179 #define wxUSE_DATETIME 1
43184 if test "$wxUSE_FILE" = "yes"; then
43185 cat >>confdefs.h
<<\_ACEOF
43186 #define wxUSE_FILE 1
43191 if test "$wxUSE_FFILE" = "yes"; then
43192 cat >>confdefs.h
<<\_ACEOF
43193 #define wxUSE_FFILE 1
43198 if test "$wxUSE_FILESYSTEM" = "yes"; then
43199 cat >>confdefs.h
<<\_ACEOF
43200 #define wxUSE_FILESYSTEM 1
43205 if test "$wxUSE_FS_ZIP" = "yes"; then
43206 cat >>confdefs.h
<<\_ACEOF
43207 #define wxUSE_FS_ZIP 1
43212 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43213 if test "$wxUSE_STREAMS" != yes; then
43214 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43215 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43217 cat >>confdefs.h
<<\_ACEOF
43218 #define wxUSE_ARCHIVE_STREAMS 1
43224 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43225 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43226 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43227 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43228 elif test "$wxUSE_ZLIB" = "no"; then
43229 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43230 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43232 cat >>confdefs.h
<<\_ACEOF
43233 #define wxUSE_ZIPSTREAM 1
43239 if test "$wxUSE_TARSTREAM" = "yes"; then
43240 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43241 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43242 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43244 cat >>confdefs.h
<<\_ACEOF
43245 #define wxUSE_TARSTREAM 1
43251 if test "$wxUSE_BACKINGFILE" = "yes"; then
43252 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43253 { echo "$as_me:$LINENO: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&5
43254 echo "$as_me: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43256 cat >>confdefs.h
<<\_ACEOF
43257 #define wxUSE_BACKINGFILE 1
43263 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43264 if test "$wxUSE_ARCHIVE_STREAMS" != yes -o "$wxUSE_BACKINGFILE" != yes; then
43265 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxBackingFile... disabled" >&5
43266 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxBackingFile... disabled" >&2;}
43268 cat >>confdefs.h
<<\_ACEOF
43269 #define wxUSE_FS_ARCHIVE 1
43275 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43276 if test "$USE_UNIX" != 1; then
43277 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43278 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43279 wxUSE_ON_FATAL_EXCEPTION
=no
43281 cat >>confdefs.h
<<\_ACEOF
43282 #define wxUSE_ON_FATAL_EXCEPTION 1
43288 if test "$wxUSE_STACKWALKER" = "yes"; then
43289 cat >>confdefs.h
<<\_ACEOF
43290 #define wxUSE_STACKWALKER 1
43295 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43296 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43297 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43298 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43299 wxUSE_DEBUGREPORT
=no
43301 cat >>confdefs.h
<<\_ACEOF
43302 #define wxUSE_DEBUGREPORT 1
43305 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43311 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43312 cat >>confdefs.h
<<\_ACEOF
43313 #define wxUSE_SNGLINST_CHECKER 1
43318 if test "$wxUSE_BUSYINFO" = "yes"; then
43319 cat >>confdefs.h
<<\_ACEOF
43320 #define wxUSE_BUSYINFO 1
43325 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43326 cat >>confdefs.h
<<\_ACEOF
43327 #define wxUSE_STD_IOSTREAM 1
43332 if test "$wxUSE_STD_STRING" = "yes"; then
43333 cat >>confdefs.h
<<\_ACEOF
43334 #define wxUSE_STD_STRING 1
43339 if test "$wxUSE_STDPATHS" = "yes"; then
43340 cat >>confdefs.h
<<\_ACEOF
43341 #define wxUSE_STDPATHS 1
43346 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43347 cat >>confdefs.h
<<\_ACEOF
43348 #define wxUSE_TEXTBUFFER 1
43353 if test "$wxUSE_TEXTFILE" = "yes"; then
43354 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43355 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43356 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43358 cat >>confdefs.h
<<\_ACEOF
43359 #define wxUSE_TEXTFILE 1
43365 if test "$wxUSE_CONFIG" = "yes" ; then
43366 if test "$wxUSE_TEXTFILE" != "yes"; then
43367 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43368 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43370 cat >>confdefs.h
<<\_ACEOF
43371 #define wxUSE_CONFIG 1
43374 cat >>confdefs.h
<<\_ACEOF
43375 #define wxUSE_CONFIG_NATIVE 1
43378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43382 if test "$wxUSE_INTL" = "yes" ; then
43383 if test "$wxUSE_FILE" != "yes"; then
43384 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43385 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43387 cat >>confdefs.h
<<\_ACEOF
43388 #define wxUSE_INTL 1
43391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43392 GUIDIST
="$GUIDIST INTL_DIST"
43396 if test "$wxUSE_LOG" = "yes"; then
43397 cat >>confdefs.h
<<\_ACEOF
43398 #define wxUSE_LOG 1
43402 if test "$wxUSE_LOGGUI" = "yes"; then
43403 cat >>confdefs.h
<<\_ACEOF
43404 #define wxUSE_LOGGUI 1
43409 if test "$wxUSE_LOGWINDOW" = "yes"; then
43410 cat >>confdefs.h
<<\_ACEOF
43411 #define wxUSE_LOGWINDOW 1
43416 if test "$wxUSE_LOGDIALOG" = "yes"; then
43417 cat >>confdefs.h
<<\_ACEOF
43418 #define wxUSE_LOG_DIALOG 1
43423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
43426 if test "$wxUSE_LONGLONG" = "yes"; then
43427 cat >>confdefs.h
<<\_ACEOF
43428 #define wxUSE_LONGLONG 1
43433 if test "$wxUSE_GEOMETRY" = "yes"; then
43434 cat >>confdefs.h
<<\_ACEOF
43435 #define wxUSE_GEOMETRY 1
43440 if test "$wxUSE_STREAMS" = "yes" ; then
43441 cat >>confdefs.h
<<\_ACEOF
43442 #define wxUSE_STREAMS 1
43447 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43448 cat >>confdefs.h
<<\_ACEOF
43449 #define wxUSE_PRINTF_POS_PARAMS 1
43456 if test "$wxUSE_DATETIME" = "yes"; then
43458 for ac_func
in strptime
43460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43461 echo "$as_me:$LINENO: checking for $ac_func" >&5
43462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43463 if eval "test \"\${$as_ac_var+set}\" = set"; then
43464 echo $ECHO_N "(cached) $ECHO_C" >&6
43466 cat >conftest.
$ac_ext <<_ACEOF
43469 cat confdefs.h
>>conftest.
$ac_ext
43470 cat >>conftest.
$ac_ext <<_ACEOF
43471 /* end confdefs.h. */
43472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43474 #define $ac_func innocuous_$ac_func
43476 /* System header to define __stub macros and hopefully few prototypes,
43477 which can conflict with char $ac_func (); below.
43478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43479 <limits.h> exists even on freestanding compilers. */
43482 # include <limits.h>
43484 # include <assert.h>
43489 /* Override any gcc2 internal prototype to avoid an error. */
43494 /* We use char because int might match the return type of a gcc2
43495 builtin and then its argument prototype would still apply. */
43497 /* The GNU C library defines this for functions which it implements
43498 to always fail with ENOSYS. Some functions are actually named
43499 something starting with __ and the normal name is an alias. */
43500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43503 char (*f) () = $ac_func;
43512 return f != $ac_func;
43517 rm -f conftest.
$ac_objext conftest
$ac_exeext
43518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43519 (eval $ac_link) 2>conftest.er1
43521 grep -v '^ *+' conftest.er1
>conftest.err
43523 cat conftest.err
>&5
43524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43525 (exit $ac_status); } &&
43526 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43528 (eval $ac_try) 2>&5
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); }; } &&
43532 { ac_try
='test -s conftest$ac_exeext'
43533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43534 (eval $ac_try) 2>&5
43536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43537 (exit $ac_status); }; }; then
43538 eval "$as_ac_var=yes"
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.
$ac_ext >&5
43543 eval "$as_ac_var=no"
43545 rm -f conftest.err conftest.
$ac_objext \
43546 conftest
$ac_exeext conftest.
$ac_ext
43548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43550 if test `eval echo '${'$as_ac_var'}'` = yes; then
43551 cat >>confdefs.h
<<_ACEOF
43552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43558 if test "$ac_cv_func_strptime" = "yes"; then
43559 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43560 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43561 if test "${wx_cv_func_strptime_decl+set}" = set; then
43562 echo $ECHO_N "(cached) $ECHO_C" >&6
43565 cat >conftest.
$ac_ext <<_ACEOF
43568 cat confdefs.h
>>conftest.
$ac_ext
43569 cat >>conftest.
$ac_ext <<_ACEOF
43570 /* end confdefs.h. */
43579 strptime("foo", "bar", &t);
43585 rm -f conftest.
$ac_objext
43586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43587 (eval $ac_compile) 2>conftest.er1
43589 grep -v '^ *+' conftest.er1
>conftest.err
43591 cat conftest.err
>&5
43592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43593 (exit $ac_status); } &&
43594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43596 (eval $ac_try) 2>&5
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); }; } &&
43600 { ac_try
='test -s conftest.$ac_objext'
43601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43602 (eval $ac_try) 2>&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); }; }; then
43606 wx_cv_func_strptime_decl
=yes
43608 echo "$as_me: failed program was:" >&5
43609 sed 's/^/| /' conftest.
$ac_ext >&5
43611 wx_cv_func_strptime_decl
=no
43614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43618 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43619 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43621 if test "$wx_cv_func_strptime_decl" = "yes"; then
43622 cat >>confdefs.h
<<\_ACEOF
43623 #define HAVE_STRPTIME_DECL 1
43628 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43629 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43630 if test "${wx_cv_var_timezone+set}" = set; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43634 cat >conftest.
$ac_ext <<_ACEOF
43637 cat confdefs.h
>>conftest.
$ac_ext
43638 cat >>conftest.
$ac_ext <<_ACEOF
43639 /* end confdefs.h. */
43654 rm -f conftest.
$ac_objext
43655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43656 (eval $ac_compile) 2>conftest.er1
43658 grep -v '^ *+' conftest.er1
>conftest.err
43660 cat conftest.err
>&5
43661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662 (exit $ac_status); } &&
43663 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665 (eval $ac_try) 2>&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); }; } &&
43669 { ac_try
='test -s conftest.$ac_objext'
43670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43671 (eval $ac_try) 2>&5
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); }; }; then
43676 wx_cv_var_timezone
=timezone
43679 echo "$as_me: failed program was:" >&5
43680 sed 's/^/| /' conftest.
$ac_ext >&5
43683 cat >conftest.
$ac_ext <<_ACEOF
43686 cat confdefs.h
>>conftest.
$ac_ext
43687 cat >>conftest.
$ac_ext <<_ACEOF
43688 /* end confdefs.h. */
43703 rm -f conftest.
$ac_objext
43704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43705 (eval $ac_compile) 2>conftest.er1
43707 grep -v '^ *+' conftest.er1
>conftest.err
43709 cat conftest.err
>&5
43710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711 (exit $ac_status); } &&
43712 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43714 (eval $ac_try) 2>&5
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); }; } &&
43718 { ac_try
='test -s conftest.$ac_objext'
43719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43720 (eval $ac_try) 2>&5
43722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43723 (exit $ac_status); }; }; then
43725 wx_cv_var_timezone
=_timezone
43728 echo "$as_me: failed program was:" >&5
43729 sed 's/^/| /' conftest.
$ac_ext >&5
43732 cat >conftest.
$ac_ext <<_ACEOF
43735 cat confdefs.h
>>conftest.
$ac_ext
43736 cat >>conftest.
$ac_ext <<_ACEOF
43737 /* end confdefs.h. */
43752 rm -f conftest.
$ac_objext
43753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43754 (eval $ac_compile) 2>conftest.er1
43756 grep -v '^ *+' conftest.er1
>conftest.err
43758 cat conftest.err
>&5
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); } &&
43761 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43763 (eval $ac_try) 2>&5
43765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43766 (exit $ac_status); }; } &&
43767 { ac_try
='test -s conftest.$ac_objext'
43768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43769 (eval $ac_try) 2>&5
43771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43772 (exit $ac_status); }; }; then
43774 wx_cv_var_timezone
=__timezone
43777 echo "$as_me: failed program was:" >&5
43778 sed 's/^/| /' conftest.
$ac_ext >&5
43781 if test "$USE_DOS" = 0 ; then
43782 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43783 echo "$as_me: WARNING: no timezone variable" >&2;}
43788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43800 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43801 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43803 if test "x$wx_cv_var_timezone" != x
; then
43804 cat >>confdefs.h
<<_ACEOF
43805 #define WX_TIMEZONE $wx_cv_var_timezone
43811 for ac_func
in localtime
43813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43814 echo "$as_me:$LINENO: checking for $ac_func" >&5
43815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43816 if eval "test \"\${$as_ac_var+set}\" = set"; then
43817 echo $ECHO_N "(cached) $ECHO_C" >&6
43819 cat >conftest.
$ac_ext <<_ACEOF
43822 cat confdefs.h
>>conftest.
$ac_ext
43823 cat >>conftest.
$ac_ext <<_ACEOF
43824 /* end confdefs.h. */
43825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43827 #define $ac_func innocuous_$ac_func
43829 /* System header to define __stub macros and hopefully few prototypes,
43830 which can conflict with char $ac_func (); below.
43831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43832 <limits.h> exists even on freestanding compilers. */
43835 # include <limits.h>
43837 # include <assert.h>
43842 /* Override any gcc2 internal prototype to avoid an error. */
43847 /* We use char because int might match the return type of a gcc2
43848 builtin and then its argument prototype would still apply. */
43850 /* The GNU C library defines this for functions which it implements
43851 to always fail with ENOSYS. Some functions are actually named
43852 something starting with __ and the normal name is an alias. */
43853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43856 char (*f) () = $ac_func;
43865 return f != $ac_func;
43870 rm -f conftest.
$ac_objext conftest
$ac_exeext
43871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43872 (eval $ac_link) 2>conftest.er1
43874 grep -v '^ *+' conftest.er1
>conftest.err
43876 cat conftest.err
>&5
43877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878 (exit $ac_status); } &&
43879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43881 (eval $ac_try) 2>&5
43883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884 (exit $ac_status); }; } &&
43885 { ac_try
='test -s conftest$ac_exeext'
43886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43887 (eval $ac_try) 2>&5
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); }; }; then
43891 eval "$as_ac_var=yes"
43893 echo "$as_me: failed program was:" >&5
43894 sed 's/^/| /' conftest.
$ac_ext >&5
43896 eval "$as_ac_var=no"
43898 rm -f conftest.err conftest.
$ac_objext \
43899 conftest
$ac_exeext conftest.
$ac_ext
43901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43903 if test `eval echo '${'$as_ac_var'}'` = yes; then
43904 cat >>confdefs.h
<<_ACEOF
43905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43912 if test "$ac_cv_func_localtime" = "yes"; then
43913 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43914 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43915 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43916 echo $ECHO_N "(cached) $ECHO_C" >&6
43919 cat >conftest.
$ac_ext <<_ACEOF
43922 cat confdefs.h
>>conftest.
$ac_ext
43923 cat >>conftest.
$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43939 rm -f conftest.
$ac_objext
43940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43941 (eval $ac_compile) 2>conftest.er1
43943 grep -v '^ *+' conftest.er1
>conftest.err
43945 cat conftest.err
>&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); } &&
43948 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43950 (eval $ac_try) 2>&5
43952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953 (exit $ac_status); }; } &&
43954 { ac_try
='test -s conftest.$ac_objext'
43955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43956 (eval $ac_try) 2>&5
43958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43959 (exit $ac_status); }; }; then
43961 wx_cv_struct_tm_has_gmtoff
=yes
43964 echo "$as_me: failed program was:" >&5
43965 sed 's/^/| /' conftest.
$ac_ext >&5
43967 wx_cv_struct_tm_has_gmtoff
=no
43970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43973 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43974 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43977 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43978 cat >>confdefs.h
<<\_ACEOF
43979 #define WX_GMTOFF_IN_TM 1
43986 for ac_func
in gettimeofday ftime
43988 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43989 echo "$as_me:$LINENO: checking for $ac_func" >&5
43990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43991 if eval "test \"\${$as_ac_var+set}\" = set"; then
43992 echo $ECHO_N "(cached) $ECHO_C" >&6
43994 cat >conftest.
$ac_ext <<_ACEOF
43997 cat confdefs.h
>>conftest.
$ac_ext
43998 cat >>conftest.
$ac_ext <<_ACEOF
43999 /* end confdefs.h. */
44000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44002 #define $ac_func innocuous_$ac_func
44004 /* System header to define __stub macros and hopefully few prototypes,
44005 which can conflict with char $ac_func (); below.
44006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44007 <limits.h> exists even on freestanding compilers. */
44010 # include <limits.h>
44012 # include <assert.h>
44017 /* Override any gcc2 internal prototype to avoid an error. */
44022 /* We use char because int might match the return type of a gcc2
44023 builtin and then its argument prototype would still apply. */
44025 /* The GNU C library defines this for functions which it implements
44026 to always fail with ENOSYS. Some functions are actually named
44027 something starting with __ and the normal name is an alias. */
44028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44031 char (*f) () = $ac_func;
44040 return f != $ac_func;
44045 rm -f conftest.
$ac_objext conftest
$ac_exeext
44046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44047 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.
$ac_ext >&5
44071 eval "$as_ac_var=no"
44073 rm -f conftest.err conftest.
$ac_objext \
44074 conftest
$ac_exeext conftest.
$ac_ext
44076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44078 if test `eval echo '${'$as_ac_var'}'` = yes; then
44079 cat >>confdefs.h
<<_ACEOF
44080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44087 if test "$ac_cv_func_gettimeofday" = "yes"; then
44088 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44089 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44090 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44091 echo $ECHO_N "(cached) $ECHO_C" >&6
44094 cat >conftest.
$ac_ext <<_ACEOF
44097 cat confdefs.h
>>conftest.
$ac_ext
44098 cat >>conftest.
$ac_ext <<_ACEOF
44099 /* end confdefs.h. */
44101 #include <sys/time.h>
44102 #include <unistd.h>
44109 gettimeofday(&tv, NULL);
44115 rm -f conftest.
$ac_objext
44116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44117 (eval $ac_compile) 2>conftest.er1
44119 grep -v '^ *+' conftest.er1
>conftest.err
44121 cat conftest.err
>&5
44122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44123 (exit $ac_status); } &&
44124 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44126 (eval $ac_try) 2>&5
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); }; } &&
44130 { ac_try
='test -s conftest.$ac_objext'
44131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44132 (eval $ac_try) 2>&5
44134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44135 (exit $ac_status); }; }; then
44136 wx_cv_func_gettimeofday_has_2_args
=yes
44138 echo "$as_me: failed program was:" >&5
44139 sed 's/^/| /' conftest.
$ac_ext >&5
44141 cat >conftest.
$ac_ext <<_ACEOF
44144 cat confdefs.h
>>conftest.
$ac_ext
44145 cat >>conftest.
$ac_ext <<_ACEOF
44146 /* end confdefs.h. */
44148 #include <sys/time.h>
44149 #include <unistd.h>
44162 rm -f conftest.
$ac_objext
44163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44164 (eval $ac_compile) 2>conftest.er1
44166 grep -v '^ *+' conftest.er1
>conftest.err
44168 cat conftest.err
>&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); } &&
44171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44173 (eval $ac_try) 2>&5
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); }; } &&
44177 { ac_try
='test -s conftest.$ac_objext'
44178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44179 (eval $ac_try) 2>&5
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; }; then
44183 wx_cv_func_gettimeofday_has_2_args
=no
44185 echo "$as_me: failed program was:" >&5
44186 sed 's/^/| /' conftest.
$ac_ext >&5
44189 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44190 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44191 wx_cv_func_gettimeofday_has_2_args
=unknown
44195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44201 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44202 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44204 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44205 cat >>confdefs.h
<<\_ACEOF
44206 #define WX_GETTIMEOFDAY_NO_TZ 1
44212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44216 if test "$wxUSE_SOCKETS" = "yes"; then
44217 if test "$wxUSE_MGL" = "1"; then
44218 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44219 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44224 if test "$wxUSE_SOCKETS" = "yes"; then
44225 if test "$TOOLKIT" != "MSW"; then
44226 echo "$as_me:$LINENO: checking for socket" >&5
44227 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44228 if test "${ac_cv_func_socket+set}" = set; then
44229 echo $ECHO_N "(cached) $ECHO_C" >&6
44231 cat >conftest.
$ac_ext <<_ACEOF
44234 cat confdefs.h
>>conftest.
$ac_ext
44235 cat >>conftest.
$ac_ext <<_ACEOF
44236 /* end confdefs.h. */
44237 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44239 #define socket innocuous_socket
44241 /* System header to define __stub macros and hopefully few prototypes,
44242 which can conflict with char socket (); below.
44243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44244 <limits.h> exists even on freestanding compilers. */
44247 # include <limits.h>
44249 # include <assert.h>
44254 /* Override any gcc2 internal prototype to avoid an error. */
44259 /* We use char because int might match the return type of a gcc2
44260 builtin and then its argument prototype would still apply. */
44262 /* The GNU C library defines this for functions which it implements
44263 to always fail with ENOSYS. Some functions are actually named
44264 something starting with __ and the normal name is an alias. */
44265 #if defined (__stub_socket) || defined (__stub___socket)
44268 char (*f) () = socket;
44277 return f != socket;
44282 rm -f conftest.
$ac_objext conftest
$ac_exeext
44283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44284 (eval $ac_link) 2>conftest.er1
44286 grep -v '^ *+' conftest.er1
>conftest.err
44288 cat conftest.err
>&5
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); } &&
44291 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44293 (eval $ac_try) 2>&5
44295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44296 (exit $ac_status); }; } &&
44297 { ac_try
='test -s conftest$ac_exeext'
44298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44299 (eval $ac_try) 2>&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); }; }; then
44303 ac_cv_func_socket
=yes
44305 echo "$as_me: failed program was:" >&5
44306 sed 's/^/| /' conftest.
$ac_ext >&5
44308 ac_cv_func_socket
=no
44310 rm -f conftest.err conftest.
$ac_objext \
44311 conftest
$ac_exeext conftest.
$ac_ext
44313 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44314 echo "${ECHO_T}$ac_cv_func_socket" >&6
44315 if test $ac_cv_func_socket = yes; then
44319 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44320 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44321 if test "${ac_cv_lib_socket_socket+set}" = set; then
44322 echo $ECHO_N "(cached) $ECHO_C" >&6
44324 ac_check_lib_save_LIBS
=$LIBS
44325 LIBS
="-lsocket $LIBS"
44326 cat >conftest.
$ac_ext <<_ACEOF
44329 cat confdefs.h
>>conftest.
$ac_ext
44330 cat >>conftest.
$ac_ext <<_ACEOF
44331 /* end confdefs.h. */
44333 /* Override any gcc2 internal prototype to avoid an error. */
44337 /* We use char because int might match the return type of a gcc2
44338 builtin and then its argument prototype would still apply. */
44348 rm -f conftest.
$ac_objext conftest
$ac_exeext
44349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44350 (eval $ac_link) 2>conftest.er1
44352 grep -v '^ *+' conftest.er1
>conftest.err
44354 cat conftest.err
>&5
44355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44356 (exit $ac_status); } &&
44357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44359 (eval $ac_try) 2>&5
44361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44362 (exit $ac_status); }; } &&
44363 { ac_try
='test -s conftest$ac_exeext'
44364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44365 (eval $ac_try) 2>&5
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); }; }; then
44369 ac_cv_lib_socket_socket
=yes
44371 echo "$as_me: failed program was:" >&5
44372 sed 's/^/| /' conftest.
$ac_ext >&5
44374 ac_cv_lib_socket_socket
=no
44376 rm -f conftest.err conftest.
$ac_objext \
44377 conftest
$ac_exeext conftest.
$ac_ext
44378 LIBS
=$ac_check_lib_save_LIBS
44380 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44381 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44382 if test $ac_cv_lib_socket_socket = yes; then
44383 if test "$INET_LINK" != " -lsocket"; then
44384 INET_LINK
="$INET_LINK -lsocket"
44388 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44389 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44402 if test "$wxUSE_SOCKETS" = "yes" ; then
44403 if test "$TOOLKIT" != "MSW"; then
44404 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44405 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44406 if test "${wx_cv_type_getsockname3+set}" = set; then
44407 echo $ECHO_N "(cached) $ECHO_C" >&6
44410 cat >conftest.
$ac_ext <<_ACEOF
44413 cat confdefs.h
>>conftest.
$ac_ext
44414 cat >>conftest.
$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44417 #include <sys/types.h>
44418 #include <sys/socket.h>
44425 getsockname(0, 0, &len);
44431 rm -f conftest.
$ac_objext
44432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44433 (eval $ac_compile) 2>conftest.er1
44435 grep -v '^ *+' conftest.er1
>conftest.err
44437 cat conftest.err
>&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } &&
44440 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44442 (eval $ac_try) 2>&5
44444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44445 (exit $ac_status); }; } &&
44446 { ac_try
='test -s conftest.$ac_objext'
44447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44448 (eval $ac_try) 2>&5
44450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44451 (exit $ac_status); }; }; then
44452 wx_cv_type_getsockname3
=socklen_t
44454 echo "$as_me: failed program was:" >&5
44455 sed 's/^/| /' conftest.
$ac_ext >&5
44458 CXXFLAGS_OLD
="$CXXFLAGS"
44459 if test "$GCC" = yes ; then
44460 CXXFLAGS
="-Werror $CXXFLAGS"
44463 cat >conftest.
$ac_ext <<_ACEOF
44466 cat confdefs.h
>>conftest.
$ac_ext
44467 cat >>conftest.
$ac_ext <<_ACEOF
44468 /* end confdefs.h. */
44470 #include <sys/types.h>
44471 #include <sys/socket.h>
44478 getsockname(0, 0, &len);
44484 rm -f conftest.
$ac_objext
44485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44486 (eval $ac_compile) 2>conftest.er1
44488 grep -v '^ *+' conftest.er1
>conftest.err
44490 cat conftest.err
>&5
44491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492 (exit $ac_status); } &&
44493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44495 (eval $ac_try) 2>&5
44497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44498 (exit $ac_status); }; } &&
44499 { ac_try
='test -s conftest.$ac_objext'
44500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44501 (eval $ac_try) 2>&5
44503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504 (exit $ac_status); }; }; then
44505 wx_cv_type_getsockname3
=size_t
44507 echo "$as_me: failed program was:" >&5
44508 sed 's/^/| /' conftest.
$ac_ext >&5
44510 cat >conftest.
$ac_ext <<_ACEOF
44513 cat confdefs.h
>>conftest.
$ac_ext
44514 cat >>conftest.
$ac_ext <<_ACEOF
44515 /* end confdefs.h. */
44517 #include <sys/types.h>
44518 #include <sys/socket.h>
44525 getsockname(0, 0, &len);
44531 rm -f conftest.
$ac_objext
44532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44533 (eval $ac_compile) 2>conftest.er1
44535 grep -v '^ *+' conftest.er1
>conftest.err
44537 cat conftest.err
>&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); } &&
44540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44542 (eval $ac_try) 2>&5
44544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44545 (exit $ac_status); }; } &&
44546 { ac_try
='test -s conftest.$ac_objext'
44547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44548 (eval $ac_try) 2>&5
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); }; }; then
44552 wx_cv_type_getsockname3
=int
44554 echo "$as_me: failed program was:" >&5
44555 sed 's/^/| /' conftest.
$ac_ext >&5
44557 wx_cv_type_getsockname3
=unknown
44560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44565 CXXFLAGS
="$CXXFLAGS_OLD"
44569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44572 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44573 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44575 if test "$wx_cv_type_getsockname3" = "unknown"; then
44577 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44578 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44580 cat >>confdefs.h
<<_ACEOF
44581 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44585 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44586 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44587 if test "${wx_cv_type_getsockopt5+set}" = set; then
44588 echo $ECHO_N "(cached) $ECHO_C" >&6
44591 cat >conftest.
$ac_ext <<_ACEOF
44594 cat confdefs.h
>>conftest.
$ac_ext
44595 cat >>conftest.
$ac_ext <<_ACEOF
44596 /* end confdefs.h. */
44598 #include <sys/types.h>
44599 #include <sys/socket.h>
44606 getsockopt(0, 0, 0, 0, &len);
44612 rm -f conftest.
$ac_objext
44613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44614 (eval $ac_compile) 2>conftest.er1
44616 grep -v '^ *+' conftest.er1
>conftest.err
44618 cat conftest.err
>&5
44619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620 (exit $ac_status); } &&
44621 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44623 (eval $ac_try) 2>&5
44625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626 (exit $ac_status); }; } &&
44627 { ac_try
='test -s conftest.$ac_objext'
44628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44629 (eval $ac_try) 2>&5
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); }; }; then
44633 wx_cv_type_getsockopt5
=socklen_t
44635 echo "$as_me: failed program was:" >&5
44636 sed 's/^/| /' conftest.
$ac_ext >&5
44639 CXXFLAGS_OLD
="$CXXFLAGS"
44640 if test "$GCC" = yes ; then
44641 CXXFLAGS
="-Werror $CXXFLAGS"
44644 cat >conftest.
$ac_ext <<_ACEOF
44647 cat confdefs.h
>>conftest.
$ac_ext
44648 cat >>conftest.
$ac_ext <<_ACEOF
44649 /* end confdefs.h. */
44651 #include <sys/types.h>
44652 #include <sys/socket.h>
44659 getsockopt(0, 0, 0, 0, &len);
44665 rm -f conftest.
$ac_objext
44666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44667 (eval $ac_compile) 2>conftest.er1
44669 grep -v '^ *+' conftest.er1
>conftest.err
44671 cat conftest.err
>&5
44672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44673 (exit $ac_status); } &&
44674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44676 (eval $ac_try) 2>&5
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); }; } &&
44680 { ac_try
='test -s conftest.$ac_objext'
44681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44682 (eval $ac_try) 2>&5
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); }; }; then
44686 wx_cv_type_getsockopt5
=size_t
44688 echo "$as_me: failed program was:" >&5
44689 sed 's/^/| /' conftest.
$ac_ext >&5
44691 cat >conftest.
$ac_ext <<_ACEOF
44694 cat confdefs.h
>>conftest.
$ac_ext
44695 cat >>conftest.
$ac_ext <<_ACEOF
44696 /* end confdefs.h. */
44698 #include <sys/types.h>
44699 #include <sys/socket.h>
44706 getsockopt(0, 0, 0, 0, &len);
44712 rm -f conftest.
$ac_objext
44713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44714 (eval $ac_compile) 2>conftest.er1
44716 grep -v '^ *+' conftest.er1
>conftest.err
44718 cat conftest.err
>&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } &&
44721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44723 (eval $ac_try) 2>&5
44725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44726 (exit $ac_status); }; } &&
44727 { ac_try
='test -s conftest.$ac_objext'
44728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44729 (eval $ac_try) 2>&5
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); }; }; then
44733 wx_cv_type_getsockopt5
=int
44735 echo "$as_me: failed program was:" >&5
44736 sed 's/^/| /' conftest.
$ac_ext >&5
44738 wx_cv_type_getsockopt5
=unknown
44741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44746 CXXFLAGS
="$CXXFLAGS_OLD"
44750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44753 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44754 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44756 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44758 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44759 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44761 cat >>confdefs.h
<<_ACEOF
44762 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44769 if test "$wxUSE_SOCKETS" = "yes" ; then
44770 cat >>confdefs.h
<<\_ACEOF
44771 #define wxUSE_SOCKETS 1
44774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44777 if test "$wxUSE_PROTOCOL" = "yes"; then
44778 if test "$wxUSE_SOCKETS" != "yes"; then
44779 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44780 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44785 if test "$wxUSE_PROTOCOL" = "yes"; then
44786 cat >>confdefs.h
<<\_ACEOF
44787 #define wxUSE_PROTOCOL 1
44791 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44792 cat >>confdefs.h
<<\_ACEOF
44793 #define wxUSE_PROTOCOL_HTTP 1
44797 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44798 cat >>confdefs.h
<<\_ACEOF
44799 #define wxUSE_PROTOCOL_FTP 1
44803 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44804 cat >>confdefs.h
<<\_ACEOF
44805 #define wxUSE_PROTOCOL_FILE 1
44810 if test "$wxUSE_FS_INET" = "yes"; then
44811 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44812 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44817 if test "$wxUSE_URL" = "yes"; then
44818 if test "$wxUSE_PROTOCOL" != "yes"; then
44819 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44820 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44823 if test "$wxUSE_URL" = "yes"; then
44824 cat >>confdefs.h
<<\_ACEOF
44825 #define wxUSE_URL 1
44831 if test "$wxUSE_VARIANT" = "yes"; then
44832 cat >>confdefs.h
<<\_ACEOF
44833 #define wxUSE_VARIANT 1
44838 if test "$wxUSE_FS_INET" = "yes"; then
44839 cat >>confdefs.h
<<\_ACEOF
44840 #define wxUSE_FS_INET 1
44846 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44849 if test "$TOOLKIT" = "MSW"; then
44852 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44853 if test "$USE_DARWIN" = 1; then
44854 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44855 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44856 cat >conftest.
$ac_ext <<_ACEOF
44859 cat confdefs.h
>>conftest.
$ac_ext
44860 cat >>conftest.
$ac_ext <<_ACEOF
44861 /* end confdefs.h. */
44862 #include <IOKit/hid/IOHIDLib.h>
44866 IOHIDQueueInterface *qi = NULL;
44867 IOHIDCallbackFunction cb = NULL;
44868 qi->setEventCallout(NULL, cb, NULL, NULL);
44873 rm -f conftest.
$ac_objext
44874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44875 (eval $ac_compile) 2>conftest.er1
44877 grep -v '^ *+' conftest.er1
>conftest.err
44879 cat conftest.err
>&5
44880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44881 (exit $ac_status); } &&
44882 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44884 (eval $ac_try) 2>&5
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); }; } &&
44888 { ac_try
='test -s conftest.$ac_objext'
44889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44890 (eval $ac_try) 2>&5
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; }; then
44897 echo "$as_me: failed program was:" >&5
44898 sed 's/^/| /' conftest.
$ac_ext >&5
44901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44902 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44903 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44908 for ac_header
in linux
/joystick.h
44910 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44912 echo "$as_me:$LINENO: checking for $ac_header" >&5
44913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44915 echo $ECHO_N "(cached) $ECHO_C" >&6
44917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44920 # Is the header compilable?
44921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44923 cat >conftest.
$ac_ext <<_ACEOF
44926 cat confdefs.h
>>conftest.
$ac_ext
44927 cat >>conftest.
$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44929 $ac_includes_default
44930 #include <$ac_header>
44932 rm -f conftest.
$ac_objext
44933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44934 (eval $ac_compile) 2>conftest.er1
44936 grep -v '^ *+' conftest.er1
>conftest.err
44938 cat conftest.err
>&5
44939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44940 (exit $ac_status); } &&
44941 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44943 (eval $ac_try) 2>&5
44945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44946 (exit $ac_status); }; } &&
44947 { ac_try
='test -s conftest.$ac_objext'
44948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44949 (eval $ac_try) 2>&5
44951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952 (exit $ac_status); }; }; then
44953 ac_header_compiler
=yes
44955 echo "$as_me: failed program was:" >&5
44956 sed 's/^/| /' conftest.
$ac_ext >&5
44958 ac_header_compiler
=no
44960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44962 echo "${ECHO_T}$ac_header_compiler" >&6
44964 # Is the header present?
44965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44967 cat >conftest.
$ac_ext <<_ACEOF
44970 cat confdefs.h
>>conftest.
$ac_ext
44971 cat >>conftest.
$ac_ext <<_ACEOF
44972 /* end confdefs.h. */
44973 #include <$ac_header>
44975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
44978 grep -v '^ *+' conftest.er1
>conftest.err
44980 cat conftest.err
>&5
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); } >/dev
/null
; then
44983 if test -s conftest.err
; then
44984 ac_cpp_err
=$ac_cxx_preproc_warn_flag
44985 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
44992 if test -z "$ac_cpp_err"; then
44993 ac_header_preproc
=yes
44995 echo "$as_me: failed program was:" >&5
44996 sed 's/^/| /' conftest.
$ac_ext >&5
44998 ac_header_preproc
=no
45000 rm -f conftest.err conftest.
$ac_ext
45001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45002 echo "${ECHO_T}$ac_header_preproc" >&6
45004 # So? What about this header?
45005 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45011 ac_header_preproc
=yes
45014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45028 ## ----------------------------------------- ##
45029 ## Report this to wx-dev@lists.wxwidgets.org ##
45030 ## ----------------------------------------- ##
45033 sed "s/^/$as_me: WARNING: /" >&2
45036 echo "$as_me:$LINENO: checking for $ac_header" >&5
45037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45039 echo $ECHO_N "(cached) $ECHO_C" >&6
45041 eval "$as_ac_Header=\$ac_header_preproc"
45043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45048 cat >>confdefs.h
<<_ACEOF
45049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45058 if test "$wxUSE_JOYSTICK" = "yes"; then
45059 cat >>confdefs.h
<<\_ACEOF
45060 #define wxUSE_JOYSTICK 1
45063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
45065 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45066 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45072 if test "$wxUSE_FONTMAP" = "yes" ; then
45073 cat >>confdefs.h
<<\_ACEOF
45074 #define wxUSE_FONTMAP 1
45079 if test "$wxUSE_UNICODE" = "yes" ; then
45080 cat >>confdefs.h
<<\_ACEOF
45081 #define wxUSE_UNICODE 1
45085 if test "$USE_WIN32" != 1; then
45086 wxUSE_UNICODE_MSLU
=no
45089 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45090 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45091 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45092 if test "${ac_cv_lib_unicows_main+set}" = set; then
45093 echo $ECHO_N "(cached) $ECHO_C" >&6
45095 ac_check_lib_save_LIBS
=$LIBS
45096 LIBS
="-lunicows $LIBS"
45097 cat >conftest.
$ac_ext <<_ACEOF
45100 cat confdefs.h
>>conftest.
$ac_ext
45101 cat >>conftest.
$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45113 rm -f conftest.
$ac_objext conftest
$ac_exeext
45114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45115 (eval $ac_link) 2>conftest.er1
45117 grep -v '^ *+' conftest.er1
>conftest.err
45119 cat conftest.err
>&5
45120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121 (exit $ac_status); } &&
45122 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124 (eval $ac_try) 2>&5
45126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127 (exit $ac_status); }; } &&
45128 { ac_try
='test -s conftest$ac_exeext'
45129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130 (eval $ac_try) 2>&5
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); }; }; then
45134 ac_cv_lib_unicows_main
=yes
45136 echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.
$ac_ext >&5
45139 ac_cv_lib_unicows_main
=no
45141 rm -f conftest.err conftest.
$ac_objext \
45142 conftest
$ac_exeext conftest.
$ac_ext
45143 LIBS
=$ac_check_lib_save_LIBS
45145 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45146 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45147 if test $ac_cv_lib_unicows_main = yes; then
45149 cat >>confdefs.h
<<\_ACEOF
45150 #define wxUSE_UNICODE_MSLU 1
45156 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45157 Applications will only run on Windows NT/2000/XP!" >&5
45158 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45159 Applications will only run on Windows NT/2000/XP!" >&2;}
45160 wxUSE_UNICODE_MSLU
=no
45167 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_EXPERIMENTAL_PRINTF 1
45175 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45176 cat >>confdefs.h
<<\_ACEOF
45177 #define wxUSE_POSTSCRIPT 1
45182 cat >>confdefs.h
<<\_ACEOF
45183 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45187 cat >>confdefs.h
<<\_ACEOF
45188 #define wxUSE_NORMALIZED_PS_FONTS 1
45193 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45194 cat >>confdefs.h
<<\_ACEOF
45195 #define wxUSE_CONSTRAINTS 1
45198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45201 if test "$wxUSE_MDI" = "yes"; then
45202 cat >>confdefs.h
<<\_ACEOF
45203 #define wxUSE_MDI 1
45207 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45208 cat >>confdefs.h
<<\_ACEOF
45209 #define wxUSE_MDI_ARCHITECTURE 1
45212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45216 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45217 cat >>confdefs.h
<<\_ACEOF
45218 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45222 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
45227 if test "$wxUSE_HELP" = "yes"; then
45228 cat >>confdefs.h
<<\_ACEOF
45229 #define wxUSE_HELP 1
45232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45234 if test "$wxUSE_MSW" = 1; then
45235 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45236 cat >>confdefs.h
<<\_ACEOF
45237 #define wxUSE_MS_HTML_HELP 1
45243 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45244 if test "$wxUSE_HTML" = "yes"; then
45245 cat >>confdefs.h
<<\_ACEOF
45246 #define wxUSE_WXHTML_HELP 1
45250 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45251 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45252 wxUSE_WXHTML_HELP
=no
45257 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45258 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45259 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45260 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45262 cat >>confdefs.h
<<\_ACEOF
45263 #define wxUSE_PRINTING_ARCHITECTURE 1
45267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45270 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45271 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45272 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45273 { (exit 1); exit 1; }; }
45277 if test "$wxUSE_METAFILE" = "yes"; then
45278 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45279 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45280 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45286 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45287 -o "$wxUSE_CLIPBOARD" = "yes" \
45288 -o "$wxUSE_OLE" = "yes" \
45289 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45291 for ac_header
in ole2.h
45293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45295 echo "$as_me:$LINENO: checking for $ac_header" >&5
45296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45298 echo $ECHO_N "(cached) $ECHO_C" >&6
45300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45303 # Is the header compilable?
45304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45306 cat >conftest.
$ac_ext <<_ACEOF
45309 cat confdefs.h
>>conftest.
$ac_ext
45310 cat >>conftest.
$ac_ext <<_ACEOF
45311 /* end confdefs.h. */
45312 $ac_includes_default
45313 #include <$ac_header>
45315 rm -f conftest.
$ac_objext
45316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45317 (eval $ac_compile) 2>conftest.er1
45319 grep -v '^ *+' conftest.er1
>conftest.err
45321 cat conftest.err
>&5
45322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45323 (exit $ac_status); } &&
45324 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45326 (eval $ac_try) 2>&5
45328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45329 (exit $ac_status); }; } &&
45330 { ac_try
='test -s conftest.$ac_objext'
45331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45332 (eval $ac_try) 2>&5
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); }; }; then
45336 ac_header_compiler
=yes
45338 echo "$as_me: failed program was:" >&5
45339 sed 's/^/| /' conftest.
$ac_ext >&5
45341 ac_header_compiler
=no
45343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45345 echo "${ECHO_T}$ac_header_compiler" >&6
45347 # Is the header present?
45348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45350 cat >conftest.
$ac_ext <<_ACEOF
45353 cat confdefs.h
>>conftest.
$ac_ext
45354 cat >>conftest.
$ac_ext <<_ACEOF
45355 /* end confdefs.h. */
45356 #include <$ac_header>
45358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
45361 grep -v '^ *+' conftest.er1
>conftest.err
45363 cat conftest.err
>&5
45364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45365 (exit $ac_status); } >/dev
/null
; then
45366 if test -s conftest.err
; then
45367 ac_cpp_err
=$ac_cxx_preproc_warn_flag
45368 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
45375 if test -z "$ac_cpp_err"; then
45376 ac_header_preproc
=yes
45378 echo "$as_me: failed program was:" >&5
45379 sed 's/^/| /' conftest.
$ac_ext >&5
45381 ac_header_preproc
=no
45383 rm -f conftest.err conftest.
$ac_ext
45384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45385 echo "${ECHO_T}$ac_header_preproc" >&6
45387 # So? What about this header?
45388 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45394 ac_header_preproc
=yes
45397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45411 ## ----------------------------------------- ##
45412 ## Report this to wx-dev@lists.wxwidgets.org ##
45413 ## ----------------------------------------- ##
45416 sed "s/^/$as_me: WARNING: /" >&2
45419 echo "$as_me:$LINENO: checking for $ac_header" >&5
45420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45422 echo $ECHO_N "(cached) $ECHO_C" >&6
45424 eval "$as_ac_Header=\$ac_header_preproc"
45426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45431 cat >>confdefs.h
<<_ACEOF
45432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45440 if test "$ac_cv_header_ole2_h" = "yes" ; then
45441 if test "$GCC" = yes ; then
45442 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45443 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45444 cat >conftest.
$ac_ext <<_ACEOF
45447 cat confdefs.h
>>conftest.
$ac_ext
45448 cat >>conftest.
$ac_ext <<_ACEOF
45449 /* end confdefs.h. */
45450 #include <windows.h>
45460 rm -f conftest.
$ac_objext
45461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45462 (eval $ac_compile) 2>conftest.er1
45464 grep -v '^ *+' conftest.er1
>conftest.err
45466 cat conftest.err
>&5
45467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45468 (exit $ac_status); } &&
45469 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45471 (eval $ac_try) 2>&5
45473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45474 (exit $ac_status); }; } &&
45475 { ac_try
='test -s conftest.$ac_objext'
45476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45477 (eval $ac_try) 2>&5
45479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45480 (exit $ac_status); }; }; then
45481 echo "$as_me:$LINENO: result: no" >&5
45482 echo "${ECHO_T}no" >&6
45484 echo "$as_me: failed program was:" >&5
45485 sed 's/^/| /' conftest.
$ac_ext >&5
45487 echo "$as_me:$LINENO: result: yes" >&5
45488 echo "${ECHO_T}yes" >&6
45489 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45492 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45493 if test "$wxUSE_OLE" = "yes" ; then
45494 cat >>confdefs.h
<<\_ACEOF
45495 #define wxUSE_OLE 1
45498 cat >>confdefs.h
<<\_ACEOF
45499 #define wxUSE_OLE_AUTOMATION 1
45502 cat >>confdefs.h
<<\_ACEOF
45503 #define wxUSE_OLE_ACTIVEX 1
45506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45510 if test "$wxUSE_DATAOBJ" = "yes" ; then
45511 cat >>confdefs.h
<<\_ACEOF
45512 #define wxUSE_DATAOBJ 1
45517 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45518 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45521 wxUSE_DRAG_AND_DROP
=no
45526 if test "$wxUSE_METAFILE" = "yes"; then
45527 cat >>confdefs.h
<<\_ACEOF
45528 #define wxUSE_METAFILE 1
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define wxUSE_ENH_METAFILE 1
45539 if test "$wxUSE_IPC" = "yes"; then
45540 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45541 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45542 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45546 if test "$wxUSE_IPC" = "yes"; then
45547 cat >>confdefs.h
<<\_ACEOF
45548 #define wxUSE_IPC 1
45551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45555 if test "$wxUSE_DATAOBJ" = "yes"; then
45556 if test "$wxUSE_MGL" = 1; then
45557 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45558 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45561 cat >>confdefs.h
<<\_ACEOF
45562 #define wxUSE_DATAOBJ 1
45567 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45568 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45570 wxUSE_DRAG_AND_DROP
=no
45573 if test "$wxUSE_CLIPBOARD" = "yes"; then
45574 if test "$wxUSE_MGL" = 1; then
45575 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45576 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45580 if test "$wxUSE_CLIPBOARD" = "yes"; then
45581 cat >>confdefs.h
<<\_ACEOF
45582 #define wxUSE_CLIPBOARD 1
45588 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45589 if test "$wxUSE_GTK" = 1; then
45590 if test "$WXGTK12" != 1; then
45591 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45592 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45593 wxUSE_DRAG_AND_DROP
=no
45597 if test "$wxUSE_MOTIF" = 1; then
45598 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45599 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45600 wxUSE_DRAG_AND_DROP
=no
45603 if test "$wxUSE_X11" = 1; then
45604 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45605 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45606 wxUSE_DRAG_AND_DROP
=no
45609 if test "$wxUSE_MGL" = 1; then
45610 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45611 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45612 wxUSE_DRAG_AND_DROP
=no
45615 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45616 cat >>confdefs.h
<<\_ACEOF
45617 #define wxUSE_DRAG_AND_DROP 1
45624 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45628 if test "$wxUSE_SPLINES" = "yes" ; then
45629 cat >>confdefs.h
<<\_ACEOF
45630 #define wxUSE_SPLINES 1
45635 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45636 cat >>confdefs.h
<<\_ACEOF
45637 #define wxUSE_MOUSEWHEEL 1
45644 if test "$wxUSE_CONTROLS" = "yes"; then
45648 if test "$wxUSE_ACCEL" = "yes"; then
45649 cat >>confdefs.h
<<\_ACEOF
45650 #define wxUSE_ACCEL 1
45656 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45657 cat >>confdefs.h
<<\_ACEOF
45658 #define wxUSE_ANIMATIONCTRL 1
45662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45665 if test "$wxUSE_BUTTON" = "yes"; then
45666 cat >>confdefs.h
<<\_ACEOF
45667 #define wxUSE_BUTTON 1
45673 if test "$wxUSE_BMPBUTTON" = "yes"; then
45674 cat >>confdefs.h
<<\_ACEOF
45675 #define wxUSE_BMPBUTTON 1
45681 if test "$wxUSE_CALCTRL" = "yes"; then
45682 cat >>confdefs.h
<<\_ACEOF
45683 #define wxUSE_CALENDARCTRL 1
45687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45690 if test "$wxUSE_CARET" = "yes"; then
45691 cat >>confdefs.h
<<\_ACEOF
45692 #define wxUSE_CARET 1
45696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45699 if test "$wxUSE_COMBOBOX" = "yes"; then
45700 cat >>confdefs.h
<<\_ACEOF
45701 #define wxUSE_COMBOBOX 1
45707 if test "$wxUSE_COMBOCTRL" = "yes"; then
45708 cat >>confdefs.h
<<\_ACEOF
45709 #define wxUSE_COMBOCTRL 1
45715 if test "$wxUSE_CHOICE" = "yes"; then
45716 cat >>confdefs.h
<<\_ACEOF
45717 #define wxUSE_CHOICE 1
45723 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45724 cat >>confdefs.h
<<\_ACEOF
45725 #define wxUSE_CHOICEBOOK 1
45731 if test "$wxUSE_CHECKBOX" = "yes"; then
45732 cat >>confdefs.h
<<\_ACEOF
45733 #define wxUSE_CHECKBOX 1
45739 if test "$wxUSE_CHECKLST" = "yes"; then
45740 cat >>confdefs.h
<<\_ACEOF
45741 #define wxUSE_CHECKLISTBOX 1
45745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
45748 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45749 cat >>confdefs.h
<<\_ACEOF
45750 #define wxUSE_COLOURPICKERCTRL 1
45756 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45757 cat >>confdefs.h
<<\_ACEOF
45758 #define wxUSE_DATEPICKCTRL 1
45764 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45765 cat >>confdefs.h
<<\_ACEOF
45766 #define wxUSE_DIRPICKERCTRL 1
45772 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45773 cat >>confdefs.h
<<\_ACEOF
45774 #define wxUSE_FILEPICKERCTRL 1
45780 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45781 cat >>confdefs.h
<<\_ACEOF
45782 #define wxUSE_FONTPICKERCTRL 1
45788 if test "$wxUSE_DISPLAY" = "yes"; then
45789 cat >>confdefs.h
<<\_ACEOF
45790 #define wxUSE_DISPLAY 1
45793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
45796 if test "$wxUSE_DETECT_SM" = "yes"; then
45797 cat >>confdefs.h
<<\_ACEOF
45798 #define wxUSE_DETECT_SM 1
45803 if test "$wxUSE_GAUGE" = "yes"; then
45804 cat >>confdefs.h
<<\_ACEOF
45805 #define wxUSE_GAUGE 1
45811 if test "$wxUSE_GRID" = "yes"; then
45812 cat >>confdefs.h
<<\_ACEOF
45813 #define wxUSE_GRID 1
45817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45820 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45821 cat >>confdefs.h
<<\_ACEOF
45822 #define wxUSE_HYPERLINKCTRL 1
45828 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45829 cat >>confdefs.h
<<\_ACEOF
45830 #define wxUSE_BITMAPCOMBOBOX 1
45836 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45837 cat >>confdefs.h
<<\_ACEOF
45838 #define wxUSE_DATAVIEWCTRL 1
45842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45845 if test "$wxUSE_IMAGLIST" = "yes"; then
45846 cat >>confdefs.h
<<\_ACEOF
45847 #define wxUSE_IMAGLIST 1
45852 if test "$wxUSE_LISTBOOK" = "yes"; then
45853 cat >>confdefs.h
<<\_ACEOF
45854 #define wxUSE_LISTBOOK 1
45860 if test "$wxUSE_LISTBOX" = "yes"; then
45861 cat >>confdefs.h
<<\_ACEOF
45862 #define wxUSE_LISTBOX 1
45866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
45869 if test "$wxUSE_LISTCTRL" = "yes"; then
45870 if test "$wxUSE_IMAGLIST" = "yes"; then
45871 cat >>confdefs.h
<<\_ACEOF
45872 #define wxUSE_LISTCTRL 1
45876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45878 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45879 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45883 if test "$wxUSE_NOTEBOOK" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_NOTEBOOK 1
45889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45892 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45893 cat >>confdefs.h
<<\_ACEOF
45894 #define wxUSE_ODCOMBOBOX 1
45898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45902 if test "$wxUSE_RADIOBOX" = "yes"; then
45903 cat >>confdefs.h
<<\_ACEOF
45904 #define wxUSE_RADIOBOX 1
45910 if test "$wxUSE_RADIOBTN" = "yes"; then
45911 cat >>confdefs.h
<<\_ACEOF
45912 #define wxUSE_RADIOBTN 1
45918 if test "$wxUSE_SASH" = "yes"; then
45919 cat >>confdefs.h
<<\_ACEOF
45920 #define wxUSE_SASH 1
45923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45926 if test "$wxUSE_SCROLLBAR" = "yes"; then
45927 cat >>confdefs.h
<<\_ACEOF
45928 #define wxUSE_SCROLLBAR 1
45932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45935 if test "$wxUSE_SLIDER" = "yes"; then
45936 cat >>confdefs.h
<<\_ACEOF
45937 #define wxUSE_SLIDER 1
45943 if test "$wxUSE_SPINBTN" = "yes"; then
45944 cat >>confdefs.h
<<\_ACEOF
45945 #define wxUSE_SPINBTN 1
45951 if test "$wxUSE_SPINCTRL" = "yes"; then
45952 cat >>confdefs.h
<<\_ACEOF
45953 #define wxUSE_SPINCTRL 1
45959 if test "$wxUSE_SPLITTER" = "yes"; then
45960 cat >>confdefs.h
<<\_ACEOF
45961 #define wxUSE_SPLITTER 1
45964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45967 if test "$wxUSE_STATBMP" = "yes"; then
45968 cat >>confdefs.h
<<\_ACEOF
45969 #define wxUSE_STATBMP 1
45975 if test "$wxUSE_STATBOX" = "yes"; then
45976 cat >>confdefs.h
<<\_ACEOF
45977 #define wxUSE_STATBOX 1
45983 if test "$wxUSE_STATTEXT" = "yes"; then
45984 cat >>confdefs.h
<<\_ACEOF
45985 #define wxUSE_STATTEXT 1
45991 if test "$wxUSE_STATLINE" = "yes"; then
45992 cat >>confdefs.h
<<\_ACEOF
45993 #define wxUSE_STATLINE 1
45999 if test "$wxUSE_STATUSBAR" = "yes"; then
46000 cat >>confdefs.h
<<\_ACEOF
46001 #define wxUSE_NATIVE_STATUSBAR 1
46004 cat >>confdefs.h
<<\_ACEOF
46005 #define wxUSE_STATUSBAR 1
46010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46013 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46014 cat >>confdefs.h
<<\_ACEOF
46015 #define wxUSE_TAB_DIALOG 1
46020 if test "$wxUSE_TEXTCTRL" = "yes"; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_TEXTCTRL 1
46026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46029 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46030 if test "$wxUSE_COCOA" = 1 ; then
46031 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46032 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46036 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46037 cat >>confdefs.h
<<\_ACEOF
46038 #define wxUSE_TOGGLEBTN 1
46045 if test "$wxUSE_TOOLBAR" = "yes"; then
46046 cat >>confdefs.h
<<\_ACEOF
46047 #define wxUSE_TOOLBAR 1
46052 if test "$wxUSE_UNIVERSAL" = "yes"; then
46053 wxUSE_TOOLBAR_NATIVE
="no"
46055 wxUSE_TOOLBAR_NATIVE
="yes"
46056 cat >>confdefs.h
<<\_ACEOF
46057 #define wxUSE_TOOLBAR_NATIVE 1
46062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46065 if test "$wxUSE_TOOLTIPS" = "yes"; then
46066 if test "$wxUSE_MOTIF" = 1; then
46067 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46068 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46070 if test "$wxUSE_UNIVERSAL" = "yes"; then
46071 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46072 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46074 cat >>confdefs.h
<<\_ACEOF
46075 #define wxUSE_TOOLTIPS 1
46082 if test "$wxUSE_TREEBOOK" = "yes"; then
46083 cat >>confdefs.h
<<\_ACEOF
46084 #define wxUSE_TREEBOOK 1
46090 if test "$wxUSE_TOOLBOOK" = "yes"; then
46091 cat >>confdefs.h
<<\_ACEOF
46092 #define wxUSE_TOOLBOOK 1
46098 if test "$wxUSE_TREECTRL" = "yes"; then
46099 if test "$wxUSE_IMAGLIST" = "yes"; then
46100 cat >>confdefs.h
<<\_ACEOF
46101 #define wxUSE_TREECTRL 1
46105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46107 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46108 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46112 if test "$wxUSE_POPUPWIN" = "yes"; then
46113 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46114 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46115 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46117 if test "$wxUSE_PM" = 1; then
46118 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46119 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46121 cat >>confdefs.h
<<\_ACEOF
46122 #define wxUSE_POPUPWIN 1
46125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46132 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46133 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46134 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46135 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46137 cat >>confdefs.h
<<\_ACEOF
46138 #define wxUSE_DIALUP_MANAGER 1
46141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46145 if test "$wxUSE_TIPWINDOW" = "yes"; then
46146 if test "$wxUSE_PM" = 1; then
46147 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46148 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46150 cat >>confdefs.h
<<\_ACEOF
46151 #define wxUSE_TIPWINDOW 1
46157 if test "$USES_CONTROLS" = 1; then
46158 cat >>confdefs.h
<<\_ACEOF
46159 #define wxUSE_CONTROLS 1
46165 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46166 cat >>confdefs.h
<<\_ACEOF
46167 #define wxUSE_ACCESSIBILITY 1
46170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46173 if test "$wxUSE_DC_CACHEING" = "yes"; then
46174 cat >>confdefs.h
<<\_ACEOF
46175 #define wxUSE_DC_CACHEING 1
46180 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46181 cat >>confdefs.h
<<\_ACEOF
46182 #define wxUSE_DRAGIMAGE 1
46185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46188 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46189 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46190 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46191 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46193 cat >>confdefs.h
<<\_ACEOF
46194 #define wxUSE_EXCEPTIONS 1
46197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46202 if test "$wxUSE_HTML" = "yes"; then
46203 cat >>confdefs.h
<<\_ACEOF
46204 #define wxUSE_HTML 1
46208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46209 if test "$wxUSE_MAC" = 1; then
46210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
46213 if test "$wxUSE_WEBKIT" = "yes"; then
46214 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46215 old_CPPFLAGS
="$CPPFLAGS"
46216 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46217 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46218 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46219 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46220 echo $ECHO_N "(cached) $ECHO_C" >&6
46222 cat >conftest.
$ac_ext <<_ACEOF
46225 cat confdefs.h
>>conftest.
$ac_ext
46226 cat >>conftest.
$ac_ext <<_ACEOF
46227 /* end confdefs.h. */
46228 #include <Carbon/Carbon.h>
46230 #include <WebKit/HIWebView.h>
46232 rm -f conftest.
$ac_objext
46233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46234 (eval $ac_compile) 2>conftest.er1
46236 grep -v '^ *+' conftest.er1
>conftest.err
46238 cat conftest.err
>&5
46239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46240 (exit $ac_status); } &&
46241 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46243 (eval $ac_try) 2>&5
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); }; } &&
46247 { ac_try
='test -s conftest.$ac_objext'
46248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46249 (eval $ac_try) 2>&5
46251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252 (exit $ac_status); }; }; then
46253 ac_cv_header_WebKit_HIWebView_h
=yes
46255 echo "$as_me: failed program was:" >&5
46256 sed 's/^/| /' conftest.
$ac_ext >&5
46258 ac_cv_header_WebKit_HIWebView_h
=no
46260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46262 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46263 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46264 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46266 cat >>confdefs.h
<<\_ACEOF
46267 #define wxUSE_WEBKIT 1
46270 WEBKIT_LINK
="-framework WebKit"
46274 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46275 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46281 CPPFLAGS
="$old_CPPFLAGS"
46282 elif test "$wxUSE_COCOA" = 1; then
46283 cat >>confdefs.h
<<\_ACEOF
46284 #define wxUSE_WEBKIT 1
46293 if test "$wxUSE_XRC" = "yes"; then
46294 if test "$wxUSE_XML" != "yes"; then
46295 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46296 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46299 cat >>confdefs.h
<<\_ACEOF
46300 #define wxUSE_XRC 1
46304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
46309 if test "$wxUSE_AUI" = "yes"; then
46310 cat >>confdefs.h
<<\_ACEOF
46311 #define wxUSE_AUI 1
46315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
46318 if test "$wxUSE_MENUS" = "yes"; then
46319 cat >>confdefs.h
<<\_ACEOF
46320 #define wxUSE_MENUS 1
46323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
46326 if test "$wxUSE_METAFILE" = "yes"; then
46327 cat >>confdefs.h
<<\_ACEOF
46328 #define wxUSE_METAFILE 1
46333 if test "$wxUSE_MIMETYPE" = "yes"; then
46334 cat >>confdefs.h
<<\_ACEOF
46335 #define wxUSE_MIMETYPE 1
46340 if test "$wxUSE_MINIFRAME" = "yes"; then
46341 cat >>confdefs.h
<<\_ACEOF
46342 #define wxUSE_MINIFRAME 1
46345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
46348 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46349 cat >>confdefs.h
<<\_ACEOF
46350 #define wxUSE_SYSTEM_OPTIONS 1
46353 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46354 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
46360 if test "$wxUSE_VALIDATORS" = "yes"; then
46361 cat >>confdefs.h
<<\_ACEOF
46362 #define wxUSE_VALIDATORS 1
46365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
46368 if test "$wxUSE_PALETTE" = "yes" ; then
46369 cat >>confdefs.h
<<\_ACEOF
46370 #define wxUSE_PALETTE 1
46375 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46376 LIBS
=" -lunicows $LIBS"
46380 if test "$wxUSE_RICHTEXT" = "yes"; then
46381 cat >>confdefs.h
<<\_ACEOF
46382 #define wxUSE_RICHTEXT 1
46386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
46390 if test "$wxUSE_IMAGE" = "yes" ; then
46391 cat >>confdefs.h
<<\_ACEOF
46392 #define wxUSE_IMAGE 1
46396 if test "$wxUSE_GIF" = "yes" ; then
46397 cat >>confdefs.h
<<\_ACEOF
46398 #define wxUSE_GIF 1
46403 if test "$wxUSE_PCX" = "yes" ; then
46404 cat >>confdefs.h
<<\_ACEOF
46405 #define wxUSE_PCX 1
46410 if test "$wxUSE_IFF" = "yes" ; then
46411 cat >>confdefs.h
<<\_ACEOF
46412 #define wxUSE_IFF 1
46417 if test "$wxUSE_PNM" = "yes" ; then
46418 cat >>confdefs.h
<<\_ACEOF
46419 #define wxUSE_PNM 1
46424 if test "$wxUSE_XPM" = "yes" ; then
46425 cat >>confdefs.h
<<\_ACEOF
46426 #define wxUSE_XPM 1
46431 if test "$wxUSE_ICO_CUR" = "yes" ; then
46432 cat >>confdefs.h
<<\_ACEOF
46433 #define wxUSE_ICO_CUR 1
46440 if test "$wxUSE_ABOUTDLG" = "yes"; then
46441 cat >>confdefs.h
<<\_ACEOF
46442 #define wxUSE_ABOUTDLG 1
46447 if test "$wxUSE_CHOICEDLG" = "yes"; then
46448 cat >>confdefs.h
<<\_ACEOF
46449 #define wxUSE_CHOICEDLG 1
46454 if test "$wxUSE_COLOURDLG" = "yes"; then
46455 cat >>confdefs.h
<<\_ACEOF
46456 #define wxUSE_COLOURDLG 1
46461 if test "$wxUSE_FILEDLG" = "yes"; then
46462 cat >>confdefs.h
<<\_ACEOF
46463 #define wxUSE_FILEDLG 1
46468 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46469 cat >>confdefs.h
<<\_ACEOF
46470 #define wxUSE_FINDREPLDLG 1
46475 if test "$wxUSE_FONTDLG" = "yes"; then
46476 cat >>confdefs.h
<<\_ACEOF
46477 #define wxUSE_FONTDLG 1
46482 if test "$wxUSE_DIRDLG" = "yes"; then
46483 if test "$wxUSE_TREECTRL" != "yes"; then
46484 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46485 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46487 cat >>confdefs.h
<<\_ACEOF
46488 #define wxUSE_DIRDLG 1
46494 if test "$wxUSE_MSGDLG" = "yes"; then
46495 cat >>confdefs.h
<<\_ACEOF
46496 #define wxUSE_MSGDLG 1
46501 if test "$wxUSE_NUMBERDLG" = "yes"; then
46502 cat >>confdefs.h
<<\_ACEOF
46503 #define wxUSE_NUMBERDLG 1
46508 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46509 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46510 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46511 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46513 cat >>confdefs.h
<<\_ACEOF
46514 #define wxUSE_PROGRESSDLG 1
46520 if test "$wxUSE_SPLASH" = "yes"; then
46521 cat >>confdefs.h
<<\_ACEOF
46522 #define wxUSE_SPLASH 1
46525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
46528 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46529 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46530 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46531 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46533 cat >>confdefs.h
<<\_ACEOF
46534 #define wxUSE_STARTUP_TIPS 1
46540 if test "$wxUSE_TEXTDLG" = "yes"; then
46541 cat >>confdefs.h
<<\_ACEOF
46542 #define wxUSE_TEXTDLG 1
46547 if test "$wxUSE_WIZARDDLG" = "yes"; then
46548 cat >>confdefs.h
<<\_ACEOF
46549 #define wxUSE_WIZARDDLG 1
46552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
46556 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46557 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46558 cat >>confdefs.h
<<\_ACEOF
46559 #define wxUSE_GRAPHICS_CONTEXT 1
46562 elif test "$wxUSE_GTK" != 1; then
46563 cat >>confdefs.h
<<\_ACEOF
46564 #define wxUSE_GRAPHICS_CONTEXT 1
46570 echo "$as_me:$LINENO: checking for CAIRO" >&5
46571 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46573 if test -n "$PKG_CONFIG"; then
46574 if test -n "$CAIRO_CFLAGS"; then
46575 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
46577 if test -n "$PKG_CONFIG" && \
46578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46579 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); }; then
46583 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46591 if test -n "$PKG_CONFIG"; then
46592 if test -n "$CAIRO_LIBS"; then
46593 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
46595 if test -n "$PKG_CONFIG" && \
46596 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46597 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46600 (exit $ac_status); }; then
46601 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46612 if test $pkg_failed = yes; then
46614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46615 _pkg_short_errors_supported
=yes
46617 _pkg_short_errors_supported
=no
46619 if test $_pkg_short_errors_supported = yes; then
46620 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46622 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46624 # Put the nasty error message in config.log where it belongs
46625 echo "$CAIRO_PKG_ERRORS" >&5
46628 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46629 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46632 elif test $pkg_failed = untried
; then
46634 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46635 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46639 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
46640 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
46641 echo "$as_me:$LINENO: result: yes" >&5
46642 echo "${ECHO_T}yes" >&6
46644 cat >>confdefs.h
<<\_ACEOF
46645 #define wxUSE_GRAPHICS_CONTEXT 1
46656 if test "$wxUSE_MEDIACTRL" = "yes"; then
46659 if test "$wxUSE_GTK" = 1; then
46660 wxUSE_GSTREAMER
="no"
46662 GST_VERSION_MAJOR
=0
46663 GST_VERSION_MINOR
=10
46664 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46666 if test "$wxUSE_GSTREAMER8" = "no"; then
46669 echo "$as_me:$LINENO: checking for GST" >&5
46670 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46672 if test -n "$PKG_CONFIG"; then
46673 if test -n "$GST_CFLAGS"; then
46674 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46676 if test -n "$PKG_CONFIG" && \
46677 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46678 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46681 (exit $ac_status); }; then
46682 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46690 if test -n "$PKG_CONFIG"; then
46691 if test -n "$GST_LIBS"; then
46692 pkg_cv_GST_LIBS
="$GST_LIBS"
46694 if test -n "$PKG_CONFIG" && \
46695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46696 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); }; then
46700 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46711 if test $pkg_failed = yes; then
46713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46714 _pkg_short_errors_supported
=yes
46716 _pkg_short_errors_supported
=no
46718 if test $_pkg_short_errors_supported = yes; then
46719 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46721 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46723 # Put the nasty error message in config.log where it belongs
46724 echo "$GST_PKG_ERRORS" >&5
46727 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46728 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46729 GST_VERSION_MINOR
=8
46732 elif test $pkg_failed = untried
; then
46734 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46735 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46736 GST_VERSION_MINOR
=8
46740 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46741 GST_LIBS
=$pkg_cv_GST_LIBS
46742 echo "$as_me:$LINENO: result: yes" >&5
46743 echo "${ECHO_T}yes" >&6
46745 wxUSE_GSTREAMER
="yes"
46746 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46750 GST_VERSION_MINOR
=8
46753 if test $GST_VERSION_MINOR = "8"; then
46754 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
46757 echo "$as_me:$LINENO: checking for GST" >&5
46758 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46760 if test -n "$PKG_CONFIG"; then
46761 if test -n "$GST_CFLAGS"; then
46762 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
46764 if test -n "$PKG_CONFIG" && \
46765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46766 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); }; then
46770 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46778 if test -n "$PKG_CONFIG"; then
46779 if test -n "$GST_LIBS"; then
46780 pkg_cv_GST_LIBS
="$GST_LIBS"
46782 if test -n "$PKG_CONFIG" && \
46783 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46784 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46787 (exit $ac_status); }; then
46788 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46799 if test $pkg_failed = yes; then
46801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46802 _pkg_short_errors_supported
=yes
46804 _pkg_short_errors_supported
=no
46806 if test $_pkg_short_errors_supported = yes; then
46807 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46809 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46811 # Put the nasty error message in config.log where it belongs
46812 echo "$GST_PKG_ERRORS" >&5
46815 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46816 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46818 elif test $pkg_failed = untried
; then
46820 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46821 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46824 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
46825 GST_LIBS
=$pkg_cv_GST_LIBS
46826 echo "$as_me:$LINENO: result: yes" >&5
46827 echo "${ECHO_T}yes" >&6
46828 wxUSE_GSTREAMER
="yes"
46833 if test "$wxUSE_GSTREAMER" = "yes"; then
46836 if "$GCC" = yes; then
46837 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
46838 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
46842 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
46843 LIBS
="$GST_LIBS $LIBS"
46845 cat >>confdefs.h
<<\_ACEOF
46846 #define wxUSE_GSTREAMER 1
46854 if test $USE_MEDIA = 1; then
46855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
46856 cat >>confdefs.h
<<\_ACEOF
46857 #define wxUSE_MEDIACTRL 1
46864 if test "$cross_compiling" = "yes"; then
46867 OSINFO
=`uname -s -r -m`
46868 OSINFO
="\"$OSINFO\""
46871 cat >>confdefs.h
<<_ACEOF
46872 #define WXWIN_OS_DESCRIPTION $OSINFO
46877 if test "x$prefix" != "xNONE"; then
46880 wxPREFIX
=$ac_default_prefix
46883 cat >>confdefs.h
<<_ACEOF
46884 #define wxINSTALL_PREFIX "$wxPREFIX"
46890 CORE_BASE_LIBS
="net base"
46891 CORE_GUI_LIBS
="adv core"
46893 if test "$wxUSE_XML" = "yes" ; then
46894 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46896 if test "$wxUSE_ODBC" != "no" ; then
46897 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46898 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46900 if test "$wxUSE_HTML" = "yes" ; then
46901 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46903 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46904 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46906 if test "$wxUSE_XRC" = "yes" ; then
46907 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46909 if test "$wxUSE_AUI" = "yes" ; then
46910 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46913 if test "$wxUSE_GUI" != "yes"; then
46922 ac_cpp
='$CPP $CPPFLAGS'
46923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46929 if test "$wxUSE_MAC" = 1 ; then
46930 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46931 if test "$USE_DARWIN" = 1; then
46932 LDFLAGS
="$LDFLAGS -framework QuickTime"
46934 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46937 if test "$USE_DARWIN" = 1; then
46938 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46940 LDFLAGS
="$LDFLAGS -lCarbonLib"
46943 if test "$wxUSE_COCOA" = 1 ; then
46944 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46945 if test "$wxUSE_MEDIACTRL" = "yes"; then
46946 LDFLAGS
="$LDFLAGS -framework QuickTime"
46949 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46950 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46953 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46955 if test "$wxUSE_GUI" = "yes"; then
46958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46959 dynamic erase event exec font image minimal mobile \
46960 mobile/wxedit mobile/styles propsize render \
46961 rotate shaped vscroll widgets"
46963 if test "$wxUSE_MONOLITHIC" != "yes"; then
46964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46966 if test "$TOOLKIT" = "MSW"; then
46967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46968 if test "$wxUSE_UNIVERSAL" != "yes"; then
46969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46972 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46976 SAMPLES_SUBDIRS
="console"
46980 if test "x$INTELCC" = "xyes" ; then
46981 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46982 elif test "$GCC" = yes ; then
46983 CWARNINGS
="-Wall -Wundef"
46986 if test "x$INTELCXX" = "xyes" ; then
46987 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46988 elif test "$GXX" = yes ; then
46989 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46993 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46994 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46997 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46998 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46999 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47002 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47003 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47004 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47006 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47009 if test "x$MWCC" = "xyes"; then
47011 CC
="$CC -cwd source -I-"
47012 CXX
="$CXX -cwd source -I-"
47017 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47018 EXTRALIBS_XML
="$EXPAT_LINK"
47019 EXTRALIBS_HTML
="$MSPACK_LINK"
47020 EXTRALIBS_ODBC
="$ODBC_LINK"
47021 if test "$wxUSE_GUI" = "yes"; then
47022 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47024 if test "$wxUSE_OPENGL" = "yes"; then
47025 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47028 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47030 WXCONFIG_LIBS
="$LIBS"
47032 if test "$wxUSE_REGEX" = "builtin" ; then
47033 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47035 if test "$wxUSE_EXPAT" = "builtin" ; then
47036 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47038 if test "$wxUSE_ODBC" = "builtin" ; then
47039 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
47041 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47042 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47044 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47045 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47047 if test "$wxUSE_LIBPNG" = "builtin" ; then
47048 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47050 if test "$wxUSE_ZLIB" = "builtin" ; then
47051 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47054 for i
in $wxconfig_3rdparty ; do
47055 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47059 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47062 case "$wxUNIV_THEMES" in
47064 cat >>confdefs.h
<<\_ACEOF
47065 #define wxUSE_ALL_THEMES 1
47071 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47072 cat >>confdefs.h
<<_ACEOF
47073 #define wxUSE_THEME_$t 1
47090 if test $wxUSE_MONOLITHIC = "yes" ; then
47096 if test $wxUSE_PLUGINS = "yes" ; then
47102 if test $wxUSE_ODBC != "no" ; then
47108 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47114 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47144 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47155 TOOLKIT_DESC
="GTK+"
47156 if test "$WXGTK20" = 1; then
47157 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47158 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47159 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47161 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47162 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47164 if test "$wxUSE_LIBHILDON" = "yes"; then
47165 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47168 if test "$TOOLKIT_EXTRA" != ""; then
47169 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47175 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47179 TOOLKIT_DESC
="base only"
47183 if test "$wxUSE_WINE" = "yes"; then
47184 BAKEFILE_FORCE_PLATFORM
=win32
47187 if test "$wxUSE_MAC" = 1 ; then
47188 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
47189 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
47190 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47192 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47194 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
47195 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
47196 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
47197 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
47200 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47201 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47204 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47206 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47207 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47208 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47212 wx_cv_gcc_pch_bug
=no
47213 echo 'const wchar_t test_var[] = L"wide string";' > conftest.h
47215 if $CXX conftest.h
>& /dev
/null
47218 echo '#include "conftest.h"'
47219 echo 'const wchar_t *test() { return test_var; }'
47222 if $CXX -c -o conftest.o conftest.cpp
>& /dev
/null
47224 tr -dc 'a-z' < conftest.o
|
47225 grep 'widestring' >& /dev
/null
||
47226 wx_cv_gcc_pch_bug
=yes
47230 rm -f conftest.h conftest.gch conftest.cpp conftest.o
47233 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47234 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47236 if test "$wx_cv_gcc_pch_bug" = yes; then
47244 if test "x$BAKEFILE_HOST" = "x"; then
47245 if test "x${host}" = "x" ; then
47246 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47247 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47248 { (exit 1); exit 1; }; }
47251 BAKEFILE_HOST
="${host}"
47254 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47256 if test -n "$ac_tool_prefix"; then
47257 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47258 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47259 echo "$as_me:$LINENO: checking for $ac_word" >&5
47260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47261 if test "${ac_cv_prog_RANLIB+set}" = set; then
47262 echo $ECHO_N "(cached) $ECHO_C" >&6
47264 if test -n "$RANLIB"; then
47265 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47268 for as_dir
in $PATH
47271 test -z "$as_dir" && as_dir
=.
47272 for ac_exec_ext
in '' $ac_executable_extensions; do
47273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47274 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47283 RANLIB
=$ac_cv_prog_RANLIB
47284 if test -n "$RANLIB"; then
47285 echo "$as_me:$LINENO: result: $RANLIB" >&5
47286 echo "${ECHO_T}$RANLIB" >&6
47288 echo "$as_me:$LINENO: result: no" >&5
47289 echo "${ECHO_T}no" >&6
47293 if test -z "$ac_cv_prog_RANLIB"; then
47294 ac_ct_RANLIB
=$RANLIB
47295 # Extract the first word of "ranlib", so it can be a program name with args.
47296 set dummy ranlib
; ac_word
=$2
47297 echo "$as_me:$LINENO: checking for $ac_word" >&5
47298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47299 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47300 echo $ECHO_N "(cached) $ECHO_C" >&6
47302 if test -n "$ac_ct_RANLIB"; then
47303 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47306 for as_dir
in $PATH
47309 test -z "$as_dir" && as_dir
=.
47310 for ac_exec_ext
in '' $ac_executable_extensions; do
47311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47312 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47319 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
47322 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47323 if test -n "$ac_ct_RANLIB"; then
47324 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47325 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47327 echo "$as_me:$LINENO: result: no" >&5
47328 echo "${ECHO_T}no" >&6
47331 RANLIB
=$ac_ct_RANLIB
47333 RANLIB
="$ac_cv_prog_RANLIB"
47336 # Find a good install program. We prefer a C program (faster),
47337 # so one script is as good as another. But avoid the broken or
47338 # incompatible versions:
47339 # SysV /etc/install, /usr/sbin/install
47340 # SunOS /usr/etc/install
47341 # IRIX /sbin/install
47343 # AmigaOS /C/install, which installs bootblocks on floppy discs
47344 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47345 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47346 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47347 # OS/2's system install, which has a completely different semantic
47348 # ./install, which can be erroneously created by make from ./install.sh.
47349 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47350 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47351 if test -z "$INSTALL"; then
47352 if test "${ac_cv_path_install+set}" = set; then
47353 echo $ECHO_N "(cached) $ECHO_C" >&6
47355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47356 for as_dir
in $PATH
47359 test -z "$as_dir" && as_dir
=.
47360 # Account for people who put trailing slashes in PATH elements.
47362 .
/ | .
// | /cC
/* | \
47363 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47364 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47367 # OSF1 and SCO ODT 3.0 have their own names for install.
47368 # Don't use installbsd from OSF since it installs stuff as root
47370 for ac_prog
in ginstall scoinst
install; do
47371 for ac_exec_ext
in '' $ac_executable_extensions; do
47372 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47373 if test $ac_prog = install &&
47374 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47375 # AIX install. It has an incompatible calling convention.
47377 elif test $ac_prog = install &&
47378 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47379 # program-specific install script used by HP pwplus--don't use.
47382 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47394 if test "${ac_cv_path_install+set}" = set; then
47395 INSTALL
=$ac_cv_path_install
47397 # As a last resort, use the slow shell script. We don't cache a
47398 # path for INSTALL within a source directory, because that will
47399 # break other packages using the cache if that directory is
47400 # removed, or if the path is relative.
47401 INSTALL
=$ac_install_sh
47404 echo "$as_me:$LINENO: result: $INSTALL" >&5
47405 echo "${ECHO_T}$INSTALL" >&6
47407 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47408 # It thinks the first close brace ends the variable substitution.
47409 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47411 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47413 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47415 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47416 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47418 if test "$LN_S" = "ln -s"; then
47419 echo "$as_me:$LINENO: result: yes" >&5
47420 echo "${ECHO_T}yes" >&6
47422 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47423 echo "${ECHO_T}no, using $LN_S" >&6
47427 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47428 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47429 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
47430 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47431 echo $ECHO_N "(cached) $ECHO_C" >&6
47433 cat >conftest.
make <<\_ACEOF
47435 @
echo 'ac_maketemp="$(MAKE)"'
47437 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47438 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47439 if test -n "$ac_maketemp"; then
47440 eval ac_cv_prog_make_
${ac_make}_set
=yes
47442 eval ac_cv_prog_make_
${ac_make}_set
=no
47444 rm -f conftest.
make
47446 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47447 echo "$as_me:$LINENO: result: yes" >&5
47448 echo "${ECHO_T}yes" >&6
47451 echo "$as_me:$LINENO: result: no" >&5
47452 echo "${ECHO_T}no" >&6
47453 SET_MAKE
="MAKE=${MAKE-make}"
47458 if test -n "$ac_tool_prefix"; then
47459 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47460 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47461 echo "$as_me:$LINENO: checking for $ac_word" >&5
47462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47463 if test "${ac_cv_prog_AR+set}" = set; then
47464 echo $ECHO_N "(cached) $ECHO_C" >&6
47466 if test -n "$AR"; then
47467 ac_cv_prog_AR
="$AR" # Let the user override the test.
47469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47470 for as_dir
in $PATH
47473 test -z "$as_dir" && as_dir
=.
47474 for ac_exec_ext
in '' $ac_executable_extensions; do
47475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47476 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47486 if test -n "$AR"; then
47487 echo "$as_me:$LINENO: result: $AR" >&5
47488 echo "${ECHO_T}$AR" >&6
47490 echo "$as_me:$LINENO: result: no" >&5
47491 echo "${ECHO_T}no" >&6
47495 if test -z "$ac_cv_prog_AR"; then
47497 # Extract the first word of "ar", so it can be a program name with args.
47498 set dummy
ar; ac_word
=$2
47499 echo "$as_me:$LINENO: checking for $ac_word" >&5
47500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47501 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47502 echo $ECHO_N "(cached) $ECHO_C" >&6
47504 if test -n "$ac_ct_AR"; then
47505 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47508 for as_dir
in $PATH
47511 test -z "$as_dir" && as_dir
=.
47512 for ac_exec_ext
in '' $ac_executable_extensions; do
47513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47514 ac_cv_prog_ac_ct_AR
="ar"
47515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47521 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
47524 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47525 if test -n "$ac_ct_AR"; then
47526 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47527 echo "${ECHO_T}$ac_ct_AR" >&6
47529 echo "$as_me:$LINENO: result: no" >&5
47530 echo "${ECHO_T}no" >&6
47535 AR
="$ac_cv_prog_AR"
47538 if test -n "$ac_tool_prefix"; then
47539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47540 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47541 echo "$as_me:$LINENO: checking for $ac_word" >&5
47542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47543 if test "${ac_cv_prog_STRIP+set}" = set; then
47544 echo $ECHO_N "(cached) $ECHO_C" >&6
47546 if test -n "$STRIP"; then
47547 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47550 for as_dir
in $PATH
47553 test -z "$as_dir" && as_dir
=.
47554 for ac_exec_ext
in '' $ac_executable_extensions; do
47555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47556 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47565 STRIP
=$ac_cv_prog_STRIP
47566 if test -n "$STRIP"; then
47567 echo "$as_me:$LINENO: result: $STRIP" >&5
47568 echo "${ECHO_T}$STRIP" >&6
47570 echo "$as_me:$LINENO: result: no" >&5
47571 echo "${ECHO_T}no" >&6
47575 if test -z "$ac_cv_prog_STRIP"; then
47577 # Extract the first word of "strip", so it can be a program name with args.
47578 set dummy strip
; ac_word
=$2
47579 echo "$as_me:$LINENO: checking for $ac_word" >&5
47580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47582 echo $ECHO_N "(cached) $ECHO_C" >&6
47584 if test -n "$ac_ct_STRIP"; then
47585 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47588 for as_dir
in $PATH
47591 test -z "$as_dir" && as_dir
=.
47592 for ac_exec_ext
in '' $ac_executable_extensions; do
47593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47594 ac_cv_prog_ac_ct_STRIP
="strip"
47595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47601 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
47604 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47605 if test -n "$ac_ct_STRIP"; then
47606 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47607 echo "${ECHO_T}$ac_ct_STRIP" >&6
47609 echo "$as_me:$LINENO: result: no" >&5
47610 echo "${ECHO_T}no" >&6
47615 STRIP
="$ac_cv_prog_STRIP"
47618 if test -n "$ac_tool_prefix"; then
47619 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47620 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47621 echo "$as_me:$LINENO: checking for $ac_word" >&5
47622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47623 if test "${ac_cv_prog_NM+set}" = set; then
47624 echo $ECHO_N "(cached) $ECHO_C" >&6
47626 if test -n "$NM"; then
47627 ac_cv_prog_NM
="$NM" # Let the user override the test.
47629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47630 for as_dir
in $PATH
47633 test -z "$as_dir" && as_dir
=.
47634 for ac_exec_ext
in '' $ac_executable_extensions; do
47635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47636 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47646 if test -n "$NM"; then
47647 echo "$as_me:$LINENO: result: $NM" >&5
47648 echo "${ECHO_T}$NM" >&6
47650 echo "$as_me:$LINENO: result: no" >&5
47651 echo "${ECHO_T}no" >&6
47655 if test -z "$ac_cv_prog_NM"; then
47657 # Extract the first word of "nm", so it can be a program name with args.
47658 set dummy nm
; ac_word
=$2
47659 echo "$as_me:$LINENO: checking for $ac_word" >&5
47660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47661 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47662 echo $ECHO_N "(cached) $ECHO_C" >&6
47664 if test -n "$ac_ct_NM"; then
47665 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47668 for as_dir
in $PATH
47671 test -z "$as_dir" && as_dir
=.
47672 for ac_exec_ext
in '' $ac_executable_extensions; do
47673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47674 ac_cv_prog_ac_ct_NM
="nm"
47675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47681 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
47684 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47685 if test -n "$ac_ct_NM"; then
47686 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47687 echo "${ECHO_T}$ac_ct_NM" >&6
47689 echo "$as_me:$LINENO: result: no" >&5
47690 echo "${ECHO_T}no" >&6
47695 NM
="$ac_cv_prog_NM"
47699 case ${BAKEFILE_HOST} in
47701 INSTALL_DIR
="mkdir -p"
47703 *) INSTALL_DIR
="$INSTALL -d"
47709 case ${BAKEFILE_HOST} in
47710 *-*-cygwin* | *-*-mingw32* )
47711 LDFLAGS_GUI
="-mwindows"
47717 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47718 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47719 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47720 echo $ECHO_N "(cached) $ECHO_C" >&6
47723 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47724 egrep -s GNU
> /dev
/null
); then
47725 bakefile_cv_prog_makeisgnu
="yes"
47727 bakefile_cv_prog_makeisgnu
="no"
47731 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47732 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47734 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47751 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47752 case "${BAKEFILE_HOST}" in
47759 *-pc-os2_emx | *-pc-os2-emx )
47769 powerpc
-apple-macos* )
47778 case "$BAKEFILE_FORCE_PLATFORM" in
47799 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47800 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47801 { (exit 1); exit 1; }; }
47816 # Check whether --enable-omf or --disable-omf was given.
47817 if test "${enable_omf+set}" = set; then
47818 enableval
="$enable_omf"
47819 bk_os2_use_omf
="$enableval"
47822 case "${BAKEFILE_HOST}" in
47824 if test "x$GCC" = "xyes"; then
47825 CFLAGS
="$CFLAGS -fno-common"
47826 CXXFLAGS
="$CXXFLAGS -fno-common"
47828 if test "x$XLCC" = "xyes"; then
47829 CFLAGS
="$CFLAGS -qnocommon"
47830 CXXFLAGS
="$CXXFLAGS -qnocommon"
47834 *-pc-os2_emx | *-pc-os2-emx )
47835 if test "x$bk_os2_use_omf" = "xyes" ; then
47838 LDFLAGS
="-Zomf $LDFLAGS"
47839 CFLAGS
="-Zomf $CFLAGS"
47840 CXXFLAGS
="-Zomf $CXXFLAGS"
47848 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47854 SO_SUFFIX_MODULE
="so"
47859 DLLPREFIX_MODULE
=""
47863 case "${BAKEFILE_HOST}" in
47866 SO_SUFFIX_MODULE
="sl"
47870 SO_SUFFIX_MODULE
="a"
47874 SO_SUFFIX_MODULE
="dll"
47875 DLLIMP_SUFFIX
="dll.a"
47882 SO_SUFFIX_MODULE
="dll"
47883 DLLIMP_SUFFIX
="dll.a"
47893 *-pc-os2_emx | *-pc-os2-emx )
47895 SO_SUFFIX_MODULE
="dll"
47896 DLLIMP_SUFFIX
=$OS2_LIBEXT
47900 LIBEXT
=".$OS2_LIBEXT"
47905 SO_SUFFIX_MODULE
="bundle"
47909 if test "x$DLLIMP_SUFFIX" = "x" ; then
47910 DLLIMP_SUFFIX
="$SO_SUFFIX"
47925 if test "x$GCC" = "xyes"; then
47929 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47930 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47933 case "${BAKEFILE_HOST}" in
47935 if test "x$GCC" != "xyes"; then
47936 LDFLAGS
="$LDFLAGS -L/usr/lib"
47938 SHARED_LD_CC
="${CC} -b -o"
47939 SHARED_LD_CXX
="${CXX} -b -o"
47945 if test "x$GCC" != "xyes"; then
47946 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47947 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47948 if test "${bakefile_cv_prog_icc+set}" = set; then
47949 echo $ECHO_N "(cached) $ECHO_C" >&6
47952 cat >conftest.
$ac_ext <<_ACEOF
47955 cat confdefs.h
>>conftest.
$ac_ext
47956 cat >>conftest.
$ac_ext <<_ACEOF
47957 /* end confdefs.h. */
47963 #ifndef __INTEL_COMPILER
47971 rm -f conftest.
$ac_objext
47972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47973 (eval $ac_compile) 2>conftest.er1
47975 grep -v '^ *+' conftest.er1
>conftest.err
47977 cat conftest.err
>&5
47978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47979 (exit $ac_status); } &&
47980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47982 (eval $ac_try) 2>&5
47984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47985 (exit $ac_status); }; } &&
47986 { ac_try
='test -s conftest.$ac_objext'
47987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47988 (eval $ac_try) 2>&5
47990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47991 (exit $ac_status); }; }; then
47992 bakefile_cv_prog_icc
=yes
47994 echo "$as_me: failed program was:" >&5
47995 sed 's/^/| /' conftest.
$ac_ext >&5
47997 bakefile_cv_prog_icc
=no
48000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48003 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48004 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48005 if test "$bakefile_cv_prog_icc" = "yes"; then
48012 if test "x$GCC" != xyes
; then
48013 SHARED_LD_CC
="${CC} -G -o"
48014 SHARED_LD_CXX
="${CXX} -G -o"
48022 cat <<EOF >shared-ld-sh
48024 #-----------------------------------------------------------------------------
48025 #-- Name: distrib/mac/shared-ld-sh
48026 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48027 #-- Author: Gilles Depeyrot
48028 #-- Copyright: (c) 2002 Gilles Depeyrot
48029 #-- Licence: any use permitted
48030 #-----------------------------------------------------------------------------
48035 linking_flag="-dynamiclib"
48036 ldargs="-r -keep_private_externs -nostdlib"
48038 while test ${D}# -gt 0; do
48045 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48046 # collect these options and values
48047 args="${D}{args} ${D}1 ${D}2"
48052 # collect these load args
48053 ldargs="${D}{ldargs} ${D}1"
48056 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48057 # collect these options
48058 args="${D}{args} ${D}1"
48061 -dynamiclib|-bundle)
48062 linking_flag="${D}1"
48066 echo "shared-ld: unhandled option '${D}1'"
48070 *.o | *.a | *.dylib)
48071 # collect object files
48072 objects="${D}{objects} ${D}1"
48076 echo "shared-ld: unhandled argument '${D}1'"
48087 # Link one module containing all the others
48089 if test ${D}{verbose} = 1; then
48090 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48092 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48096 # Link the shared library from the single module created, but only if the
48097 # previous command didn't fail:
48099 if test ${D}{status} = 0; then
48100 if test ${D}{verbose} = 1; then
48101 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48103 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48108 # Remove intermediate module
48110 rm -f master.${D}${D}.o
48115 chmod +x shared
-ld-sh
48117 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48118 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
48121 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48122 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48123 if test "${bakefile_cv_gcc31+set}" = set; then
48124 echo $ECHO_N "(cached) $ECHO_C" >&6
48127 cat >conftest.
$ac_ext <<_ACEOF
48130 cat confdefs.h
>>conftest.
$ac_ext
48131 cat >>conftest.
$ac_ext <<_ACEOF
48132 /* end confdefs.h. */
48138 #if (__GNUC__ < 3) || \
48139 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48147 rm -f conftest.
$ac_objext
48148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48149 (eval $ac_compile) 2>conftest.er1
48151 grep -v '^ *+' conftest.er1
>conftest.err
48153 cat conftest.err
>&5
48154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155 (exit $ac_status); } &&
48156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48158 (eval $ac_try) 2>&5
48160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48161 (exit $ac_status); }; } &&
48162 { ac_try
='test -s conftest.$ac_objext'
48163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48164 (eval $ac_try) 2>&5
48166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48167 (exit $ac_status); }; }; then
48169 bakefile_cv_gcc31
=yes
48172 echo "$as_me: failed program was:" >&5
48173 sed 's/^/| /' conftest.
$ac_ext >&5
48176 bakefile_cv_gcc31
=no
48180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
48183 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48184 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48185 if test "$bakefile_cv_gcc31" = "no"; then
48186 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48187 SHARED_LD_CXX
="$SHARED_LD_CC"
48189 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48190 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48193 if test "x$GCC" == "xyes"; then
48194 PIC_FLAG
="-dynamic -fPIC"
48196 if test "x$XLCC" = "xyes"; then
48197 PIC_FLAG
="-dynamic -DPIC"
48202 if test "x$GCC" = "xyes"; then
48205 case "${BAKEFILE_HOST}" in
48207 LD_EXPFULL
="-Wl,-bexpfull"
48211 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48212 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48214 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48215 set dummy makeC
++SharedLib
; ac_word
=$2
48216 echo "$as_me:$LINENO: checking for $ac_word" >&5
48217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48218 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48219 echo $ECHO_N "(cached) $ECHO_C" >&6
48221 if test -n "$AIX_CXX_LD"; then
48222 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48225 for as_dir
in $PATH
48228 test -z "$as_dir" && as_dir
=.
48229 for ac_exec_ext
in '' $ac_executable_extensions; do
48230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48231 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48238 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48241 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48242 if test -n "$AIX_CXX_LD"; then
48243 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48244 echo "${ECHO_T}$AIX_CXX_LD" >&6
48246 echo "$as_me:$LINENO: result: no" >&5
48247 echo "${ECHO_T}no" >&6
48250 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48251 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48256 SHARED_LD_CC
="${LD} -nostart -o"
48257 SHARED_LD_CXX
="${LD} -nostart -o"
48261 if test "x$GCC" != "xyes"; then
48266 *-*-cygwin* | *-*-mingw32* )
48268 SHARED_LD_CC
="\$(CC) -shared -o"
48269 SHARED_LD_CXX
="\$(CXX) -shared -o"
48273 *-pc-os2_emx | *-pc-os2-emx )
48274 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48275 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48279 cat <<EOF >dllar.sh
48282 # dllar - a tool to build both a .dll and an .a file
48283 # from a set of object (.o) files for EMX/OS2.
48285 # Written by Andrew Zabolotny, bit@freya.etu.ru
48286 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48288 # This script will accept a set of files on the command line.
48289 # All the public symbols from the .o files will be exported into
48290 # a .DEF file, then linker will be run (through gcc) against them to
48291 # build a shared library consisting of all given .o files. All libraries
48292 # (.a) will be first decompressed into component .o files then act as
48293 # described above. You can optionally give a description (-d "description")
48294 # which will be put into .DLL. To see the list of accepted options (as well
48295 # as command-line format) simply run this program without options. The .DLL
48296 # is built to be imported by name (there is no guarantee that new versions
48297 # of the library you build will have same ordinals for same symbols).
48299 # dllar is free software; you can redistribute it and/or modify
48300 # it under the terms of the GNU General Public License as published by
48301 # the Free Software Foundation; either version 2, or (at your option)
48302 # any later version.
48304 # dllar is distributed in the hope that it will be useful,
48305 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48306 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48307 # GNU General Public License for more details.
48309 # You should have received a copy of the GNU General Public License
48310 # along with dllar; see the file COPYING. If not, write to the Free
48311 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48314 # To successfuly run this program you will need:
48315 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48316 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48318 # (used to build the .dll)
48320 # (used to create .def file from .o files)
48322 # (used to create .a file from .def file)
48323 # - GNU text utilites (cat, sort, uniq)
48324 # used to process emxexp output
48325 # - GNU file utilities (mv, rm)
48327 # - lxlite (optional, see flag below)
48328 # (used for general .dll cleanup)
48335 # basnam, variant of basename, which does _not_ remove the path, _iff_
48336 # second argument (suffix to remove) is given
48340 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48343 echo ${D}1 | sed 's/'${D}2'${D}//'
48346 echo "error in basnam ${D}*"
48352 # Cleanup temporary files and output
48355 for i in ${D}inputFiles ; do
48358 rm -rf \`basnam ${D}i !\`
48365 # Kill result in case of failure as there is just to many stupid make/nmake
48366 # things out there which doesn't do this.
48367 if [ ${D}# -eq 0 ]; then
48368 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48372 # Print usage and exit script with rc=1.
48374 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48375 echo ' [-name-mangler-script script.sh]'
48376 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48377 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48378 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48379 echo ' [*.o] [*.a]'
48380 echo '*> "output_file" should have no extension.'
48381 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48382 echo ' The import library name is derived from this and is set to "name".a,'
48383 echo ' unless overridden by -import'
48384 echo '*> "importlib_name" should have no extension.'
48385 echo ' If it has the .o, or .a extension, it is automatically removed.'
48386 echo ' This name is used as the import library name and may be longer and'
48387 echo ' more descriptive than the DLL name which has to follow the old '
48388 echo ' 8.3 convention of FAT.'
48389 echo '*> "script.sh may be given to override the output_file name by a'
48390 echo ' different name. It is mainly useful if the regular make process'
48391 echo ' of some package does not take into account OS/2 restriction of'
48392 echo ' DLL name lengths. It takes the importlib name as input and is'
48393 echo ' supposed to procude a shorter name as output. The script should'
48394 echo ' expect to get importlib_name without extension and should produce'
48395 echo ' a (max.) 8 letter name without extension.'
48396 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48397 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48398 echo ' These flags will be put at the start of GCC command line.'
48399 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48400 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48401 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48402 echo ' If the last character of a symbol is "*", all symbols beginning'
48403 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48404 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48405 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48406 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48407 echo ' C runtime DLLs.'
48408 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48409 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48410 echo ' unchanged to GCC at the end of command line.'
48411 echo '*> If you create a DLL from a library and you do not specify -o,'
48412 echo ' the basename for DLL and import library will be set to library name,'
48413 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48414 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48415 echo ' library will be renamed into gcc_s.a.'
48418 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48419 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48424 # Execute a command.
48425 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48426 # @Uses Whatever CleanUp() uses.
48432 if [ ${D}rcCmd -ne 0 ]; then
48433 echo "command failed, exit code="${D}rcCmd
48448 CFLAGS="-s -Zcrtdll"
48450 EXPORT_BY_ORDINALS=0
48455 case ${D}curDirS in
48459 curDirS=${D}{curDirS}"/"
48462 # Parse commandline
48465 while [ ${D}1 ]; do
48468 EXPORT_BY_ORDINALS=1;
48478 -name-mangler-script)
48499 exclude_symbols=${D}{exclude_symbols}${D}1" "
48503 library_flags=${D}{library_flags}${D}1" "
48522 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48525 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48526 if [ ${D}omfLinking -eq 1 ]; then
48527 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48529 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48534 if [ ${D}libsToLink -ne 0 ]; then
48535 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48537 for file in ${D}1 ; do
48538 if [ -f ${D}file ]; then
48539 inputFiles="${D}{inputFiles} ${D}file"
48543 if [ ${D}found -eq 0 ]; then
48544 echo "ERROR: No file(s) found: "${D}1
48551 done # iterate cmdline words
48554 if [ -z "${D}inputFiles" ]; then
48555 echo "dllar: no input files"
48559 # Now extract all .o files from .a files
48561 for file in ${D}inputFiles ; do
48572 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48577 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48579 if [ ${D}? -ne 0 ]; then
48580 echo "Failed to create subdirectory ./${D}dirname"
48584 # Append '!' to indicate archive
48585 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48586 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48589 for subfile in ${D}dirname/*.o* ; do
48590 if [ -f ${D}subfile ]; then
48592 if [ -s ${D}subfile ]; then
48593 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48594 newInputFiles="${D}newInputFiles ${D}subfile"
48598 if [ ${D}found -eq 0 ]; then
48599 echo "WARNING: there are no files in archive \\'${D}file\\'"
48603 newInputFiles="${D}{newInputFiles} ${D}file"
48607 inputFiles="${D}newInputFiles"
48609 # Output filename(s).
48611 if [ -z ${D}outFile ]; then
48613 set outFile ${D}inputFiles; outFile=${D}2
48616 # If it is an archive, remove the '!' and the '_%' suffixes
48617 case ${D}outFile in
48619 outFile=\`basnam ${D}outFile _%!\`
48624 case ${D}outFile in
48626 outFile=\`basnam ${D}outFile .dll\`
48629 outFile=\`basnam ${D}outFile .DLL\`
48632 outFile=\`basnam ${D}outFile .o\`
48635 outFile=\`basnam ${D}outFile .obj\`
48638 outFile=\`basnam ${D}outFile .a\`
48641 outFile=\`basnam ${D}outFile .lib\`
48646 case ${D}outimpFile in
48648 outimpFile=\`basnam ${D}outimpFile .a\`
48651 outimpFile=\`basnam ${D}outimpFile .lib\`
48656 if [ -z ${D}outimpFile ]; then
48657 outimpFile=${D}outFile
48659 defFile="${D}{outFile}.def"
48660 arcFile="${D}{outimpFile}.a"
48661 arcFile2="${D}{outimpFile}.lib"
48663 #create ${D}dllFile as something matching 8.3 restrictions,
48664 if [ -z ${D}renameScript ] ; then
48665 dllFile="${D}outFile"
48667 dllFile=\`${D}renameScript ${D}outimpFile\`
48670 if [ ${D}do_backup -ne 0 ] ; then
48671 if [ -f ${D}arcFile ] ; then
48672 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48674 if [ -f ${D}arcFile2 ] ; then
48675 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48679 # Extract public symbols from all the object files.
48680 tmpdefFile=${D}{defFile}_%
48681 rm -f ${D}tmpdefFile
48682 for file in ${D}inputFiles ; do
48687 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48692 # Create the def file.
48694 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48695 dllFile="${D}{dllFile}.dll"
48696 if [ ! -z ${D}description ]; then
48697 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48699 echo "EXPORTS" >> ${D}defFile
48701 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48702 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48704 # Checks if the export is ok or not.
48705 for word in ${D}exclude_symbols; do
48706 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48707 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48711 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48712 sed "=" < ${D}tmpdefFile | \\
48716 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48718 ' > ${D}{tmpdefFile}%
48719 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48721 rm -f ${D}{tmpdefFile}%
48723 cat ${D}tmpdefFile >> ${D}defFile
48724 rm -f ${D}tmpdefFile
48726 # Do linking, create implib, and apply lxlite.
48728 for file in ${D}inputFiles ; do
48733 gccCmdl="${D}gccCmdl ${D}file"
48737 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48738 touch "${D}{outFile}.dll"
48740 doCommand "emximp -o ${D}arcFile ${D}defFile"
48741 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48743 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48746 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48748 doCommand "emxomf -s -l ${D}arcFile"
48758 powerpc
-apple-macos* | \
48759 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48770 if test "x$PIC_FLAG" != "x" ; then
48771 PIC_FLAG
="$PIC_FLAG -DPIC"
48774 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48775 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48777 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48778 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48797 case "${BAKEFILE_HOST}" in
48798 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
48799 SONAME_FLAG
="-Wl,-soname,"
48833 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48834 if test "${enable_dependency_tracking+set}" = set; then
48835 enableval
="$enable_dependency_tracking"
48836 bk_use_trackdeps
="$enableval"
48839 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48840 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48842 if test "x$bk_use_trackdeps" = "xno" ; then
48844 echo "$as_me:$LINENO: result: disabled" >&5
48845 echo "${ECHO_T}disabled" >&6
48849 if test "x$GCC" = "xyes"; then
48851 case "${BAKEFILE_HOST}" in
48853 DEPSFLAG
="-no-cpp-precomp -MMD"
48859 echo "$as_me:$LINENO: result: gcc" >&5
48860 echo "${ECHO_T}gcc" >&6
48861 elif test "x$MWCC" = "xyes"; then
48864 echo "$as_me:$LINENO: result: mwcc" >&5
48865 echo "${ECHO_T}mwcc" >&6
48866 elif test "x$SUNCC" = "xyes"; then
48869 echo "$as_me:$LINENO: result: Sun cc" >&5
48870 echo "${ECHO_T}Sun cc" >&6
48871 elif test "x$SGICC" = "xyes"; then
48874 echo "$as_me:$LINENO: result: SGI cc" >&5
48875 echo "${ECHO_T}SGI cc" >&6
48876 elif test "x$HPCC" = "xyes"; then
48879 echo "$as_me:$LINENO: result: HP cc" >&5
48880 echo "${ECHO_T}HP cc" >&6
48881 elif test "x$COMPAQCC" = "xyes"; then
48884 echo "$as_me:$LINENO: result: Compaq cc" >&5
48885 echo "${ECHO_T}Compaq cc" >&6
48888 echo "$as_me:$LINENO: result: none" >&5
48889 echo "${ECHO_T}none" >&6
48892 if test $DEPS_TRACKING = 1 ; then
48898 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48899 # script. It is used to track C/C++ files dependencies in portable way.
48901 # Permission is given to use this file in any way.
48903 DEPSMODE=${DEPSMODE}
48905 DEPSFLAG="${DEPSFLAG}"
48907 mkdir -p ${D}DEPSDIR
48909 if test ${D}DEPSMODE = gcc ; then
48910 ${D}* ${D}{DEPSFLAG}
48912 if test ${D}{status} != 0 ; then
48915 # move created file to the location we want it in:
48916 while test ${D}# -gt 0; do
48930 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48931 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48932 if test -f ${D}depfile ; then
48933 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48936 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48937 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48938 if test ! -f ${D}depfile ; then
48939 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48940 depfile="${D}objfile.d"
48942 if test -f ${D}depfile ; then
48943 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48948 elif test ${D}DEPSMODE = mwcc ; then
48949 ${D}* || exit ${D}?
48950 # Run mwcc again with -MM and redirect into the dep file we want
48951 # NOTE: We can't use shift here because we need ${D}* to be valid
48953 for arg in ${D}* ; do
48954 if test "${D}prevarg" = "-o"; then
48967 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48969 elif test ${D}DEPSMODE = unixcc; then
48970 ${D}* || exit ${D}?
48971 # Run compiler again with deps flag and redirect into the dep file.
48972 # It doesn't work if the '-o FILE' option is used, but without it the
48973 # dependency file will contain the wrong name for the object. So it is
48974 # removed from the command line, and the dep file is fixed with sed.
48976 while test ${D}# -gt 0; do
48983 eval arg${D}#=\\${D}1
48984 cmd="${D}cmd \\${D}arg${D}#"
48989 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49004 case ${BAKEFILE_HOST} in
49005 *-*-cygwin* | *-*-mingw32* )
49006 if test -n "$ac_tool_prefix"; then
49007 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49008 set dummy
${ac_tool_prefix}windres
; 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_WINDRES+set}" = set; then
49012 echo $ECHO_N "(cached) $ECHO_C" >&6
49014 if test -n "$WINDRES"; then
49015 ac_cv_prog_WINDRES
="$WINDRES" # 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_WINDRES
="${ac_tool_prefix}windres"
49025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49033 WINDRES
=$ac_cv_prog_WINDRES
49034 if test -n "$WINDRES"; then
49035 echo "$as_me:$LINENO: result: $WINDRES" >&5
49036 echo "${ECHO_T}$WINDRES" >&6
49038 echo "$as_me:$LINENO: result: no" >&5
49039 echo "${ECHO_T}no" >&6
49043 if test -z "$ac_cv_prog_WINDRES"; then
49044 ac_ct_WINDRES
=$WINDRES
49045 # Extract the first word of "windres", so it can be a program name with args.
49046 set dummy windres
; ac_word
=$2
49047 echo "$as_me:$LINENO: checking for $ac_word" >&5
49048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49049 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49050 echo $ECHO_N "(cached) $ECHO_C" >&6
49052 if test -n "$ac_ct_WINDRES"; then
49053 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49056 for as_dir
in $PATH
49059 test -z "$as_dir" && as_dir
=.
49060 for ac_exec_ext
in '' $ac_executable_extensions; do
49061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49062 ac_cv_prog_ac_ct_WINDRES
="windres"
49063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49071 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49072 if test -n "$ac_ct_WINDRES"; then
49073 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49074 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49076 echo "$as_me:$LINENO: result: no" >&5
49077 echo "${ECHO_T}no" >&6
49080 WINDRES
=$ac_ct_WINDRES
49082 WINDRES
="$ac_cv_prog_WINDRES"
49087 *-*-darwin* | powerpc
-apple-macos* )
49088 # Extract the first word of "Rez", so it can be a program name with args.
49089 set dummy Rez
; ac_word
=$2
49090 echo "$as_me:$LINENO: checking for $ac_word" >&5
49091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49092 if test "${ac_cv_prog_REZ+set}" = set; then
49093 echo $ECHO_N "(cached) $ECHO_C" >&6
49095 if test -n "$REZ"; then
49096 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49099 for as_dir
in $PATH
49102 test -z "$as_dir" && as_dir
=.
49103 for ac_exec_ext
in '' $ac_executable_extensions; do
49104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49105 ac_cv_prog_REZ
="Rez"
49106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49112 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49115 REZ
=$ac_cv_prog_REZ
49116 if test -n "$REZ"; then
49117 echo "$as_me:$LINENO: result: $REZ" >&5
49118 echo "${ECHO_T}$REZ" >&6
49120 echo "$as_me:$LINENO: result: no" >&5
49121 echo "${ECHO_T}no" >&6
49124 # Extract the first word of "SetFile", so it can be a program name with args.
49125 set dummy SetFile
; ac_word
=$2
49126 echo "$as_me:$LINENO: checking for $ac_word" >&5
49127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49128 if test "${ac_cv_prog_SETFILE+set}" = set; then
49129 echo $ECHO_N "(cached) $ECHO_C" >&6
49131 if test -n "$SETFILE"; then
49132 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49135 for as_dir
in $PATH
49138 test -z "$as_dir" && as_dir
=.
49139 for ac_exec_ext
in '' $ac_executable_extensions; do
49140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49141 ac_cv_prog_SETFILE
="SetFile"
49142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49148 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49151 SETFILE
=$ac_cv_prog_SETFILE
49152 if test -n "$SETFILE"; then
49153 echo "$as_me:$LINENO: result: $SETFILE" >&5
49154 echo "${ECHO_T}$SETFILE" >&6
49156 echo "$as_me:$LINENO: result: no" >&5
49157 echo "${ECHO_T}no" >&6
49168 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.0"
49171 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.0"
49175 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49176 if test "${enable_precomp_headers+set}" = set; then
49177 enableval
="$enable_precomp_headers"
49178 bk_use_pch
="$enableval"
49185 case ${BAKEFILE_HOST} in
49191 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49192 if test "x$GCC" = "xyes"; then
49193 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49194 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49195 cat >conftest.
$ac_ext <<_ACEOF
49198 cat confdefs.h
>>conftest.
$ac_ext
49199 cat >>conftest.
$ac_ext <<_ACEOF
49200 /* end confdefs.h. */
49206 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49207 There is no PCH support
49210 There is no PCH support
49212 #if (__GNUC__ == 3) && \
49213 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49214 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49215 ( defined(__INTEL_COMPILER) )
49216 There is no PCH support
49223 rm -f conftest.
$ac_objext
49224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49225 (eval $ac_compile) 2>conftest.er1
49227 grep -v '^ *+' conftest.er1
>conftest.err
49229 cat conftest.err
>&5
49230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49231 (exit $ac_status); } &&
49232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49234 (eval $ac_try) 2>&5
49236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49237 (exit $ac_status); }; } &&
49238 { ac_try
='test -s conftest.$ac_objext'
49239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49240 (eval $ac_try) 2>&5
49242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49243 (exit $ac_status); }; }; then
49245 echo "$as_me:$LINENO: result: yes" >&5
49246 echo "${ECHO_T}yes" >&6
49250 echo "$as_me: failed program was:" >&5
49251 sed 's/^/| /' conftest.
$ac_ext >&5
49254 cat >conftest.
$ac_ext <<_ACEOF
49257 cat confdefs.h
>>conftest.
$ac_ext
49258 cat >>conftest.
$ac_ext <<_ACEOF
49259 /* end confdefs.h. */
49265 #if !defined(__INTEL_COMPILER) || \
49266 (__INTEL_COMPILER < 800)
49267 There is no PCH support
49274 rm -f conftest.
$ac_objext
49275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49276 (eval $ac_compile) 2>conftest.er1
49278 grep -v '^ *+' conftest.er1
>conftest.err
49280 cat conftest.err
>&5
49281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49282 (exit $ac_status); } &&
49283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49285 (eval $ac_try) 2>&5
49287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49288 (exit $ac_status); }; } &&
49289 { ac_try
='test -s conftest.$ac_objext'
49290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49291 (eval $ac_try) 2>&5
49293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49294 (exit $ac_status); }; }; then
49296 echo "$as_me:$LINENO: result: yes" >&5
49297 echo "${ECHO_T}yes" >&6
49301 echo "$as_me: failed program was:" >&5
49302 sed 's/^/| /' conftest.
$ac_ext >&5
49305 echo "$as_me:$LINENO: result: no" >&5
49306 echo "${ECHO_T}no" >&6
49309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
49313 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49317 cat <<EOF >bk-make-pch
49320 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49321 # script. It is used to generated precompiled headers.
49323 # Permission is given to use this file in any way.
49333 while test ${D}{#} -gt 0; do
49337 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49338 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49339 headerfile="${D}{incdir}/${D}{header}"
49342 -use-pch|-use_pch )
49347 if test ${D}add_to_cmdline = 1 ; then
49348 compiler="${D}{compiler} ${D}{1}"
49353 if test "x${D}{headerfile}" = "x" ; then
49354 echo "error: can't find header ${D}{header} in include paths" >&2
49356 if test -f ${D}{outfile} ; then
49357 rm -f ${D}{outfile}
49359 mkdir -p \`dirname ${D}{outfile}\`
49361 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49363 if test "x${GCC_PCH}" = "x1" ; then
49364 # can do this because gcc is >= 3.4:
49365 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49366 elif test "x${ICC_PCH}" = "x1" ; then
49367 filename=pch_gen-${D}${D}
49368 file=${D}{filename}.c
49369 dfile=${D}{filename}.d
49370 cat > ${D}file <<EOT
49371 #include "${D}header"
49373 # using -MF icc complains about differing command lines in creation/use
49374 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49375 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49376 rm -f ${D}file ${D}dfile ${D}{filename}.o
49382 chmod +x bk
-make-pch
49390 COND_BUILD_DEBUG
="#"
49391 if test "x$BUILD" = "xdebug" ; then
49392 COND_BUILD_DEBUG
=""
49395 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49396 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49397 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49400 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49401 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49402 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49405 COND_BUILD_DEBUG_UNICODE_0
="#"
49406 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49407 COND_BUILD_DEBUG_UNICODE_0
=""
49410 COND_BUILD_DEBUG_UNICODE_1
="#"
49411 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49412 COND_BUILD_DEBUG_UNICODE_1
=""
49415 COND_BUILD_RELEASE
="#"
49416 if test "x$BUILD" = "xrelease" ; then
49417 COND_BUILD_RELEASE
=""
49420 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49421 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49422 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49425 COND_BUILD_RELEASE_UNICODE_0
="#"
49426 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49427 COND_BUILD_RELEASE_UNICODE_0
=""
49430 COND_BUILD_RELEASE_UNICODE_1
="#"
49431 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49432 COND_BUILD_RELEASE_UNICODE_1
=""
49435 COND_DEBUG_FLAG_1
="#"
49436 if test "x$DEBUG_FLAG" = "x1" ; then
49437 COND_DEBUG_FLAG_1
=""
49440 COND_DEBUG_INFO_0
="#"
49441 if test "x$DEBUG_INFO" = "x0" ; then
49442 COND_DEBUG_INFO_0
=""
49445 COND_DEBUG_INFO_1
="#"
49446 if test "x$DEBUG_INFO" = "x1" ; then
49447 COND_DEBUG_INFO_1
=""
49450 COND_DEPS_TRACKING_0
="#"
49451 if test "x$DEPS_TRACKING" = "x0" ; then
49452 COND_DEPS_TRACKING_0
=""
49455 COND_DEPS_TRACKING_1
="#"
49456 if test "x$DEPS_TRACKING" = "x1" ; then
49457 COND_DEPS_TRACKING_1
=""
49461 if test "x$GCC_PCH" = "x1" ; then
49466 if test "x$ICC_PCH" = "x1" ; then
49470 COND_MONOLITHIC_0
="#"
49471 if test "x$MONOLITHIC" = "x0" ; then
49472 COND_MONOLITHIC_0
=""
49475 COND_MONOLITHIC_0_SHARED_0
="#"
49476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49477 COND_MONOLITHIC_0_SHARED_0
=""
49480 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49482 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49487 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49490 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49492 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49500 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
49501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49502 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
49505 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49507 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49510 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
49511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49512 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
49515 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49517 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49520 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49522 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49525 COND_MONOLITHIC_0_SHARED_1
="#"
49526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49527 COND_MONOLITHIC_0_SHARED_1
=""
49530 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49532 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49535 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49537 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49542 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49545 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49550 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
49551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49552 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
49555 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49557 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49560 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
49561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49562 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
49565 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49567 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49570 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49572 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49575 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49576 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49577 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49580 COND_MONOLITHIC_0_USE_ODBC_1
="#"
49581 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49582 COND_MONOLITHIC_0_USE_ODBC_1
=""
49585 COND_MONOLITHIC_1
="#"
49586 if test "x$MONOLITHIC" = "x1" ; then
49587 COND_MONOLITHIC_1
=""
49590 COND_MONOLITHIC_1_SHARED_0
="#"
49591 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49592 COND_MONOLITHIC_1_SHARED_0
=""
49595 COND_MONOLITHIC_1_SHARED_1
="#"
49596 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49597 COND_MONOLITHIC_1_SHARED_1
=""
49600 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49601 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49602 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49605 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49606 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49607 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49610 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49611 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49612 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49615 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49616 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49617 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49620 COND_PLATFORM_MACOSX_1
="#"
49621 if test "x$PLATFORM_MACOSX" = "x1" ; then
49622 COND_PLATFORM_MACOSX_1
=""
49625 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
49626 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49627 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
49630 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
49631 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49632 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
49635 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
49636 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49637 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
49640 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
49641 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49642 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
49645 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
49646 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49647 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
49650 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49651 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49652 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49655 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
49656 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49657 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
49660 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
49661 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49662 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
49665 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49666 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49667 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49670 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49671 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49672 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49675 COND_PLATFORM_MACOS_1
="#"
49676 if test "x$PLATFORM_MACOS" = "x1" ; then
49677 COND_PLATFORM_MACOS_1
=""
49680 COND_PLATFORM_MAC_1
="#"
49681 if test "x$PLATFORM_MAC" = "x1" ; then
49682 COND_PLATFORM_MAC_1
=""
49685 COND_PLATFORM_MSDOS_0
="#"
49686 if test "x$PLATFORM_MSDOS" = "x0" ; then
49687 COND_PLATFORM_MSDOS_0
=""
49690 COND_PLATFORM_MSDOS_1
="#"
49691 if test "x$PLATFORM_MSDOS" = "x1" ; then
49692 COND_PLATFORM_MSDOS_1
=""
49695 COND_PLATFORM_OS2_1
="#"
49696 if test "x$PLATFORM_OS2" = "x1" ; then
49697 COND_PLATFORM_OS2_1
=""
49700 COND_PLATFORM_UNIX_0
="#"
49701 if test "x$PLATFORM_UNIX" = "x0" ; then
49702 COND_PLATFORM_UNIX_0
=""
49705 COND_PLATFORM_UNIX_1
="#"
49706 if test "x$PLATFORM_UNIX" = "x1" ; then
49707 COND_PLATFORM_UNIX_1
=""
49710 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49711 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49712 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49715 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49716 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49717 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49720 COND_PLATFORM_WIN32_0
="#"
49721 if test "x$PLATFORM_WIN32" = "x0" ; then
49722 COND_PLATFORM_WIN32_0
=""
49725 COND_PLATFORM_WIN32_1
="#"
49726 if test "x$PLATFORM_WIN32" = "x1" ; then
49727 COND_PLATFORM_WIN32_1
=""
49731 if test "x$SHARED" = "x0" ; then
49735 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49736 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49737 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49740 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49741 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49742 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49745 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49746 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49747 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49750 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49751 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49752 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
49755 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
49756 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49757 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
49760 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
49761 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49762 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
49765 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
49766 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49767 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
49770 COND_SHARED_0_USE_XRC_1
="#"
49771 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49772 COND_SHARED_0_USE_XRC_1
=""
49775 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
49776 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49777 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
49780 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
49781 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49782 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
49785 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
49786 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49787 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
49790 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
49791 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49792 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
49796 if test "x$SHARED" = "x1" ; then
49800 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
49801 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49802 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
49805 COND_SHARED_1_USE_XRC_1
="#"
49806 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49807 COND_SHARED_1_USE_XRC_1
=""
49811 if test "x$TOOLKIT" = "x" ; then
49815 COND_TOOLKIT_COCOA
="#"
49816 if test "x$TOOLKIT" = "xCOCOA" ; then
49817 COND_TOOLKIT_COCOA
=""
49820 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
49821 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49822 COND_TOOLKIT_COCOA_USE_GUI_1
=""
49825 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
49826 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49827 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
49830 COND_TOOLKIT_DFB
="#"
49831 if test "x$TOOLKIT" = "xDFB" ; then
49832 COND_TOOLKIT_DFB
=""
49835 COND_TOOLKIT_DFB_USE_GUI_1
="#"
49836 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49837 COND_TOOLKIT_DFB_USE_GUI_1
=""
49840 COND_TOOLKIT_GTK
="#"
49841 if test "x$TOOLKIT" = "xGTK" ; then
49842 COND_TOOLKIT_GTK
=""
49845 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
49846 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49847 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
49850 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
49851 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49852 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
49855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
49856 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49857 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
49860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
49861 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49862 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
49865 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
49866 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49867 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
49870 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
49871 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49872 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
49875 COND_TOOLKIT_GTK_USE_GUI_1
="#"
49876 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49877 COND_TOOLKIT_GTK_USE_GUI_1
=""
49880 COND_TOOLKIT_MAC
="#"
49881 if test "x$TOOLKIT" = "xMAC" ; then
49882 COND_TOOLKIT_MAC
=""
49885 COND_TOOLKIT_MAC_USE_GUI_1
="#"
49886 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49887 COND_TOOLKIT_MAC_USE_GUI_1
=""
49890 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
49891 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49892 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
49895 COND_TOOLKIT_MGL
="#"
49896 if test "x$TOOLKIT" = "xMGL" ; then
49897 COND_TOOLKIT_MGL
=""
49900 COND_TOOLKIT_MGL_USE_GUI_1
="#"
49901 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49902 COND_TOOLKIT_MGL_USE_GUI_1
=""
49905 COND_TOOLKIT_MOTIF
="#"
49906 if test "x$TOOLKIT" = "xMOTIF" ; then
49907 COND_TOOLKIT_MOTIF
=""
49910 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
49911 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49912 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
49915 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
49916 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49917 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
49920 COND_TOOLKIT_MSW
="#"
49921 if test "x$TOOLKIT" = "xMSW" ; then
49922 COND_TOOLKIT_MSW
=""
49925 COND_TOOLKIT_MSW_USE_GUI_1
="#"
49926 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49927 COND_TOOLKIT_MSW_USE_GUI_1
=""
49930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
49931 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
49935 COND_TOOLKIT_MSW_WXUNIV_0
="#"
49936 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49937 COND_TOOLKIT_MSW_WXUNIV_0
=""
49940 COND_TOOLKIT_PM
="#"
49941 if test "x$TOOLKIT" = "xPM" ; then
49945 COND_TOOLKIT_PM_USE_GUI_1
="#"
49946 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49947 COND_TOOLKIT_PM_USE_GUI_1
=""
49950 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
49951 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
49955 COND_TOOLKIT_WINCE
="#"
49956 if test "x$TOOLKIT" = "xWINCE" ; then
49957 COND_TOOLKIT_WINCE
=""
49960 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
49961 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49962 COND_TOOLKIT_WINCE_USE_GUI_1
=""
49965 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
49966 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49967 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
49970 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
49971 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49972 COND_TOOLKIT_WINCE_WXUNIV_0
=""
49975 COND_TOOLKIT_X11
="#"
49976 if test "x$TOOLKIT" = "xX11" ; then
49977 COND_TOOLKIT_X11
=""
49980 COND_TOOLKIT_X11_USE_GUI_1
="#"
49981 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49982 COND_TOOLKIT_X11_USE_GUI_1
=""
49986 if test "x$UNICODE" = "x1" ; then
49990 COND_USE_EXCEPTIONS_0
="#"
49991 if test "x$USE_EXCEPTIONS" = "x0" ; then
49992 COND_USE_EXCEPTIONS_0
=""
49995 COND_USE_EXCEPTIONS_1
="#"
49996 if test "x$USE_EXCEPTIONS" = "x1" ; then
49997 COND_USE_EXCEPTIONS_1
=""
50001 if test "x$USE_GUI" = "x0" ; then
50006 if test "x$USE_GUI" = "x1" ; then
50010 COND_USE_GUI_1_WXUNIV_0
="#"
50011 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50012 COND_USE_GUI_1_WXUNIV_0
=""
50015 COND_USE_GUI_1_WXUNIV_1
="#"
50016 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50017 COND_USE_GUI_1_WXUNIV_1
=""
50020 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50021 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50022 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50025 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50026 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50027 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50030 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50031 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50032 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50035 COND_USE_ODBC_1
="#"
50036 if test "x$USE_ODBC" = "x1" ; then
50040 COND_USE_OPENGL_1
="#"
50041 if test "x$USE_OPENGL" = "x1" ; then
50042 COND_USE_OPENGL_1
=""
50046 if test "x$USE_PCH" = "x1" ; then
50050 COND_USE_PLUGINS_0
="#"
50051 if test "x$USE_PLUGINS" = "x0" ; then
50052 COND_USE_PLUGINS_0
=""
50055 COND_USE_RTTI_0
="#"
50056 if test "x$USE_RTTI" = "x0" ; then
50060 COND_USE_RTTI_1
="#"
50061 if test "x$USE_RTTI" = "x1" ; then
50065 COND_USE_SOSYMLINKS_1
="#"
50066 if test "x$USE_SOSYMLINKS" = "x1" ; then
50067 COND_USE_SOSYMLINKS_1
=""
50070 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50071 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50072 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50075 COND_USE_SOVERLINUX_1
="#"
50076 if test "x$USE_SOVERLINUX" = "x1" ; then
50077 COND_USE_SOVERLINUX_1
=""
50080 COND_USE_SOVERSION_0
="#"
50081 if test "x$USE_SOVERSION" = "x0" ; then
50082 COND_USE_SOVERSION_0
=""
50085 COND_USE_SOVERSOLARIS_1
="#"
50086 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50087 COND_USE_SOVERSOLARIS_1
=""
50090 COND_USE_THREADS_0
="#"
50091 if test "x$USE_THREADS" = "x0" ; then
50092 COND_USE_THREADS_0
=""
50095 COND_USE_THREADS_1
="#"
50096 if test "x$USE_THREADS" = "x1" ; then
50097 COND_USE_THREADS_1
=""
50101 if test "x$USE_XRC" = "x1" ; then
50105 COND_WINDOWS_IMPLIB_1
="#"
50106 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50107 COND_WINDOWS_IMPLIB_1
=""
50110 COND_WITH_PLUGIN_SDL_1
="#"
50111 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50112 COND_WITH_PLUGIN_SDL_1
=""
50116 if test "x$WXUNIV" = "x0" ; then
50121 if test "x$WXUNIV" = "x1" ; then
50125 COND_WXUSE_EXPAT_BUILTIN
="#"
50126 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50127 COND_WXUSE_EXPAT_BUILTIN
=""
50130 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50131 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50132 COND_WXUSE_LIBJPEG_BUILTIN
=""
50135 COND_WXUSE_LIBPNG_BUILTIN
="#"
50136 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50137 COND_WXUSE_LIBPNG_BUILTIN
=""
50140 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50141 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50142 COND_WXUSE_LIBTIFF_BUILTIN
=""
50145 COND_WXUSE_ODBC_BUILTIN
="#"
50146 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50147 COND_WXUSE_ODBC_BUILTIN
=""
50150 COND_WXUSE_REGEX_BUILTIN
="#"
50151 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50152 COND_WXUSE_REGEX_BUILTIN
=""
50155 COND_WXUSE_ZLIB_BUILTIN
="#"
50156 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50157 COND_WXUSE_ZLIB_BUILTIN
=""
50162 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50163 { { 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
50164 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;}
50165 { (exit 1); exit 1; }; }
50168 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50169 { { 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
50170 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;}
50171 { (exit 1); exit 1; }; }
50175 if test $GCC_PCH = 1
50177 if test "$wx_cv_gcc_pch_bug" = yes; then
50178 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50179 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50180 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50181 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50182 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50183 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50186 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
50190 if test "$wxUSE_MAC" = 1 ; then
50191 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50192 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50198 if test "$wxUSE_SHARED" = "yes"; then
50200 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
50201 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
50204 *-pc-os2_emx | *-pc-os2-emx )
50205 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50206 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50207 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50208 cp -p ${srcdir}/src
/os
2/dllar.sh .
50213 EXE_LINKER
="$CXX -o"
50216 if test "$wxUSE_OMF" = "yes"; then
50218 *-pc-os2_emx | *-pc-os2-emx )
50219 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50220 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50221 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50226 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50228 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50290 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50291 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50292 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
50293 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50294 echo $ECHO_N "(cached) $ECHO_C" >&6
50296 cat >conftest.
make <<\_ACEOF
50298 @
echo 'ac_maketemp="$(MAKE)"'
50300 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50301 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50302 if test -n "$ac_maketemp"; then
50303 eval ac_cv_prog_make_
${ac_make}_set
=yes
50305 eval ac_cv_prog_make_
${ac_make}_set
=no
50307 rm -f conftest.
make
50309 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50310 echo "$as_me:$LINENO: result: yes" >&5
50311 echo "${ECHO_T}yes" >&6
50314 echo "$as_me:$LINENO: result: no" >&5
50315 echo "${ECHO_T}no" >&6
50316 SET_MAKE
="MAKE=${MAKE-make}"
50321 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50324 if test "$USE_WIN32" = 1; then
50325 ac_config_commands
="$ac_config_commands
50331 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50334 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50337 ac_config_files
="$ac_config_files version-script Makefile"
50340 ac_config_commands
="$ac_config_commands wx-config"
50344 if test "$wxWITH_SUBDIRS" != "no"; then
50345 if test "$wxUSE_GUI" = "yes"; then
50346 SUBDIRS
="samples demos utils contrib"
50347 else SUBDIRS
="samples utils"
50352 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50353 if test "${with_cppunit_prefix+set}" = set; then
50354 withval
="$with_cppunit_prefix"
50355 cppunit_config_prefix
="$withval"
50357 cppunit_config_prefix
=""
50360 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50361 if test "${with_cppunit_exec_prefix+set}" = set; then
50362 withval
="$with_cppunit_exec_prefix"
50363 cppunit_config_exec_prefix
="$withval"
50365 cppunit_config_exec_prefix
=""
50368 if test x
$cppunit_config_exec_prefix != x
; then
50369 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50370 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50371 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50374 if test x
$cppunit_config_prefix != x
; then
50375 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50376 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50377 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50381 # Extract the first word of "cppunit-config", so it can be a program name with args.
50382 set dummy cppunit
-config; ac_word
=$2
50383 echo "$as_me:$LINENO: checking for $ac_word" >&5
50384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50385 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50386 echo $ECHO_N "(cached) $ECHO_C" >&6
50388 case $CPPUNIT_CONFIG in
50390 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50394 for as_dir
in $PATH
50397 test -z "$as_dir" && as_dir
=.
50398 for ac_exec_ext
in '' $ac_executable_extensions; do
50399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50400 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50407 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50411 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50413 if test -n "$CPPUNIT_CONFIG"; then
50414 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50415 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50417 echo "$as_me:$LINENO: result: no" >&5
50418 echo "${ECHO_T}no" >&6
50421 cppunit_version_min
=1.8.0
50423 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50424 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50426 if test "$CPPUNIT_CONFIG" = "no" ; then
50427 echo "$as_me:$LINENO: result: no" >&5
50428 echo "${ECHO_T}no" >&6
50431 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50432 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50433 cppunit_version
=`$CPPUNIT_CONFIG --version`
50435 cppunit_major_version
=`echo $cppunit_version | \
50436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50437 cppunit_minor_version
=`echo $cppunit_version | \
50438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50439 cppunit_micro_version
=`echo $cppunit_version | \
50440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50442 cppunit_major_min
=`echo $cppunit_version_min | \
50443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50444 cppunit_minor_min
=`echo $cppunit_version_min | \
50445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50446 cppunit_micro_min
=`echo $cppunit_version_min | \
50447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50449 cppunit_version_proper
=`expr \
50450 $cppunit_major_version \> $cppunit_major_min \| \
50451 $cppunit_major_version \= $cppunit_major_min \& \
50452 $cppunit_minor_version \> $cppunit_minor_min \| \
50453 $cppunit_major_version \= $cppunit_major_min \& \
50454 $cppunit_minor_version \= $cppunit_minor_min \& \
50455 $cppunit_micro_version \>= $cppunit_micro_min `
50457 if test "$cppunit_version_proper" = "1" ; then
50458 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50459 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50461 echo "$as_me:$LINENO: result: no" >&5
50462 echo "${ECHO_T}no" >&6
50467 if test "x$no_cppunit" = x
; then
50468 SUBDIRS
="$SUBDIRS tests"
50479 for subdir
in `echo $SUBDIRS`; do
50480 if test -d ${srcdir}/${subdir} ; then
50481 if test "$wxUSE_GUI" = "yes"; then
50482 if test ${subdir} = "samples"; then
50483 makefiles
="samples/Makefile.in $makefiles"
50484 for sample
in `echo $SAMPLES_SUBDIRS`; do
50485 if test -d $srcdir/samples
/$sample; then
50486 makefiles
="samples/$sample/Makefile.in $makefiles"
50490 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
50491 eval "disabled=\$$disabled_var"
50492 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50493 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50495 else if test ${subdir} = "samples"; then
50496 makefiles
="samples/Makefile.in samples/console/Makefile.in"
50497 elif test ${subdir} = "utils"; then
50499 for util
in HelpGen tex2rtf
; do
50500 if test -d $srcdir/utils
/$util ; then
50501 makefiles
="utils/$util/Makefile.in \
50502 utils/$util/src/Makefile.in \
50506 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50510 for mkin
in $makefiles ; do
50511 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50512 ac_config_files
="$ac_config_files $mk"
50518 cat >confcache
<<\_ACEOF
50519 # This file is a shell script that caches the results of configure
50520 # tests run on this system so they can be shared between configure
50521 # scripts and configure runs, see configure's option --config-cache.
50522 # It is not useful on other systems. If it contains results you don't
50523 # want to keep, you may remove or edit it.
50525 # config.status only pays attention to the cache file if you give it
50526 # the --recheck option to rerun configure.
50528 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50529 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50530 # following values.
50534 # The following way of writing the cache mishandles newlines in values,
50535 # but we know of no workaround that is simple, portable, and efficient.
50536 # So, don't put newlines in cache variables' values.
50537 # Ultrix sh set writes to stderr and can't be redirected directly,
50538 # and sets the high bit in the cache file unless we assign to the vars.
50541 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50543 # `set' does not quote correctly, so add quotes (double-quote
50544 # substitution turns \\\\ into \\, and sed turns \\ into \).
50547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50550 # `set' quotes correctly as required by POSIX, so do not add quotes.
50552 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50559 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50561 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50563 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
50564 if test -w $cache_file; then
50565 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50566 cat confcache
>$cache_file
50568 echo "not updating unwritable cache $cache_file"
50573 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
50574 # Let make expand exec_prefix.
50575 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
50577 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50578 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50579 # trailing colons and then remove the whole line if VPATH becomes empty
50580 # (actually we leave an empty line to preserve line numbers).
50581 if test "x$srcdir" = x.
; then
50582 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50583 s/:*\$(srcdir):*/:/;
50584 s/:*\${srcdir}:*/:/;
50586 s/^\([^=]*=[ ]*\):*/\1/;
50592 DEFS
=-DHAVE_CONFIG_H
50596 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
50597 # 1. Remove the extension, and $U if already installed.
50598 ac_i
=`echo "$ac_i" |
50599 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50601 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
50602 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
50604 LIBOBJS
=$ac_libobjs
50606 LTLIBOBJS
=$ac_ltlibobjs
50610 : ${CONFIG_STATUS=./config.status}
50611 ac_clean_files_save
=$ac_clean_files
50612 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
50613 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50614 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50615 cat >$CONFIG_STATUS <<_ACEOF
50617 # Generated by $as_me.
50618 # Run this file to recreate the current configuration.
50619 # Compiler output produced by configure, useful for debugging
50620 # configure, is in config.log if it exists.
50623 ac_cs_recheck=false
50625 SHELL=\${CONFIG_SHELL-$SHELL}
50628 cat >>$CONFIG_STATUS <<\_ACEOF
50629 ## --------------------- ##
50630 ## M4sh Initialization. ##
50631 ## --------------------- ##
50633 # Be Bourne compatible
50634 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
50637 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50638 # is contrary to our usage. Disable this feature.
50639 alias -g '${1+"$@"}'='"$@"'
50640 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
50643 DUALCASE
=1; export DUALCASE
# for MKS sh
50645 # Support unset when possible.
50646 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
50653 # Work around bugs in pre-3.0 UWIN ksh.
50654 $as_unset ENV MAIL MAILPATH
50661 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50662 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50663 LC_TELEPHONE LC_TIME
50665 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50666 eval $as_var=C
; export $as_var
50672 # Required to use basename.
50673 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50679 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
50680 as_basename
=basename
50686 # Name of the executable.
50687 as_me
=`$as_basename "$0" ||
50688 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50689 X"$0" : 'X\(//\)$' \| \
50690 X"$0" : 'X\(/\)$' \| \
50691 . : '\(.\)' 2>/dev/null ||
50693 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50694 /^X\/\(\/\/\)$/{ s//\1/; q; }
50695 /^X\/\(\/\).*/{ s//\1/; q; }
50699 # PATH needs CR, and LINENO needs CR and PATH.
50700 # Avoid depending upon Character Ranges.
50701 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
50702 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50703 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
50704 as_cr_digits
='0123456789'
50705 as_cr_alnum
=$as_cr_Letters$as_cr_digits
50707 # The user is always right.
50708 if test "${PATH_SEPARATOR+set}" != set; then
50709 echo "#! /bin/sh" >conf$$.sh
50710 echo "exit 0" >>conf$$.sh
50712 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
50721 as_lineno_1
=$LINENO
50722 as_lineno_2
=$LINENO
50723 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
50724 test "x$as_lineno_1" != "x$as_lineno_2" &&
50725 test "x$as_lineno_3" = "x$as_lineno_2" || {
50726 # Find who we are. Look in the path if we contain no path at all
50729 *[\\/]* ) as_myself
=$0 ;;
50730 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50731 for as_dir
in $PATH
50734 test -z "$as_dir" && as_dir
=.
50735 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
50740 # We did not find ourselves, most probably we were run as `sh COMMAND'
50741 # in which case we are not to be found in the path.
50742 if test "x$as_myself" = x
; then
50745 if test ! -f "$as_myself"; then
50746 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50747 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50748 { (exit 1); exit 1; }; }
50750 case $CONFIG_SHELL in
50752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50753 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
50756 test -z "$as_dir" && as_dir
=.
50757 for as_base
in sh bash ksh sh5
; do
50760 if ("$as_dir/$as_base" -c '
50761 as_lineno_1=$LINENO
50762 as_lineno_2=$LINENO
50763 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50764 test "x$as_lineno_1" != "x$as_lineno_2" &&
50765 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
50766 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
50767 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
50768 CONFIG_SHELL
=$as_dir/$as_base
50769 export CONFIG_SHELL
50770 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50778 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50779 # uniformly replaced by the line number. The first 'sed' inserts a
50780 # line-number line before each line; the second 'sed' does the real
50781 # work. The second script uses 'N' to pair each line-number line
50782 # with the numbered line, and appends trailing '-' during
50783 # substitution so that $LINENO is not a special case at line end.
50784 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50785 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50786 sed '=' <$as_myself |
50791 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50794 s,^['$as_cr_digits']*\n,,
50795 ' >$as_me.lineno
&&
50796 chmod +x
$as_me.lineno
||
50797 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50798 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50799 { (exit 1); exit 1; }; }
50801 # Don't try to exec as it changes $[0], causing all sort of problems
50802 # (the dirname of $[0] is not the place where we might find the
50803 # original and so on. Autoconf is especially sensible to this).
50805 # Exit status is that of the last command.
50810 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50811 *c
*,-n*) ECHO_N
= ECHO_C
='
50813 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
50814 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
50817 if expr a
: '\(a\)' >/dev
/null
2>&1; then
50823 rm -f conf$$ conf$$.exe conf$$.
file
50825 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50826 # We could just check for DJGPP; but this test a) works b) is more generic
50827 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50828 if test -f conf$$.exe
; then
50829 # Don't use ln at all; we don't have any links
50834 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50839 rm -f conf$$ conf$$.exe conf$$.
file
50841 if mkdir -p .
2>/dev
/null
; then
50844 test -d .
/-p && rmdir .
/-p
50848 as_executable_p
="test -f"
50850 # Sed expression to map a string onto a valid CPP name.
50851 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50853 # Sed expression to map a string onto a valid variable name.
50854 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50858 # We need space, tab and new line, in precisely that order.
50868 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50869 # report actual input values of CONFIG_FILES etc. instead of their
50870 # values after options handling. Logging --version etc. is OK.
50874 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50875 ## Running $as_me. ##
50880 This file was extended by wxWidgets $as_me 2.7.1, which was
50881 generated by GNU Autoconf 2.59. Invocation command line was
50883 CONFIG_FILES = $CONFIG_FILES
50884 CONFIG_HEADERS = $CONFIG_HEADERS
50885 CONFIG_LINKS = $CONFIG_LINKS
50886 CONFIG_COMMANDS = $CONFIG_COMMANDS
50890 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50894 # Files that config.status was made for.
50895 if test -n "$ac_config_files"; then
50896 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50899 if test -n "$ac_config_headers"; then
50900 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50903 if test -n "$ac_config_links"; then
50904 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50907 if test -n "$ac_config_commands"; then
50908 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50911 cat >>$CONFIG_STATUS <<\_ACEOF
50914 \`$as_me' instantiates files from templates according to the
50915 current configuration.
50917 Usage: $0 [OPTIONS] [FILE]...
50919 -h, --help print this help, then exit
50920 -V, --version print version number, then exit
50921 -q, --quiet do not print progress messages
50922 -d, --debug don't remove temporary files
50923 --recheck update $as_me by reconfiguring in the same conditions
50924 --file=FILE[:TEMPLATE]
50925 instantiate the configuration file FILE
50926 --header=FILE[:TEMPLATE]
50927 instantiate the configuration header FILE
50929 Configuration files:
50932 Configuration headers:
50935 Configuration commands:
50938 Report bugs to <bug-autoconf@gnu.org>."
50941 cat >>$CONFIG_STATUS <<_ACEOF
50943 wxWidgets config.status 2.7.1
50944 configured by $0, generated by GNU Autoconf 2.59,
50945 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50947 Copyright (C) 2003 Free Software Foundation, Inc.
50948 This config.status script is free software; the Free Software Foundation
50949 gives unlimited permission to copy, distribute and modify it."
50954 cat >>$CONFIG_STATUS <<\_ACEOF
50955 # If no file are specified by the user, then we need to provide default
50956 # value. By we need to know if files were specified by the user.
50962 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
50963 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
50971 *) # This is not an option, so the user has probably given explicit
50974 ac_need_defaults
=false
;;
50978 # Handling of the options.
50980 cat >>$CONFIG_STATUS <<\_ACEOF
50981 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50983 --version | --vers* | -V )
50984 echo "$ac_cs_version"; exit 0 ;;
50986 # Conflict between --help and --header
50987 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50988 Try \`$0 --help' for more information." >&5
50989 echo "$as_me: error: ambiguous option: $1
50990 Try \`$0 --help' for more information." >&2;}
50991 { (exit 1); exit 1; }; };;
50992 --help | --hel | -h )
50993 echo "$ac_cs_usage"; exit 0 ;;
50994 --debug | --d* | -d )
50996 --file | --fil | --fi | --f )
50998 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50999 ac_need_defaults
=false
;;
51000 --header | --heade | --head | --hea )
51002 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51003 ac_need_defaults
=false
;;
51004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51005 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51008 # This is an error.
51009 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51010 Try \`$0 --help' for more information." >&5
51011 echo "$as_me: error: unrecognized option: $1
51012 Try \`$0 --help' for more information." >&2;}
51013 { (exit 1); exit 1; }; } ;;
51015 *) ac_config_targets
="$ac_config_targets $1" ;;
51021 ac_configure_extra_args
=
51023 if $ac_cs_silent; then
51025 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51029 cat >>$CONFIG_STATUS <<_ACEOF
51030 if \$ac_cs_recheck; then
51031 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51032 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51037 cat >>$CONFIG_STATUS <<_ACEOF
51039 # INIT-COMMANDS section.
51044 infile="$srcdir/include/wx/msw/genrcdefs.h"
51045 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51048 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51049 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51050 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51058 cat >>$CONFIG_STATUS <<\_ACEOF
51059 for ac_config_target
in $ac_config_targets
51061 case "$ac_config_target" in
51062 # Handling of arguments.
51063 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51064 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51065 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51066 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51067 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51068 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51069 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51070 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51071 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51072 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51073 { (exit 1); exit 1; }; };;
51077 # If the user did not use the arguments to specify the items to instantiate,
51078 # then the envvar interface is used. Set only those that are not.
51079 # We use the long form for the default assignment because of an extremely
51080 # bizarre bug on SunOS 4.1.3.
51081 if $ac_need_defaults; then
51082 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51083 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51084 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51087 # Have a temporary directory for convenience. Make it in the build tree
51088 # simply because there is no reason to put it here, and in addition,
51089 # creating and moving files from /tmp can sometimes cause problems.
51090 # Create a temporary directory, and hook for its removal unless debugging.
51093 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51094 trap '{ (exit 1); exit 1; }' 1 2 13 15
51097 # Create a (secure) tmp directory for tmp files.
51100 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51101 test -n "$tmp" && test -d "$tmp"
51104 tmp
=.
/confstat$$
-$RANDOM
51105 (umask 077 && mkdir $tmp)
51108 echo "$me: cannot create a temporary directory in ." >&2
51109 { (exit 1); exit 1; }
51114 cat >>$CONFIG_STATUS <<_ACEOF
51117 # CONFIG_FILES section.
51120 # No need to generate the scripts if there are no CONFIG_FILES.
51121 # This happens for instance when ./config.status config.h
51122 if test -n "\$CONFIG_FILES"; then
51123 # Protect against being on the right side of a sed subst in config.status.
51124 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51125 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51126 s,@SHELL@,$SHELL,;t t
51127 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51128 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51129 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51130 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51131 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51132 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51133 s,@exec_prefix@,$exec_prefix,;t t
51134 s,@prefix@,$prefix,;t t
51135 s,@program_transform_name@,$program_transform_name,;t t
51136 s,@bindir@,$bindir,;t t
51137 s,@sbindir@,$sbindir,;t t
51138 s,@libexecdir@,$libexecdir,;t t
51139 s,@datadir@,$datadir,;t t
51140 s,@sysconfdir@,$sysconfdir,;t t
51141 s,@sharedstatedir@,$sharedstatedir,;t t
51142 s,@localstatedir@,$localstatedir,;t t
51143 s,@libdir@,$libdir,;t t
51144 s,@includedir@,$includedir,;t t
51145 s,@oldincludedir@,$oldincludedir,;t t
51146 s,@infodir@,$infodir,;t t
51147 s,@mandir@,$mandir,;t t
51148 s,@build_alias@,$build_alias,;t t
51149 s,@host_alias@,$host_alias,;t t
51150 s,@target_alias@,$target_alias,;t t
51151 s,@DEFS@,$DEFS,;t t
51152 s,@ECHO_C@,$ECHO_C,;t t
51153 s,@ECHO_N@,$ECHO_N,;t t
51154 s,@ECHO_T@,$ECHO_T,;t t
51155 s,@LIBS@,$LIBS,;t t
51156 s,@build@,$build,;t t
51157 s,@build_cpu@,$build_cpu,;t t
51158 s,@build_vendor@,$build_vendor,;t t
51159 s,@build_os@,$build_os,;t t
51160 s,@host@,$host,;t t
51161 s,@host_cpu@,$host_cpu,;t t
51162 s,@host_vendor@,$host_vendor,;t t
51163 s,@host_os@,$host_os,;t t
51164 s,@target@,$target,;t t
51165 s,@target_cpu@,$target_cpu,;t t
51166 s,@target_vendor@,$target_vendor,;t t
51167 s,@target_os@,$target_os,;t t
51169 s,@CFLAGS@,$CFLAGS,;t t
51170 s,@LDFLAGS@,$LDFLAGS,;t t
51171 s,@CPPFLAGS@,$CPPFLAGS,;t t
51172 s,@ac_ct_CC@,$ac_ct_CC,;t t
51173 s,@EXEEXT@,$EXEEXT,;t t
51174 s,@OBJEXT@,$OBJEXT,;t t
51176 s,@EGREP@,$EGREP,;t t
51178 s,@CXXFLAGS@,$CXXFLAGS,;t t
51179 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51180 s,@RANLIB@,$RANLIB,;t t
51181 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51183 s,@ac_ct_AR@,$ac_ct_AR,;t t
51184 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51185 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51186 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51187 s,@STRIP@,$STRIP,;t t
51188 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51189 s,@WINDRES@,$WINDRES,;t t
51190 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51191 s,@DLLTOOL@,$DLLTOOL,;t t
51192 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51193 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51194 s,@LN_S@,$LN_S,;t t
51195 s,@CXXCPP@,$CXXCPP,;t t
51196 s,@subdirs@,$subdirs,;t t
51197 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51198 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51199 s,@GTK_LIBS@,$GTK_LIBS,;t t
51200 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51201 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51202 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51203 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51204 s,@X_CFLAGS@,$X_CFLAGS,;t t
51205 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51206 s,@X_LIBS@,$X_LIBS,;t t
51207 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51208 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51209 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51210 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51211 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51212 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51213 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51215 s,@DEREZ@,$DEREZ,;t t
51216 s,@SETFILE@,$SETFILE,;t t
51217 s,@LIBICONV@,$LIBICONV,;t t
51218 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51219 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51220 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51221 s,@SDL_LIBS@,$SDL_LIBS,;t t
51222 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51223 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51224 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51225 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51226 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51227 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51228 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51229 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51230 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51231 s,@GST_LIBS@,$GST_LIBS,;t t
51232 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51233 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51234 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51235 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51236 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51237 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51238 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51239 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51240 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51241 s,@VENDOR@,$VENDOR,;t t
51242 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51243 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51244 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51245 s,@WXUNIV@,$WXUNIV,;t t
51246 s,@MONOLITHIC@,$MONOLITHIC,;t t
51247 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51248 s,@EXTRALIBS@,$EXTRALIBS,;t t
51249 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51250 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51251 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51252 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51253 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51254 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51255 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51256 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51257 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51258 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51259 s,@UNICODE@,$UNICODE,;t t
51260 s,@BUILD@,$BUILD,;t t
51261 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51262 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51263 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51264 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51265 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51266 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51267 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51268 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51269 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51270 s,@SET_MAKE@,$SET_MAKE,;t t
51271 s,@MAKE_SET@,$MAKE_SET,;t t
51273 s,@ac_ct_NM@,$ac_ct_NM,;t t
51274 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51275 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51276 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51277 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51278 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51279 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51280 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51281 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51282 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51283 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51284 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51285 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51286 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51287 s,@LIBPREFIX@,$LIBPREFIX,;t t
51288 s,@LIBEXT@,$LIBEXT,;t t
51289 s,@DLLPREFIX@,$DLLPREFIX,;t t
51290 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51291 s,@dlldir@,$dlldir,;t t
51292 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51293 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51294 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51295 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51296 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51297 s,@PIC_FLAG@,$PIC_FLAG,;t t
51298 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51299 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51300 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51301 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51302 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51303 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51304 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51305 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51306 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51307 s,@GCC_PCH@,$GCC_PCH,;t t
51308 s,@ICC_PCH@,$ICC_PCH,;t t
51309 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51310 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51311 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51312 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51313 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51314 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51315 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51316 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51317 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51318 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51319 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51320 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51321 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51322 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51323 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51324 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51325 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51326 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51327 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51328 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51329 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
51330 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
51331 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
51332 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
51333 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51334 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51335 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51336 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51337 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51338 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51339 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
51340 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
51341 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
51342 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
51343 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51344 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51345 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51346 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51347 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51348 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51349 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51350 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51351 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51352 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51353 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51354 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51355 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51356 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51357 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51358 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51359 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51360 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51361 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
51362 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51363 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51364 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51365 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51366 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51367 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51368 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51369 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51370 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51371 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51372 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51373 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51374 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51375 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51376 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51377 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51378 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51379 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51380 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51381 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51382 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51383 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51384 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51385 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51386 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51387 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51388 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51389 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51390 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51391 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51392 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51393 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51394 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51395 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51396 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51397 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51398 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51399 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51400 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51401 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51402 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51403 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
51404 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51405 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51406 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51407 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51408 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51409 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51410 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51411 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51412 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51413 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51414 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51415 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51416 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51417 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51418 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51419 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51420 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51421 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51422 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51423 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51424 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51425 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51426 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51427 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51428 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51429 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51430 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51431 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51432 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51433 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51434 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51435 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51436 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51437 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51438 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51439 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51440 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51441 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51442 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51443 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51444 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51445 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51446 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51447 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51448 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51449 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51450 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51451 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51452 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51453 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51454 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51455 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51456 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51457 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51458 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51459 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51460 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51461 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51462 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51463 s,@SHARED@,$SHARED,;t t
51464 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51465 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51466 s,@USE_GUI@,$USE_GUI,;t t
51467 s,@AFMINSTALL@,$AFMINSTALL,;t t
51468 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51469 s,@TOOLKIT@,$TOOLKIT,;t t
51470 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51471 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51472 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51473 s,@cross_compiling@,$cross_compiling,;t t
51474 s,@WIDGET_SET@,$WIDGET_SET,;t t
51475 s,@WX_RELEASE@,$WX_RELEASE,;t t
51476 s,@WX_VERSION@,$WX_VERSION,;t t
51477 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51478 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51479 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51480 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51481 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51482 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51483 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51484 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51485 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51486 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51487 s,@EXE_LINKER@,$EXE_LINKER,;t t
51488 s,@GUIDIST@,$GUIDIST,;t t
51489 s,@DISTDIR@,$DISTDIR,;t t
51490 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51491 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51492 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51493 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51494 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51495 s,@RESCOMP@,$RESCOMP,;t t
51496 s,@RESFLAGS@,$RESFLAGS,;t t
51497 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51498 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51499 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51500 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51501 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51502 s,@MACSETFILE@,$MACSETFILE,;t t
51504 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51505 s,@LIBOBJS@,$LIBOBJS,;t t
51506 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51511 cat >>$CONFIG_STATUS <<\_ACEOF
51512 # Split the substitutions into bite-sized pieces for seds with
51513 # small command number limits, like on Digital OSF/1 and HP-UX.
51514 ac_max_sed_lines
=48
51515 ac_sed_frag
=1 # Number of current file.
51516 ac_beg
=1 # First line for current file.
51517 ac_end
=$ac_max_sed_lines # Line after last line for current file.
51520 while $ac_more_lines; do
51521 if test $ac_beg -gt 1; then
51522 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51524 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
51526 if test ! -s $tmp/subs.frag
; then
51527 ac_more_lines
=false
51529 # The purpose of the label and of the branching condition is to
51530 # speed up the sed processing (if there are no `@' at all, there
51531 # is no need to browse any of the substitutions).
51532 # These are the two extra sed commands mentioned above.
51534 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
51535 if test -z "$ac_sed_cmds"; then
51536 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
51538 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51540 ac_sed_frag
=`expr $ac_sed_frag + 1`
51542 ac_end
=`expr $ac_end + $ac_max_sed_lines`
51545 if test -z "$ac_sed_cmds"; then
51548 fi # test -n "$CONFIG_FILES"
51551 cat >>$CONFIG_STATUS <<\_ACEOF
51552 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
51553 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51555 - | *:- | *:-:* ) # input from stdin
51557 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51558 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51559 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51560 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51561 * ) ac_file_in
=$ac_file.
in ;;
51564 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51565 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51566 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51567 X"$ac_file" : 'X\(//\)[^/]' \| \
51568 X"$ac_file" : 'X\(//\)$' \| \
51569 X"$ac_file" : 'X\(/\)' \| \
51570 . : '\(.\)' 2>/dev/null ||
51572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51574 /^X\(\/\/\)$/{ s//\1/; q; }
51575 /^X\(\/\).*/{ s//\1/; q; }
51577 { if $as_mkdir_p; then
51582 while test ! -d "$as_dir"; do
51583 as_dirs
="$as_dir $as_dirs"
51584 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51586 X"$as_dir" : 'X\(//\)[^/]' \| \
51587 X"$as_dir" : 'X\(//\)$' \| \
51588 X"$as_dir" : 'X\(/\)' \| \
51589 . : '\(.\)' 2>/dev/null ||
51591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51593 /^X\(\/\/\)$/{ s//\1/; q; }
51594 /^X\(\/\).*/{ s//\1/; q; }
51597 test ! -n "$as_dirs" || mkdir $as_dirs
51598 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51599 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51600 { (exit 1); exit 1; }; }; }
51604 if test "$ac_dir" != .
; then
51605 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51606 # A "../" for each directory in $ac_dir_suffix.
51607 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51609 ac_dir_suffix
= ac_top_builddir
=
51613 .
) # No --srcdir option. We are building in place.
51615 if test -z "$ac_top_builddir"; then
51618 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
51620 [\\/]* | ?
:[\\/]* ) # Absolute path.
51621 ac_srcdir
=$srcdir$ac_dir_suffix;
51622 ac_top_srcdir
=$srcdir ;;
51623 *) # Relative path.
51624 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
51625 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
51628 # Do not use `cd foo && pwd` to compute absolute paths, because
51629 # the directories may not exist.
51631 .
) ac_abs_builddir
="$ac_dir";;
51634 .
) ac_abs_builddir
=`pwd`;;
51635 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
51636 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
51639 case $ac_abs_builddir in
51640 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51642 case ${ac_top_builddir}.
in
51643 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
51644 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
51645 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
51648 case $ac_abs_builddir in
51649 .
) ac_abs_srcdir
=$ac_srcdir;;
51652 .
) ac_abs_srcdir
=$ac_abs_builddir;;
51653 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
51654 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
51657 case $ac_abs_builddir in
51658 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
51660 case $ac_top_srcdir in
51661 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
51662 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
51663 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
51669 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51670 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
51673 # Let's still pretend it is `configure' which instantiates (i.e., don't
51674 # use $as_me), people would be surprised to read:
51675 # /* config.h. Generated by config.status. */
51676 if test x
"$ac_file" = x
-; then
51679 configure_input
="$ac_file. "
51681 configure_input
=$configure_input"Generated from `echo $ac_file_in |
51682 sed 's,.*/,,'` by configure."
51684 # First look for the input files in the build tree, otherwise in the
51686 ac_file_inputs
=`IFS=:
51687 for f in $ac_file_in; do
51689 -) echo $tmp/stdin ;;
51691 # Absolute (can't be DOS-style, as IFS=:)
51692 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51693 echo "$as_me: error: cannot find input file: $f" >&2;}
51694 { (exit 1); exit 1; }; }
51697 if test -f "$f"; then
51700 elif test -f "$srcdir/$f"; then
51705 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51706 echo "$as_me: error: cannot find input file: $f" >&2;}
51707 { (exit 1); exit 1; }; }
51710 done` || { (exit 1); exit 1; }
51712 if test x
"$ac_file" != x
-; then
51713 { echo "$as_me:$LINENO: creating $ac_file" >&5
51714 echo "$as_me: creating $ac_file" >&6;}
51718 cat >>$CONFIG_STATUS <<_ACEOF
51722 cat >>$CONFIG_STATUS <<\_ACEOF
51724 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51725 s
,@configure_input@
,$configure_input,;t t
51726 s
,@srcdir@
,$ac_srcdir,;t t
51727 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
51728 s
,@top_srcdir@
,$ac_top_srcdir,;t t
51729 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
51730 s
,@builddir@
,$ac_builddir,;t t
51731 s
,@abs_builddir@
,$ac_abs_builddir,;t t
51732 s
,@top_builddir@
,$ac_top_builddir,;t t
51733 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
51734 s
,@INSTALL@
,$ac_INSTALL,;t t
51735 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51737 if test x"$ac_file" != x-; then
51738 mv $tmp/out $ac_file
51744 # Run the commands associated with the file.
51746 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51747 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51751 cat >>$CONFIG_STATUS <<\_ACEOF
51754 # CONFIG_HEADER section.
51757 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
51758 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51760 # ac_d sets the value in "#define NAME VALUE" lines.
51761 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51762 ac_dB
='[ ].*$,\1#\2'
51765 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51766 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51767 ac_uB
='$,\1#\2define\3'
51771 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
51772 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51774 - | *:- | *:-:* ) # input from stdin
51776 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51777 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51778 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51779 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
51780 * ) ac_file_in
=$ac_file.
in ;;
51783 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51784 echo "$as_me: creating $ac_file" >&6;}
51786 # First look for the input files in the build tree, otherwise in the
51788 ac_file_inputs
=`IFS=:
51789 for f in $ac_file_in; do
51791 -) echo $tmp/stdin ;;
51793 # Absolute (can't be DOS-style, as IFS=:)
51794 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51795 echo "$as_me: error: cannot find input file: $f" >&2;}
51796 { (exit 1); exit 1; }; }
51797 # Do quote $f, to prevent DOS paths from being IFS'd.
51800 if test -f "$f"; then
51803 elif test -f "$srcdir/$f"; then
51808 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51809 echo "$as_me: error: cannot find input file: $f" >&2;}
51810 { (exit 1); exit 1; }; }
51813 done` || { (exit 1); exit 1; }
51814 # Remove the trailing spaces.
51815 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51819 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51820 # `conftest.undefs', that substitutes the proper values into
51821 # config.h.in to produce config.h. The first handles `#define'
51822 # templates, and the second `#undef' templates.
51823 # And first: Protect against being on the right side of a sed subst in
51824 # config.status. Protect against being in an unquoted here document
51825 # in config.status.
51826 rm -f conftest.defines conftest.undefs
51827 # Using a here document instead of a string reduces the quoting nightmare.
51828 # Putting comments in sed scripts is not portable.
51830 # `end' is used to avoid that the second main sed command (meant for
51831 # 0-ary CPP macros) applies to n-ary macro definitions.
51832 # See the Autoconf documentation for `clear'.
51833 cat >confdef2sed.
sed <<\_ACEOF
51838 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51840 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51843 # If some macros were called several times there might be several times
51844 # the same #defines, which is useless. Nevertheless, we may not want to
51845 # sort them, since we want the *last* AC-DEFINE to be honored.
51846 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51847 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51848 rm -f confdef2sed.sed
51850 # This sed command replaces #undef with comments. This is necessary, for
51851 # example, in the case of _POSIX_SOURCE, which is predefined and required
51852 # on some systems where configure will not decide to define it.
51853 cat >>conftest.undefs <<\_ACEOF
51854 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51857 # Break up conftest.defines because some shells have a limit on the size
51858 # of here documents, and old seds have small limits too (100 cmds).
51859 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51860 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51861 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51862 echo ' :' >>$CONFIG_STATUS
51863 rm -f conftest.tail
51864 while grep . conftest.defines >/dev/null
51866 # Write a limited-size here document to $tmp/defines.sed.
51867 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51868 # Speed up: don't consider the non `#define' lines.
51869 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51870 # Work around the forget-to-reset-the-flag bug.
51871 echo 't clr' >>$CONFIG_STATUS
51872 echo ': clr' >>$CONFIG_STATUS
51873 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
51875 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51877 mv $tmp/out $tmp/in
51879 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
51880 rm -f conftest.defines
51881 mv conftest.
tail conftest.defines
51883 rm -f conftest.defines
51884 echo ' fi # grep' >>$CONFIG_STATUS
51885 echo >>$CONFIG_STATUS
51887 # Break up conftest.undefs because some shells have a limit on the size
51888 # of here documents, and old seds have small limits too (100 cmds).
51889 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51890 rm -f conftest.
tail
51891 while grep . conftest.undefs
>/dev
/null
51893 # Write a limited-size here document to $tmp/undefs.sed.
51894 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51895 # Speed up: don't consider the non
`#undef'
51896 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51897 # Work around the forget-to-reset-the-flag bug.
51898 echo 't clr' >>$CONFIG_STATUS
51899 echo ': clr' >>$CONFIG_STATUS
51900 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51902 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51904 mv $tmp/out $tmp/in
51906 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51907 rm -f conftest.undefs
51908 mv conftest.tail conftest.undefs
51910 rm -f conftest.undefs
51912 cat >>$CONFIG_STATUS <<\_ACEOF
51913 # Let's still pretend it is `configure
' which instantiates (i.e., don't
51914 # use $as_me), people would be surprised to read:
51915 # /* config.h. Generated by config.status. */
51916 if test x
"$ac_file" = x
-; then
51917 echo "/* Generated by configure. */" >$tmp/config.h
51919 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51921 cat $tmp/in >>$tmp/config.h
51923 if test x
"$ac_file" != x
-; then
51924 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
51925 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51926 echo "$as_me: $ac_file is unchanged" >&6;}
51928 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
51929 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51930 X"$ac_file" : 'X\(//\)[^/]' \| \
51931 X"$ac_file" : 'X\(//\)$' \| \
51932 X"$ac_file" : 'X\(/\)' \| \
51933 . : '\(.\)' 2>/dev/null ||
51935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51936 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51937 /^X\(\/\/\)$/{ s//\1/; q; }
51938 /^X\(\/\).*/{ s//\1/; q; }
51940 { if $as_mkdir_p; then
51945 while test ! -d "$as_dir"; do
51946 as_dirs
="$as_dir $as_dirs"
51947 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
51948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51949 X"$as_dir" : 'X\(//\)[^/]' \| \
51950 X"$as_dir" : 'X\(//\)$' \| \
51951 X"$as_dir" : 'X\(/\)' \| \
51952 . : '\(.\)' 2>/dev/null ||
51954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51956 /^X\(\/\/\)$/{ s//\1/; q; }
51957 /^X\(\/\).*/{ s//\1/; q; }
51960 test ! -n "$as_dirs" || mkdir $as_dirs
51961 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51962 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51963 { (exit 1); exit 1; }; }; }
51966 mv $tmp/config.h
$ac_file
51970 rm -f $tmp/config.h
51974 cat >>$CONFIG_STATUS <<\_ACEOF
51977 # CONFIG_COMMANDS section.
51979 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
51980 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
51981 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
51982 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
51983 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51984 X"$ac_dest" : 'X\(//\)[^/]' \| \
51985 X"$ac_dest" : 'X\(//\)$' \| \
51986 X"$ac_dest" : 'X\(/\)' \| \
51987 . : '\(.\)' 2>/dev/null ||
51989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51990 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51991 /^X\(\/\/\)$/{ s//\1/; q; }
51992 /^X\(\/\).*/{ s//\1/; q; }
51994 { if $as_mkdir_p; then
51999 while test ! -d "$as_dir"; do
52000 as_dirs
="$as_dir $as_dirs"
52001 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52003 X"$as_dir" : 'X\(//\)[^/]' \| \
52004 X"$as_dir" : 'X\(//\)$' \| \
52005 X"$as_dir" : 'X\(/\)' \| \
52006 . : '\(.\)' 2>/dev/null ||
52008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52010 /^X\(\/\/\)$/{ s//\1/; q; }
52011 /^X\(\/\).*/{ s//\1/; q; }
52014 test ! -n "$as_dirs" || mkdir $as_dirs
52015 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52016 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52017 { (exit 1); exit 1; }; }; }
52021 if test "$ac_dir" != .
; then
52022 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52023 # A "../" for each directory in $ac_dir_suffix.
52024 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52026 ac_dir_suffix
= ac_top_builddir
=
52030 .
) # No --srcdir option. We are building in place.
52032 if test -z "$ac_top_builddir"; then
52035 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52037 [\\/]* | ?
:[\\/]* ) # Absolute path.
52038 ac_srcdir
=$srcdir$ac_dir_suffix;
52039 ac_top_srcdir
=$srcdir ;;
52040 *) # Relative path.
52041 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52042 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52045 # Do not use `cd foo && pwd` to compute absolute paths, because
52046 # the directories may not exist.
52048 .
) ac_abs_builddir
="$ac_dir";;
52051 .
) ac_abs_builddir
=`pwd`;;
52052 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52053 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52056 case $ac_abs_builddir in
52057 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52059 case ${ac_top_builddir}.
in
52060 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52061 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52062 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52065 case $ac_abs_builddir in
52066 .
) ac_abs_srcdir
=$ac_srcdir;;
52069 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52070 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52071 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52074 case $ac_abs_builddir in
52075 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52077 case $ac_top_srcdir in
52078 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52079 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52080 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52085 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52086 echo "$as_me: executing $ac_dest commands" >&6;}
52089 mkdir -p $outdir &&
52090 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52092 wx
-config ) rm -f wx
-config
52093 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52099 cat >>$CONFIG_STATUS <<\_ACEOF
52101 { (exit 0); exit 0; }
52103 chmod +x
$CONFIG_STATUS
52104 ac_clean_files
=$ac_clean_files_save
52107 # configure is writing to config.log, and then calls config.status.
52108 # config.status does its own redirection, appending to config.log.
52109 # Unfortunately, on DOS this fails, as config.log is still kept open
52110 # by configure, so config.status won't be able to write to it; its
52111 # output is simply discarded. So we exec the FD to /dev/null,
52112 # effectively closing config.log, so it can be properly (re)opened and
52113 # appended to by config.status. When coming back to configure, we
52114 # need to make the FD available again.
52115 if test "$no_create" != yes; then
52117 ac_config_status_args
=
52118 test "$silent" = yes &&
52119 ac_config_status_args
="$ac_config_status_args --quiet"
52121 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52123 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52124 # would make configure fail if this is the last instruction.
52125 $ac_cs_success || { (exit 1); exit 1; }
52129 # CONFIG_SUBDIRS section.
52131 if test "$no_recursion" != yes; then
52133 # Remove --cache-file and --srcdir arguments so they do not pile up.
52134 ac_sub_configure_args
=
52136 for ac_arg
in $ac_configure_args; do
52137 if test -n "$ac_prev"; then
52142 -cache-file | --cache-file | --cache-fil | --cache-fi \
52143 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52144 ac_prev
=cache_file
;;
52145 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52146 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52149 --config-cache | -C)
52151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52155 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52157 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52159 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
52163 # Always prepend --prefix to ensure using the same prefix
52164 # in subdir configurations.
52165 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
52168 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52170 # Do not complain, so a configure script can configure whichever
52171 # parts of a large source tree are present.
52172 test -d $srcdir/$ac_dir || continue
52174 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52175 echo "$as_me: configuring in $ac_dir" >&6;}
52176 { if $as_mkdir_p; then
52181 while test ! -d "$as_dir"; do
52182 as_dirs
="$as_dir $as_dirs"
52183 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
52184 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52185 X"$as_dir" : 'X\(//\)[^/]' \| \
52186 X"$as_dir" : 'X\(//\)$' \| \
52187 X"$as_dir" : 'X\(/\)' \| \
52188 . : '\(.\)' 2>/dev/null ||
52190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52192 /^X\(\/\/\)$/{ s//\1/; q; }
52193 /^X\(\/\).*/{ s//\1/; q; }
52196 test ! -n "$as_dirs" || mkdir $as_dirs
52197 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52198 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52199 { (exit 1); exit 1; }; }; }
52203 if test "$ac_dir" != .
; then
52204 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52205 # A "../" for each directory in $ac_dir_suffix.
52206 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52208 ac_dir_suffix
= ac_top_builddir
=
52212 .
) # No --srcdir option. We are building in place.
52214 if test -z "$ac_top_builddir"; then
52217 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
52219 [\\/]* | ?
:[\\/]* ) # Absolute path.
52220 ac_srcdir
=$srcdir$ac_dir_suffix;
52221 ac_top_srcdir
=$srcdir ;;
52222 *) # Relative path.
52223 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
52224 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
52227 # Do not use `cd foo && pwd` to compute absolute paths, because
52228 # the directories may not exist.
52230 .
) ac_abs_builddir
="$ac_dir";;
52233 .
) ac_abs_builddir
=`pwd`;;
52234 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
52235 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
52238 case $ac_abs_builddir in
52239 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52241 case ${ac_top_builddir}.
in
52242 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
52243 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
52244 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
52247 case $ac_abs_builddir in
52248 .
) ac_abs_srcdir
=$ac_srcdir;;
52251 .
) ac_abs_srcdir
=$ac_abs_builddir;;
52252 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
52253 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
52256 case $ac_abs_builddir in
52257 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
52259 case $ac_top_srcdir in
52260 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
52261 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
52262 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
52269 # Check for guested configure; otherwise get Cygnus style configure.
52270 if test -f $ac_srcdir/configure.gnu
; then
52271 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
52272 elif test -f $ac_srcdir/configure
; then
52273 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
52274 elif test -f $ac_srcdir/configure.
in; then
52275 ac_sub_configure
=$ac_configure
52277 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52278 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52282 # The recursion is here.
52283 if test -n "$ac_sub_configure"; then
52284 # Make the cache file name correct relative to the subdirectory.
52285 case $cache_file in
52286 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52287 *) # Relative path.
52288 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
52291 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52292 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52293 # The eval makes quoting arguments work.
52294 eval $ac_sub_configure $ac_sub_configure_args \
52295 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52296 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52297 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52298 { (exit 1); exit 1; }; }
52307 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52309 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52310 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52312 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52313 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52314 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52316 echo " What level of wxWidgets compatibility should be enabled?"
52317 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52318 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52320 echo " Which libraries should wxWidgets use?"
52321 echo " jpeg ${wxUSE_LIBJPEG-none}"
52322 echo " png ${wxUSE_LIBPNG-none}"
52323 echo " regex ${wxUSE_REGEX}"
52324 echo " tiff ${wxUSE_LIBTIFF-none}"
52325 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52326 echo " xpm ${wxUSE_LIBXPM-none}"
52328 echo " zlib ${wxUSE_ZLIB}"
52329 echo " odbc ${wxUSE_ODBC}"
52330 echo " expat ${wxUSE_EXPAT}"
52331 echo " libmspack ${wxUSE_LIBMSPACK}"
52332 echo " sdl ${wxUSE_LIBSDL}"