2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP RESCOMP ac_ct_RESCOMP DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S LNDIR CP_PR CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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 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 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_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 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_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_XRC_1 COND_MONOLITHIC_0_SHARED_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_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_XRC_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_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_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 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_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 WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG 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
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat24 enable wxWidgets
2.4 compatibility
893 --disable-compat26 disable wxWidgets
2.6 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treebook use wxTreebook class
1008 --enable-treectrl use wxTreeCtrl class
1009 --enable-tipwindow use wxTipWindow class
1010 --enable-popupwin use wxPopUpWindow class
1011 --enable-commondlg use all common dialogs
1012 --enable-choicedlg use wxChoiceDialog
1013 --enable-coldlg use wxColourDialog
1014 --enable-filedlg use wxFileDialog
1015 --enable-finddlg use wxFindReplaceDialog
1016 --enable-fontdlg use wxFontDialog
1017 --enable-dirdlg use wxDirDialog
1018 --enable-msgdlg use wxMessageDialog
1019 --enable-numberdlg use wxNumberEntryDialog
1020 --enable-splash use wxSplashScreen
1021 --enable-textdlg use wxTextDialog
1022 --enable-tipdlg use startup tips
1023 --enable-progressdlg use wxProgressDialog
1024 --enable-wizarddlg use wxWizard
1025 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1026 --enable-miniframe use wxMiniFrame class
1027 --enable-tooltips use wxToolTip class
1028 --enable-splines use spline drawing code
1029 --enable-mousewheel use mousewheel
1030 --enable-validators use wxValidator and derived classes
1031 --enable-busyinfo use wxBusyInfo
1032 --enable-joystick use wxJoystick
1033 --enable-metafiles use wxMetaFile
(Win32 only
)
1034 --enable-dragimage use wxDragImage
1035 --enable-accessibility enable accessibility support
1036 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1037 --enable-palette use wxPalette class
1038 --enable-image use wxImage class
1039 --enable-gif use gif images
(GIF
file format
)
1040 --enable-pcx use pcx images
(PCX
file format
)
1041 --enable-iff use iff images
(IFF
file format
)
1042 --enable-pnm use pnm images
(PNM
file format
)
1043 --enable-xpm use xpm images
(XPM
file format
)
1044 --enable-icocur use Windows ICO and CUR formats
1045 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1046 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1047 --disable-largefile omit support
for large files
1048 --disable-gtktest do not try to compile and run a
test GTK
+ program
1049 --disable-gtktest Do not try to compile and run a
test GTK program
1050 --disable-sdltest Do not try to compile and run a
test SDL program
1051 --enable-omf use OMF object format
(OS
/2)
1052 --disable-precomp-headers
1053 don
't use precompiled headers even if compiler can
1056 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1057 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1058 --without-subdirs don't generate makefiles
for samples
/demos
/...
1059 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1060 --with-motif use Motif
/Lesstif
1061 --with-mac use Mac OS X
1062 --with-cocoa use Cocoa
1063 --with-wine use Wine
1064 --with-msw use MS
-Windows
1065 --with-pm use OS
/2 Presentation Manager
1066 --with-mgl use SciTech MGL
1067 --with-microwin use MicroWindows
1069 --with-libpng use libpng
(PNG image format
)
1070 --with-libjpeg use libjpeg
(JPEG
file format
)
1071 --with-libtiff use libtiff
(TIFF
file format
)
1072 --with-libxpm use libxpm
(XPM
file format
)
1073 --with-libmspack use libmspack
(CHM
help files loading
)
1074 --with-sdl use SDL
for audio on Unix
1075 --with-gnomeprint use GNOME print
for printing under Unix
1076 --with-opengl use OpenGL
(or Mesa
)
1077 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1078 --with-regex enable support
for wxRegEx class
1079 --with-zlib use zlib
for LZW compression
1080 --with-odbc use the IODBC and wxODBC classes
1081 --with-expat enable XML support using expat parser
1082 --with-flavour=NAME specify a name to identify this build
1083 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1084 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1085 --with-x use the X Window System
1086 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1087 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1088 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1089 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1090 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1092 Some influential environment variables
:
1093 CC C compiler
command
1094 CFLAGS C compiler flags
1095 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1096 nonstandard directory
<lib dir
>
1097 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1098 headers
in a nonstandard directory
<include dir
>
1100 CXX C
++ compiler
command
1101 CXXFLAGS C
++ compiler flags
1102 CXXCPP C
++ preprocessor
1104 Use these variables to override the choices made by
`configure' or to help
1105 it to find libraries and programs with nonstandard names/locations.
1107 Report bugs to <wx-dev@lists.wxwidgets.org>.
1111 if test "$ac_init_help" = "recursive"; then
1112 # If there are subdirs, report their specific --help.
1114 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1115 test -d $ac_dir || continue
1118 if test "$ac_dir" != .; then
1119 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1120 # A "../" for each directory in $ac_dir_suffix.
1121 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1123 ac_dir_suffix= ac_top_builddir=
1127 .) # No --srcdir option. We are building in place.
1129 if test -z "$ac_top_builddir"; then
1132 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1134 [\\/]* | ?:[\\/]* ) # Absolute path.
1135 ac_srcdir=$srcdir$ac_dir_suffix;
1136 ac_top_srcdir=$srcdir ;;
1138 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1139 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1142 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1143 # the directories may not exist.
1145 .) ac_abs_builddir="$ac_dir";;
1148 .) ac_abs_builddir=`pwd`;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1150 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1153 case $ac_abs_builddir in
1154 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1156 case ${ac_top_builddir}. in
1157 .) ac_abs_top_builddir=$ac_abs_builddir;;
1158 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1159 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1162 case $ac_abs_builddir in
1163 .) ac_abs_srcdir=$ac_srcdir;;
1166 .) ac_abs_srcdir=$ac_abs_builddir;;
1167 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1168 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1171 case $ac_abs_builddir in
1172 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1174 case $ac_top_srcdir in
1175 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1176 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1177 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1182 # Check for guested configure; otherwise get Cygnus style configure.
1183 if test -f $ac_srcdir/configure.gnu; then
1185 $SHELL $ac_srcdir/configure.gnu --help=recursive
1186 elif test -f $ac_srcdir/configure; then
1188 $SHELL $ac_srcdir/configure --help=recursive
1189 elif test -f $ac_srcdir/configure.ac ||
1190 test -f $ac_srcdir/configure.in; then
1192 $ac_configure --help
1194 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1200 test -n "$ac_init_help" && exit 0
1201 if $ac_init_version; then
1203 wxWidgets configure 2.7.0
1204 generated by GNU Autoconf 2.59
1206 Copyright (C) 2003 Free Software Foundation, Inc.
1207 This configure script is free software; the Free Software Foundation
1208 gives unlimited permission to copy, distribute and modify it.
1214 This file contains any messages produced by compilers while
1215 running configure, to aid debugging if configure makes a mistake.
1217 It was created by wxWidgets $as_me 2.7.0, which was
1218 generated by GNU Autoconf 2.59. Invocation command line was
1229 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1230 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1231 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1232 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1233 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1235 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1236 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1238 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1239 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1240 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1241 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1242 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1243 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1244 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1252 test -z "$as_dir" && as_dir=.
1253 echo "PATH: $as_dir"
1268 # Keep a trace of the command line.
1269 # Strip out --no-create and --no-recursion so they do not pile up.
1270 # Strip out --silent because we don't want to record it for future runs.
1271 # Also quote any args containing shell meta-characters.
1272 # Make two passes to allow for proper duplicate-argument suppression.
1277 ac_must_keep_next=false
1283 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1284 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1285 | -silent | --silent | --silen | --sile | --sil)
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1291 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1293 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1294 if test $ac_must_keep_next = true; then
1295 ac_must_keep_next=false # Got value, back to normal.
1298 *=* | --config-cache | -C | -disable-* | --disable-* \
1299 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1300 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1301 | -with-* | --with-* | -without-* | --without-* | --x)
1302 case "$ac_configure_args0 " in
1303 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1306 -* ) ac_must_keep_next=true ;;
1309 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1310 # Get rid of the leading space.
1316 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1317 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1319 # When interrupted or exit'd, cleanup temporary files, and complete
1320 # config.log. We remove comments because anyway the quotes in there
1321 # would cause problems or look ugly.
1322 # WARNING: Be sure not to use single quotes in there, as some shells,
1323 # such as our DU 5.0 friend, will then `close
' the trap.
1324 trap 'exit_status
=$?
1325 # Save into config.log some information that might help in debugging.
1330 ## ---------------- ##
1331 ## Cache variables. ##
1332 ## ---------------- ##
1335 # The following way of writing the cache mishandles newlines in values,
1338 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1341 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1346 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1353 ## ----------------- ##
1354 ## Output variables. ##
1355 ## ----------------- ##
1358 for ac_var
in $ac_subst_vars
1360 eval ac_val
=$
`echo $ac_var`
1361 echo "$ac_var='"'"'$ac_val'"'"'"
1365 if test -n "$ac_subst_files"; then
1372 for ac_var
in $ac_subst_files
1374 eval ac_val
=$
`echo $ac_var`
1375 echo "$ac_var='"'"'$ac_val'"'"'"
1380 if test -s confdefs.h
; then
1387 sed "/^$/d" confdefs.h
| sort
1390 test "$ac_signal" != 0 &&
1391 echo "$as_me: caught signal $ac_signal"
1392 echo "$as_me: exit $exit_status"
1394 rm -f core
*.core
&&
1395 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1398 for ac_signal in 1 2 13 15; do
1399 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1403 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1404 rm -rf conftest* confdefs.h
1405 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1408 # Predefined preprocessor variables.
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_NAME "$PACKAGE_NAME"
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_STRING "$PACKAGE_STRING"
1430 cat >>confdefs.h <<_ACEOF
1431 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1435 # Let the site file select an alternate cache file if it wants to.
1436 # Prefer explicitly selected file to automatically selected ones.
1437 if test -z "$CONFIG_SITE"; then
1438 if test "x$prefix" != xNONE; then
1439 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1441 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1444 for ac_site_file in $CONFIG_SITE; do
1445 if test -r "$ac_site_file"; then
1446 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1447 echo "$as_me: loading site script $ac_site_file" >&6;}
1448 sed 's
/^
/| /' "$ac_site_file" >&5
1453 if test -r "$cache_file"; then
1454 # Some versions of bash will fail to source /dev/null (special
1455 # files actually), so we avoid doing that.
1456 if test -f "$cache_file"; then
1457 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1458 echo "$as_me: loading cache $cache_file" >&6;}
1460 [\\/]* | ?:[\\/]* ) . $cache_file;;
1461 *) . ./$cache_file;;
1465 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1466 echo "$as_me: creating cache $cache_file" >&6;}
1470 # Check that the precious variables saved in the cache have kept the same
1472 ac_cache_corrupted=false
1473 for ac_var in `(set) 2>&1 |
1474 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1475 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1476 eval ac_new_set=\$ac_env_${ac_var}_set
1477 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1478 eval ac_new_val="\$ac_env_${ac_var}_value"
1479 case $ac_old_set,$ac_new_set in
1481 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1482 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1483 ac_cache_corrupted=: ;;
1485 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1486 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1487 ac_cache_corrupted=: ;;
1490 if test "x$ac_old_val" != "x$ac_new_val"; then
1491 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1492 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1493 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1494 echo "$as_me: former value: $ac_old_val" >&2;}
1495 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1496 echo "$as_me: current value: $ac_new_val" >&2;}
1497 ac_cache_corrupted=:
1500 # Pass precious variables to config.status.
1501 if test "$ac_new_set" = set; then
1503 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1504 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1505 *) ac_arg=$ac_var=$ac_new_val ;;
1507 case " $ac_configure_args " in
1508 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1509 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1513 if $ac_cache_corrupted; then
1514 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1515 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1516 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1517 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1518 { (exit 1); exit 1; }; }
1522 ac_cpp='$CPP $CPPFLAGS'
1523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1524 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1557 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1558 if test -f $ac_dir/install-sh; then
1560 ac_install_sh="$ac_aux_dir/install-sh -c"
1562 elif test -f $ac_dir/install.sh; then
1564 ac_install_sh="$ac_aux_dir/install.sh -c"
1566 elif test -f $ac_dir/shtool; then
1568 ac_install_sh="$ac_aux_dir/shtool install -c"
1572 if test -z "$ac_aux_dir"; then
1573 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1574 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1575 { (exit 1); exit 1; }; }
1577 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1578 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1579 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1581 # Make sure we can run config.sub.
1582 $ac_config_sub sun4 >/dev/null 2>&1 ||
1583 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1584 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1585 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: checking build system type" >&5
1588 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1589 if test "${ac_cv_build+set}" = set; then
1590 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 ac_cv_build_alias=$build_alias
1593 test -z "$ac_cv_build_alias" &&
1594 ac_cv_build_alias=`$ac_config_guess`
1595 test -z "$ac_cv_build_alias" &&
1596 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1597 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1598 { (exit 1); exit 1; }; }
1599 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1600 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1601 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1602 { (exit 1); exit 1; }; }
1605 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1606 echo "${ECHO_T}$ac_cv_build" >&6
1608 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1609 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1610 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1613 echo "$as_me:$LINENO: checking host system type" >&5
1614 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1615 if test "${ac_cv_host+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 ac_cv_host_alias=$host_alias
1619 test -z "$ac_cv_host_alias" &&
1620 ac_cv_host_alias=$ac_cv_build_alias
1621 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1622 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1623 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1624 { (exit 1); exit 1; }; }
1627 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1628 echo "${ECHO_T}$ac_cv_host" >&6
1630 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1631 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1632 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1635 echo "$as_me:$LINENO: checking target system type" >&5
1636 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1637 if test "${ac_cv_target+set}" = set; then
1638 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 ac_cv_target_alias=$target_alias
1641 test "x$ac_cv_target_alias" = "x" &&
1642 ac_cv_target_alias=$ac_cv_host_alias
1643 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1644 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1645 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1646 { (exit 1); exit 1; }; }
1649 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1650 echo "${ECHO_T}$ac_cv_target" >&6
1651 target=$ac_cv_target
1652 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1653 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1654 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1657 # The aliases save the names the user supplied, while $host etc.
1658 # will get canonicalized.
1659 test -n "$target_alias" &&
1660 test "$program_prefix$program_suffix$program_transform_name" = \
1662 program_prefix=${target_alias}-
1666 wx_major_version_number=2
1667 wx_minor_version_number=7
1669 wx_subrelease_number=0
1671 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1672 WX_VERSION=$WX_RELEASE.$wx_release_number
1673 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1675 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1688 USE_BSD= USE_DARWIN= USE_FREEBSD=
1694 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1702 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1704 DEFAULT_wxUSE_COCOA=0
1708 DEFAULT_wxUSE_MICROWIN=0
1709 DEFAULT_wxUSE_MOTIF=0
1714 DEFAULT_DEFAULT_wxUSE_COCOA=0
1715 DEFAULT_DEFAULT_wxUSE_GTK=0
1716 DEFAULT_DEFAULT_wxUSE_MAC=0
1717 DEFAULT_DEFAULT_wxUSE_MGL=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1720 DEFAULT_DEFAULT_wxUSE_MSW=0
1721 DEFAULT_DEFAULT_wxUSE_PM=0
1722 DEFAULT_DEFAULT_wxUSE_X11=0
1727 SAMPLES_RPATH_POSTLINK=
1729 DEFAULT_STD_FLAG=yes
1734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1737 cat >>confdefs.h <<\_ACEOF
1742 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
1746 cat >>confdefs.h <<\_ACEOF
1751 if test "x$TMP" = "xalpha"; then
1753 cat >>confdefs.h <<\_ACEOF
1758 DEFAULT_DEFAULT_wxUSE_GTK=1
1760 *-*-gnu* | *-*-k*bsd*-gnu )
1763 if test "x$TMP" = "xalpha"; then
1765 cat >>confdefs.h <<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1772 *-*-irix5* | *-*-irix6* )
1775 cat >>confdefs.h <<\_ACEOF
1779 cat >>confdefs.h <<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1789 cat >>confdefs.h <<\_ACEOF
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SOLARIS__ 1
1797 cat >>confdefs.h <<\_ACEOF
1801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1802 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1808 cat >>confdefs.h <<\_ACEOF
1812 cat >>confdefs.h <<\_ACEOF
1816 cat >>confdefs.h <<\_ACEOF
1820 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1825 cat >>confdefs.h <<\_ACEOF
1826 #define __FREEBSD__ 1
1829 cat >>confdefs.h <<\_ACEOF
1833 DEFAULT_DEFAULT_wxUSE_GTK=1
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __OPENBSD__ 1
1842 cat >>confdefs.h <<\_ACEOF
1846 DEFAULT_DEFAULT_wxUSE_GTK=1
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __NETBSD__ 1
1855 cat >>confdefs.h <<\_ACEOF
1859 DEFAULT_DEFAULT_wxUSE_GTK=1
1864 cat >>confdefs.h <<\_ACEOF
1868 cat >>confdefs.h <<\_ACEOF
1872 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1873 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 cat >>confdefs.h <<\_ACEOF
1882 cat >>confdefs.h <<\_ACEOF
1886 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1891 cat >>confdefs.h <<\_ACEOF
1895 cat >>confdefs.h <<\_ACEOF
1899 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1906 cat >>confdefs.h <<\_ACEOF
1910 cat >>confdefs.h <<\_ACEOF
1914 cat >>confdefs.h <<\_ACEOF
1918 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __UNIXWARE__ 1
1931 *-*-cygwin* | *-*-mingw32* )
1934 DEFAULT_DEFAULT_wxUSE_MSW=1
1941 cat >>confdefs.h <<\_ACEOF
1946 DEFAULT_DEFAULT_wxUSE_MGL=1
1949 *-pc-os2_emx | *-pc-os2-emx )
1950 cat >>confdefs.h <<\_ACEOF
1955 cat >>confdefs.h <<\_ACEOF
1960 DEFAULT_DEFAULT_wxUSE_PM=1
1962 LDFLAGS="$LDFLAGS -Zcrtdll"
1963 ac_executable_extensions=".exe"
1964 export ac_executable_extensions
1968 for ac_dir in $PATH; do
1970 if test -z "$ac_TEMP_PATH"; then
1971 ac_TEMP_PATH="$ac_dir"
1973 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1976 export PATH="$ac_TEMP_PATH"
1985 cat >>confdefs.h <<\_ACEOF
1989 cat >>confdefs.h <<\_ACEOF
1990 #define __DARWIN__ 1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define TARGET_CARBON 1
1997 DEFAULT_DEFAULT_wxUSE_MAC=1
2000 powerpc-apple-macos* )
2002 ac_cv_c_bigendian=yes
2004 DEFAULT_DEFAULT_wxUSE_MAC=1
2010 cat >>confdefs.h <<\_ACEOF
2017 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2018 echo "$as_me: error: unknown system type ${host}." >&2;}
2019 { (exit 1); exit 1; }; }
2025 wx_arg_cache_file="configarg.cache"
2026 echo "loading argument cache $wx_arg_cache_file"
2027 rm -f ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}.tmp
2029 touch ${wx_arg_cache_file}
2033 if test $DEBUG_CONFIGURE = 1; then
2034 DEFAULT_wxUSE_UNIVERSAL=no
2035 DEFAULT_wxUSE_STL=no
2037 DEFAULT_wxUSE_NANOX=no
2039 DEFAULT_wxUSE_THREADS=yes
2041 DEFAULT_wxUSE_SHARED=yes
2042 DEFAULT_wxUSE_OPTIMISE=no
2043 DEFAULT_wxUSE_PROFILE=no
2044 DEFAULT_wxUSE_NO_DEPS=no
2045 DEFAULT_wxUSE_NO_RTTI=no
2046 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2047 DEFAULT_wxUSE_RPATH=yes
2048 DEFAULT_wxUSE_PERMISSIVE=no
2049 DEFAULT_wxUSE_DEBUG_FLAG=yes
2050 DEFAULT_wxUSE_DEBUG_INFO=yes
2051 DEFAULT_wxUSE_DEBUG_GDB=yes
2052 DEFAULT_wxUSE_MEM_TRACING=no
2053 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2054 DEFAULT_wxUSE_DMALLOC=no
2055 DEFAULT_wxUSE_APPLE_IEEE=no
2057 DEFAULT_wxUSE_EXCEPTIONS=no
2058 DEFAULT_wxUSE_LOG=yes
2059 DEFAULT_wxUSE_LOGWINDOW=no
2060 DEFAULT_wxUSE_LOGGUI=no
2061 DEFAULT_wxUSE_LOGDIALOG=no
2063 DEFAULT_wxUSE_GUI=yes
2064 DEFAULT_wxUSE_CONTROLS=no
2066 DEFAULT_wxUSE_REGEX=no
2067 DEFAULT_wxUSE_XML=no
2068 DEFAULT_wxUSE_EXPAT=no
2069 DEFAULT_wxUSE_ZLIB=no
2070 DEFAULT_wxUSE_LIBPNG=no
2071 DEFAULT_wxUSE_LIBJPEG=no
2072 DEFAULT_wxUSE_LIBTIFF=no
2073 DEFAULT_wxUSE_LIBXPM=no
2074 DEFAULT_wxUSE_LIBMSPACK=no
2075 DEFAULT_wxUSE_LIBSDL=no
2076 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2077 DEFAULT_wxUSE_ODBC=no
2078 DEFAULT_wxUSE_OPENGL=no
2080 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2081 DEFAULT_wxUSE_STACKWALKER=no
2082 DEFAULT_wxUSE_DEBUGREPORT=no
2083 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2084 DEFAULT_wxUSE_STD_IOSTREAM=no
2085 DEFAULT_wxUSE_STD_STRING=no
2086 DEFAULT_wxUSE_CMDLINE_PARSER=no
2087 DEFAULT_wxUSE_DATETIME=no
2088 DEFAULT_wxUSE_TIMER=no
2089 DEFAULT_wxUSE_STOPWATCH=no
2090 DEFAULT_wxUSE_FILE=no
2091 DEFAULT_wxUSE_FFILE=no
2092 DEFAULT_wxUSE_STDPATHS=no
2093 DEFAULT_wxUSE_TEXTBUFFER=no
2094 DEFAULT_wxUSE_TEXTFILE=no
2095 DEFAULT_wxUSE_SOUND=no
2096 DEFAULT_wxUSE_MEDIACTRL=no
2097 DEFAULT_wxUSE_INTL=no
2098 DEFAULT_wxUSE_CONFIG=no
2099 DEFAULT_wxUSE_FONTMAP=no
2100 DEFAULT_wxUSE_STREAMS=no
2101 DEFAULT_wxUSE_SOCKETS=no
2102 DEFAULT_wxUSE_OLE=no
2103 DEFAULT_wxUSE_DATAOBJ=no
2104 DEFAULT_wxUSE_DIALUP_MANAGER=no
2105 DEFAULT_wxUSE_JOYSTICK=no
2106 DEFAULT_wxUSE_DYNLIB_CLASS=no
2107 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2108 DEFAULT_wxUSE_LONGLONG=no
2109 DEFAULT_wxUSE_GEOMETRY=no
2111 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2112 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2113 DEFAULT_wxUSE_POSTSCRIPT=no
2115 DEFAULT_wxUSE_CLIPBOARD=no
2116 DEFAULT_wxUSE_TOOLTIPS=no
2117 DEFAULT_wxUSE_DRAG_AND_DROP=no
2118 DEFAULT_wxUSE_DRAGIMAGE=no
2119 DEFAULT_wxUSE_SPLINES=no
2120 DEFAULT_wxUSE_MOUSEWHEEL=no
2122 DEFAULT_wxUSE_MDI=no
2123 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2124 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2125 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2127 DEFAULT_wxUSE_RESOURCES=no
2128 DEFAULT_wxUSE_CONSTRAINTS=no
2129 DEFAULT_wxUSE_IPC=no
2130 DEFAULT_wxUSE_HELP=no
2131 DEFAULT_wxUSE_MS_HTML_HELP=no
2132 DEFAULT_wxUSE_WXHTML_HELP=no
2133 DEFAULT_wxUSE_TREELAYOUT=no
2134 DEFAULT_wxUSE_METAFILE=no
2135 DEFAULT_wxUSE_MIMETYPE=no
2136 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2137 DEFAULT_wxUSE_PROTOCOL=no
2138 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2139 DEFAULT_wxUSE_PROTOCOL_FTP=no
2140 DEFAULT_wxUSE_PROTOCOL_FILE=no
2141 DEFAULT_wxUSE_URL=no
2143 DEFAULT_wxUSE_COMMONDLGS=no
2144 DEFAULT_wxUSE_CHOICEDLG=no
2145 DEFAULT_wxUSE_COLOURDLG=no
2146 DEFAULT_wxUSE_DIRDLG=no
2147 DEFAULT_wxUSE_FILEDLG=no
2148 DEFAULT_wxUSE_FINDREPLDLG=no
2149 DEFAULT_wxUSE_FONTDLG=no
2150 DEFAULT_wxUSE_MSGDLG=no
2151 DEFAULT_wxUSE_NUMBERDLG=no
2152 DEFAULT_wxUSE_TEXTDLG=no
2153 DEFAULT_wxUSE_SPLASH=no
2154 DEFAULT_wxUSE_STARTUP_TIPS=no
2155 DEFAULT_wxUSE_PROGRESSDLG=no
2156 DEFAULT_wxUSE_WIZARDDLG=no
2158 DEFAULT_wxUSE_MENUS=no
2159 DEFAULT_wxUSE_MINIFRAME=no
2160 DEFAULT_wxUSE_HTML=no
2161 DEFAULT_wxUSE_XRC=no
2162 DEFAULT_wxUSE_WEBKIT=no
2163 DEFAULT_wxUSE_FILESYSTEM=no
2164 DEFAULT_wxUSE_FS_INET=no
2165 DEFAULT_wxUSE_FS_ZIP=no
2166 DEFAULT_wxUSE_BUSYINFO=no
2167 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2168 DEFAULT_wxUSE_ZIPSTREAM=no
2169 DEFAULT_wxUSE_VALIDATORS=no
2171 DEFAULT_wxUSE_ACCEL=no
2172 DEFAULT_wxUSE_BUTTON=no
2173 DEFAULT_wxUSE_BMPBUTTON=no
2174 DEFAULT_wxUSE_CALCTRL=no
2175 DEFAULT_wxUSE_CARET=no
2176 DEFAULT_wxUSE_CHECKBOX=no
2177 DEFAULT_wxUSE_CHECKLST=no
2178 DEFAULT_wxUSE_CHOICE=no
2179 DEFAULT_wxUSE_CHOICEBOOK=no
2180 DEFAULT_wxUSE_COMBOBOX=no
2181 DEFAULT_wxUSE_DATEPICKCTRL=no
2182 DEFAULT_wxUSE_DISPLAY=no
2183 DEFAULT_wxUSE_GAUGE=no
2184 DEFAULT_wxUSE_GRID=no
2185 DEFAULT_wxUSE_IMAGLIST=no
2186 DEFAULT_wxUSE_LISTBOOK=no
2187 DEFAULT_wxUSE_LISTBOX=no
2188 DEFAULT_wxUSE_LISTCTRL=no
2189 DEFAULT_wxUSE_NOTEBOOK=no
2190 DEFAULT_wxUSE_RADIOBOX=no
2191 DEFAULT_wxUSE_RADIOBTN=no
2192 DEFAULT_wxUSE_SASH=no
2193 DEFAULT_wxUSE_SCROLLBAR=no
2194 DEFAULT_wxUSE_SLIDER=no
2195 DEFAULT_wxUSE_SPINBTN=no
2196 DEFAULT_wxUSE_SPINCTRL=no
2197 DEFAULT_wxUSE_SPLITTER=no
2198 DEFAULT_wxUSE_STATBMP=no
2199 DEFAULT_wxUSE_STATBOX=no
2200 DEFAULT_wxUSE_STATLINE=no
2201 DEFAULT_wxUSE_STATTEXT=no
2202 DEFAULT_wxUSE_STATUSBAR=yes
2203 DEFAULT_wxUSE_TABDIALOG=no
2204 DEFAULT_wxUSE_TEXTCTRL=no
2205 DEFAULT_wxUSE_TOGGLEBTN=no
2206 DEFAULT_wxUSE_TOOLBAR=no
2207 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2208 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2209 DEFAULT_wxUSE_TREEBOOK=no
2210 DEFAULT_wxUSE_TREECTRL=no
2211 DEFAULT_wxUSE_POPUPWIN=no
2212 DEFAULT_wxUSE_TIPWINDOW=no
2214 DEFAULT_wxUSE_UNICODE=no
2215 DEFAULT_wxUSE_UNICODE_MSLU=no
2216 DEFAULT_wxUSE_WCSRTOMBS=no
2218 DEFAULT_wxUSE_PALETTE=no
2219 DEFAULT_wxUSE_IMAGE=no
2220 DEFAULT_wxUSE_GIF=no
2221 DEFAULT_wxUSE_PCX=no
2222 DEFAULT_wxUSE_PNM=no
2223 DEFAULT_wxUSE_IFF=no
2224 DEFAULT_wxUSE_XPM=no
2225 DEFAULT_wxUSE_ICO_CUR=no
2226 DEFAULT_wxUSE_ACCESSIBILITY=no
2228 DEFAULT_wxUSE_MONOLITHIC=no
2229 DEFAULT_wxUSE_PLUGINS=no
2230 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2232 DEFAULT_wxUSE_UNIVERSAL=no
2233 DEFAULT_wxUSE_STL=no
2235 DEFAULT_wxUSE_NANOX=no
2237 DEFAULT_wxUSE_THREADS=yes
2239 DEFAULT_wxUSE_SHARED=yes
2240 DEFAULT_wxUSE_OPTIMISE=yes
2241 DEFAULT_wxUSE_PROFILE=no
2242 DEFAULT_wxUSE_NO_DEPS=no
2243 DEFAULT_wxUSE_NO_RTTI=no
2244 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2245 DEFAULT_wxUSE_RPATH=yes
2246 DEFAULT_wxUSE_PERMISSIVE=no
2247 DEFAULT_wxUSE_DEBUG_FLAG=no
2248 DEFAULT_wxUSE_DEBUG_INFO=no
2249 DEFAULT_wxUSE_DEBUG_GDB=no
2250 DEFAULT_wxUSE_MEM_TRACING=no
2251 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2252 DEFAULT_wxUSE_DMALLOC=no
2253 DEFAULT_wxUSE_APPLE_IEEE=yes
2255 DEFAULT_wxUSE_EXCEPTIONS=yes
2256 DEFAULT_wxUSE_LOG=yes
2257 DEFAULT_wxUSE_LOGWINDOW=yes
2258 DEFAULT_wxUSE_LOGGUI=yes
2259 DEFAULT_wxUSE_LOGDIALOG=yes
2261 DEFAULT_wxUSE_GUI=yes
2263 DEFAULT_wxUSE_REGEX=yes
2264 DEFAULT_wxUSE_XML=yes
2265 DEFAULT_wxUSE_EXPAT=yes
2266 DEFAULT_wxUSE_ZLIB=yes
2267 DEFAULT_wxUSE_LIBPNG=yes
2268 DEFAULT_wxUSE_LIBJPEG=yes
2269 DEFAULT_wxUSE_LIBTIFF=yes
2270 DEFAULT_wxUSE_LIBXPM=yes
2271 DEFAULT_wxUSE_LIBMSPACK=yes
2272 DEFAULT_wxUSE_LIBSDL=no
2273 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2274 DEFAULT_wxUSE_ODBC=no
2275 DEFAULT_wxUSE_OPENGL=no
2277 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2278 DEFAULT_wxUSE_STACKWALKER=yes
2279 DEFAULT_wxUSE_DEBUGREPORT=yes
2280 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2281 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2282 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2283 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2284 DEFAULT_wxUSE_DATETIME=yes
2285 DEFAULT_wxUSE_TIMER=yes
2286 DEFAULT_wxUSE_STOPWATCH=yes
2287 DEFAULT_wxUSE_FILE=yes
2288 DEFAULT_wxUSE_FFILE=yes
2289 DEFAULT_wxUSE_STDPATHS=yes
2290 DEFAULT_wxUSE_TEXTBUFFER=yes
2291 DEFAULT_wxUSE_TEXTFILE=yes
2292 DEFAULT_wxUSE_SOUND=yes
2293 DEFAULT_wxUSE_MEDIACTRL=no
2294 DEFAULT_wxUSE_INTL=yes
2295 DEFAULT_wxUSE_CONFIG=yes
2296 DEFAULT_wxUSE_FONTMAP=yes
2297 DEFAULT_wxUSE_STREAMS=yes
2298 DEFAULT_wxUSE_SOCKETS=yes
2299 DEFAULT_wxUSE_OLE=yes
2300 DEFAULT_wxUSE_DATAOBJ=yes
2301 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2302 DEFAULT_wxUSE_JOYSTICK=yes
2303 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2304 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2305 DEFAULT_wxUSE_LONGLONG=yes
2306 DEFAULT_wxUSE_GEOMETRY=yes
2308 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2309 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2310 DEFAULT_wxUSE_POSTSCRIPT=yes
2312 DEFAULT_wxUSE_CLIPBOARD=yes
2313 DEFAULT_wxUSE_TOOLTIPS=yes
2314 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2315 DEFAULT_wxUSE_DRAGIMAGE=yes
2316 DEFAULT_wxUSE_SPLINES=yes
2317 DEFAULT_wxUSE_MOUSEWHEEL=yes
2319 DEFAULT_wxUSE_MDI=yes
2320 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2321 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2322 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2324 DEFAULT_wxUSE_RESOURCES=no
2325 DEFAULT_wxUSE_CONSTRAINTS=yes
2326 DEFAULT_wxUSE_IPC=yes
2327 DEFAULT_wxUSE_HELP=yes
2328 DEFAULT_wxUSE_MS_HTML_HELP=yes
2329 DEFAULT_wxUSE_WXHTML_HELP=yes
2330 DEFAULT_wxUSE_TREELAYOUT=yes
2331 DEFAULT_wxUSE_METAFILE=yes
2332 DEFAULT_wxUSE_MIMETYPE=yes
2333 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2334 DEFAULT_wxUSE_PROTOCOL=yes
2335 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2336 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2337 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2338 DEFAULT_wxUSE_URL=yes
2340 DEFAULT_wxUSE_COMMONDLGS=yes
2341 DEFAULT_wxUSE_CHOICEDLG=yes
2342 DEFAULT_wxUSE_COLOURDLG=yes
2343 DEFAULT_wxUSE_DIRDLG=yes
2344 DEFAULT_wxUSE_FILEDLG=yes
2345 DEFAULT_wxUSE_FINDREPLDLG=yes
2346 DEFAULT_wxUSE_FONTDLG=yes
2347 DEFAULT_wxUSE_MSGDLG=yes
2348 DEFAULT_wxUSE_NUMBERDLG=yes
2349 DEFAULT_wxUSE_TEXTDLG=yes
2350 DEFAULT_wxUSE_SPLASH=yes
2351 DEFAULT_wxUSE_STARTUP_TIPS=yes
2352 DEFAULT_wxUSE_PROGRESSDLG=yes
2353 DEFAULT_wxUSE_WIZARDDLG=yes
2355 DEFAULT_wxUSE_MENUS=yes
2356 DEFAULT_wxUSE_MINIFRAME=yes
2357 DEFAULT_wxUSE_HTML=yes
2358 DEFAULT_wxUSE_XRC=yes
2359 DEFAULT_wxUSE_WEBKIT=yes
2360 DEFAULT_wxUSE_FILESYSTEM=yes
2361 DEFAULT_wxUSE_FS_INET=yes
2362 DEFAULT_wxUSE_FS_ZIP=yes
2363 DEFAULT_wxUSE_BUSYINFO=yes
2364 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2365 DEFAULT_wxUSE_ZIPSTREAM=yes
2366 DEFAULT_wxUSE_VALIDATORS=yes
2368 DEFAULT_wxUSE_ACCEL=yes
2369 DEFAULT_wxUSE_BUTTON=yes
2370 DEFAULT_wxUSE_BMPBUTTON=yes
2371 DEFAULT_wxUSE_CALCTRL=yes
2372 DEFAULT_wxUSE_CARET=yes
2373 DEFAULT_wxUSE_CHECKBOX=yes
2374 DEFAULT_wxUSE_CHECKLST=yes
2375 DEFAULT_wxUSE_CHOICE=yes
2376 DEFAULT_wxUSE_CHOICEBOOK=yes
2377 DEFAULT_wxUSE_COMBOBOX=yes
2378 DEFAULT_wxUSE_DATEPICKCTRL=yes
2379 DEFAULT_wxUSE_DISPLAY=yes
2380 DEFAULT_wxUSE_GAUGE=yes
2381 DEFAULT_wxUSE_GRID=yes
2382 DEFAULT_wxUSE_IMAGLIST=yes
2383 DEFAULT_wxUSE_LISTBOOK=yes
2384 DEFAULT_wxUSE_LISTBOX=yes
2385 DEFAULT_wxUSE_LISTCTRL=yes
2386 DEFAULT_wxUSE_NOTEBOOK=yes
2387 DEFAULT_wxUSE_RADIOBOX=yes
2388 DEFAULT_wxUSE_RADIOBTN=yes
2389 DEFAULT_wxUSE_SASH=yes
2390 DEFAULT_wxUSE_SCROLLBAR=yes
2391 DEFAULT_wxUSE_SLIDER=yes
2392 DEFAULT_wxUSE_SPINBTN=yes
2393 DEFAULT_wxUSE_SPINCTRL=yes
2394 DEFAULT_wxUSE_SPLITTER=yes
2395 DEFAULT_wxUSE_STATBMP=yes
2396 DEFAULT_wxUSE_STATBOX=yes
2397 DEFAULT_wxUSE_STATLINE=yes
2398 DEFAULT_wxUSE_STATTEXT=yes
2399 DEFAULT_wxUSE_STATUSBAR=yes
2400 DEFAULT_wxUSE_TABDIALOG=no
2401 DEFAULT_wxUSE_TEXTCTRL=yes
2402 DEFAULT_wxUSE_TOGGLEBTN=yes
2403 DEFAULT_wxUSE_TOOLBAR=yes
2404 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2405 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2406 DEFAULT_wxUSE_TREEBOOK=yes
2407 DEFAULT_wxUSE_TREECTRL=yes
2408 DEFAULT_wxUSE_POPUPWIN=yes
2409 DEFAULT_wxUSE_TIPWINDOW=yes
2411 DEFAULT_wxUSE_UNICODE=no
2412 DEFAULT_wxUSE_UNICODE_MSLU=yes
2413 DEFAULT_wxUSE_WCSRTOMBS=no
2415 DEFAULT_wxUSE_PALETTE=yes
2416 DEFAULT_wxUSE_IMAGE=yes
2417 DEFAULT_wxUSE_GIF=yes
2418 DEFAULT_wxUSE_PCX=yes
2419 DEFAULT_wxUSE_IFF=no
2420 DEFAULT_wxUSE_PNM=yes
2421 DEFAULT_wxUSE_XPM=yes
2422 DEFAULT_wxUSE_ICO_CUR=yes
2423 DEFAULT_wxUSE_ACCESSIBILITY=no
2425 DEFAULT_wxUSE_MONOLITHIC=no
2426 DEFAULT_wxUSE_PLUGINS=no
2427 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2429 DEFAULT_wxUSE_GTK2=yes
2435 for toolkit in `echo $ALL_TOOLKITS`; do
2436 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2437 if test "x$LINE" != "x" ; then
2438 has_toolkit_in_cache=1
2439 eval "DEFAULT_$LINE"
2440 eval "CACHE_$toolkit=1"
2442 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2443 if test "x$LINE" != "x" ; then
2444 eval "DEFAULT_$LINE"
2452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2453 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2455 # Check whether --enable-gui or --disable-gui was given.
2456 if test "${enable_gui+set}" = set; then
2457 enableval="$enable_gui"
2459 if test "$enableval" = yes; then
2460 ac_cv_use_gui='wxUSE_GUI
=yes'
2462 ac_cv_use_gui='wxUSE_GUI
=no
'
2467 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2468 if test "x$LINE" != x ; then
2469 eval "DEFAULT_$LINE"
2474 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2478 eval "$ac_cv_use_gui"
2479 if test "$no_cache" != 1; then
2480 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2483 if test "$wxUSE_GUI" = yes; then
2484 echo "$as_me:$LINENO: result: yes" >&5
2485 echo "${ECHO_T}yes" >&6
2487 echo "$as_me:$LINENO: result: no" >&5
2488 echo "${ECHO_T}no" >&6
2493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2494 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2496 # Check whether --enable-monolithic or --disable-monolithic was given.
2497 if test "${enable_monolithic+set}" = set; then
2498 enableval="$enable_monolithic"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2503 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2508 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x ; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2519 eval "$ac_cv_use_monolithic"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_MONOLITHIC" = yes; then
2525 echo "$as_me:$LINENO: result: yes" >&5
2526 echo "${ECHO_T}yes" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2535 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2537 # Check whether --enable-plugins or --disable-plugins was given.
2538 if test "${enable_plugins+set}" = set; then
2539 enableval="$enable_plugins"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2544 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2549 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x ; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2560 eval "$ac_cv_use_plugins"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_PLUGINS" = yes; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567 echo "${ECHO_T}yes" >&6
2569 echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6
2575 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2576 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2579 # Check whether --with-subdirs or --without-subdirs was given.
2580 if test "${with_subdirs+set}" = set; then
2581 withval="$with_subdirs"
2583 if test "$withval" = yes; then
2584 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2586 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2591 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x ; then
2593 eval "DEFAULT_$LINE"
2598 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2602 eval "$ac_cv_use_subdirs"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2607 if test "$wxWITH_SUBDIRS" = yes; then
2608 echo "$as_me:$LINENO: result: yes" >&5
2609 echo "${ECHO_T}yes" >&6
2611 echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6
2616 if test "$wxUSE_GUI" = "yes"; then
2620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2621 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2623 # Check whether --enable-universal or --disable-universal was given.
2624 if test "${enable_universal+set}" = set; then
2625 enableval="$enable_universal"
2627 if test "$enableval" = yes; then
2628 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2630 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2635 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2636 if test "x$LINE" != x ; then
2637 eval "DEFAULT_$LINE"
2642 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2646 eval "$ac_cv_use_universal"
2647 if test "$no_cache" != 1; then
2648 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2651 if test "$wxUSE_UNIVERSAL" = yes; then
2652 echo "$as_me:$LINENO: result: yes" >&5
2653 echo "${ECHO_T}yes" >&6
2655 echo "$as_me:$LINENO: result: no" >&5
2656 echo "${ECHO_T}no" >&6
2660 # Check whether --with-gtk or --without-gtk was given.
2661 if test "${with_gtk+set}" = set; then
2663 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2666 # Check whether --with-motif or --without-motif was given.
2667 if test "${with_motif+set}" = set; then
2668 withval="$with_motif"
2669 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2672 # Check whether --with-mac or --without-mac was given.
2673 if test "${with_mac+set}" = set; then
2675 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2678 # Check whether --with-cocoa or --without-cocoa was given.
2679 if test "${with_cocoa+set}" = set; then
2680 withval="$with_cocoa"
2681 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2684 # Check whether --with-wine or --without-wine was given.
2685 if test "${with_wine+set}" = set; then
2686 withval="$with_wine"
2687 wxUSE_WINE="$withval" CACHE_WINE=1
2690 # Check whether --with-msw or --without-msw was given.
2691 if test "${with_msw+set}" = set; then
2693 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2696 # Check whether --with-pm or --without-pm was given.
2697 if test "${with_pm+set}" = set; then
2699 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2702 # Check whether --with-mgl or --without-mgl was given.
2703 if test "${with_mgl+set}" = set; then
2705 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2708 # Check whether --with-microwin or --without-microwin was given.
2709 if test "${with_microwin+set}" = set; then
2710 withval="$with_microwin"
2711 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2714 # Check whether --with-x11 or --without-x11 was given.
2715 if test "${with_x11+set}" = set; then
2717 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2722 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2724 # Check whether --enable-nanox or --disable-nanox was given.
2725 if test "${enable_nanox+set}" = set; then
2726 enableval="$enable_nanox"
2728 if test "$enableval" = yes; then
2729 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2731 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2736 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x ; then
2738 eval "DEFAULT_$LINE"
2743 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2747 eval "$ac_cv_use_nanox"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2752 if test "$wxUSE_NANOX" = yes; then
2753 echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6
2756 echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6
2761 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2762 if test "${enable_gtk2+set}" = set; then
2763 enableval="$enable_gtk2"
2764 wxUSE_GTK2="$enableval"
2768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2769 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2771 # Check whether --enable-gpe or --disable-gpe was given.
2772 if test "${enable_gpe+set}" = set; then
2773 enableval="$enable_gpe"
2775 if test "$enableval" = yes; then
2776 ac_cv_use_gpe='wxUSE_GPE
=yes'
2778 ac_cv_use_gpe='wxUSE_GPE
=no
'
2783 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2784 if test "x$LINE" != x ; then
2785 eval "DEFAULT_$LINE"
2790 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2794 eval "$ac_cv_use_gpe"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2799 if test "$wxUSE_GPE" = 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
2809 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2810 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2813 # Check whether --with-libpng or --without-libpng was given.
2814 if test "${with_libpng+set}" = set; then
2815 withval="$with_libpng"
2817 if test "$withval" = yes; then
2818 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2819 elif test "$withval" = no; then
2820 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2821 elif test "$withval" = sys; then
2822 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2823 elif test "$withval" = builtin; then
2824 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2827 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2828 { (exit 1); exit 1; }; }
2833 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x ; then
2835 eval "DEFAULT_$LINE"
2840 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2844 eval "$ac_cv_use_libpng"
2845 if test "$no_cache" != 1; then
2846 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2849 if test "$wxUSE_LIBPNG" = yes; then
2850 echo "$as_me:$LINENO: result: yes" >&5
2851 echo "${ECHO_T}yes" >&6
2852 elif test "$wxUSE_LIBPNG" = no; then
2853 echo "$as_me:$LINENO: result: no" >&5
2854 echo "${ECHO_T}no" >&6
2855 elif test "$wxUSE_LIBPNG" = sys; then
2856 echo "$as_me:$LINENO: result: system version" >&5
2857 echo "${ECHO_T}system version" >&6
2858 elif test "$wxUSE_LIBPNG" = builtin; then
2859 echo "$as_me:$LINENO: result: builtin version" >&5
2860 echo "${ECHO_T}builtin version" >&6
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2863 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2868 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2869 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2872 # Check whether --with-libjpeg or --without-libjpeg was given.
2873 if test "${with_libjpeg+set}" = set; then
2874 withval="$with_libjpeg"
2876 if test "$withval" = yes; then
2877 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2878 elif test "$withval" = no; then
2879 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2880 elif test "$withval" = sys; then
2881 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2882 elif test "$withval" = builtin; then
2883 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2886 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2892 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x ; then
2894 eval "DEFAULT_$LINE"
2899 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2903 eval "$ac_cv_use_libjpeg"
2904 if test "$no_cache" != 1; then
2905 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2908 if test "$wxUSE_LIBJPEG" = yes; then
2909 echo "$as_me:$LINENO: result: yes" >&5
2910 echo "${ECHO_T}yes" >&6
2911 elif test "$wxUSE_LIBJPEG" = no; then
2912 echo "$as_me:$LINENO: result: no" >&5
2913 echo "${ECHO_T}no" >&6
2914 elif test "$wxUSE_LIBJPEG" = sys; then
2915 echo "$as_me:$LINENO: result: system version" >&5
2916 echo "${ECHO_T}system version" >&6
2917 elif test "$wxUSE_LIBJPEG" = builtin; then
2918 echo "$as_me:$LINENO: result: builtin version" >&5
2919 echo "${ECHO_T}builtin version" >&6
2921 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2922 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2923 { (exit 1); exit 1; }; }
2927 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2928 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2931 # Check whether --with-libtiff or --without-libtiff was given.
2932 if test "${with_libtiff+set}" = set; then
2933 withval="$with_libtiff"
2935 if test "$withval" = yes; then
2936 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2937 elif test "$withval" = no; then
2938 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2939 elif test "$withval" = sys; then
2940 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2941 elif test "$withval" = builtin; then
2942 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2945 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2951 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2952 if test "x$LINE" != x ; then
2953 eval "DEFAULT_$LINE"
2958 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2962 eval "$ac_cv_use_libtiff"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2967 if test "$wxUSE_LIBTIFF" = yes; then
2968 echo "$as_me:$LINENO: result: yes" >&5
2969 echo "${ECHO_T}yes" >&6
2970 elif test "$wxUSE_LIBTIFF" = no; then
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2973 elif test "$wxUSE_LIBTIFF" = sys; then
2974 echo "$as_me:$LINENO: result: system version" >&5
2975 echo "${ECHO_T}system version" >&6
2976 elif test "$wxUSE_LIBTIFF" = builtin; then
2977 echo "$as_me:$LINENO: result: builtin version" >&5
2978 echo "${ECHO_T}builtin version" >&6
2980 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2981 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2982 { (exit 1); exit 1; }; }
2986 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2987 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2990 # Check whether --with-libxpm or --without-libxpm was given.
2991 if test "${with_libxpm+set}" = set; then
2992 withval="$with_libxpm"
2994 if test "$withval" = yes; then
2995 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2996 elif test "$withval" = no; then
2997 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
2998 elif test "$withval" = sys; then
2999 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3000 elif test "$withval" = builtin; then
3001 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3003 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3004 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3005 { (exit 1); exit 1; }; }
3010 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3017 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3021 eval "$ac_cv_use_libxpm"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3026 if test "$wxUSE_LIBXPM" = yes; then
3027 echo "$as_me:$LINENO: result: yes" >&5
3028 echo "${ECHO_T}yes" >&6
3029 elif test "$wxUSE_LIBXPM" = no; then
3030 echo "$as_me:$LINENO: result: no" >&5
3031 echo "${ECHO_T}no" >&6
3032 elif test "$wxUSE_LIBXPM" = sys; then
3033 echo "$as_me:$LINENO: result: system version" >&5
3034 echo "${ECHO_T}system version" >&6
3035 elif test "$wxUSE_LIBXPM" = builtin; then
3036 echo "$as_me:$LINENO: result: builtin version" >&5
3037 echo "${ECHO_T}builtin version" >&6
3039 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3040 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3041 { (exit 1); exit 1; }; }
3046 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3047 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3050 # Check whether --with-libmspack or --without-libmspack was given.
3051 if test "${with_libmspack+set}" = set; then
3052 withval="$with_libmspack"
3054 if test "$withval" = yes; then
3055 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3057 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3062 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3069 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3073 eval "$ac_cv_use_libmspack"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3078 if test "$wxUSE_LIBMSPACK" = yes; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3082 echo "$as_me:$LINENO: result: no" >&5
3083 echo "${ECHO_T}no" >&6
3088 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3089 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3092 # Check whether --with-sdl or --without-sdl was given.
3093 if test "${with_sdl+set}" = set; then
3096 if test "$withval" = yes; then
3097 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3099 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3104 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3105 if test "x$LINE" != x ; then
3106 eval "DEFAULT_$LINE"
3111 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3115 eval "$ac_cv_use_sdl"
3116 if test "$no_cache" != 1; then
3117 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3120 if test "$wxUSE_LIBSDL" = yes; then
3121 echo "$as_me:$LINENO: result: yes" >&5
3122 echo "${ECHO_T}yes" >&6
3124 echo "$as_me:$LINENO: result: no" >&5
3125 echo "${ECHO_T}no" >&6
3130 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3131 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3134 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3135 if test "${with_gnomeprint+set}" = set; then
3136 withval="$with_gnomeprint"
3138 if test "$withval" = yes; then
3139 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3141 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3146 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3147 if test "x$LINE" != x ; then
3148 eval "DEFAULT_$LINE"
3153 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3157 eval "$ac_cv_use_gnomeprint"
3158 if test "$no_cache" != 1; then
3159 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3162 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3163 echo "$as_me:$LINENO: result: yes" >&5
3164 echo "${ECHO_T}yes" >&6
3166 echo "$as_me:$LINENO: result: no" >&5
3167 echo "${ECHO_T}no" >&6
3172 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3173 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3176 # Check whether --with-opengl or --without-opengl was given.
3177 if test "${with_opengl+set}" = set; then
3178 withval="$with_opengl"
3180 if test "$withval" = yes; then
3181 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3183 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3188 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3189 if test "x$LINE" != x ; then
3190 eval "DEFAULT_$LINE"
3195 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3199 eval "$ac_cv_use_opengl"
3200 if test "$no_cache" != 1; then
3201 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3204 if test "$wxUSE_OPENGL" = yes; then
3205 echo "$as_me:$LINENO: result: yes" >&5
3206 echo "${ECHO_T}yes" >&6
3208 echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3217 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3218 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3221 # Check whether --with-dmalloc or --without-dmalloc was given.
3222 if test "${with_dmalloc+set}" = set; then
3223 withval="$with_dmalloc"
3225 if test "$withval" = yes; then
3226 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3228 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3233 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3234 if test "x$LINE" != x ; then
3235 eval "DEFAULT_$LINE"
3240 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3244 eval "$ac_cv_use_dmalloc"
3245 if test "$no_cache" != 1; then
3246 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3249 if test "$wxUSE_DMALLOC" = yes; then
3250 echo "$as_me:$LINENO: result: yes" >&5
3251 echo "${ECHO_T}yes" >&6
3253 echo "$as_me:$LINENO: result: no" >&5
3254 echo "${ECHO_T}no" >&6
3258 echo "$as_me:$LINENO: checking for --with-regex" >&5
3259 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3262 # Check whether --with-regex or --without-regex was given.
3263 if test "${with_regex+set}" = set; then
3264 withval="$with_regex"
3266 if test "$withval" = yes; then
3267 ac_cv_use_regex='wxUSE_REGEX
=yes'
3268 elif test "$withval" = no; then
3269 ac_cv_use_regex='wxUSE_REGEX
=no
'
3270 elif test "$withval" = sys; then
3271 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3272 elif test "$withval" = builtin; then
3273 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3275 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3276 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3277 { (exit 1); exit 1; }; }
3282 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x ; then
3284 eval "DEFAULT_$LINE"
3289 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3293 eval "$ac_cv_use_regex"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3298 if test "$wxUSE_REGEX" = yes; then
3299 echo "$as_me:$LINENO: result: yes" >&5
3300 echo "${ECHO_T}yes" >&6
3301 elif test "$wxUSE_REGEX" = no; then
3302 echo "$as_me:$LINENO: result: no" >&5
3303 echo "${ECHO_T}no" >&6
3304 elif test "$wxUSE_REGEX" = sys; then
3305 echo "$as_me:$LINENO: result: system version" >&5
3306 echo "${ECHO_T}system version" >&6
3307 elif test "$wxUSE_REGEX" = builtin; then
3308 echo "$as_me:$LINENO: result: builtin version" >&5
3309 echo "${ECHO_T}builtin version" >&6
3311 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3312 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3313 { (exit 1); exit 1; }; }
3317 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3318 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3321 # Check whether --with-zlib or --without-zlib was given.
3322 if test "${with_zlib+set}" = set; then
3323 withval="$with_zlib"
3325 if test "$withval" = yes; then
3326 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3327 elif test "$withval" = no; then
3328 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3329 elif test "$withval" = sys; then
3330 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3331 elif test "$withval" = builtin; then
3332 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3341 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3342 if test "x$LINE" != x ; then
3343 eval "DEFAULT_$LINE"
3348 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3352 eval "$ac_cv_use_zlib"
3353 if test "$no_cache" != 1; then
3354 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3357 if test "$wxUSE_ZLIB" = yes; then
3358 echo "$as_me:$LINENO: result: yes" >&5
3359 echo "${ECHO_T}yes" >&6
3360 elif test "$wxUSE_ZLIB" = no; then
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3363 elif test "$wxUSE_ZLIB" = sys; then
3364 echo "$as_me:$LINENO: result: system version" >&5
3365 echo "${ECHO_T}system version" >&6
3366 elif test "$wxUSE_ZLIB" = builtin; then
3367 echo "$as_me:$LINENO: result: builtin version" >&5
3368 echo "${ECHO_T}builtin version" >&6
3370 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3371 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3372 { (exit 1); exit 1; }; }
3376 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3377 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3380 # Check whether --with-odbc or --without-odbc was given.
3381 if test "${with_odbc+set}" = set; then
3382 withval="$with_odbc"
3384 if test "$withval" = yes; then
3385 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3386 elif test "$withval" = no; then
3387 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3388 elif test "$withval" = sys; then
3389 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3390 elif test "$withval" = builtin; then
3391 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3393 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3394 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3395 { (exit 1); exit 1; }; }
3400 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x ; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3411 eval "$ac_cv_use_odbc"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_ODBC" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3419 elif test "$wxUSE_ODBC" = no; then
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3422 elif test "$wxUSE_ODBC" = sys; then
3423 echo "$as_me:$LINENO: result: system version" >&5
3424 echo "${ECHO_T}system version" >&6
3425 elif test "$wxUSE_ODBC" = builtin; then
3426 echo "$as_me:$LINENO: result: builtin version" >&5
3427 echo "${ECHO_T}builtin version" >&6
3429 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3430 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3431 { (exit 1); exit 1; }; }
3435 echo "$as_me:$LINENO: checking for --with-expat" >&5
3436 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3439 # Check whether --with-expat or --without-expat was given.
3440 if test "${with_expat+set}" = set; then
3441 withval="$with_expat"
3443 if test "$withval" = yes; then
3444 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3445 elif test "$withval" = no; then
3446 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3447 elif test "$withval" = sys; then
3448 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3449 elif test "$withval" = builtin; then
3450 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3452 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3453 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3454 { (exit 1); exit 1; }; }
3459 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3470 eval "$ac_cv_use_expat"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_EXPAT" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3478 elif test "$wxUSE_EXPAT" = no; then
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3481 elif test "$wxUSE_EXPAT" = sys; then
3482 echo "$as_me:$LINENO: result: system version" >&5
3483 echo "${ECHO_T}system version" >&6
3484 elif test "$wxUSE_EXPAT" = builtin; then
3485 echo "$as_me:$LINENO: result: builtin version" >&5
3486 echo "${ECHO_T}builtin version" >&6
3488 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3489 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3490 { (exit 1); exit 1; }; }
3497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3498 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3500 # Check whether --enable-shared or --disable-shared was given.
3501 if test "${enable_shared+set}" = set; then
3502 enableval="$enable_shared"
3504 if test "$enableval" = yes; then
3505 ac_cv_use_shared='wxUSE_SHARED
=yes'
3507 ac_cv_use_shared='wxUSE_SHARED
=no
'
3512 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3513 if test "x$LINE" != x ; then
3514 eval "DEFAULT_$LINE"
3519 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3523 eval "$ac_cv_use_shared"
3524 if test "$no_cache" != 1; then
3525 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3528 if test "$wxUSE_SHARED" = yes; then
3529 echo "$as_me:$LINENO: result: yes" >&5
3530 echo "${ECHO_T}yes" >&6
3532 echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6
3538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3539 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3541 # Check whether --enable-optimise or --disable-optimise was given.
3542 if test "${enable_optimise+set}" = set; then
3543 enableval="$enable_optimise"
3545 if test "$enableval" = yes; then
3546 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3548 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3553 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3554 if test "x$LINE" != x ; then
3555 eval "DEFAULT_$LINE"
3560 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3564 eval "$ac_cv_use_optimise"
3565 if test "$no_cache" != 1; then
3566 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3569 if test "$wxUSE_OPTIMISE" = yes; then
3570 echo "$as_me:$LINENO: result: yes" >&5
3571 echo "${ECHO_T}yes" >&6
3573 echo "$as_me:$LINENO: result: no" >&5
3574 echo "${ECHO_T}no" >&6
3579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3580 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3582 # Check whether --enable-debug or --disable-debug was given.
3583 if test "${enable_debug+set}" = set; then
3584 enableval="$enable_debug"
3586 if test "$enableval" = yes; then
3587 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3589 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3594 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3595 if test "x$LINE" != x ; then
3596 eval "DEFAULT_$LINE"
3601 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3605 eval "$ac_cv_use_debug"
3606 if test "$no_cache" != 1; then
3607 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3610 if test "$wxUSE_DEBUG" = yes; then
3611 echo "$as_me:$LINENO: result: yes" >&5
3612 echo "${ECHO_T}yes" >&6
3614 echo "$as_me:$LINENO: result: no" >&5
3615 echo "${ECHO_T}no" >&6
3620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3621 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3623 # Check whether --enable-stl or --disable-stl was given.
3624 if test "${enable_stl+set}" = set; then
3625 enableval="$enable_stl"
3627 if test "$enableval" = yes; then
3628 ac_cv_use_stl='wxUSE_STL
=yes'
3630 ac_cv_use_stl='wxUSE_STL
=no
'
3635 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x ; then
3637 eval "DEFAULT_$LINE"
3642 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3646 eval "$ac_cv_use_stl"
3647 if test "$no_cache" != 1; then
3648 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3651 if test "$wxUSE_STL" = yes; then
3652 echo "$as_me:$LINENO: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6
3655 echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6
3659 if test "$USE_OS2" = "1"; then
3660 DEFAULT_wxUSE_OMF=no
3663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3666 # Check whether --enable-omf or --disable-omf was given.
3667 if test "${enable_omf+set}" = set; then
3668 enableval="$enable_omf"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_omf='wxUSE_OMF
=yes'
3673 ac_cv_use_omf='wxUSE_OMF
=no
'
3678 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x ; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3689 eval "$ac_cv_use_omf"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_OMF" = yes; then
3695 echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6
3698 echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6
3704 if test "$wxUSE_DEBUG" = "yes"; then
3705 DEFAULT_wxUSE_DEBUG_FLAG=yes
3706 DEFAULT_wxUSE_DEBUG_INFO=yes
3708 elif test "$wxUSE_DEBUG" = "no"; then
3709 DEFAULT_wxUSE_DEBUG_FLAG=no
3710 DEFAULT_wxUSE_DEBUG_INFO=no
3716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3717 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3719 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3720 if test "${enable_debug_flag+set}" = set; then
3721 enableval="$enable_debug_flag"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3726 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3731 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x ; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3742 eval "$ac_cv_use_debug_flag"
3743 if test "$no_cache" != 1; then
3744 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3747 if test "$wxUSE_DEBUG_FLAG" = yes; then
3748 echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3758 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3760 # Check whether --enable-debug_info or --disable-debug_info was given.
3761 if test "${enable_debug_info+set}" = set; then
3762 enableval="$enable_debug_info"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3767 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3772 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x ; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3783 eval "$ac_cv_use_debug_info"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_DEBUG_INFO" = yes; then
3789 echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3799 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3801 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3802 if test "${enable_debug_gdb+set}" = set; then
3803 enableval="$enable_debug_gdb"
3805 if test "$enableval" = yes; then
3806 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3808 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3813 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x ; then
3815 eval "DEFAULT_$LINE"
3820 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3824 eval "$ac_cv_use_debug_gdb"
3825 if test "$no_cache" != 1; then
3826 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3829 if test "$wxUSE_DEBUG_GDB" = yes; then
3830 echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3840 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3842 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3843 if test "${enable_debug_cntxt+set}" = set; then
3844 enableval="$enable_debug_cntxt"
3846 if test "$enableval" = yes; then
3847 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3849 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3854 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x ; then
3856 eval "DEFAULT_$LINE"
3861 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3865 eval "$ac_cv_use_debug_cntxt"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3870 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3871 echo "$as_me:$LINENO: result: yes" >&5
3872 echo "${ECHO_T}yes" >&6
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3881 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3883 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3884 if test "${enable_mem_tracing+set}" = set; then
3885 enableval="$enable_mem_tracing"
3887 if test "$enableval" = yes; then
3888 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3890 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3895 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3902 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3906 eval "$ac_cv_use_mem_tracing"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3911 if test "$wxUSE_MEM_TRACING" = yes; then
3912 echo "$as_me:$LINENO: result: yes" >&5
3913 echo "${ECHO_T}yes" >&6
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3922 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3924 # Check whether --enable-profile or --disable-profile was given.
3925 if test "${enable_profile+set}" = set; then
3926 enableval="$enable_profile"
3928 if test "$enableval" = yes; then
3929 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3931 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3936 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x ; then
3938 eval "DEFAULT_$LINE"
3943 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3947 eval "$ac_cv_use_profile"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3952 if test "$wxUSE_PROFILE" = yes; then
3953 echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3965 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3966 if test "${enable_no_rtti+set}" = set; then
3967 enableval="$enable_no_rtti"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3972 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3977 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3988 eval "$ac_cv_use_no_rtti"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_NO_RTTI" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4004 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4006 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4007 if test "${enable_no_exceptions+set}" = set; then
4008 enableval="$enable_no_exceptions"
4010 if test "$enableval" = yes; then
4011 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4013 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4018 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4019 if test "x$LINE" != x ; then
4020 eval "DEFAULT_$LINE"
4025 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4029 eval "$ac_cv_use_no_exceptions"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4034 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4035 echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4045 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4047 # Check whether --enable-permissive or --disable-permissive was given.
4048 if test "${enable_permissive+set}" = set; then
4049 enableval="$enable_permissive"
4051 if test "$enableval" = yes; then
4052 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4054 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4059 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x ; then
4061 eval "DEFAULT_$LINE"
4066 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4070 eval "$ac_cv_use_permissive"
4071 if test "$no_cache" != 1; then
4072 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4075 if test "$wxUSE_PERMISSIVE" = yes; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077 echo "${ECHO_T}yes" >&6
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4086 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4088 # Check whether --enable-no_deps or --disable-no_deps was given.
4089 if test "${enable_no_deps+set}" = set; then
4090 enableval="$enable_no_deps"
4092 if test "$enableval" = yes; then
4093 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4095 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4100 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4101 if test "x$LINE" != x ; then
4102 eval "DEFAULT_$LINE"
4107 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4111 eval "$ac_cv_use_no_deps"
4112 if test "$no_cache" != 1; then
4113 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4116 if test "$wxUSE_NO_DEPS" = yes; then
4117 echo "$as_me:$LINENO: result: yes" >&5
4118 echo "${ECHO_T}yes" >&6
4120 echo "$as_me:$LINENO: result: no" >&5
4121 echo "${ECHO_T}no" >&6
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4130 # Check whether --enable-compat24 or --disable-compat24 was given.
4131 if test "${enable_compat24+set}" = set; then
4132 enableval="$enable_compat24"
4134 if test "$enableval" = yes; then
4135 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4137 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4142 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4149 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4153 eval "$ac_cv_use_compat24"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4158 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4167 enablestring=disable
4168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4169 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4171 # Check whether --enable-compat26 or --disable-compat26 was given.
4172 if test "${enable_compat26+set}" = set; then
4173 enableval="$enable_compat26"
4175 if test "$enableval" = yes; then
4176 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4178 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4183 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x ; then
4185 eval "DEFAULT_$LINE"
4190 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4194 eval "$ac_cv_use_compat26"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4199 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4200 echo "$as_me:$LINENO: result: yes" >&5
4201 echo "${ECHO_T}yes" >&6
4203 echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6
4210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4211 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4213 # Check whether --enable-rpath or --disable-rpath was given.
4214 if test "${enable_rpath+set}" = set; then
4215 enableval="$enable_rpath"
4217 if test "$enableval" = yes; then
4218 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4220 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4225 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4226 if test "x$LINE" != x ; then
4227 eval "DEFAULT_$LINE"
4232 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4236 eval "$ac_cv_use_rpath"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_RPATH" = yes; then
4242 echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6
4245 echo "$as_me:$LINENO: result: no" >&5
4246 echo "${ECHO_T}no" >&6
4254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4255 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4257 # Check whether --enable-intl or --disable-intl was given.
4258 if test "${enable_intl+set}" = set; then
4259 enableval="$enable_intl"
4261 if test "$enableval" = yes; then
4262 ac_cv_use_intl='wxUSE_INTL
=yes'
4264 ac_cv_use_intl='wxUSE_INTL
=no
'
4269 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x ; then
4271 eval "DEFAULT_$LINE"
4276 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4280 eval "$ac_cv_use_intl"
4281 if test "$no_cache" != 1; then
4282 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4285 if test "$wxUSE_INTL" = yes; then
4286 echo "$as_me:$LINENO: result: yes" >&5
4287 echo "${ECHO_T}yes" >&6
4289 echo "$as_me:$LINENO: result: no" >&5
4290 echo "${ECHO_T}no" >&6
4295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4296 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4298 # Check whether --enable-config or --disable-config was given.
4299 if test "${enable_config+set}" = set; then
4300 enableval="$enable_config"
4302 if test "$enableval" = yes; then
4303 ac_cv_use_config='wxUSE_CONFIG
=yes'
4305 ac_cv_use_config='wxUSE_CONFIG
=no
'
4310 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4311 if test "x$LINE" != x ; then
4312 eval "DEFAULT_$LINE"
4317 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4321 eval "$ac_cv_use_config"
4322 if test "$no_cache" != 1; then
4323 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4326 if test "$wxUSE_CONFIG" = yes; then
4327 echo "$as_me:$LINENO: result: yes" >&5
4328 echo "${ECHO_T}yes" >&6
4330 echo "$as_me:$LINENO: result: no" >&5
4331 echo "${ECHO_T}no" >&6
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4340 # Check whether --enable-protocols or --disable-protocols was given.
4341 if test "${enable_protocols+set}" = set; then
4342 enableval="$enable_protocols"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4347 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4352 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x ; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4363 eval "$ac_cv_use_protocols"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_PROTOCOL" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4381 # Check whether --enable-ftp or --disable-ftp was given.
4382 if test "${enable_ftp+set}" = set; then
4383 enableval="$enable_ftp"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4388 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4393 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x ; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4404 eval "$ac_cv_use_ftp"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4422 # Check whether --enable-http or --disable-http was given.
4423 if test "${enable_http+set}" = set; then
4424 enableval="$enable_http"
4426 if test "$enableval" = yes; then
4427 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4429 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4434 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4441 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4445 eval "$ac_cv_use_http"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4451 echo "$as_me:$LINENO: result: yes" >&5
4452 echo "${ECHO_T}yes" >&6
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4463 # Check whether --enable-fileproto or --disable-fileproto was given.
4464 if test "${enable_fileproto+set}" = set; then
4465 enableval="$enable_fileproto"
4467 if test "$enableval" = yes; then
4468 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4470 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4475 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x ; then
4477 eval "DEFAULT_$LINE"
4482 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4486 eval "$ac_cv_use_fileproto"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4495 echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6
4501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4504 # Check whether --enable-sockets or --disable-sockets was given.
4505 if test "${enable_sockets+set}" = set; then
4506 enableval="$enable_sockets"
4508 if test "$enableval" = yes; then
4509 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4511 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4516 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x ; then
4518 eval "DEFAULT_$LINE"
4523 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4527 eval "$ac_cv_use_sockets"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4532 if test "$wxUSE_SOCKETS" = yes; then
4533 echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4545 # Check whether --enable-ole or --disable-ole was given.
4546 if test "${enable_ole+set}" = set; then
4547 enableval="$enable_ole"
4549 if test "$enableval" = yes; then
4550 ac_cv_use_ole='wxUSE_OLE
=yes'
4552 ac_cv_use_ole='wxUSE_OLE
=no
'
4557 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x ; then
4559 eval "DEFAULT_$LINE"
4564 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4568 eval "$ac_cv_use_ole"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4573 if test "$wxUSE_OLE" = yes; then
4574 echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6
4577 echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6
4583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4584 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4586 # Check whether --enable-dataobj or --disable-dataobj was given.
4587 if test "${enable_dataobj+set}" = set; then
4588 enableval="$enable_dataobj"
4590 if test "$enableval" = yes; then
4591 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4593 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4598 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4599 if test "x$LINE" != x ; then
4600 eval "DEFAULT_$LINE"
4605 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4609 eval "$ac_cv_use_dataobj"
4610 if test "$no_cache" != 1; then
4611 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4614 if test "$wxUSE_DATAOBJ" = yes; then
4615 echo "$as_me:$LINENO: result: yes" >&5
4616 echo "${ECHO_T}yes" >&6
4618 echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6
4625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4626 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4628 # Check whether --enable-ipc or --disable-ipc was given.
4629 if test "${enable_ipc+set}" = set; then
4630 enableval="$enable_ipc"
4632 if test "$enableval" = yes; then
4633 ac_cv_use_ipc='wxUSE_IPC
=yes'
4635 ac_cv_use_ipc='wxUSE_IPC
=no
'
4640 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4641 if test "x$LINE" != x ; then
4642 eval "DEFAULT_$LINE"
4647 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4651 eval "$ac_cv_use_ipc"
4652 if test "$no_cache" != 1; then
4653 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4656 if test "$wxUSE_IPC" = yes; then
4657 echo "$as_me:$LINENO: result: yes" >&5
4658 echo "${ECHO_T}yes" >&6
4660 echo "$as_me:$LINENO: result: no" >&5
4661 echo "${ECHO_T}no" >&6
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4670 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4671 if test "${enable_apple_ieee+set}" = set; then
4672 enableval="$enable_apple_ieee"
4674 if test "$enableval" = yes; then
4675 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4677 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4682 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4689 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4693 eval "$ac_cv_use_apple_ieee"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_APPLE_IEEE" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4711 # Check whether --enable-arcstream or --disable-arcstream was given.
4712 if test "${enable_arcstream+set}" = set; then
4713 enableval="$enable_arcstream"
4715 if test "$enableval" = yes; then
4716 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4718 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4723 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4734 eval "$ac_cv_use_arcstream"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4739 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4740 echo "$as_me:$LINENO: result: yes" >&5
4741 echo "${ECHO_T}yes" >&6
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4752 # Check whether --enable-backtrace or --disable-backtrace was given.
4753 if test "${enable_backtrace+set}" = set; then
4754 enableval="$enable_backtrace"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4759 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4764 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4775 eval "$ac_cv_use_backtrace"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4780 if test "$wxUSE_STACKWALKER" = yes; then
4781 echo "$as_me:$LINENO: result: yes" >&5
4782 echo "${ECHO_T}yes" >&6
4784 echo "$as_me:$LINENO: result: no" >&5
4785 echo "${ECHO_T}no" >&6
4790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4793 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4794 if test "${enable_catch_segvs+set}" = set; then
4795 enableval="$enable_catch_segvs"
4797 if test "$enableval" = yes; then
4798 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4800 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4805 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4816 eval "$ac_cv_use_catch_segvs"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4821 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4822 echo "$as_me:$LINENO: result: yes" >&5
4823 echo "${ECHO_T}yes" >&6
4825 echo "$as_me:$LINENO: result: no" >&5
4826 echo "${ECHO_T}no" >&6
4831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4834 # Check whether --enable-cmdline or --disable-cmdline was given.
4835 if test "${enable_cmdline+set}" = set; then
4836 enableval="$enable_cmdline"
4838 if test "$enableval" = yes; then
4839 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4841 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4846 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4857 eval "$ac_cv_use_cmdline"
4858 if test "$no_cache" != 1; then
4859 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4862 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4863 echo "$as_me:$LINENO: result: yes" >&5
4864 echo "${ECHO_T}yes" >&6
4866 echo "$as_me:$LINENO: result: no" >&5
4867 echo "${ECHO_T}no" >&6
4872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4873 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4875 # Check whether --enable-datetime or --disable-datetime was given.
4876 if test "${enable_datetime+set}" = set; then
4877 enableval="$enable_datetime"
4879 if test "$enableval" = yes; then
4880 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4882 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4887 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x ; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4898 eval "$ac_cv_use_datetime"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4903 if test "$wxUSE_DATETIME" = yes; then
4904 echo "$as_me:$LINENO: result: yes" >&5
4905 echo "${ECHO_T}yes" >&6
4907 echo "$as_me:$LINENO: result: no" >&5
4908 echo "${ECHO_T}no" >&6
4913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4916 # Check whether --enable-debugreport or --disable-debugreport was given.
4917 if test "${enable_debugreport+set}" = set; then
4918 enableval="$enable_debugreport"
4920 if test "$enableval" = yes; then
4921 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4923 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4928 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x ; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4939 eval "$ac_cv_use_debugreport"
4940 if test "$no_cache" != 1; then
4941 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4944 if test "$wxUSE_DEBUGREPORT" = yes; then
4945 echo "$as_me:$LINENO: result: yes" >&5
4946 echo "${ECHO_T}yes" >&6
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4957 # Check whether --enable-dialupman or --disable-dialupman was given.
4958 if test "${enable_dialupman+set}" = set; then
4959 enableval="$enable_dialupman"
4961 if test "$enableval" = yes; then
4962 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4964 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4969 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x ; then
4971 eval "DEFAULT_$LINE"
4976 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4980 eval "$ac_cv_use_dialupman"
4981 if test "$no_cache" != 1; then
4982 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4985 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4986 echo "$as_me:$LINENO: result: yes" >&5
4987 echo "${ECHO_T}yes" >&6
4989 echo "$as_me:$LINENO: result: no" >&5
4990 echo "${ECHO_T}no" >&6
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4998 # Check whether --enable-dynlib or --disable-dynlib was given.
4999 if test "${enable_dynlib+set}" = set; then
5000 enableval="$enable_dynlib"
5002 if test "$enableval" = yes; then
5003 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5005 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5010 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5021 eval "$ac_cv_use_dynlib"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5026 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5039 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5040 if test "${enable_dynamicloader+set}" = set; then
5041 enableval="$enable_dynamicloader"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5046 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5051 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5062 eval "$ac_cv_use_dynamicloader"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5080 # Check whether --enable-exceptions or --disable-exceptions was given.
5081 if test "${enable_exceptions+set}" = set; then
5082 enableval="$enable_exceptions"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5087 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5092 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5103 eval "$ac_cv_use_exceptions"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5108 if test "$wxUSE_EXCEPTIONS" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5121 # Check whether --enable-ffile or --disable-ffile was given.
5122 if test "${enable_ffile+set}" = set; then
5123 enableval="$enable_ffile"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5128 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5133 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5144 eval "$ac_cv_use_ffile"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5149 if test "$wxUSE_FFILE" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5162 # Check whether --enable-file or --disable-file was given.
5163 if test "${enable_file+set}" = set; then
5164 enableval="$enable_file"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_file='wxUSE_FILE
=yes'
5169 ac_cv_use_file='wxUSE_FILE
=no
'
5174 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5185 eval "$ac_cv_use_file"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_FILE" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5203 # Check whether --enable-filesystem or --disable-filesystem was given.
5204 if test "${enable_filesystem+set}" = set; then
5205 enableval="$enable_filesystem"
5207 if test "$enableval" = yes; then
5208 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5210 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5215 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5222 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5226 eval "$ac_cv_use_filesystem"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_FILESYSTEM" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5244 # Check whether --enable-fontmap or --disable-fontmap was given.
5245 if test "${enable_fontmap+set}" = set; then
5246 enableval="$enable_fontmap"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5251 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5256 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5267 eval "$ac_cv_use_fontmap"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5272 if test "$wxUSE_FONTMAP" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5285 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5286 if test "${enable_fs_inet+set}" = set; then
5287 enableval="$enable_fs_inet"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5292 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5297 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5308 eval "$ac_cv_use_fs_inet"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_FS_INET" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5326 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5327 if test "${enable_fs_zip+set}" = set; then
5328 enableval="$enable_fs_zip"
5330 if test "$enableval" = yes; then
5331 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5333 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5338 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5345 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5349 eval "$ac_cv_use_fs_zip"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_FS_ZIP" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5367 # Check whether --enable-geometry or --disable-geometry was given.
5368 if test "${enable_geometry+set}" = set; then
5369 enableval="$enable_geometry"
5371 if test "$enableval" = yes; then
5372 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5374 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5379 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5386 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5390 eval "$ac_cv_use_geometry"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5395 if test "$wxUSE_GEOMETRY" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5408 # Check whether --enable-log or --disable-log was given.
5409 if test "${enable_log+set}" = set; then
5410 enableval="$enable_log"
5412 if test "$enableval" = yes; then
5413 ac_cv_use_log='wxUSE_LOG
=yes'
5415 ac_cv_use_log='wxUSE_LOG
=no
'
5420 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5427 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5431 eval "$ac_cv_use_log"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5436 if test "$wxUSE_LOG" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5449 # Check whether --enable-longlong or --disable-longlong was given.
5450 if test "${enable_longlong+set}" = set; then
5451 enableval="$enable_longlong"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5456 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5461 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5472 eval "$ac_cv_use_longlong"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5477 if test "$wxUSE_LONGLONG" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5490 # Check whether --enable-mimetype or --disable-mimetype was given.
5491 if test "${enable_mimetype+set}" = set; then
5492 enableval="$enable_mimetype"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5497 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5502 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5513 eval "$ac_cv_use_mimetype"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5518 if test "$wxUSE_MIMETYPE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5531 # Check whether --enable-mslu or --disable-mslu was given.
5532 if test "${enable_mslu+set}" = set; then
5533 enableval="$enable_mslu"
5535 if test "$enableval" = yes; then
5536 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5538 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5543 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5550 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5554 eval "$ac_cv_use_mslu"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_UNICODE_MSLU" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5572 # Check whether --enable-snglinst or --disable-snglinst was given.
5573 if test "${enable_snglinst+set}" = set; then
5574 enableval="$enable_snglinst"
5576 if test "$enableval" = yes; then
5577 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5579 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5584 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5591 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5595 eval "$ac_cv_use_snglinst"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5613 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5614 if test "${enable_std_iostreams+set}" = set; then
5615 enableval="$enable_std_iostreams"
5617 if test "$enableval" = yes; then
5618 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5620 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5625 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5632 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5636 eval "$ac_cv_use_std_iostreams"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5641 if test "$wxUSE_STD_IOSTREAM" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5654 # Check whether --enable-std_string or --disable-std_string was given.
5655 if test "${enable_std_string+set}" = set; then
5656 enableval="$enable_std_string"
5658 if test "$enableval" = yes; then
5659 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5661 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5666 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5673 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5677 eval "$ac_cv_use_std_string"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5682 if test "$wxUSE_STD_STRING" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5695 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5696 if test "${enable_stdpaths+set}" = set; then
5697 enableval="$enable_stdpaths"
5699 if test "$enableval" = yes; then
5700 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5702 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5707 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5714 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5718 eval "$ac_cv_use_stdpaths"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_STDPATHS" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5736 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5737 if test "${enable_stopwatch+set}" = set; then
5738 enableval="$enable_stopwatch"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5743 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5748 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5759 eval "$ac_cv_use_stopwatch"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_STOPWATCH" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5777 # Check whether --enable-streams or --disable-streams was given.
5778 if test "${enable_streams+set}" = set; then
5779 enableval="$enable_streams"
5781 if test "$enableval" = yes; then
5782 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5784 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5789 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5796 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5800 eval "$ac_cv_use_streams"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_STREAMS" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5818 # Check whether --enable-system_options or --disable-system_options was given.
5819 if test "${enable_system_options+set}" = set; then
5820 enableval="$enable_system_options"
5822 if test "$enableval" = yes; then
5823 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5825 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5830 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5837 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5841 eval "$ac_cv_use_system_options"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5859 # Check whether --enable-textbuf or --disable-textbuf was given.
5860 if test "${enable_textbuf+set}" = set; then
5861 enableval="$enable_textbuf"
5863 if test "$enableval" = yes; then
5864 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5866 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5871 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5878 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5882 eval "$ac_cv_use_textbuf"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5887 if test "$wxUSE_TEXTBUFFER" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5900 # Check whether --enable-textfile or --disable-textfile was given.
5901 if test "${enable_textfile+set}" = set; then
5902 enableval="$enable_textfile"
5904 if test "$enableval" = yes; then
5905 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5907 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5912 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5919 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5923 eval "$ac_cv_use_textfile"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_TEXTFILE" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5941 # Check whether --enable-timer or --disable-timer was given.
5942 if test "${enable_timer+set}" = set; then
5943 enableval="$enable_timer"
5945 if test "$enableval" = yes; then
5946 ac_cv_use_timer='wxUSE_TIMER
=yes'
5948 ac_cv_use_timer='wxUSE_TIMER
=no
'
5953 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5960 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5964 eval "$ac_cv_use_timer"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5969 if test "$wxUSE_TIMER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5982 # Check whether --enable-unicode or --disable-unicode was given.
5983 if test "${enable_unicode+set}" = set; then
5984 enableval="$enable_unicode"
5986 if test "$enableval" = yes; then
5987 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5989 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5994 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
6001 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6005 eval "$ac_cv_use_unicode"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6010 if test "$wxUSE_UNICODE" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6023 # Check whether --enable-sound or --disable-sound was given.
6024 if test "${enable_sound+set}" = set; then
6025 enableval="$enable_sound"
6027 if test "$enableval" = yes; then
6028 ac_cv_use_sound='wxUSE_SOUND
=yes'
6030 ac_cv_use_sound='wxUSE_SOUND
=no
'
6035 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6042 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6046 eval "$ac_cv_use_sound"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6051 if test "$wxUSE_SOUND" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6064 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6065 if test "${enable_mediactrl+set}" = set; then
6066 enableval="$enable_mediactrl"
6068 if test "$enableval" = yes; then
6069 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6071 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6076 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6083 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6087 eval "$ac_cv_use_mediactrl"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6092 if test "$wxUSE_MEDIACTRL" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6105 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6106 if test "${enable_wxprintfv+set}" = set; then
6107 enableval="$enable_wxprintfv"
6109 if test "$enableval" = yes; then
6110 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6112 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6117 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6124 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6128 eval "$ac_cv_use_wxprintfv"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6146 # Check whether --enable-zipstream or --disable-zipstream was given.
6147 if test "${enable_zipstream+set}" = set; then
6148 enableval="$enable_zipstream"
6150 if test "$enableval" = yes; then
6151 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6153 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6158 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6165 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6169 eval "$ac_cv_use_zipstream"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6174 if test "$wxUSE_ZIPSTREAM" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6188 # Check whether --enable-url or --disable-url was given.
6189 if test "${enable_url+set}" = set; then
6190 enableval="$enable_url"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_url='wxUSE_URL
=yes'
6195 ac_cv_use_url='wxUSE_URL
=no
'
6200 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6211 eval "$ac_cv_use_url"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_URL" = yes; then
6217 echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6
6220 echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6
6226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6229 # Check whether --enable-protocol or --disable-protocol was given.
6230 if test "${enable_protocol+set}" = set; then
6231 enableval="$enable_protocol"
6233 if test "$enableval" = yes; then
6234 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6236 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6241 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x ; then
6243 eval "DEFAULT_$LINE"
6248 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6252 eval "$ac_cv_use_protocol"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_PROTOCOL" = yes; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6
6261 echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6
6267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6270 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6271 if test "${enable_protocol_http+set}" = set; then
6272 enableval="$enable_protocol_http"
6274 if test "$enableval" = yes; then
6275 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6277 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6282 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6283 if test "x$LINE" != x ; then
6284 eval "DEFAULT_$LINE"
6289 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6293 eval "$ac_cv_use_protocol_http"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6298 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6299 echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6
6302 echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6
6308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6311 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6312 if test "${enable_protocol_ftp+set}" = set; then
6313 enableval="$enable_protocol_ftp"
6315 if test "$enableval" = yes; then
6316 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6318 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6323 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6324 if test "x$LINE" != x ; then
6325 eval "DEFAULT_$LINE"
6330 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6334 eval "$ac_cv_use_protocol_ftp"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6339 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6340 echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6
6343 echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6
6349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6352 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6353 if test "${enable_protocol_file+set}" = set; then
6354 enableval="$enable_protocol_file"
6356 if test "$enableval" = yes; then
6357 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6359 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6364 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6365 if test "x$LINE" != x ; then
6366 eval "DEFAULT_$LINE"
6371 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6375 eval "$ac_cv_use_protocol_file"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6380 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6381 echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6
6384 echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6
6393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6394 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6396 # Check whether --enable-threads or --disable-threads was given.
6397 if test "${enable_threads+set}" = set; then
6398 enableval="$enable_threads"
6400 if test "$enableval" = yes; then
6401 ac_cv_use_threads='wxUSE_THREADS
=yes'
6403 ac_cv_use_threads='wxUSE_THREADS
=no
'
6408 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6409 if test "x$LINE" != x ; then
6410 eval "DEFAULT_$LINE"
6415 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6419 eval "$ac_cv_use_threads"
6420 if test "$no_cache" != 1; then
6421 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6424 if test "$wxUSE_THREADS" = yes; then
6425 echo "$as_me:$LINENO: result: yes" >&5
6426 echo "${ECHO_T}yes" >&6
6428 echo "$as_me:$LINENO: result: no" >&5
6429 echo "${ECHO_T}no" >&6
6433 if test "$wxUSE_GUI" = "yes"; then
6438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6439 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6441 # Check whether --enable-docview or --disable-docview was given.
6442 if test "${enable_docview+set}" = set; then
6443 enableval="$enable_docview"
6445 if test "$enableval" = yes; then
6446 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6448 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6453 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x ; then
6455 eval "DEFAULT_$LINE"
6460 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6464 eval "$ac_cv_use_docview"
6465 if test "$no_cache" != 1; then
6466 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6469 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6470 echo "$as_me:$LINENO: result: yes" >&5
6471 echo "${ECHO_T}yes" >&6
6473 echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6482 # Check whether --enable-help or --disable-help was given.
6483 if test "${enable_help+set}" = set; then
6484 enableval="$enable_help"
6486 if test "$enableval" = yes; then
6487 ac_cv_use_help='wxUSE_HELP
=yes'
6489 ac_cv_use_help='wxUSE_HELP
=no
'
6494 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x ; then
6496 eval "DEFAULT_$LINE"
6501 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6505 eval "$ac_cv_use_help"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6510 if test "$wxUSE_HELP" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512 echo "${ECHO_T}yes" >&6
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6521 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6523 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6524 if test "${enable_mshtmlhelp+set}" = set; then
6525 enableval="$enable_mshtmlhelp"
6527 if test "$enableval" = yes; then
6528 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6530 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6535 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6536 if test "x$LINE" != x ; then
6537 eval "DEFAULT_$LINE"
6542 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6546 eval "$ac_cv_use_mshtmlhelp"
6547 if test "$no_cache" != 1; then
6548 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6551 if test "$wxUSE_MS_HTML_HELP" = yes; then
6552 echo "$as_me:$LINENO: result: yes" >&5
6553 echo "${ECHO_T}yes" >&6
6555 echo "$as_me:$LINENO: result: no" >&5
6556 echo "${ECHO_T}no" >&6
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6564 # Check whether --enable-html or --disable-html was given.
6565 if test "${enable_html+set}" = set; then
6566 enableval="$enable_html"
6568 if test "$enableval" = yes; then
6569 ac_cv_use_html='wxUSE_HTML
=yes'
6571 ac_cv_use_html='wxUSE_HTML
=no
'
6576 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x ; then
6578 eval "DEFAULT_$LINE"
6583 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6587 eval "$ac_cv_use_html"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6592 if test "$wxUSE_HTML" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594 echo "${ECHO_T}yes" >&6
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6605 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6606 if test "${enable_htmlhelp+set}" = set; then
6607 enableval="$enable_htmlhelp"
6609 if test "$enableval" = yes; then
6610 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6612 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6617 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x ; then
6619 eval "DEFAULT_$LINE"
6624 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6628 eval "$ac_cv_use_htmlhelp"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6633 if test "$wxUSE_WXHTML_HELP" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635 echo "${ECHO_T}yes" >&6
6637 echo "$as_me:$LINENO: result: no" >&5
6638 echo "${ECHO_T}no" >&6
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6646 # Check whether --enable-xrc or --disable-xrc was given.
6647 if test "${enable_xrc+set}" = set; then
6648 enableval="$enable_xrc"
6650 if test "$enableval" = yes; then
6651 ac_cv_use_xrc='wxUSE_XRC
=yes'
6653 ac_cv_use_xrc='wxUSE_XRC
=no
'
6658 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x ; then
6660 eval "DEFAULT_$LINE"
6665 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6669 eval "$ac_cv_use_xrc"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6674 if test "$wxUSE_XRC" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676 echo "${ECHO_T}yes" >&6
6678 echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6687 # Check whether --enable-constraints or --disable-constraints was given.
6688 if test "${enable_constraints+set}" = set; then
6689 enableval="$enable_constraints"
6691 if test "$enableval" = yes; then
6692 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6694 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6699 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6706 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6710 eval "$ac_cv_use_constraints"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6715 if test "$wxUSE_CONSTRAINTS" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717 echo "${ECHO_T}yes" >&6
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6728 # Check whether --enable-printarch or --disable-printarch was given.
6729 if test "${enable_printarch+set}" = set; then
6730 enableval="$enable_printarch"
6732 if test "$enableval" = yes; then
6733 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6735 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6740 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x ; then
6742 eval "DEFAULT_$LINE"
6747 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6751 eval "$ac_cv_use_printarch"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6756 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758 echo "${ECHO_T}yes" >&6
6760 echo "$as_me:$LINENO: result: no" >&5
6761 echo "${ECHO_T}no" >&6
6766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6767 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6769 # Check whether --enable-mdi or --disable-mdi was given.
6770 if test "${enable_mdi+set}" = set; then
6771 enableval="$enable_mdi"
6773 if test "$enableval" = yes; then
6774 ac_cv_use_mdi='wxUSE_MDI
=yes'
6776 ac_cv_use_mdi='wxUSE_MDI
=no
'
6781 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6782 if test "x$LINE" != x ; then
6783 eval "DEFAULT_$LINE"
6788 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6792 eval "$ac_cv_use_mdi"
6793 if test "$no_cache" != 1; then
6794 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6797 if test "$wxUSE_MDI" = yes; then
6798 echo "$as_me:$LINENO: result: yes" >&5
6799 echo "${ECHO_T}yes" >&6
6801 echo "$as_me:$LINENO: result: no" >&5
6802 echo "${ECHO_T}no" >&6
6807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6810 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6811 if test "${enable_mdidoc+set}" = set; then
6812 enableval="$enable_mdidoc"
6814 if test "$enableval" = yes; then
6815 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6817 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6822 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x ; then
6824 eval "DEFAULT_$LINE"
6829 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6833 eval "$ac_cv_use_mdidoc"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6838 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6839 echo "$as_me:$LINENO: result: yes" >&5
6840 echo "${ECHO_T}yes" >&6
6842 echo "$as_me:$LINENO: result: no" >&5
6843 echo "${ECHO_T}no" >&6
6848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6849 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6851 # Check whether --enable-loggui or --disable-loggui was given.
6852 if test "${enable_loggui+set}" = set; then
6853 enableval="$enable_loggui"
6855 if test "$enableval" = yes; then
6856 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6858 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6863 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x ; then
6865 eval "DEFAULT_$LINE"
6870 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6874 eval "$ac_cv_use_loggui"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6879 if test "$wxUSE_LOGGUI" = yes; then
6880 echo "$as_me:$LINENO: result: yes" >&5
6881 echo "${ECHO_T}yes" >&6
6883 echo "$as_me:$LINENO: result: no" >&5
6884 echo "${ECHO_T}no" >&6
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6892 # Check whether --enable-logwin or --disable-logwin was given.
6893 if test "${enable_logwin+set}" = set; then
6894 enableval="$enable_logwin"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6899 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6904 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6915 eval "$ac_cv_use_logwin"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6920 if test "$wxUSE_LOGWINDOW" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922 echo "${ECHO_T}yes" >&6
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6933 # Check whether --enable-logdialog or --disable-logdialog was given.
6934 if test "${enable_logdialog+set}" = set; then
6935 enableval="$enable_logdialog"
6937 if test "$enableval" = yes; then
6938 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6940 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6945 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6952 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6956 eval "$ac_cv_use_logdialog"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_LOGDIALOG" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6974 # Check whether --enable-webkit or --disable-webkit was given.
6975 if test "${enable_webkit+set}" = set; then
6976 enableval="$enable_webkit"
6978 if test "$enableval" = yes; then
6979 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
6981 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
6986 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6993 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
6997 eval "$ac_cv_use_webkit"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_WEBKIT" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7014 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7016 # Check whether --enable-postscript or --disable-postscript was given.
7017 if test "${enable_postscript+set}" = set; then
7018 enableval="$enable_postscript"
7020 if test "$enableval" = yes; then
7021 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7023 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7028 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x ; then
7030 eval "DEFAULT_$LINE"
7035 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7039 eval "$ac_cv_use_postscript"
7040 if test "$no_cache" != 1; then
7041 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7044 if test "$wxUSE_POSTSCRIPT" = yes; then
7045 echo "$as_me:$LINENO: result: yes" >&5
7046 echo "${ECHO_T}yes" >&6
7048 echo "$as_me:$LINENO: result: no" >&5
7049 echo "${ECHO_T}no" >&6
7057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7058 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7060 # Check whether --enable-prologio or --disable-prologio was given.
7061 if test "${enable_prologio+set}" = set; then
7062 enableval="$enable_prologio"
7064 if test "$enableval" = yes; then
7065 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7067 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7072 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7073 if test "x$LINE" != x ; then
7074 eval "DEFAULT_$LINE"
7079 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7083 eval "$ac_cv_use_prologio"
7084 if test "$no_cache" != 1; then
7085 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7088 if test "$wxUSE_PROLOGIO" = yes; then
7089 echo "$as_me:$LINENO: result: yes" >&5
7090 echo "${ECHO_T}yes" >&6
7092 echo "$as_me:$LINENO: result: no" >&5
7093 echo "${ECHO_T}no" >&6
7098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7099 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7101 # Check whether --enable-resources or --disable-resources was given.
7102 if test "${enable_resources+set}" = set; then
7103 enableval="$enable_resources"
7105 if test "$enableval" = yes; then
7106 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7108 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7113 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7114 if test "x$LINE" != x ; then
7115 eval "DEFAULT_$LINE"
7120 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7124 eval "$ac_cv_use_resources"
7125 if test "$no_cache" != 1; then
7126 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7129 if test "$wxUSE_RESOURCES" = yes; then
7130 echo "$as_me:$LINENO: result: yes" >&5
7131 echo "${ECHO_T}yes" >&6
7133 echo "$as_me:$LINENO: result: no" >&5
7134 echo "${ECHO_T}no" >&6
7141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7144 # Check whether --enable-clipboard or --disable-clipboard was given.
7145 if test "${enable_clipboard+set}" = set; then
7146 enableval="$enable_clipboard"
7148 if test "$enableval" = yes; then
7149 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7151 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7156 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x ; then
7158 eval "DEFAULT_$LINE"
7163 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7167 eval "$ac_cv_use_clipboard"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_CLIPBOARD" = yes; then
7173 echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6
7176 echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6
7182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7185 # Check whether --enable-dnd or --disable-dnd was given.
7186 if test "${enable_dnd+set}" = set; then
7187 enableval="$enable_dnd"
7189 if test "$enableval" = yes; then
7190 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7192 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7197 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7198 if test "x$LINE" != x ; then
7199 eval "DEFAULT_$LINE"
7204 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7208 eval "$ac_cv_use_dnd"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7213 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7214 echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6
7217 echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6
7223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7226 # Check whether --enable-metafile or --disable-metafile was given.
7227 if test "${enable_metafile+set}" = set; then
7228 enableval="$enable_metafile"
7230 if test "$enableval" = yes; then
7231 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7233 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7238 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7239 if test "x$LINE" != x ; then
7240 eval "DEFAULT_$LINE"
7245 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7249 eval "$ac_cv_use_metafile"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7254 if test "$wxUSE_METAFILE" = yes; then
7255 echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6
7258 echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7270 # Check whether --enable-controls or --disable-controls was given.
7271 if test "${enable_controls+set}" = set; then
7272 enableval="$enable_controls"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7277 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7282 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7293 eval "$ac_cv_use_controls"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_CONTROLS" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7307 if test "$wxUSE_CONTROLS" = "yes"; then
7308 DEFAULT_wxUSE_ACCEL=yes
7309 DEFAULT_wxUSE_BMPBUTTON=yes
7310 DEFAULT_wxUSE_BUTTON=yes
7311 DEFAULT_wxUSE_CALCTRL=yes
7312 DEFAULT_wxUSE_CARET=yes
7313 DEFAULT_wxUSE_COMBOBOX=yes
7314 DEFAULT_wxUSE_CHECKBOX=yes
7315 DEFAULT_wxUSE_CHECKLISTBOX=yes
7316 DEFAULT_wxUSE_CHOICE=yes
7317 DEFAULT_wxUSE_CHOICEBOOK=yes
7318 DEFAULT_wxUSE_DATEPICKCTRL=yes
7319 DEFAULT_wxUSE_GAUGE=yes
7320 DEFAULT_wxUSE_GRID=yes
7321 DEFAULT_wxUSE_IMAGLIST=yes
7322 DEFAULT_wxUSE_LISTBOOK=yes
7323 DEFAULT_wxUSE_LISTBOX=yes
7324 DEFAULT_wxUSE_LISTCTRL=yes
7325 DEFAULT_wxUSE_NOTEBOOK=yes
7326 DEFAULT_wxUSE_RADIOBOX=yes
7327 DEFAULT_wxUSE_RADIOBTN=yes
7328 DEFAULT_wxUSE_SASH=yes
7329 DEFAULT_wxUSE_SCROLLBAR=yes
7330 DEFAULT_wxUSE_SLIDER=yes
7331 DEFAULT_wxUSE_SPINBTN=yes
7332 DEFAULT_wxUSE_SPINCTRL=yes
7333 DEFAULT_wxUSE_SPLITTER=yes
7334 DEFAULT_wxUSE_STATBMP=yes
7335 DEFAULT_wxUSE_STATBOX=yes
7336 DEFAULT_wxUSE_STATLINE=yes
7337 DEFAULT_wxUSE_STATUSBAR=yes
7338 DEFAULT_wxUSE_TAB_DIALOG=yes
7339 DEFAULT_wxUSE_TOGGLEBTN=yes
7340 DEFAULT_wxUSE_TOOLBAR=yes
7341 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7342 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7343 DEFAULT_wxUSE_TOOLTIPS=yes
7344 DEFAULT_wxUSE_TREEBOOK=yes
7345 DEFAULT_wxUSE_TREECTRL=yes
7346 DEFAULT_wxUSE_POPUPWIN=yes
7347 DEFAULT_wxUSE_TIPWINDOW=yes
7348 elif test "$wxUSE_CONTROLS" = "no"; then
7349 DEFAULT_wxUSE_ACCEL=no
7350 DEFAULT_wxUSE_BMPBUTTON=no
7351 DEFAULT_wxUSE_BUTTON=no
7352 DEFAULT_wxUSE_CALCTRL=no
7353 DEFAULT_wxUSE_CARET=no
7354 DEFAULT_wxUSE_COMBOBOX=no
7355 DEFAULT_wxUSE_CHECKBOX=no
7356 DEFAULT_wxUSE_CHECKLISTBOX=no
7357 DEFAULT_wxUSE_CHOICE=no
7358 DEFAULT_wxUSE_CHOICEBOOK=no
7359 DEFAULT_wxUSE_DATEPICKCTRL=no
7360 DEFAULT_wxUSE_GAUGE=no
7361 DEFAULT_wxUSE_GRID=no
7362 DEFAULT_wxUSE_IMAGLIST=no
7363 DEFAULT_wxUSE_LISTBOOK=no
7364 DEFAULT_wxUSE_LISTBOX=no
7365 DEFAULT_wxUSE_LISTCTRL=no
7366 DEFAULT_wxUSE_NOTEBOOK=no
7367 DEFAULT_wxUSE_RADIOBOX=no
7368 DEFAULT_wxUSE_RADIOBTN=no
7369 DEFAULT_wxUSE_SASH=no
7370 DEFAULT_wxUSE_SCROLLBAR=no
7371 DEFAULT_wxUSE_SLIDER=no
7372 DEFAULT_wxUSE_SPINBTN=no
7373 DEFAULT_wxUSE_SPINCTRL=no
7374 DEFAULT_wxUSE_SPLITTER=no
7375 DEFAULT_wxUSE_STATBMP=no
7376 DEFAULT_wxUSE_STATBOX=no
7377 DEFAULT_wxUSE_STATLINE=no
7378 DEFAULT_wxUSE_STATUSBAR=no
7379 DEFAULT_wxUSE_TAB_DIALOG=no
7380 DEFAULT_wxUSE_TOGGLEBTN=no
7381 DEFAULT_wxUSE_TOOLBAR=no
7382 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7383 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7384 DEFAULT_wxUSE_TOOLTIPS=no
7385 DEFAULT_wxUSE_TREEBOOK=no
7386 DEFAULT_wxUSE_TREECTRL=no
7387 DEFAULT_wxUSE_POPUPWIN=no
7388 DEFAULT_wxUSE_TIPWINDOW=no
7393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7394 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7396 # Check whether --enable-accel or --disable-accel was given.
7397 if test "${enable_accel+set}" = set; then
7398 enableval="$enable_accel"
7400 if test "$enableval" = yes; then
7401 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7403 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7408 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7409 if test "x$LINE" != x ; then
7410 eval "DEFAULT_$LINE"
7415 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7419 eval "$ac_cv_use_accel"
7420 if test "$no_cache" != 1; then
7421 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7424 if test "$wxUSE_ACCEL" = yes; then
7425 echo "$as_me:$LINENO: result: yes" >&5
7426 echo "${ECHO_T}yes" >&6
7428 echo "$as_me:$LINENO: result: no" >&5
7429 echo "${ECHO_T}no" >&6
7434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7437 # Check whether --enable-button or --disable-button was given.
7438 if test "${enable_button+set}" = set; then
7439 enableval="$enable_button"
7441 if test "$enableval" = yes; then
7442 ac_cv_use_button='wxUSE_BUTTON
=yes'
7444 ac_cv_use_button='wxUSE_BUTTON
=no
'
7449 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7450 if test "x$LINE" != x ; then
7451 eval "DEFAULT_$LINE"
7456 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7460 eval "$ac_cv_use_button"
7461 if test "$no_cache" != 1; then
7462 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7465 if test "$wxUSE_BUTTON" = yes; then
7466 echo "$as_me:$LINENO: result: yes" >&5
7467 echo "${ECHO_T}yes" >&6
7469 echo "$as_me:$LINENO: result: no" >&5
7470 echo "${ECHO_T}no" >&6
7475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7478 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7479 if test "${enable_bmpbutton+set}" = set; then
7480 enableval="$enable_bmpbutton"
7482 if test "$enableval" = yes; then
7483 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7485 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7490 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7491 if test "x$LINE" != x ; then
7492 eval "DEFAULT_$LINE"
7497 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7501 eval "$ac_cv_use_bmpbutton"
7502 if test "$no_cache" != 1; then
7503 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7506 if test "$wxUSE_BMPBUTTON" = yes; then
7507 echo "$as_me:$LINENO: result: yes" >&5
7508 echo "${ECHO_T}yes" >&6
7510 echo "$as_me:$LINENO: result: no" >&5
7511 echo "${ECHO_T}no" >&6
7516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7519 # Check whether --enable-calendar or --disable-calendar was given.
7520 if test "${enable_calendar+set}" = set; then
7521 enableval="$enable_calendar"
7523 if test "$enableval" = yes; then
7524 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7526 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7531 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7538 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7542 eval "$ac_cv_use_calendar"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7547 if test "$wxUSE_CALCTRL" = yes; then
7548 echo "$as_me:$LINENO: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7558 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7560 # Check whether --enable-caret or --disable-caret was given.
7561 if test "${enable_caret+set}" = set; then
7562 enableval="$enable_caret"
7564 if test "$enableval" = yes; then
7565 ac_cv_use_caret='wxUSE_CARET
=yes'
7567 ac_cv_use_caret='wxUSE_CARET
=no
'
7572 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7573 if test "x$LINE" != x ; then
7574 eval "DEFAULT_$LINE"
7579 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7583 eval "$ac_cv_use_caret"
7584 if test "$no_cache" != 1; then
7585 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7588 if test "$wxUSE_CARET" = yes; then
7589 echo "$as_me:$LINENO: result: yes" >&5
7590 echo "${ECHO_T}yes" >&6
7592 echo "$as_me:$LINENO: result: no" >&5
7593 echo "${ECHO_T}no" >&6
7598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7601 # Check whether --enable-checkbox or --disable-checkbox was given.
7602 if test "${enable_checkbox+set}" = set; then
7603 enableval="$enable_checkbox"
7605 if test "$enableval" = yes; then
7606 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7608 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7613 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7614 if test "x$LINE" != x ; then
7615 eval "DEFAULT_$LINE"
7620 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7624 eval "$ac_cv_use_checkbox"
7625 if test "$no_cache" != 1; then
7626 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7629 if test "$wxUSE_CHECKBOX" = yes; then
7630 echo "$as_me:$LINENO: result: yes" >&5
7631 echo "${ECHO_T}yes" >&6
7633 echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6
7639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7640 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7642 # Check whether --enable-checklst or --disable-checklst was given.
7643 if test "${enable_checklst+set}" = set; then
7644 enableval="$enable_checklst"
7646 if test "$enableval" = yes; then
7647 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7649 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7654 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x ; then
7656 eval "DEFAULT_$LINE"
7661 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7665 eval "$ac_cv_use_checklst"
7666 if test "$no_cache" != 1; then
7667 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7670 if test "$wxUSE_CHECKLST" = yes; then
7671 echo "$as_me:$LINENO: result: yes" >&5
7672 echo "${ECHO_T}yes" >&6
7674 echo "$as_me:$LINENO: result: no" >&5
7675 echo "${ECHO_T}no" >&6
7680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7681 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7683 # Check whether --enable-choice or --disable-choice was given.
7684 if test "${enable_choice+set}" = set; then
7685 enableval="$enable_choice"
7687 if test "$enableval" = yes; then
7688 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7690 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7695 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x ; then
7697 eval "DEFAULT_$LINE"
7702 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7706 eval "$ac_cv_use_choice"
7707 if test "$no_cache" != 1; then
7708 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7711 if test "$wxUSE_CHOICE" = yes; then
7712 echo "$as_me:$LINENO: result: yes" >&5
7713 echo "${ECHO_T}yes" >&6
7715 echo "$as_me:$LINENO: result: no" >&5
7716 echo "${ECHO_T}no" >&6
7721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7722 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7724 # Check whether --enable-choicebook or --disable-choicebook was given.
7725 if test "${enable_choicebook+set}" = set; then
7726 enableval="$enable_choicebook"
7728 if test "$enableval" = yes; then
7729 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7731 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7736 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7737 if test "x$LINE" != x ; then
7738 eval "DEFAULT_$LINE"
7743 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7747 eval "$ac_cv_use_choicebook"
7748 if test "$no_cache" != 1; then
7749 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7752 if test "$wxUSE_CHOICEBOOK" = yes; then
7753 echo "$as_me:$LINENO: result: yes" >&5
7754 echo "${ECHO_T}yes" >&6
7756 echo "$as_me:$LINENO: result: no" >&5
7757 echo "${ECHO_T}no" >&6
7762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7763 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7765 # Check whether --enable-combobox or --disable-combobox was given.
7766 if test "${enable_combobox+set}" = set; then
7767 enableval="$enable_combobox"
7769 if test "$enableval" = yes; then
7770 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7772 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7777 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7778 if test "x$LINE" != x ; then
7779 eval "DEFAULT_$LINE"
7784 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7788 eval "$ac_cv_use_combobox"
7789 if test "$no_cache" != 1; then
7790 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7793 if test "$wxUSE_COMBOBOX" = yes; then
7794 echo "$as_me:$LINENO: result: yes" >&5
7795 echo "${ECHO_T}yes" >&6
7797 echo "$as_me:$LINENO: result: no" >&5
7798 echo "${ECHO_T}no" >&6
7803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7806 # Check whether --enable-datepick or --disable-datepick was given.
7807 if test "${enable_datepick+set}" = set; then
7808 enableval="$enable_datepick"
7810 if test "$enableval" = yes; then
7811 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7813 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7818 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x ; then
7820 eval "DEFAULT_$LINE"
7825 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7829 eval "$ac_cv_use_datepick"
7830 if test "$no_cache" != 1; then
7831 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7834 if test "$wxUSE_DATEPICKCTRL" = yes; then
7835 echo "$as_me:$LINENO: result: yes" >&5
7836 echo "${ECHO_T}yes" >&6
7838 echo "$as_me:$LINENO: result: no" >&5
7839 echo "${ECHO_T}no" >&6
7844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7845 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7847 # Check whether --enable-display or --disable-display was given.
7848 if test "${enable_display+set}" = set; then
7849 enableval="$enable_display"
7851 if test "$enableval" = yes; then
7852 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7854 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7859 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7860 if test "x$LINE" != x ; then
7861 eval "DEFAULT_$LINE"
7866 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7870 eval "$ac_cv_use_display"
7871 if test "$no_cache" != 1; then
7872 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7875 if test "$wxUSE_DISPLAY" = yes; then
7876 echo "$as_me:$LINENO: result: yes" >&5
7877 echo "${ECHO_T}yes" >&6
7879 echo "$as_me:$LINENO: result: no" >&5
7880 echo "${ECHO_T}no" >&6
7885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7888 # Check whether --enable-gauge or --disable-gauge was given.
7889 if test "${enable_gauge+set}" = set; then
7890 enableval="$enable_gauge"
7892 if test "$enableval" = yes; then
7893 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7895 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7900 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7901 if test "x$LINE" != x ; then
7902 eval "DEFAULT_$LINE"
7907 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7911 eval "$ac_cv_use_gauge"
7912 if test "$no_cache" != 1; then
7913 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7916 if test "$wxUSE_GAUGE" = yes; then
7917 echo "$as_me:$LINENO: result: yes" >&5
7918 echo "${ECHO_T}yes" >&6
7920 echo "$as_me:$LINENO: result: no" >&5
7921 echo "${ECHO_T}no" >&6
7926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7929 # Check whether --enable-grid or --disable-grid was given.
7930 if test "${enable_grid+set}" = set; then
7931 enableval="$enable_grid"
7933 if test "$enableval" = yes; then
7934 ac_cv_use_grid='wxUSE_GRID
=yes'
7936 ac_cv_use_grid='wxUSE_GRID
=no
'
7941 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7942 if test "x$LINE" != x ; then
7943 eval "DEFAULT_$LINE"
7948 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7952 eval "$ac_cv_use_grid"
7953 if test "$no_cache" != 1; then
7954 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7957 if test "$wxUSE_GRID" = yes; then
7958 echo "$as_me:$LINENO: result: yes" >&5
7959 echo "${ECHO_T}yes" >&6
7961 echo "$as_me:$LINENO: result: no" >&5
7962 echo "${ECHO_T}no" >&6
7967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7968 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7970 # Check whether --enable-imaglist or --disable-imaglist was given.
7971 if test "${enable_imaglist+set}" = set; then
7972 enableval="$enable_imaglist"
7974 if test "$enableval" = yes; then
7975 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7977 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7982 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7983 if test "x$LINE" != x ; then
7984 eval "DEFAULT_$LINE"
7989 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7993 eval "$ac_cv_use_imaglist"
7994 if test "$no_cache" != 1; then
7995 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7998 if test "$wxUSE_IMAGLIST" = yes; then
7999 echo "$as_me:$LINENO: result: yes" >&5
8000 echo "${ECHO_T}yes" >&6
8002 echo "$as_me:$LINENO: result: no" >&5
8003 echo "${ECHO_T}no" >&6
8008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8009 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8011 # Check whether --enable-listbook or --disable-listbook was given.
8012 if test "${enable_listbook+set}" = set; then
8013 enableval="$enable_listbook"
8015 if test "$enableval" = yes; then
8016 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8018 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8023 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8024 if test "x$LINE" != x ; then
8025 eval "DEFAULT_$LINE"
8030 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8034 eval "$ac_cv_use_listbook"
8035 if test "$no_cache" != 1; then
8036 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8039 if test "$wxUSE_LISTBOOK" = yes; then
8040 echo "$as_me:$LINENO: result: yes" >&5
8041 echo "${ECHO_T}yes" >&6
8043 echo "$as_me:$LINENO: result: no" >&5
8044 echo "${ECHO_T}no" >&6
8049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8050 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8052 # Check whether --enable-listbox or --disable-listbox was given.
8053 if test "${enable_listbox+set}" = set; then
8054 enableval="$enable_listbox"
8056 if test "$enableval" = yes; then
8057 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8059 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8064 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8065 if test "x$LINE" != x ; then
8066 eval "DEFAULT_$LINE"
8071 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8075 eval "$ac_cv_use_listbox"
8076 if test "$no_cache" != 1; then
8077 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8080 if test "$wxUSE_LISTBOX" = yes; then
8081 echo "$as_me:$LINENO: result: yes" >&5
8082 echo "${ECHO_T}yes" >&6
8084 echo "$as_me:$LINENO: result: no" >&5
8085 echo "${ECHO_T}no" >&6
8090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8091 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8093 # Check whether --enable-listctrl or --disable-listctrl was given.
8094 if test "${enable_listctrl+set}" = set; then
8095 enableval="$enable_listctrl"
8097 if test "$enableval" = yes; then
8098 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8100 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8105 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8106 if test "x$LINE" != x ; then
8107 eval "DEFAULT_$LINE"
8112 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8116 eval "$ac_cv_use_listctrl"
8117 if test "$no_cache" != 1; then
8118 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8121 if test "$wxUSE_LISTCTRL" = yes; then
8122 echo "$as_me:$LINENO: result: yes" >&5
8123 echo "${ECHO_T}yes" >&6
8125 echo "$as_me:$LINENO: result: no" >&5
8126 echo "${ECHO_T}no" >&6
8131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8132 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8134 # Check whether --enable-notebook or --disable-notebook was given.
8135 if test "${enable_notebook+set}" = set; then
8136 enableval="$enable_notebook"
8138 if test "$enableval" = yes; then
8139 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8141 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8146 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8147 if test "x$LINE" != x ; then
8148 eval "DEFAULT_$LINE"
8153 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8157 eval "$ac_cv_use_notebook"
8158 if test "$no_cache" != 1; then
8159 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8162 if test "$wxUSE_NOTEBOOK" = yes; then
8163 echo "$as_me:$LINENO: result: yes" >&5
8164 echo "${ECHO_T}yes" >&6
8166 echo "$as_me:$LINENO: result: no" >&5
8167 echo "${ECHO_T}no" >&6
8172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8173 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8175 # Check whether --enable-radiobox or --disable-radiobox was given.
8176 if test "${enable_radiobox+set}" = set; then
8177 enableval="$enable_radiobox"
8179 if test "$enableval" = yes; then
8180 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8182 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8187 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8188 if test "x$LINE" != x ; then
8189 eval "DEFAULT_$LINE"
8194 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8198 eval "$ac_cv_use_radiobox"
8199 if test "$no_cache" != 1; then
8200 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8203 if test "$wxUSE_RADIOBOX" = yes; then
8204 echo "$as_me:$LINENO: result: yes" >&5
8205 echo "${ECHO_T}yes" >&6
8207 echo "$as_me:$LINENO: result: no" >&5
8208 echo "${ECHO_T}no" >&6
8213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8214 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8216 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8217 if test "${enable_radiobtn+set}" = set; then
8218 enableval="$enable_radiobtn"
8220 if test "$enableval" = yes; then
8221 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8223 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8228 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8229 if test "x$LINE" != x ; then
8230 eval "DEFAULT_$LINE"
8235 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8239 eval "$ac_cv_use_radiobtn"
8240 if test "$no_cache" != 1; then
8241 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8244 if test "$wxUSE_RADIOBTN" = yes; then
8245 echo "$as_me:$LINENO: result: yes" >&5
8246 echo "${ECHO_T}yes" >&6
8248 echo "$as_me:$LINENO: result: no" >&5
8249 echo "${ECHO_T}no" >&6
8254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8255 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8257 # Check whether --enable-sash or --disable-sash was given.
8258 if test "${enable_sash+set}" = set; then
8259 enableval="$enable_sash"
8261 if test "$enableval" = yes; then
8262 ac_cv_use_sash='wxUSE_SASH
=yes'
8264 ac_cv_use_sash='wxUSE_SASH
=no
'
8269 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8270 if test "x$LINE" != x ; then
8271 eval "DEFAULT_$LINE"
8276 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8280 eval "$ac_cv_use_sash"
8281 if test "$no_cache" != 1; then
8282 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8285 if test "$wxUSE_SASH" = yes; then
8286 echo "$as_me:$LINENO: result: yes" >&5
8287 echo "${ECHO_T}yes" >&6
8289 echo "$as_me:$LINENO: result: no" >&5
8290 echo "${ECHO_T}no" >&6
8295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8296 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8298 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8299 if test "${enable_scrollbar+set}" = set; then
8300 enableval="$enable_scrollbar"
8302 if test "$enableval" = yes; then
8303 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8305 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8310 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8311 if test "x$LINE" != x ; then
8312 eval "DEFAULT_$LINE"
8317 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8321 eval "$ac_cv_use_scrollbar"
8322 if test "$no_cache" != 1; then
8323 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8326 if test "$wxUSE_SCROLLBAR" = yes; then
8327 echo "$as_me:$LINENO: result: yes" >&5
8328 echo "${ECHO_T}yes" >&6
8330 echo "$as_me:$LINENO: result: no" >&5
8331 echo "${ECHO_T}no" >&6
8336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8337 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8339 # Check whether --enable-slider or --disable-slider was given.
8340 if test "${enable_slider+set}" = set; then
8341 enableval="$enable_slider"
8343 if test "$enableval" = yes; then
8344 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8346 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8351 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8352 if test "x$LINE" != x ; then
8353 eval "DEFAULT_$LINE"
8358 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8362 eval "$ac_cv_use_slider"
8363 if test "$no_cache" != 1; then
8364 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8367 if test "$wxUSE_SLIDER" = yes; then
8368 echo "$as_me:$LINENO: result: yes" >&5
8369 echo "${ECHO_T}yes" >&6
8371 echo "$as_me:$LINENO: result: no" >&5
8372 echo "${ECHO_T}no" >&6
8377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8378 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8380 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8381 if test "${enable_spinbtn+set}" = set; then
8382 enableval="$enable_spinbtn"
8384 if test "$enableval" = yes; then
8385 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8387 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8392 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8393 if test "x$LINE" != x ; then
8394 eval "DEFAULT_$LINE"
8399 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8403 eval "$ac_cv_use_spinbtn"
8404 if test "$no_cache" != 1; then
8405 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8408 if test "$wxUSE_SPINBTN" = yes; then
8409 echo "$as_me:$LINENO: result: yes" >&5
8410 echo "${ECHO_T}yes" >&6
8412 echo "$as_me:$LINENO: result: no" >&5
8413 echo "${ECHO_T}no" >&6
8418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8419 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8421 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8422 if test "${enable_spinctrl+set}" = set; then
8423 enableval="$enable_spinctrl"
8425 if test "$enableval" = yes; then
8426 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8428 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8433 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8440 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8444 eval "$ac_cv_use_spinctrl"
8445 if test "$no_cache" != 1; then
8446 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8449 if test "$wxUSE_SPINCTRL" = yes; then
8450 echo "$as_me:$LINENO: result: yes" >&5
8451 echo "${ECHO_T}yes" >&6
8453 echo "$as_me:$LINENO: result: no" >&5
8454 echo "${ECHO_T}no" >&6
8459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8460 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8462 # Check whether --enable-splitter or --disable-splitter was given.
8463 if test "${enable_splitter+set}" = set; then
8464 enableval="$enable_splitter"
8466 if test "$enableval" = yes; then
8467 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8469 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8474 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8475 if test "x$LINE" != x ; then
8476 eval "DEFAULT_$LINE"
8481 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8485 eval "$ac_cv_use_splitter"
8486 if test "$no_cache" != 1; then
8487 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8490 if test "$wxUSE_SPLITTER" = yes; then
8491 echo "$as_me:$LINENO: result: yes" >&5
8492 echo "${ECHO_T}yes" >&6
8494 echo "$as_me:$LINENO: result: no" >&5
8495 echo "${ECHO_T}no" >&6
8500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8501 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8503 # Check whether --enable-statbmp or --disable-statbmp was given.
8504 if test "${enable_statbmp+set}" = set; then
8505 enableval="$enable_statbmp"
8507 if test "$enableval" = yes; then
8508 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8510 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8515 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8516 if test "x$LINE" != x ; then
8517 eval "DEFAULT_$LINE"
8522 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8526 eval "$ac_cv_use_statbmp"
8527 if test "$no_cache" != 1; then
8528 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8531 if test "$wxUSE_STATBMP" = yes; then
8532 echo "$as_me:$LINENO: result: yes" >&5
8533 echo "${ECHO_T}yes" >&6
8535 echo "$as_me:$LINENO: result: no" >&5
8536 echo "${ECHO_T}no" >&6
8541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8544 # Check whether --enable-statbox or --disable-statbox was given.
8545 if test "${enable_statbox+set}" = set; then
8546 enableval="$enable_statbox"
8548 if test "$enableval" = yes; then
8549 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8551 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8556 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8557 if test "x$LINE" != x ; then
8558 eval "DEFAULT_$LINE"
8563 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8567 eval "$ac_cv_use_statbox"
8568 if test "$no_cache" != 1; then
8569 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8572 if test "$wxUSE_STATBOX" = yes; then
8573 echo "$as_me:$LINENO: result: yes" >&5
8574 echo "${ECHO_T}yes" >&6
8576 echo "$as_me:$LINENO: result: no" >&5
8577 echo "${ECHO_T}no" >&6
8582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8583 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8585 # Check whether --enable-statline or --disable-statline was given.
8586 if test "${enable_statline+set}" = set; then
8587 enableval="$enable_statline"
8589 if test "$enableval" = yes; then
8590 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8592 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8597 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8598 if test "x$LINE" != x ; then
8599 eval "DEFAULT_$LINE"
8604 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8608 eval "$ac_cv_use_statline"
8609 if test "$no_cache" != 1; then
8610 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8613 if test "$wxUSE_STATLINE" = yes; then
8614 echo "$as_me:$LINENO: result: yes" >&5
8615 echo "${ECHO_T}yes" >&6
8617 echo "$as_me:$LINENO: result: no" >&5
8618 echo "${ECHO_T}no" >&6
8623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8626 # Check whether --enable-stattext or --disable-stattext was given.
8627 if test "${enable_stattext+set}" = set; then
8628 enableval="$enable_stattext"
8630 if test "$enableval" = yes; then
8631 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8633 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8638 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8639 if test "x$LINE" != x ; then
8640 eval "DEFAULT_$LINE"
8645 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8649 eval "$ac_cv_use_stattext"
8650 if test "$no_cache" != 1; then
8651 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8654 if test "$wxUSE_STATTEXT" = yes; then
8655 echo "$as_me:$LINENO: result: yes" >&5
8656 echo "${ECHO_T}yes" >&6
8658 echo "$as_me:$LINENO: result: no" >&5
8659 echo "${ECHO_T}no" >&6
8664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8665 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8667 # Check whether --enable-statusbar or --disable-statusbar was given.
8668 if test "${enable_statusbar+set}" = set; then
8669 enableval="$enable_statusbar"
8671 if test "$enableval" = yes; then
8672 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8674 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8679 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8680 if test "x$LINE" != x ; then
8681 eval "DEFAULT_$LINE"
8686 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8690 eval "$ac_cv_use_statusbar"
8691 if test "$no_cache" != 1; then
8692 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8695 if test "$wxUSE_STATUSBAR" = yes; then
8696 echo "$as_me:$LINENO: result: yes" >&5
8697 echo "${ECHO_T}yes" >&6
8699 echo "$as_me:$LINENO: result: no" >&5
8700 echo "${ECHO_T}no" >&6
8705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8706 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8708 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8709 if test "${enable_tabdialog+set}" = set; then
8710 enableval="$enable_tabdialog"
8712 if test "$enableval" = yes; then
8713 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8715 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8720 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8721 if test "x$LINE" != x ; then
8722 eval "DEFAULT_$LINE"
8727 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8731 eval "$ac_cv_use_tabdialog"
8732 if test "$no_cache" != 1; then
8733 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8736 if test "$wxUSE_TABDIALOG" = yes; then
8737 echo "$as_me:$LINENO: result: yes" >&5
8738 echo "${ECHO_T}yes" >&6
8740 echo "$as_me:$LINENO: result: no" >&5
8741 echo "${ECHO_T}no" >&6
8746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8747 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8749 # Check whether --enable-textctrl or --disable-textctrl was given.
8750 if test "${enable_textctrl+set}" = set; then
8751 enableval="$enable_textctrl"
8753 if test "$enableval" = yes; then
8754 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8756 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8761 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8762 if test "x$LINE" != x ; then
8763 eval "DEFAULT_$LINE"
8768 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8772 eval "$ac_cv_use_textctrl"
8773 if test "$no_cache" != 1; then
8774 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8777 if test "$wxUSE_TEXTCTRL" = yes; then
8778 echo "$as_me:$LINENO: result: yes" >&5
8779 echo "${ECHO_T}yes" >&6
8781 echo "$as_me:$LINENO: result: no" >&5
8782 echo "${ECHO_T}no" >&6
8787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8788 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8790 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8791 if test "${enable_togglebtn+set}" = set; then
8792 enableval="$enable_togglebtn"
8794 if test "$enableval" = yes; then
8795 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8797 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8802 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8803 if test "x$LINE" != x ; then
8804 eval "DEFAULT_$LINE"
8809 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8813 eval "$ac_cv_use_togglebtn"
8814 if test "$no_cache" != 1; then
8815 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8818 if test "$wxUSE_TOGGLEBTN" = yes; then
8819 echo "$as_me:$LINENO: result: yes" >&5
8820 echo "${ECHO_T}yes" >&6
8822 echo "$as_me:$LINENO: result: no" >&5
8823 echo "${ECHO_T}no" >&6
8828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8831 # Check whether --enable-toolbar or --disable-toolbar was given.
8832 if test "${enable_toolbar+set}" = set; then
8833 enableval="$enable_toolbar"
8835 if test "$enableval" = yes; then
8836 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8838 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8843 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8844 if test "x$LINE" != x ; then
8845 eval "DEFAULT_$LINE"
8850 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8854 eval "$ac_cv_use_toolbar"
8855 if test "$no_cache" != 1; then
8856 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8859 if test "$wxUSE_TOOLBAR" = yes; then
8860 echo "$as_me:$LINENO: result: yes" >&5
8861 echo "${ECHO_T}yes" >&6
8863 echo "$as_me:$LINENO: result: no" >&5
8864 echo "${ECHO_T}no" >&6
8869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8870 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8872 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8873 if test "${enable_tbarnative+set}" = set; then
8874 enableval="$enable_tbarnative"
8876 if test "$enableval" = yes; then
8877 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8879 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8884 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8885 if test "x$LINE" != x ; then
8886 eval "DEFAULT_$LINE"
8891 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8895 eval "$ac_cv_use_tbarnative"
8896 if test "$no_cache" != 1; then
8897 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8900 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8901 echo "$as_me:$LINENO: result: yes" >&5
8902 echo "${ECHO_T}yes" >&6
8904 echo "$as_me:$LINENO: result: no" >&5
8905 echo "${ECHO_T}no" >&6
8910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8911 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8913 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8914 if test "${enable_tbarsmpl+set}" = set; then
8915 enableval="$enable_tbarsmpl"
8917 if test "$enableval" = yes; then
8918 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8920 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8925 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8926 if test "x$LINE" != x ; then
8927 eval "DEFAULT_$LINE"
8932 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8936 eval "$ac_cv_use_tbarsmpl"
8937 if test "$no_cache" != 1; then
8938 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8941 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8942 echo "$as_me:$LINENO: result: yes" >&5
8943 echo "${ECHO_T}yes" >&6
8945 echo "$as_me:$LINENO: result: no" >&5
8946 echo "${ECHO_T}no" >&6
8951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
8952 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
8954 # Check whether --enable-treebook or --disable-treebook was given.
8955 if test "${enable_treebook+set}" = set; then
8956 enableval="$enable_treebook"
8958 if test "$enableval" = yes; then
8959 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
8961 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
8966 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
8967 if test "x$LINE" != x ; then
8968 eval "DEFAULT_$LINE"
8973 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
8977 eval "$ac_cv_use_treebook"
8978 if test "$no_cache" != 1; then
8979 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
8982 if test "$wxUSE_TREEBOOK" = yes; then
8983 echo "$as_me:$LINENO: result: yes" >&5
8984 echo "${ECHO_T}yes" >&6
8986 echo "$as_me:$LINENO: result: no" >&5
8987 echo "${ECHO_T}no" >&6
8992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8995 # Check whether --enable-treectrl or --disable-treectrl was given.
8996 if test "${enable_treectrl+set}" = set; then
8997 enableval="$enable_treectrl"
8999 if test "$enableval" = yes; then
9000 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
9002 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
9007 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9008 if test "x$LINE" != x ; then
9009 eval "DEFAULT_$LINE"
9014 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
9018 eval "$ac_cv_use_treectrl"
9019 if test "$no_cache" != 1; then
9020 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9023 if test "$wxUSE_TREECTRL" = yes; then
9024 echo "$as_me:$LINENO: result: yes" >&5
9025 echo "${ECHO_T}yes" >&6
9027 echo "$as_me:$LINENO: result: no" >&5
9028 echo "${ECHO_T}no" >&6
9033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9036 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9037 if test "${enable_tipwindow+set}" = set; then
9038 enableval="$enable_tipwindow"
9040 if test "$enableval" = yes; then
9041 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
9043 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9048 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9049 if test "x$LINE" != x ; then
9050 eval "DEFAULT_$LINE"
9055 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9059 eval "$ac_cv_use_tipwindow"
9060 if test "$no_cache" != 1; then
9061 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9064 if test "$wxUSE_TIPWINDOW" = yes; then
9065 echo "$as_me:$LINENO: result: yes" >&5
9066 echo "${ECHO_T}yes" >&6
9068 echo "$as_me:$LINENO: result: no" >&5
9069 echo "${ECHO_T}no" >&6
9074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9077 # Check whether --enable-popupwin or --disable-popupwin was given.
9078 if test "${enable_popupwin+set}" = set; then
9079 enableval="$enable_popupwin"
9081 if test "$enableval" = yes; then
9082 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9084 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9089 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9090 if test "x$LINE" != x ; then
9091 eval "DEFAULT_$LINE"
9096 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9100 eval "$ac_cv_use_popupwin"
9101 if test "$no_cache" != 1; then
9102 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9105 if test "$wxUSE_POPUPWIN" = yes; then
9106 echo "$as_me:$LINENO: result: yes" >&5
9107 echo "${ECHO_T}yes" >&6
9109 echo "$as_me:$LINENO: result: no" >&5
9110 echo "${ECHO_T}no" >&6
9117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9118 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9120 # Check whether --enable-commondlg or --disable-commondlg was given.
9121 if test "${enable_commondlg+set}" = set; then
9122 enableval="$enable_commondlg"
9124 if test "$enableval" = yes; then
9125 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9127 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9132 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9133 if test "x$LINE" != x ; then
9134 eval "DEFAULT_$LINE"
9139 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9143 eval "$ac_cv_use_commondlg"
9144 if test "$no_cache" != 1; then
9145 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9148 if test "$wxUSE_COMMONDLGS" = yes; then
9149 echo "$as_me:$LINENO: result: yes" >&5
9150 echo "${ECHO_T}yes" >&6
9152 echo "$as_me:$LINENO: result: no" >&5
9153 echo "${ECHO_T}no" >&6
9158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9159 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9161 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9162 if test "${enable_choicedlg+set}" = set; then
9163 enableval="$enable_choicedlg"
9165 if test "$enableval" = yes; then
9166 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9168 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9173 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9174 if test "x$LINE" != x ; then
9175 eval "DEFAULT_$LINE"
9180 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9184 eval "$ac_cv_use_choicedlg"
9185 if test "$no_cache" != 1; then
9186 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9189 if test "$wxUSE_CHOICEDLG" = yes; then
9190 echo "$as_me:$LINENO: result: yes" >&5
9191 echo "${ECHO_T}yes" >&6
9193 echo "$as_me:$LINENO: result: no" >&5
9194 echo "${ECHO_T}no" >&6
9199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9202 # Check whether --enable-coldlg or --disable-coldlg was given.
9203 if test "${enable_coldlg+set}" = set; then
9204 enableval="$enable_coldlg"
9206 if test "$enableval" = yes; then
9207 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9209 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9214 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9215 if test "x$LINE" != x ; then
9216 eval "DEFAULT_$LINE"
9221 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9225 eval "$ac_cv_use_coldlg"
9226 if test "$no_cache" != 1; then
9227 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9230 if test "$wxUSE_COLOURDLG" = yes; then
9231 echo "$as_me:$LINENO: result: yes" >&5
9232 echo "${ECHO_T}yes" >&6
9234 echo "$as_me:$LINENO: result: no" >&5
9235 echo "${ECHO_T}no" >&6
9240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9241 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9243 # Check whether --enable-filedlg or --disable-filedlg was given.
9244 if test "${enable_filedlg+set}" = set; then
9245 enableval="$enable_filedlg"
9247 if test "$enableval" = yes; then
9248 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9250 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9255 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9256 if test "x$LINE" != x ; then
9257 eval "DEFAULT_$LINE"
9262 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9266 eval "$ac_cv_use_filedlg"
9267 if test "$no_cache" != 1; then
9268 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9271 if test "$wxUSE_FILEDLG" = yes; then
9272 echo "$as_me:$LINENO: result: yes" >&5
9273 echo "${ECHO_T}yes" >&6
9275 echo "$as_me:$LINENO: result: no" >&5
9276 echo "${ECHO_T}no" >&6
9281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9282 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9284 # Check whether --enable-finddlg or --disable-finddlg was given.
9285 if test "${enable_finddlg+set}" = set; then
9286 enableval="$enable_finddlg"
9288 if test "$enableval" = yes; then
9289 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9291 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9296 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9297 if test "x$LINE" != x ; then
9298 eval "DEFAULT_$LINE"
9303 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9307 eval "$ac_cv_use_finddlg"
9308 if test "$no_cache" != 1; then
9309 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9312 if test "$wxUSE_FINDREPLDLG" = yes; then
9313 echo "$as_me:$LINENO: result: yes" >&5
9314 echo "${ECHO_T}yes" >&6
9316 echo "$as_me:$LINENO: result: no" >&5
9317 echo "${ECHO_T}no" >&6
9322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9323 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9325 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9326 if test "${enable_fontdlg+set}" = set; then
9327 enableval="$enable_fontdlg"
9329 if test "$enableval" = yes; then
9330 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9332 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9337 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9338 if test "x$LINE" != x ; then
9339 eval "DEFAULT_$LINE"
9344 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9348 eval "$ac_cv_use_fontdlg"
9349 if test "$no_cache" != 1; then
9350 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9353 if test "$wxUSE_FONTDLG" = yes; then
9354 echo "$as_me:$LINENO: result: yes" >&5
9355 echo "${ECHO_T}yes" >&6
9357 echo "$as_me:$LINENO: result: no" >&5
9358 echo "${ECHO_T}no" >&6
9363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9364 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9366 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9367 if test "${enable_dirdlg+set}" = set; then
9368 enableval="$enable_dirdlg"
9370 if test "$enableval" = yes; then
9371 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9373 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9378 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9379 if test "x$LINE" != x ; then
9380 eval "DEFAULT_$LINE"
9385 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9389 eval "$ac_cv_use_dirdlg"
9390 if test "$no_cache" != 1; then
9391 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9394 if test "$wxUSE_DIRDLG" = yes; then
9395 echo "$as_me:$LINENO: result: yes" >&5
9396 echo "${ECHO_T}yes" >&6
9398 echo "$as_me:$LINENO: result: no" >&5
9399 echo "${ECHO_T}no" >&6
9404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9405 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9407 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9408 if test "${enable_msgdlg+set}" = set; then
9409 enableval="$enable_msgdlg"
9411 if test "$enableval" = yes; then
9412 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9414 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9419 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9420 if test "x$LINE" != x ; then
9421 eval "DEFAULT_$LINE"
9426 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9430 eval "$ac_cv_use_msgdlg"
9431 if test "$no_cache" != 1; then
9432 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9435 if test "$wxUSE_MSGDLG" = yes; then
9436 echo "$as_me:$LINENO: result: yes" >&5
9437 echo "${ECHO_T}yes" >&6
9439 echo "$as_me:$LINENO: result: no" >&5
9440 echo "${ECHO_T}no" >&6
9445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9446 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9448 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9449 if test "${enable_numberdlg+set}" = set; then
9450 enableval="$enable_numberdlg"
9452 if test "$enableval" = yes; then
9453 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9455 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9460 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9461 if test "x$LINE" != x ; then
9462 eval "DEFAULT_$LINE"
9467 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9471 eval "$ac_cv_use_numberdlg"
9472 if test "$no_cache" != 1; then
9473 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9476 if test "$wxUSE_NUMBERDLG" = yes; then
9477 echo "$as_me:$LINENO: result: yes" >&5
9478 echo "${ECHO_T}yes" >&6
9480 echo "$as_me:$LINENO: result: no" >&5
9481 echo "${ECHO_T}no" >&6
9486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9487 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9489 # Check whether --enable-splash or --disable-splash was given.
9490 if test "${enable_splash+set}" = set; then
9491 enableval="$enable_splash"
9493 if test "$enableval" = yes; then
9494 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9496 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9501 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9502 if test "x$LINE" != x ; then
9503 eval "DEFAULT_$LINE"
9508 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9512 eval "$ac_cv_use_splash"
9513 if test "$no_cache" != 1; then
9514 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9517 if test "$wxUSE_SPLASH" = yes; then
9518 echo "$as_me:$LINENO: result: yes" >&5
9519 echo "${ECHO_T}yes" >&6
9521 echo "$as_me:$LINENO: result: no" >&5
9522 echo "${ECHO_T}no" >&6
9527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9528 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9530 # Check whether --enable-textdlg or --disable-textdlg was given.
9531 if test "${enable_textdlg+set}" = set; then
9532 enableval="$enable_textdlg"
9534 if test "$enableval" = yes; then
9535 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9537 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9542 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9543 if test "x$LINE" != x ; then
9544 eval "DEFAULT_$LINE"
9549 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9553 eval "$ac_cv_use_textdlg"
9554 if test "$no_cache" != 1; then
9555 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9558 if test "$wxUSE_TEXTDLG" = yes; then
9559 echo "$as_me:$LINENO: result: yes" >&5
9560 echo "${ECHO_T}yes" >&6
9562 echo "$as_me:$LINENO: result: no" >&5
9563 echo "${ECHO_T}no" >&6
9568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9569 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9571 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9572 if test "${enable_tipdlg+set}" = set; then
9573 enableval="$enable_tipdlg"
9575 if test "$enableval" = yes; then
9576 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9578 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9583 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9584 if test "x$LINE" != x ; then
9585 eval "DEFAULT_$LINE"
9590 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9594 eval "$ac_cv_use_tipdlg"
9595 if test "$no_cache" != 1; then
9596 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9599 if test "$wxUSE_STARTUP_TIPS" = yes; then
9600 echo "$as_me:$LINENO: result: yes" >&5
9601 echo "${ECHO_T}yes" >&6
9603 echo "$as_me:$LINENO: result: no" >&5
9604 echo "${ECHO_T}no" >&6
9609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9610 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9612 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9613 if test "${enable_progressdlg+set}" = set; then
9614 enableval="$enable_progressdlg"
9616 if test "$enableval" = yes; then
9617 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9619 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9624 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9625 if test "x$LINE" != x ; then
9626 eval "DEFAULT_$LINE"
9631 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9635 eval "$ac_cv_use_progressdlg"
9636 if test "$no_cache" != 1; then
9637 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9640 if test "$wxUSE_PROGRESSDLG" = yes; then
9641 echo "$as_me:$LINENO: result: yes" >&5
9642 echo "${ECHO_T}yes" >&6
9644 echo "$as_me:$LINENO: result: no" >&5
9645 echo "${ECHO_T}no" >&6
9650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9653 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9654 if test "${enable_wizarddlg+set}" = set; then
9655 enableval="$enable_wizarddlg"
9657 if test "$enableval" = yes; then
9658 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9660 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9665 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9666 if test "x$LINE" != x ; then
9667 eval "DEFAULT_$LINE"
9672 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9676 eval "$ac_cv_use_wizarddlg"
9677 if test "$no_cache" != 1; then
9678 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9681 if test "$wxUSE_WIZARDDLG" = yes; then
9682 echo "$as_me:$LINENO: result: yes" >&5
9683 echo "${ECHO_T}yes" >&6
9685 echo "$as_me:$LINENO: result: no" >&5
9686 echo "${ECHO_T}no" >&6
9693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9696 # Check whether --enable-menus or --disable-menus was given.
9697 if test "${enable_menus+set}" = set; then
9698 enableval="$enable_menus"
9700 if test "$enableval" = yes; then
9701 ac_cv_use_menus='wxUSE_MENUS
=yes'
9703 ac_cv_use_menus='wxUSE_MENUS
=no
'
9708 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9709 if test "x$LINE" != x ; then
9710 eval "DEFAULT_$LINE"
9715 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9719 eval "$ac_cv_use_menus"
9720 if test "$no_cache" != 1; then
9721 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9724 if test "$wxUSE_MENUS" = yes; then
9725 echo "$as_me:$LINENO: result: yes" >&5
9726 echo "${ECHO_T}yes" >&6
9728 echo "$as_me:$LINENO: result: no" >&5
9729 echo "${ECHO_T}no" >&6
9734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9735 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9737 # Check whether --enable-miniframe or --disable-miniframe was given.
9738 if test "${enable_miniframe+set}" = set; then
9739 enableval="$enable_miniframe"
9741 if test "$enableval" = yes; then
9742 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9744 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9749 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9750 if test "x$LINE" != x ; then
9751 eval "DEFAULT_$LINE"
9756 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9760 eval "$ac_cv_use_miniframe"
9761 if test "$no_cache" != 1; then
9762 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9765 if test "$wxUSE_MINIFRAME" = yes; then
9766 echo "$as_me:$LINENO: result: yes" >&5
9767 echo "${ECHO_T}yes" >&6
9769 echo "$as_me:$LINENO: result: no" >&5
9770 echo "${ECHO_T}no" >&6
9775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9776 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9778 # Check whether --enable-tooltips or --disable-tooltips was given.
9779 if test "${enable_tooltips+set}" = set; then
9780 enableval="$enable_tooltips"
9782 if test "$enableval" = yes; then
9783 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9785 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9790 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9791 if test "x$LINE" != x ; then
9792 eval "DEFAULT_$LINE"
9797 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9801 eval "$ac_cv_use_tooltips"
9802 if test "$no_cache" != 1; then
9803 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9806 if test "$wxUSE_TOOLTIPS" = yes; then
9807 echo "$as_me:$LINENO: result: yes" >&5
9808 echo "${ECHO_T}yes" >&6
9810 echo "$as_me:$LINENO: result: no" >&5
9811 echo "${ECHO_T}no" >&6
9816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9817 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9819 # Check whether --enable-splines or --disable-splines was given.
9820 if test "${enable_splines+set}" = set; then
9821 enableval="$enable_splines"
9823 if test "$enableval" = yes; then
9824 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9826 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9831 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9832 if test "x$LINE" != x ; then
9833 eval "DEFAULT_$LINE"
9838 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9842 eval "$ac_cv_use_splines"
9843 if test "$no_cache" != 1; then
9844 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9847 if test "$wxUSE_SPLINES" = yes; then
9848 echo "$as_me:$LINENO: result: yes" >&5
9849 echo "${ECHO_T}yes" >&6
9851 echo "$as_me:$LINENO: result: no" >&5
9852 echo "${ECHO_T}no" >&6
9857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9858 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9860 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9861 if test "${enable_mousewheel+set}" = set; then
9862 enableval="$enable_mousewheel"
9864 if test "$enableval" = yes; then
9865 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
9867 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
9872 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9873 if test "x$LINE" != x ; then
9874 eval "DEFAULT_$LINE"
9879 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
9883 eval "$ac_cv_use_mousewheel"
9884 if test "$no_cache" != 1; then
9885 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9888 if test "$wxUSE_MOUSEWHEEL" = yes; then
9889 echo "$as_me:$LINENO: result: yes" >&5
9890 echo "${ECHO_T}yes" >&6
9892 echo "$as_me:$LINENO: result: no" >&5
9893 echo "${ECHO_T}no" >&6
9898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9899 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9901 # Check whether --enable-validators or --disable-validators was given.
9902 if test "${enable_validators+set}" = set; then
9903 enableval="$enable_validators"
9905 if test "$enableval" = yes; then
9906 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9908 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9913 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9914 if test "x$LINE" != x ; then
9915 eval "DEFAULT_$LINE"
9920 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9924 eval "$ac_cv_use_validators"
9925 if test "$no_cache" != 1; then
9926 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9929 if test "$wxUSE_VALIDATORS" = yes; then
9930 echo "$as_me:$LINENO: result: yes" >&5
9931 echo "${ECHO_T}yes" >&6
9933 echo "$as_me:$LINENO: result: no" >&5
9934 echo "${ECHO_T}no" >&6
9939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9942 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9943 if test "${enable_busyinfo+set}" = set; then
9944 enableval="$enable_busyinfo"
9946 if test "$enableval" = yes; then
9947 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9949 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9954 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9955 if test "x$LINE" != x ; then
9956 eval "DEFAULT_$LINE"
9961 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9965 eval "$ac_cv_use_busyinfo"
9966 if test "$no_cache" != 1; then
9967 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9970 if test "$wxUSE_BUSYINFO" = yes; then
9971 echo "$as_me:$LINENO: result: yes" >&5
9972 echo "${ECHO_T}yes" >&6
9974 echo "$as_me:$LINENO: result: no" >&5
9975 echo "${ECHO_T}no" >&6
9980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9983 # Check whether --enable-joystick or --disable-joystick was given.
9984 if test "${enable_joystick+set}" = set; then
9985 enableval="$enable_joystick"
9987 if test "$enableval" = yes; then
9988 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9990 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9995 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9996 if test "x$LINE" != x ; then
9997 eval "DEFAULT_$LINE"
10002 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
10006 eval "$ac_cv_use_joystick"
10007 if test "$no_cache" != 1; then
10008 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10011 if test "$wxUSE_JOYSTICK" = yes; then
10012 echo "$as_me:$LINENO: result: yes" >&5
10013 echo "${ECHO_T}yes" >&6
10015 echo "$as_me:$LINENO: result: no" >&5
10016 echo "${ECHO_T}no" >&6
10021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10024 # Check whether --enable-metafile or --disable-metafile was given.
10025 if test "${enable_metafile+set}" = set; then
10026 enableval="$enable_metafile"
10028 if test "$enableval" = yes; then
10029 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
10031 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
10036 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10037 if test "x$LINE" != x ; then
10038 eval "DEFAULT_$LINE"
10043 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10047 eval "$ac_cv_use_metafile"
10048 if test "$no_cache" != 1; then
10049 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10052 if test "$wxUSE_METAFILE" = yes; then
10053 echo "$as_me:$LINENO: result: yes" >&5
10054 echo "${ECHO_T}yes" >&6
10056 echo "$as_me:$LINENO: result: no" >&5
10057 echo "${ECHO_T}no" >&6
10062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10065 # Check whether --enable-dragimage or --disable-dragimage was given.
10066 if test "${enable_dragimage+set}" = set; then
10067 enableval="$enable_dragimage"
10069 if test "$enableval" = yes; then
10070 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10072 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10077 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10078 if test "x$LINE" != x ; then
10079 eval "DEFAULT_$LINE"
10084 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10088 eval "$ac_cv_use_dragimage"
10089 if test "$no_cache" != 1; then
10090 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10093 if test "$wxUSE_DRAGIMAGE" = yes; then
10094 echo "$as_me:$LINENO: result: yes" >&5
10095 echo "${ECHO_T}yes" >&6
10097 echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6
10103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10106 # Check whether --enable-accessibility or --disable-accessibility was given.
10107 if test "${enable_accessibility+set}" = set; then
10108 enableval="$enable_accessibility"
10110 if test "$enableval" = yes; then
10111 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10113 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10118 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10119 if test "x$LINE" != x ; then
10120 eval "DEFAULT_$LINE"
10125 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10129 eval "$ac_cv_use_accessibility"
10130 if test "$no_cache" != 1; then
10131 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10134 if test "$wxUSE_ACCESSIBILITY" = yes; then
10135 echo "$as_me:$LINENO: result: yes" >&5
10136 echo "${ECHO_T}yes" >&6
10138 echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6
10143 if test "$wxUSE_MSW" = "1"; then
10146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10147 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10149 # Check whether --enable-dccache or --disable-dccache was given.
10150 if test "${enable_dccache+set}" = set; then
10151 enableval="$enable_dccache"
10153 if test "$enableval" = yes; then
10154 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10156 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10161 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10162 if test "x$LINE" != x ; then
10163 eval "DEFAULT_$LINE"
10168 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10172 eval "$ac_cv_use_dccache"
10173 if test "$no_cache" != 1; then
10174 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10177 if test "$wxUSE_DC_CACHEING" = yes; then
10178 echo "$as_me:$LINENO: result: yes" >&5
10179 echo "${ECHO_T}yes" >&6
10181 echo "$as_me:$LINENO: result: no" >&5
10182 echo "${ECHO_T}no" >&6
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10193 # Check whether --enable-palette or --disable-palette was given.
10194 if test "${enable_palette+set}" = set; then
10195 enableval="$enable_palette"
10197 if test "$enableval" = yes; then
10198 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10200 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10205 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10212 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10216 eval "$ac_cv_use_palette"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10221 if test "$wxUSE_PALETTE" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10232 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10234 # Check whether --enable-image or --disable-image was given.
10235 if test "${enable_image+set}" = set; then
10236 enableval="$enable_image"
10238 if test "$enableval" = yes; then
10239 ac_cv_use_image='wxUSE_IMAGE
=yes'
10241 ac_cv_use_image='wxUSE_IMAGE
=no
'
10246 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10247 if test "x$LINE" != x ; then
10248 eval "DEFAULT_$LINE"
10253 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10257 eval "$ac_cv_use_image"
10258 if test "$no_cache" != 1; then
10259 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10262 if test "$wxUSE_IMAGE" = yes; then
10263 echo "$as_me:$LINENO: result: yes" >&5
10264 echo "${ECHO_T}yes" >&6
10266 echo "$as_me:$LINENO: result: no" >&5
10267 echo "${ECHO_T}no" >&6
10272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10273 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10275 # Check whether --enable-gif or --disable-gif was given.
10276 if test "${enable_gif+set}" = set; then
10277 enableval="$enable_gif"
10279 if test "$enableval" = yes; then
10280 ac_cv_use_gif='wxUSE_GIF
=yes'
10282 ac_cv_use_gif='wxUSE_GIF
=no
'
10287 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10288 if test "x$LINE" != x ; then
10289 eval "DEFAULT_$LINE"
10294 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10298 eval "$ac_cv_use_gif"
10299 if test "$no_cache" != 1; then
10300 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10303 if test "$wxUSE_GIF" = yes; then
10304 echo "$as_me:$LINENO: result: yes" >&5
10305 echo "${ECHO_T}yes" >&6
10307 echo "$as_me:$LINENO: result: no" >&5
10308 echo "${ECHO_T}no" >&6
10313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10314 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10316 # Check whether --enable-pcx or --disable-pcx was given.
10317 if test "${enable_pcx+set}" = set; then
10318 enableval="$enable_pcx"
10320 if test "$enableval" = yes; then
10321 ac_cv_use_pcx='wxUSE_PCX
=yes'
10323 ac_cv_use_pcx='wxUSE_PCX
=no
'
10328 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10329 if test "x$LINE" != x ; then
10330 eval "DEFAULT_$LINE"
10335 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10339 eval "$ac_cv_use_pcx"
10340 if test "$no_cache" != 1; then
10341 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10344 if test "$wxUSE_PCX" = yes; then
10345 echo "$as_me:$LINENO: result: yes" >&5
10346 echo "${ECHO_T}yes" >&6
10348 echo "$as_me:$LINENO: result: no" >&5
10349 echo "${ECHO_T}no" >&6
10354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10357 # Check whether --enable-iff or --disable-iff was given.
10358 if test "${enable_iff+set}" = set; then
10359 enableval="$enable_iff"
10361 if test "$enableval" = yes; then
10362 ac_cv_use_iff='wxUSE_IFF
=yes'
10364 ac_cv_use_iff='wxUSE_IFF
=no
'
10369 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10370 if test "x$LINE" != x ; then
10371 eval "DEFAULT_$LINE"
10376 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10380 eval "$ac_cv_use_iff"
10381 if test "$no_cache" != 1; then
10382 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10385 if test "$wxUSE_IFF" = yes; then
10386 echo "$as_me:$LINENO: result: yes" >&5
10387 echo "${ECHO_T}yes" >&6
10389 echo "$as_me:$LINENO: result: no" >&5
10390 echo "${ECHO_T}no" >&6
10395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10396 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10398 # Check whether --enable-pnm or --disable-pnm was given.
10399 if test "${enable_pnm+set}" = set; then
10400 enableval="$enable_pnm"
10402 if test "$enableval" = yes; then
10403 ac_cv_use_pnm='wxUSE_PNM
=yes'
10405 ac_cv_use_pnm='wxUSE_PNM
=no
'
10410 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x ; then
10412 eval "DEFAULT_$LINE"
10417 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10421 eval "$ac_cv_use_pnm"
10422 if test "$no_cache" != 1; then
10423 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10426 if test "$wxUSE_PNM" = yes; then
10427 echo "$as_me:$LINENO: result: yes" >&5
10428 echo "${ECHO_T}yes" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10439 # Check whether --enable-xpm or --disable-xpm was given.
10440 if test "${enable_xpm+set}" = set; then
10441 enableval="$enable_xpm"
10443 if test "$enableval" = yes; then
10444 ac_cv_use_xpm='wxUSE_XPM
=yes'
10446 ac_cv_use_xpm='wxUSE_XPM
=no
'
10451 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10452 if test "x$LINE" != x ; then
10453 eval "DEFAULT_$LINE"
10458 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10462 eval "$ac_cv_use_xpm"
10463 if test "$no_cache" != 1; then
10464 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10467 if test "$wxUSE_XPM" = yes; then
10468 echo "$as_me:$LINENO: result: yes" >&5
10469 echo "${ECHO_T}yes" >&6
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10480 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10481 if test "${enable_ico_cur+set}" = set; then
10482 enableval="$enable_ico_cur"
10484 if test "$enableval" = yes; then
10485 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10487 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10492 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x ; then
10494 eval "DEFAULT_$LINE"
10499 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10503 eval "$ac_cv_use_ico_cur"
10504 if test "$no_cache" != 1; then
10505 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10508 if test "$wxUSE_ICO_CUR" = yes; then
10509 echo "$as_me:$LINENO: result: yes" >&5
10510 echo "${ECHO_T}yes" >&6
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10521 # Check whether --with-flavour or --without-flavour was given.
10522 if test "${with_flavour+set}" = set; then
10523 withval="$with_flavour"
10524 WX_FLAVOUR="$withval"
10530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10533 # Check whether --enable-official_build or --disable-official_build was given.
10534 if test "${enable_official_build+set}" = set; then
10535 enableval="$enable_official_build"
10537 if test "$enableval" = yes; then
10538 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10540 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10545 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x ; then
10547 eval "DEFAULT_$LINE"
10552 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10556 eval "$ac_cv_use_official_build"
10557 if test "$no_cache" != 1; then
10558 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10561 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10562 echo "$as_me:$LINENO: result: yes" >&5
10563 echo "${ECHO_T}yes" >&6
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10569 # Check whether --enable-vendor or --disable-vendor was given.
10570 if test "${enable_vendor+set}" = set; then
10571 enableval="$enable_vendor"
10572 VENDOR="$enableval"
10574 if test "x$VENDOR" = "x"; then
10581 echo "saving argument cache $wx_arg_cache_file"
10582 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10586 echo "$as_me:$LINENO: checking for toolkit" >&5
10587 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10589 # In Wine, we need to default to MSW, not GTK or MOTIF
10590 if test "$wxUSE_WINE" = "yes"; then
10591 DEFAULT_DEFAULT_wxUSE_GTK=0
10592 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10593 DEFAULT_DEFAULT_wxUSE_MSW=1
10598 if test "$wxUSE_GUI" = "yes"; then
10600 if test "$USE_BEOS" = 1; then
10601 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10602 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10603 { (exit 1); exit 1; }; }
10606 if test "$TOOLKIT_GIVEN" = 1; then
10607 for toolkit in `echo $ALL_TOOLKITS`; do
10609 eval "value=\$${var}"
10610 if test "x$value" = "xno"; then
10612 elif test "x$value" != "x"; then
10616 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10617 eval "wx${toolkit}_VERSION=$value"
10621 for toolkit in `echo $ALL_TOOLKITS`; do
10622 if test "$has_toolkit_in_cache" != 1; then
10623 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10625 var=DEFAULT_wxUSE_$toolkit
10627 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10628 if test "x$version" != "x"; then
10629 eval "wx${toolkit}_VERSION=$version"
10632 eval "wxUSE_$toolkit=\$${var}"
10636 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10637 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10638 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10641 *-pc-os2_emx | *-pc-os2-emx )
10642 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10645 case "$NUM_TOOLKITS" in
10649 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10650 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10651 { (exit 1); exit 1; }; }
10654 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10655 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10656 { (exit 1); exit 1; }; }
10659 # to be removed when --disable-gtk2 isn't needed
10660 if test "x$wxUSE_GTK2" = "xyes"; then
10662 elif test "x$wxUSE_GTK2" = "xno"; then
10666 for toolkit
in `echo $ALL_TOOLKITS`; do
10668 eval "value=\$${var}"
10669 if test "x$value" != x
; then
10670 cache_var
=CACHE_
$toolkit
10671 eval "cache=\$${cache_var}"
10672 if test "$cache" = 1; then
10673 echo "$var=$value" >> ${wx_arg_cache_file}
10674 eval "version=\$wx${toolkit}_VERSION"
10675 if test "x$version" != "x"; then
10676 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10679 if test "$value" = 1; then
10680 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10681 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10682 echo "${ECHO_T}$toolkit_echo" >&6
10687 if test "x$host_alias" != "x"; then
10688 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10689 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10691 echo "$as_me:$LINENO: result: base only" >&5
10692 echo "${ECHO_T}base only" >&6
10697 doesnt_want_win32
=0
10700 if test "$wxUSE_MSW" = 1 ; then
10702 BAKEFILE_FORCE_PLATFORM
=win32
10704 doesnt_want_win32
=1
10712 if test "$wxUSE_WINE" = "yes"; then
10716 LDFLAGS_GUI
="-mwindows"
10719 if test "$wants_win32" = 1 ; then
10722 cat >>confdefs.h
<<\_ACEOF
10723 #define __WIN32__ 1
10726 cat >>confdefs.h
<<\_ACEOF
10727 #define __WIN95__ 1
10730 cat >>confdefs.h
<<\_ACEOF
10731 #define __WINDOWS__ 1
10734 cat >>confdefs.h
<<\_ACEOF
10735 #define __GNUWIN32__ 1
10738 cat >>confdefs.h
<<\_ACEOF
10742 cat >>confdefs.h
<<\_ACEOF
10743 #define WINVER 0x0400
10747 if test "$doesnt_want_win32" = 1 ; then
10752 if test "$USE_UNIX" = 1 ; then
10754 cat >>confdefs.h
<<\_ACEOF
10761 cat >confcache
<<\_ACEOF
10762 # This file is a shell script that caches the results of configure
10763 # tests run on this system so they can be shared between configure
10764 # scripts and configure runs, see configure's option --config-cache.
10765 # It is not useful on other systems. If it contains results you don't
10766 # want to keep, you may remove or edit it.
10768 # config.status only pays attention to the cache file if you give it
10769 # the --recheck option to rerun configure.
10771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10773 # following values.
10777 # The following way of writing the cache mishandles newlines in values,
10778 # but we know of no workaround that is simple, portable, and efficient.
10779 # So, don't put newlines in cache variables' values.
10780 # Ultrix sh set writes to stderr and can't be redirected directly,
10781 # and sets the high bit in the cache file unless we assign to the vars.
10784 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10786 # `set' does not quote correctly, so add quotes (double-quote
10787 # substitution turns \\\\ into \\, and sed turns \\ into \).
10790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10793 # `set' quotes correctly as required by POSIX, so do not add quotes.
10795 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10804 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10806 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10807 if test -w $cache_file; then
10808 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10809 cat confcache
>$cache_file
10811 echo "not updating unwritable cache $cache_file"
10821 ac_cpp
='$CPP $CPPFLAGS'
10822 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10825 if test -n "$ac_tool_prefix"; then
10826 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10827 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10828 echo "$as_me:$LINENO: checking for $ac_word" >&5
10829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10830 if test "${ac_cv_prog_CC+set}" = set; then
10831 echo $ECHO_N "(cached) $ECHO_C" >&6
10833 if test -n "$CC"; then
10834 ac_cv_prog_CC
="$CC" # Let the user override the test.
10836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10837 for as_dir
in $PATH
10840 test -z "$as_dir" && as_dir
=.
10841 for ac_exec_ext
in '' $ac_executable_extensions; do
10842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10843 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10853 if test -n "$CC"; then
10854 echo "$as_me:$LINENO: result: $CC" >&5
10855 echo "${ECHO_T}$CC" >&6
10857 echo "$as_me:$LINENO: result: no" >&5
10858 echo "${ECHO_T}no" >&6
10862 if test -z "$ac_cv_prog_CC"; then
10864 # Extract the first word of "gcc", so it can be a program name with args.
10865 set dummy gcc
; ac_word
=$2
10866 echo "$as_me:$LINENO: checking for $ac_word" >&5
10867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10868 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 if test -n "$ac_ct_CC"; then
10872 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10875 for as_dir
in $PATH
10878 test -z "$as_dir" && as_dir
=.
10879 for ac_exec_ext
in '' $ac_executable_extensions; do
10880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10881 ac_cv_prog_ac_ct_CC
="gcc"
10882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10890 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10891 if test -n "$ac_ct_CC"; then
10892 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10893 echo "${ECHO_T}$ac_ct_CC" >&6
10895 echo "$as_me:$LINENO: result: no" >&5
10896 echo "${ECHO_T}no" >&6
10901 CC
="$ac_cv_prog_CC"
10904 if test -z "$CC"; then
10905 if test -n "$ac_tool_prefix"; then
10906 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10907 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10908 echo "$as_me:$LINENO: checking for $ac_word" >&5
10909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10910 if test "${ac_cv_prog_CC+set}" = set; then
10911 echo $ECHO_N "(cached) $ECHO_C" >&6
10913 if test -n "$CC"; then
10914 ac_cv_prog_CC
="$CC" # Let the user override the test.
10916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10917 for as_dir
in $PATH
10920 test -z "$as_dir" && as_dir
=.
10921 for ac_exec_ext
in '' $ac_executable_extensions; do
10922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10923 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10933 if test -n "$CC"; then
10934 echo "$as_me:$LINENO: result: $CC" >&5
10935 echo "${ECHO_T}$CC" >&6
10937 echo "$as_me:$LINENO: result: no" >&5
10938 echo "${ECHO_T}no" >&6
10942 if test -z "$ac_cv_prog_CC"; then
10944 # Extract the first word of "cc", so it can be a program name with args.
10945 set dummy cc
; ac_word
=$2
10946 echo "$as_me:$LINENO: checking for $ac_word" >&5
10947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10948 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 if test -n "$ac_ct_CC"; then
10952 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10955 for as_dir
in $PATH
10958 test -z "$as_dir" && as_dir
=.
10959 for ac_exec_ext
in '' $ac_executable_extensions; do
10960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10961 ac_cv_prog_ac_ct_CC
="cc"
10962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10970 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10971 if test -n "$ac_ct_CC"; then
10972 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10973 echo "${ECHO_T}$ac_ct_CC" >&6
10975 echo "$as_me:$LINENO: result: no" >&5
10976 echo "${ECHO_T}no" >&6
10981 CC
="$ac_cv_prog_CC"
10985 if test -z "$CC"; then
10986 # Extract the first word of "cc", so it can be a program name with args.
10987 set dummy cc
; ac_word
=$2
10988 echo "$as_me:$LINENO: checking for $ac_word" >&5
10989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10990 if test "${ac_cv_prog_CC+set}" = set; then
10991 echo $ECHO_N "(cached) $ECHO_C" >&6
10993 if test -n "$CC"; then
10994 ac_cv_prog_CC
="$CC" # Let the user override the test.
10996 ac_prog_rejected
=no
10997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10998 for as_dir
in $PATH
11001 test -z "$as_dir" && as_dir
=.
11002 for ac_exec_ext
in '' $ac_executable_extensions; do
11003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11004 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11005 ac_prog_rejected
=yes
11009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11015 if test $ac_prog_rejected = yes; then
11016 # We found a bogon in the path, so make sure we never use it.
11017 set dummy
$ac_cv_prog_CC
11019 if test $# != 0; then
11020 # We chose a different compiler from the bogus one.
11021 # However, it has the same basename, so the bogon will be chosen
11022 # first if we set CC to just the basename; use the full file name.
11024 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11030 if test -n "$CC"; then
11031 echo "$as_me:$LINENO: result: $CC" >&5
11032 echo "${ECHO_T}$CC" >&6
11034 echo "$as_me:$LINENO: result: no" >&5
11035 echo "${ECHO_T}no" >&6
11039 if test -z "$CC"; then
11040 if test -n "$ac_tool_prefix"; then
11043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11044 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11045 echo "$as_me:$LINENO: checking for $ac_word" >&5
11046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11047 if test "${ac_cv_prog_CC+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 if test -n "$CC"; then
11051 ac_cv_prog_CC
="$CC" # Let the user override the test.
11053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11054 for as_dir
in $PATH
11057 test -z "$as_dir" && as_dir
=.
11058 for ac_exec_ext
in '' $ac_executable_extensions; do
11059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11060 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11070 if test -n "$CC"; then
11071 echo "$as_me:$LINENO: result: $CC" >&5
11072 echo "${ECHO_T}$CC" >&6
11074 echo "$as_me:$LINENO: result: no" >&5
11075 echo "${ECHO_T}no" >&6
11078 test -n "$CC" && break
11081 if test -z "$CC"; then
11085 # Extract the first word of "$ac_prog", so it can be a program name with args.
11086 set dummy
$ac_prog; ac_word
=$2
11087 echo "$as_me:$LINENO: checking for $ac_word" >&5
11088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11090 echo $ECHO_N "(cached) $ECHO_C" >&6
11092 if test -n "$ac_ct_CC"; then
11093 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11096 for as_dir
in $PATH
11099 test -z "$as_dir" && as_dir
=.
11100 for ac_exec_ext
in '' $ac_executable_extensions; do
11101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11102 ac_cv_prog_ac_ct_CC
="$ac_prog"
11103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11111 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11112 if test -n "$ac_ct_CC"; then
11113 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11114 echo "${ECHO_T}$ac_ct_CC" >&6
11116 echo "$as_me:$LINENO: result: no" >&5
11117 echo "${ECHO_T}no" >&6
11120 test -n "$ac_ct_CC" && break
11129 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11130 See \`config.log' for more details." >&5
11131 echo "$as_me: error: no acceptable C compiler found in \$PATH
11132 See \`config.log' for more details." >&2;}
11133 { (exit 1); exit 1; }; }
11135 # Provide some information about the compiler.
11136 echo "$as_me:$LINENO:" \
11137 "checking for C compiler version" >&5
11138 ac_compiler
=`set X $ac_compile; echo $2`
11139 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11140 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }
11144 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11145 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }
11149 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11150 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }
11155 cat >conftest.
$ac_ext <<_ACEOF
11158 cat confdefs.h
>>conftest.
$ac_ext
11159 cat >>conftest.
$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11170 ac_clean_files_save
=$ac_clean_files
11171 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11172 # Try to create an executable without -o first, disregard a.out.
11173 # It will help us diagnose broken compilers, and finding out an intuition
11175 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11176 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11177 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11178 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11179 (eval $ac_link_default) 2>&5
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); }; then
11183 # Find the output, starting from the most likely. This scheme is
11184 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11187 # Be careful to initialize this variable, since it used to be cached.
11188 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11190 # b.out is created by i960 compilers.
11191 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11193 test -f "$ac_file" || continue
11195 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11198 # This is the source file.
11201 # We found the default executable, but exeext='' is most
11205 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11206 # FIXME: I believe we export ac_cv_exeext for Libtool,
11207 # but it would be cool to find out if it's true. Does anybody
11208 # maintain Libtool? --akim.
11209 export ac_cv_exeext
11216 echo "$as_me: failed program was:" >&5
11217 sed 's/^/| /' conftest.
$ac_ext >&5
11219 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11220 See \`config.log' for more details." >&5
11221 echo "$as_me: error: C compiler cannot create executables
11222 See \`config.log' for more details." >&2;}
11223 { (exit 77); exit 77; }; }
11226 ac_exeext
=$ac_cv_exeext
11227 echo "$as_me:$LINENO: result: $ac_file" >&5
11228 echo "${ECHO_T}$ac_file" >&6
11230 # Check the compiler produces executables we can run. If not, either
11231 # the compiler is broken, or we cross compile.
11232 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11233 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11234 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11235 # If not cross compiling, check that we can run a simple program.
11236 if test "$cross_compiling" != yes; then
11237 if { ac_try
='./$ac_file'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11245 if test "$cross_compiling" = maybe
; then
11246 cross_compiling
=yes
11248 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11249 If you meant to cross compile, use \`--host'.
11250 See \`config.log' for more details." >&5
11251 echo "$as_me: error: cannot run C compiled programs.
11252 If you meant to cross compile, use \`--host'.
11253 See \`config.log' for more details." >&2;}
11254 { (exit 1); exit 1; }; }
11258 echo "$as_me:$LINENO: result: yes" >&5
11259 echo "${ECHO_T}yes" >&6
11261 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11262 ac_clean_files
=$ac_clean_files_save
11263 # Check the compiler produces executables we can run. If not, either
11264 # the compiler is broken, or we cross compile.
11265 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11266 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11267 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11268 echo "${ECHO_T}$cross_compiling" >&6
11270 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11271 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11273 (eval $ac_link) 2>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); }; then
11277 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11278 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11279 # work properly (i.e., refer to `conftest.exe'), while it won't with
11281 for ac_file
in conftest.exe conftest conftest.
*; do
11282 test -f "$ac_file" || continue
11284 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11285 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11286 export ac_cv_exeext
11292 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11293 See \`config.log' for more details." >&5
11294 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11295 See \`config.log' for more details." >&2;}
11296 { (exit 1); exit 1; }; }
11299 rm -f conftest
$ac_cv_exeext
11300 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11301 echo "${ECHO_T}$ac_cv_exeext" >&6
11303 rm -f conftest.
$ac_ext
11304 EXEEXT
=$ac_cv_exeext
11306 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11307 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11308 if test "${ac_cv_objext+set}" = set; then
11309 echo $ECHO_N "(cached) $ECHO_C" >&6
11311 cat >conftest.
$ac_ext <<_ACEOF
11314 cat confdefs.h
>>conftest.
$ac_ext
11315 cat >>conftest.
$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11326 rm -f conftest.o conftest.obj
11327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11328 (eval $ac_compile) 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; then
11332 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11334 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11335 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.
$ac_ext >&5
11343 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11344 See \`config.log' for more details." >&5
11345 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11346 See \`config.log' for more details." >&2;}
11347 { (exit 1); exit 1; }; }
11350 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11352 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11353 echo "${ECHO_T}$ac_cv_objext" >&6
11354 OBJEXT
=$ac_cv_objext
11356 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11357 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11358 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 cat >conftest.
$ac_ext <<_ACEOF
11364 cat confdefs.h
>>conftest.
$ac_ext
11365 cat >>conftest.
$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11379 rm -f conftest.
$ac_objext
11380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11381 (eval $ac_compile) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1
>conftest.err
11385 cat conftest.err
>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } &&
11388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; } &&
11394 { ac_try
='test -s conftest.$ac_objext'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; }; then
11400 ac_compiler_gnu
=yes
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.
$ac_ext >&5
11407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11408 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11411 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11412 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11413 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11414 ac_test_CFLAGS
=${CFLAGS+set}
11415 ac_save_CFLAGS
=$CFLAGS
11417 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11418 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11419 if test "${ac_cv_prog_cc_g+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 cat >conftest.
$ac_ext <<_ACEOF
11425 cat confdefs.h
>>conftest.
$ac_ext
11426 cat >>conftest.
$ac_ext <<_ACEOF
11427 /* end confdefs.h. */
11437 rm -f conftest.
$ac_objext
11438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11439 (eval $ac_compile) 2>conftest.er1
11441 grep -v '^ *+' conftest.er1
>conftest.err
11443 cat conftest.err
>&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } &&
11446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11448 (eval $ac_try) 2>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); }; } &&
11452 { ac_try
='test -s conftest.$ac_objext'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; }; then
11458 ac_cv_prog_cc_g
=yes
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.
$ac_ext >&5
11465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11467 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11468 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11469 if test "$ac_test_CFLAGS" = set; then
11470 CFLAGS
=$ac_save_CFLAGS
11471 elif test $ac_cv_prog_cc_g = yes; then
11472 if test "$GCC" = yes; then
11478 if test "$GCC" = yes; then
11484 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11485 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11486 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 ac_cv_prog_cc_stdc
=no
11491 cat >conftest.
$ac_ext <<_ACEOF
11494 cat confdefs.h
>>conftest.
$ac_ext
11495 cat >>conftest.
$ac_ext <<_ACEOF
11496 /* end confdefs.h. */
11497 #include <stdarg.h>
11499 #include <sys/types.h>
11500 #include <sys/stat.h>
11501 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11502 struct buf { int x; };
11503 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11504 static char *e (p, i)
11510 static char *f (char * (*g) (char **, int), char **p, ...)
11515 s = g (p, va_arg (v,int));
11520 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11521 function prototypes and stuff, but not '\xHH' hex character constants.
11522 These don't provoke an error unfortunately, instead are silently treated
11523 as 'x'. The following induces an error, until -std1 is added to get
11524 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11525 array size at least. It's necessary to write '\x00'==0 to get something
11526 that's true only with -std1. */
11527 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11529 int test (int i, double x);
11530 struct s1 {int (*f) (int a);};
11531 struct s2 {int (*f) (double a);};
11532 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11538 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11543 # Don't try gcc -ansi; that turns off useful extensions and
11544 # breaks some systems' header files.
11545 # AIX -qlanglvl=ansi
11546 # Ultrix and OSF/1 -std1
11547 # HP-UX 10.20 and later -Ae
11548 # HP-UX older versions -Aa -D_HPUX_SOURCE
11549 # SVR4 -Xc -D__EXTENSIONS__
11550 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11552 CC
="$ac_save_CC $ac_arg"
11553 rm -f conftest.
$ac_objext
11554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11555 (eval $ac_compile) 2>conftest.er1
11557 grep -v '^ *+' conftest.er1
>conftest.err
11559 cat conftest.err
>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } &&
11562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11564 (eval $ac_try) 2>&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); }; } &&
11568 { ac_try
='test -s conftest.$ac_objext'
11569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570 (eval $ac_try) 2>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }; }; then
11574 ac_cv_prog_cc_stdc
=$ac_arg
11577 echo "$as_me: failed program was:" >&5
11578 sed 's/^/| /' conftest.
$ac_ext >&5
11581 rm -f conftest.err conftest.
$ac_objext
11583 rm -f conftest.
$ac_ext conftest.
$ac_objext
11588 case "x$ac_cv_prog_cc_stdc" in
11590 echo "$as_me:$LINENO: result: none needed" >&5
11591 echo "${ECHO_T}none needed" >&6 ;;
11593 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11594 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11595 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11598 # Some people use a C++ compiler to compile C. Since we use `exit',
11599 # in C++ we need to declare it. In case someone uses the same compiler
11600 # for both compiling C and C++ we need to have the C++ compiler decide
11601 # the declaration of exit, since it's the most demanding environment.
11602 cat >conftest.
$ac_ext <<_ACEOF
11603 #ifndef __cplusplus
11607 rm -f conftest.
$ac_objext
11608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11609 (eval $ac_compile) 2>conftest.er1
11611 grep -v '^ *+' conftest.er1
>conftest.err
11613 cat conftest.err
>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } &&
11616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; } &&
11622 { ac_try
='test -s conftest.$ac_objext'
11623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11624 (eval $ac_try) 2>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); }; }; then
11628 for ac_declaration
in \
11630 'extern "C" void std::exit (int) throw (); using std::exit;' \
11631 'extern "C" void std::exit (int); using std::exit;' \
11632 'extern "C" void exit (int) throw ();' \
11633 'extern "C" void exit (int);' \
11636 cat >conftest.
$ac_ext <<_ACEOF
11639 cat confdefs.h
>>conftest.
$ac_ext
11640 cat >>conftest.
$ac_ext <<_ACEOF
11641 /* end confdefs.h. */
11643 #include <stdlib.h>
11652 rm -f conftest.
$ac_objext
11653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11654 (eval $ac_compile) 2>conftest.er1
11656 grep -v '^ *+' conftest.er1
>conftest.err
11658 cat conftest.err
>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); } &&
11661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; } &&
11667 { ac_try
='test -s conftest.$ac_objext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11681 cat >conftest.
$ac_ext <<_ACEOF
11684 cat confdefs.h
>>conftest.
$ac_ext
11685 cat >>conftest.
$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11696 rm -f conftest.
$ac_objext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11698 (eval $ac_compile) 2>conftest.er1
11700 grep -v '^ *+' conftest.er1
>conftest.err
11702 cat conftest.err
>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; } &&
11711 { ac_try
='test -s conftest.$ac_objext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.
$ac_ext >&5
11723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11726 if test -n "$ac_declaration"; then
11727 echo '#ifdef __cplusplus' >>confdefs.h
11728 echo $ac_declaration >>confdefs.h
11729 echo '#endif' >>confdefs.h
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.
$ac_ext >&5
11737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11739 ac_cpp
='$CPP $CPPFLAGS'
11740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11747 ac_cpp
='$CPP $CPPFLAGS'
11748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11752 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11753 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11754 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 cat >conftest.
$ac_ext <<_ACEOF
11760 cat confdefs.h
>>conftest.
$ac_ext
11761 cat >>conftest.
$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11768 #ifndef __INTEL_COMPILER
11776 rm -f conftest.
$ac_objext
11777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11778 (eval $ac_compile) 2>conftest.er1
11780 grep -v '^ *+' conftest.er1
>conftest.err
11782 cat conftest.err
>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } &&
11785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11787 (eval $ac_try) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }; } &&
11791 { ac_try
='test -s conftest.$ac_objext'
11792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11793 (eval $ac_try) 2>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; }; then
11797 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11799 echo "$as_me: failed program was:" >&5
11800 sed 's/^/| /' conftest.
$ac_ext >&5
11802 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11809 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11810 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11812 ac_cpp
='$CPP $CPPFLAGS'
11813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11817 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11824 if test "x$GCC" != "xyes"; then
11825 if test "xCC" = "xC"; then
11826 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11827 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11828 if test "${bakefile_cv_c_exto+set}" = set; then
11829 echo $ECHO_N "(cached) $ECHO_C" >&6
11831 cat >conftest.
$ac_ext <<_ACEOF
11834 cat confdefs.h
>>conftest.
$ac_ext
11835 cat >>conftest.
$ac_ext <<_ACEOF
11836 /* end confdefs.h. */
11846 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11848 (eval $ac_compile) 2>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; then
11852 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11854 conftest.
$ac_ext.o
)
11855 bakefile_cv_c_exto
="-ext o"
11862 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11863 See \`config.log' for more details." >&5
11864 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11865 See \`config.log' for more details." >&2;}
11866 { (exit 1); exit 1; }; }
11870 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11873 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
11874 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
11875 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11876 if test "c" = "c"; then
11877 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
11879 if test "c" = "cxx"; then
11880 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
11884 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11885 unset ac_cv_prog_cc_g
11886 ac_test_CFLAGS
=${CFLAGS+set}
11887 ac_save_CFLAGS
=$CFLAGS
11889 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11891 if test "${ac_cv_prog_cc_g+set}" = set; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 cat >conftest.
$ac_ext <<_ACEOF
11897 cat confdefs.h
>>conftest.
$ac_ext
11898 cat >>conftest.
$ac_ext <<_ACEOF
11899 /* end confdefs.h. */
11909 rm -f conftest.
$ac_objext
11910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11911 (eval $ac_compile) 2>conftest.er1
11913 grep -v '^ *+' conftest.er1
>conftest.err
11915 cat conftest.err
>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); } &&
11918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; } &&
11924 { ac_try
='test -s conftest.$ac_objext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 ac_cv_prog_cc_g
=yes
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.
$ac_ext >&5
11937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11939 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11940 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11941 if test "$ac_test_CFLAGS" = set; then
11942 CFLAGS
=$ac_save_CFLAGS
11943 elif test $ac_cv_prog_cc_g = yes; then
11944 if test "$GCC" = yes; then
11950 if test "$GCC" = yes; then
11962 ac_cpp
='$CPP $CPPFLAGS'
11963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11967 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11968 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11969 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
11970 echo $ECHO_N "(cached) $ECHO_C" >&6
11972 cat >conftest.
$ac_ext <<_ACEOF
11975 cat confdefs.h
>>conftest.
$ac_ext
11976 cat >>conftest.
$ac_ext <<_ACEOF
11977 /* end confdefs.h. */
11990 rm -f conftest.
$ac_objext
11991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11992 (eval $ac_compile) 2>conftest.er1
11994 grep -v '^ *+' conftest.er1
>conftest.err
11996 cat conftest.err
>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); } &&
11999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12001 (eval $ac_try) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); }; } &&
12005 { ac_try
='test -s conftest.$ac_objext'
12006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12007 (eval $ac_try) 2>&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); }; }; then
12011 bakefile_compiler_xlc
=yes
12013 echo "$as_me: failed program was:" >&5
12014 sed 's/^/| /' conftest.
$ac_ext >&5
12016 bakefile_compiler_xlc
=no
12018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12019 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12022 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12023 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12025 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12027 ac_cpp
='$CPP $CPPFLAGS'
12028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12037 ac_cpp
='$CPP $CPPFLAGS'
12038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12042 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12043 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12044 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 cat >conftest.
$ac_ext <<_ACEOF
12050 cat confdefs.h
>>conftest.
$ac_ext
12051 cat >>conftest.
$ac_ext <<_ACEOF
12052 /* end confdefs.h. */
12065 rm -f conftest.
$ac_objext
12066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12067 (eval $ac_compile) 2>conftest.er1
12069 grep -v '^ *+' conftest.er1
>conftest.err
12071 cat conftest.err
>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); } &&
12074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; } &&
12080 { ac_try
='test -s conftest.$ac_objext'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; }; then
12086 bakefile_compiler_mwerks
=yes
12088 echo "$as_me: failed program was:" >&5
12089 sed 's/^/| /' conftest.
$ac_ext >&5
12091 bakefile_compiler_mwerks
=no
12093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12094 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12097 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12098 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12100 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12102 ac_cpp
='$CPP $CPPFLAGS'
12103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12109 ac_cpp
='$CPP $CPPFLAGS'
12110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 cat >conftest.
$ac_ext <<_ACEOF
12122 cat confdefs.h
>>conftest.
$ac_ext
12123 cat >>conftest.
$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12137 rm -f conftest.
$ac_objext
12138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12139 (eval $ac_compile) 2>conftest.er1
12141 grep -v '^ *+' conftest.er1
>conftest.err
12143 cat conftest.err
>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); } &&
12146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12148 (eval $ac_try) 2>&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); }; } &&
12152 { ac_try
='test -s conftest.$ac_objext'
12153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12154 (eval $ac_try) 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; }; then
12158 bakefile_compiler_xlc
=yes
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.
$ac_ext >&5
12163 bakefile_compiler_xlc
=no
12165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12166 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12169 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12170 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12172 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12174 ac_cpp
='$CPP $CPPFLAGS'
12175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12186 ac_cpp
='$CPP $CPPFLAGS'
12187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12191 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12192 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12193 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 cat >conftest.
$ac_ext <<_ACEOF
12199 cat confdefs.h
>>conftest.
$ac_ext
12200 cat >>conftest.
$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12207 #ifndef _SGI_COMPILER_VERSION
12215 rm -f conftest.
$ac_objext
12216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12217 (eval $ac_compile) 2>conftest.er1
12219 grep -v '^ *+' conftest.er1
>conftest.err
12221 cat conftest.err
>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); } &&
12224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; } &&
12230 { ac_try
='test -s conftest.$ac_objext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.
$ac_ext >&5
12241 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12248 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12249 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12251 ac_cpp
='$CPP $CPPFLAGS'
12252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12256 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12269 ac_cpp
='$CPP $CPPFLAGS'
12270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12274 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12275 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12276 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12277 echo $ECHO_N "(cached) $ECHO_C" >&6
12279 cat >conftest.
$ac_ext <<_ACEOF
12282 cat confdefs.h
>>conftest.
$ac_ext
12283 cat >>conftest.
$ac_ext <<_ACEOF
12284 /* end confdefs.h. */
12298 rm -f conftest.
$ac_objext
12299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12300 (eval $ac_compile) 2>conftest.er1
12302 grep -v '^ *+' conftest.er1
>conftest.err
12304 cat conftest.err
>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); } &&
12307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; } &&
12313 { ac_try
='test -s conftest.$ac_objext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12319 bakefile_cv_c_compiler___HP_cc
=yes
12321 echo "$as_me: failed program was:" >&5
12322 sed 's/^/| /' conftest.
$ac_ext >&5
12324 bakefile_cv_c_compiler___HP_cc
=no
12327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12331 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12332 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12334 ac_cpp
='$CPP $CPPFLAGS'
12335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12339 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12352 ac_cpp
='$CPP $CPPFLAGS'
12353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12357 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12358 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12359 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12360 echo $ECHO_N "(cached) $ECHO_C" >&6
12362 cat >conftest.
$ac_ext <<_ACEOF
12365 cat confdefs.h
>>conftest.
$ac_ext
12366 cat >>conftest.
$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12381 rm -f conftest.
$ac_objext
12382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12383 (eval $ac_compile) 2>conftest.er1
12385 grep -v '^ *+' conftest.er1
>conftest.err
12387 cat conftest.err
>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); } &&
12390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; } &&
12396 { ac_try
='test -s conftest.$ac_objext'
12397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12398 (eval $ac_try) 2>&5
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); }; }; then
12402 bakefile_cv_c_compiler___DECC
=yes
12404 echo "$as_me: failed program was:" >&5
12405 sed 's/^/| /' conftest.
$ac_ext >&5
12407 bakefile_cv_c_compiler___DECC
=no
12410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12414 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12415 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12417 ac_cpp
='$CPP $CPPFLAGS'
12418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12422 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12435 ac_cpp
='$CPP $CPPFLAGS'
12436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12440 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12441 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12442 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12443 echo $ECHO_N "(cached) $ECHO_C" >&6
12445 cat >conftest.
$ac_ext <<_ACEOF
12448 cat confdefs.h
>>conftest.
$ac_ext
12449 cat >>conftest.
$ac_ext <<_ACEOF
12450 /* end confdefs.h. */
12464 rm -f conftest.
$ac_objext
12465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12466 (eval $ac_compile) 2>conftest.er1
12468 grep -v '^ *+' conftest.er1
>conftest.err
12470 cat conftest.err
>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); } &&
12473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12475 (eval $ac_try) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; } &&
12479 { ac_try
='test -s conftest.$ac_objext'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12485 bakefile_cv_c_compiler___SUNPRO_C
=yes
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.
$ac_ext >&5
12490 bakefile_cv_c_compiler___SUNPRO_C
=no
12493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12497 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12498 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12500 ac_cpp
='$CPP $CPPFLAGS'
12501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12505 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12519 ac_cpp
='$CPP $CPPFLAGS'
12520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12523 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12524 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12525 # On Suns, sometimes $CPP names a directory.
12526 if test -n "$CPP" && test -d "$CPP"; then
12529 if test -z "$CPP"; then
12530 if test "${ac_cv_prog_CPP+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 # Double quotes because CPP needs to be expanded
12534 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12536 ac_preproc_ok
=false
12537 for ac_c_preproc_warn_flag
in '' yes
12539 # Use a header file that comes with gcc, so configuring glibc
12540 # with a fresh cross-compiler works.
12541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12542 # <limits.h> exists even on freestanding compilers.
12543 # On the NeXT, cc -E runs the code through the compiler's parser,
12544 # not just through cpp. "Syntax error" is here to catch this case.
12545 cat >conftest.
$ac_ext <<_ACEOF
12548 cat confdefs.h
>>conftest.
$ac_ext
12549 cat >>conftest.
$ac_ext <<_ACEOF
12550 /* end confdefs.h. */
12552 # include <limits.h>
12554 # include <assert.h>
12558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } >/dev
/null
; then
12566 if test -s conftest.err
; then
12567 ac_cpp_err
=$ac_c_preproc_warn_flag
12568 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12575 if test -z "$ac_cpp_err"; then
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.
$ac_ext >&5
12581 # Broken: fails on valid input.
12584 rm -f conftest.err conftest.
$ac_ext
12586 # OK, works on sane cases. Now check whether non-existent headers
12587 # can be detected and how.
12588 cat >conftest.
$ac_ext <<_ACEOF
12591 cat confdefs.h
>>conftest.
$ac_ext
12592 cat >>conftest.
$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12594 #include <ac_nonexistent.h>
12596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12597 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12599 grep -v '^ *+' conftest.er1
>conftest.err
12601 cat conftest.err
>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } >/dev
/null
; then
12604 if test -s conftest.err
; then
12605 ac_cpp_err
=$ac_c_preproc_warn_flag
12606 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12613 if test -z "$ac_cpp_err"; then
12614 # Broken: success on invalid input.
12617 echo "$as_me: failed program was:" >&5
12618 sed 's/^/| /' conftest.
$ac_ext >&5
12620 # Passes both tests.
12624 rm -f conftest.err conftest.
$ac_ext
12627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12628 rm -f conftest.err conftest.
$ac_ext
12629 if $ac_preproc_ok; then
12634 ac_cv_prog_CPP
=$CPP
12637 CPP
=$ac_cv_prog_CPP
12639 ac_cv_prog_CPP
=$CPP
12641 echo "$as_me:$LINENO: result: $CPP" >&5
12642 echo "${ECHO_T}$CPP" >&6
12643 ac_preproc_ok
=false
12644 for ac_c_preproc_warn_flag
in '' yes
12646 # Use a header file that comes with gcc, so configuring glibc
12647 # with a fresh cross-compiler works.
12648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12649 # <limits.h> exists even on freestanding compilers.
12650 # On the NeXT, cc -E runs the code through the compiler's parser,
12651 # not just through cpp. "Syntax error" is here to catch this case.
12652 cat >conftest.
$ac_ext <<_ACEOF
12655 cat confdefs.h
>>conftest.
$ac_ext
12656 cat >>conftest.
$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12659 # include <limits.h>
12661 # include <assert.h>
12665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12668 grep -v '^ *+' conftest.er1
>conftest.err
12670 cat conftest.err
>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } >/dev
/null
; then
12673 if test -s conftest.err
; then
12674 ac_cpp_err
=$ac_c_preproc_warn_flag
12675 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12682 if test -z "$ac_cpp_err"; then
12685 echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.
$ac_ext >&5
12688 # Broken: fails on valid input.
12691 rm -f conftest.err conftest.
$ac_ext
12693 # OK, works on sane cases. Now check whether non-existent headers
12694 # can be detected and how.
12695 cat >conftest.
$ac_ext <<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701 #include <ac_nonexistent.h>
12703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12706 grep -v '^ *+' conftest.er1
>conftest.err
12708 cat conftest.err
>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } >/dev
/null
; then
12711 if test -s conftest.err
; then
12712 ac_cpp_err
=$ac_c_preproc_warn_flag
12713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12720 if test -z "$ac_cpp_err"; then
12721 # Broken: success on invalid input.
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.
$ac_ext >&5
12727 # Passes both tests.
12731 rm -f conftest.err conftest.
$ac_ext
12734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12735 rm -f conftest.err conftest.
$ac_ext
12736 if $ac_preproc_ok; then
12739 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12740 See \`config.log' for more details." >&5
12741 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12742 See \`config.log' for more details." >&2;}
12743 { (exit 1); exit 1; }; }
12747 ac_cpp
='$CPP $CPPFLAGS'
12748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12753 echo "$as_me:$LINENO: checking for egrep" >&5
12754 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12755 if test "${ac_cv_prog_egrep+set}" = set; then
12756 echo $ECHO_N "(cached) $ECHO_C" >&6
12758 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12759 then ac_cv_prog_egrep
='grep -E'
12760 else ac_cv_prog_egrep
='egrep'
12763 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12764 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12765 EGREP
=$ac_cv_prog_egrep
12768 if test $ac_cv_c_compiler_gnu = yes; then
12769 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12770 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12771 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12772 echo $ECHO_N "(cached) $ECHO_C" >&6
12774 ac_pattern
="Autoconf.*'x'"
12775 cat >conftest.
$ac_ext <<_ACEOF
12778 cat confdefs.h
>>conftest.
$ac_ext
12779 cat >>conftest.
$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12785 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12786 ac_cv_prog_gcc_traditional
=yes
12788 ac_cv_prog_gcc_traditional
=no
12793 if test $ac_cv_prog_gcc_traditional = no
; then
12794 cat >conftest.
$ac_ext <<_ACEOF
12797 cat confdefs.h
>>conftest.
$ac_ext
12798 cat >>conftest.
$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12800 #include <termio.h>
12803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12804 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12805 ac_cv_prog_gcc_traditional
=yes
12811 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12812 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12813 if test $ac_cv_prog_gcc_traditional = yes; then
12814 CC
="$CC -traditional"
12822 ac_cpp
='$CXXCPP $CPPFLAGS'
12823 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12824 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12825 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12828 CXXFLAGS
=${CXXFLAGS:=}
12833 ac_cpp
='$CXXCPP $CPPFLAGS'
12834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12837 if test -n "$ac_tool_prefix"; then
12838 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12841 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12842 echo "$as_me:$LINENO: checking for $ac_word" >&5
12843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12844 if test "${ac_cv_prog_CXX+set}" = set; then
12845 echo $ECHO_N "(cached) $ECHO_C" >&6
12847 if test -n "$CXX"; then
12848 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12851 for as_dir
in $PATH
12854 test -z "$as_dir" && as_dir
=.
12855 for ac_exec_ext
in '' $ac_executable_extensions; do
12856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12857 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12866 CXX
=$ac_cv_prog_CXX
12867 if test -n "$CXX"; then
12868 echo "$as_me:$LINENO: result: $CXX" >&5
12869 echo "${ECHO_T}$CXX" >&6
12871 echo "$as_me:$LINENO: result: no" >&5
12872 echo "${ECHO_T}no" >&6
12875 test -n "$CXX" && break
12878 if test -z "$CXX"; then
12880 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12882 # Extract the first word of "$ac_prog", so it can be a program name with args.
12883 set dummy
$ac_prog; ac_word
=$2
12884 echo "$as_me:$LINENO: checking for $ac_word" >&5
12885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12886 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6
12889 if test -n "$ac_ct_CXX"; then
12890 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12893 for as_dir
in $PATH
12896 test -z "$as_dir" && as_dir
=.
12897 for ac_exec_ext
in '' $ac_executable_extensions; do
12898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12899 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12908 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12909 if test -n "$ac_ct_CXX"; then
12910 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12911 echo "${ECHO_T}$ac_ct_CXX" >&6
12913 echo "$as_me:$LINENO: result: no" >&5
12914 echo "${ECHO_T}no" >&6
12917 test -n "$ac_ct_CXX" && break
12919 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12925 # Provide some information about the compiler.
12926 echo "$as_me:$LINENO:" \
12927 "checking for C++ compiler version" >&5
12928 ac_compiler
=`set X $ac_compile; echo $2`
12929 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12930 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }
12934 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12935 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }
12939 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12940 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }
12945 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12946 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12947 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 cat >conftest.
$ac_ext <<_ACEOF
12953 cat confdefs.h
>>conftest.
$ac_ext
12954 cat >>conftest.
$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12968 rm -f conftest.
$ac_objext
12969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12970 (eval $ac_compile) 2>conftest.er1
12972 grep -v '^ *+' conftest.er1
>conftest.err
12974 cat conftest.err
>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } &&
12977 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try
='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 ac_compiler_gnu
=yes
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.
$ac_ext >&5
12996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12997 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13000 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13001 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13002 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13003 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13004 ac_save_CXXFLAGS
=$CXXFLAGS
13006 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13007 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13008 if test "${ac_cv_prog_cxx_g+set}" = set; then
13009 echo $ECHO_N "(cached) $ECHO_C" >&6
13011 cat >conftest.
$ac_ext <<_ACEOF
13014 cat confdefs.h
>>conftest.
$ac_ext
13015 cat >>conftest.
$ac_ext <<_ACEOF
13016 /* end confdefs.h. */
13026 rm -f conftest.
$ac_objext
13027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13028 (eval $ac_compile) 2>conftest.er1
13030 grep -v '^ *+' conftest.er1
>conftest.err
13032 cat conftest.err
>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } &&
13035 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; } &&
13041 { ac_try
='test -s conftest.$ac_objext'
13042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13043 (eval $ac_try) 2>&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); }; }; then
13047 ac_cv_prog_cxx_g
=yes
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.
$ac_ext >&5
13052 ac_cv_prog_cxx_g
=no
13054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13056 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13057 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13058 if test "$ac_test_CXXFLAGS" = set; then
13059 CXXFLAGS
=$ac_save_CXXFLAGS
13060 elif test $ac_cv_prog_cxx_g = yes; then
13061 if test "$GXX" = yes; then
13067 if test "$GXX" = yes; then
13073 for ac_declaration
in \
13075 'extern "C" void std::exit (int) throw (); using std::exit;' \
13076 'extern "C" void std::exit (int); using std::exit;' \
13077 'extern "C" void exit (int) throw ();' \
13078 'extern "C" void exit (int);' \
13081 cat >conftest.
$ac_ext <<_ACEOF
13084 cat confdefs.h
>>conftest.
$ac_ext
13085 cat >>conftest.
$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13088 #include <stdlib.h>
13097 rm -f conftest.
$ac_objext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13099 (eval $ac_compile) 2>conftest.er1
13101 grep -v '^ *+' conftest.er1
>conftest.err
13103 cat conftest.err
>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; } &&
13112 { ac_try
='test -s conftest.$ac_objext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.
$ac_ext >&5
13125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13126 cat >conftest.
$ac_ext <<_ACEOF
13129 cat confdefs.h
>>conftest.
$ac_ext
13130 cat >>conftest.
$ac_ext <<_ACEOF
13131 /* end confdefs.h. */
13141 rm -f conftest.
$ac_objext
13142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13143 (eval $ac_compile) 2>conftest.er1
13145 grep -v '^ *+' conftest.er1
>conftest.err
13147 cat conftest.err
>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } &&
13150 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; } &&
13156 { ac_try
='test -s conftest.$ac_objext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13164 echo "$as_me: failed program was:" >&5
13165 sed 's/^/| /' conftest.
$ac_ext >&5
13168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13171 if test -n "$ac_declaration"; then
13172 echo '#ifdef __cplusplus' >>confdefs.h
13173 echo $ac_declaration >>confdefs.h
13174 echo '#endif' >>confdefs.h
13178 ac_cpp
='$CXXCPP $CPPFLAGS'
13179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13186 ac_cpp
='$CXXCPP $CPPFLAGS'
13187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13191 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13192 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13193 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13194 echo $ECHO_N "(cached) $ECHO_C" >&6
13196 cat >conftest.
$ac_ext <<_ACEOF
13199 cat confdefs.h
>>conftest.
$ac_ext
13200 cat >>conftest.
$ac_ext <<_ACEOF
13201 /* end confdefs.h. */
13207 #ifndef __INTEL_COMPILER
13215 rm -f conftest.
$ac_objext
13216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13217 (eval $ac_compile) 2>conftest.er1
13219 grep -v '^ *+' conftest.er1
>conftest.err
13221 cat conftest.err
>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } &&
13224 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; } &&
13230 { ac_try
='test -s conftest.$ac_objext'
13231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232 (eval $ac_try) 2>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; }; then
13236 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13238 echo "$as_me: failed program was:" >&5
13239 sed 's/^/| /' conftest.
$ac_ext >&5
13241 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13248 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13249 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13251 ac_cpp
='$CXXCPP $CPPFLAGS'
13252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13256 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13263 if test "x$GCXX" != "xyes"; then
13264 if test "xCXX" = "xC"; then
13265 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13266 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13267 if test "${bakefile_cv_cxx_exto+set}" = set; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 cat >conftest.
$ac_ext <<_ACEOF
13273 cat confdefs.h
>>conftest.
$ac_ext
13274 cat >>conftest.
$ac_ext <<_ACEOF
13275 /* end confdefs.h. */
13285 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13287 (eval $ac_compile) 2>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }; then
13291 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13293 conftest.
$ac_ext.o
)
13294 bakefile_cv_cxx_exto
="-ext o"
13301 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13302 See \`config.log' for more details." >&5
13303 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13304 See \`config.log' for more details." >&2;}
13305 { (exit 1); exit 1; }; }
13309 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13312 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13313 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13314 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13315 if test "cxx" = "c"; then
13316 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13318 if test "cxx" = "cxx"; then
13319 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13323 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13324 unset ac_cv_prog_cc_g
13325 ac_test_CFLAGS
=${CFLAGS+set}
13326 ac_save_CFLAGS
=$CFLAGS
13328 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13329 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13330 if test "${ac_cv_prog_cc_g+set}" = set; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 cat >conftest.
$ac_ext <<_ACEOF
13336 cat confdefs.h
>>conftest.
$ac_ext
13337 cat >>conftest.
$ac_ext <<_ACEOF
13338 /* end confdefs.h. */
13348 rm -f conftest.
$ac_objext
13349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13350 (eval $ac_compile) 2>conftest.er1
13352 grep -v '^ *+' conftest.er1
>conftest.err
13354 cat conftest.err
>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } &&
13357 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; } &&
13363 { ac_try
='test -s conftest.$ac_objext'
13364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13365 (eval $ac_try) 2>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); }; }; then
13369 ac_cv_prog_cc_g
=yes
13371 echo "$as_me: failed program was:" >&5
13372 sed 's/^/| /' conftest.
$ac_ext >&5
13376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13378 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13379 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13380 if test "$ac_test_CFLAGS" = set; then
13381 CFLAGS
=$ac_save_CFLAGS
13382 elif test $ac_cv_prog_cc_g = yes; then
13383 if test "$GCC" = yes; then
13389 if test "$GCC" = yes; then
13401 ac_cpp
='$CXXCPP $CPPFLAGS'
13402 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13403 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13404 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13406 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13407 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13408 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13409 echo $ECHO_N "(cached) $ECHO_C" >&6
13411 cat >conftest.
$ac_ext <<_ACEOF
13414 cat confdefs.h
>>conftest.
$ac_ext
13415 cat >>conftest.
$ac_ext <<_ACEOF
13416 /* end confdefs.h. */
13429 rm -f conftest.
$ac_objext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13431 (eval $ac_compile) 2>conftest.er1
13433 grep -v '^ *+' conftest.er1
>conftest.err
13435 cat conftest.err
>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } &&
13438 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440 (eval $ac_try) 2>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); }; } &&
13444 { ac_try
='test -s conftest.$ac_objext'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; }; then
13450 bakefile_compiler_xlc
=yes
13452 echo "$as_me: failed program was:" >&5
13453 sed 's/^/| /' conftest.
$ac_ext >&5
13455 bakefile_compiler_xlc
=no
13457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13458 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13461 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13462 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13464 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13466 ac_cpp
='$CXXCPP $CPPFLAGS'
13467 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13468 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13469 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13476 ac_cpp
='$CXXCPP $CPPFLAGS'
13477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13481 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13482 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13483 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 cat >conftest.
$ac_ext <<_ACEOF
13489 cat confdefs.h
>>conftest.
$ac_ext
13490 cat >>conftest.
$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13504 rm -f conftest.
$ac_objext
13505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13506 (eval $ac_compile) 2>conftest.er1
13508 grep -v '^ *+' conftest.er1
>conftest.err
13510 cat conftest.err
>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } &&
13513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13515 (eval $ac_try) 2>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); }; } &&
13519 { ac_try
='test -s conftest.$ac_objext'
13520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13521 (eval $ac_try) 2>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); }; }; then
13525 bakefile_compiler_mwerks
=yes
13527 echo "$as_me: failed program was:" >&5
13528 sed 's/^/| /' conftest.
$ac_ext >&5
13530 bakefile_compiler_mwerks
=no
13532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13533 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13536 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13537 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13539 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13541 ac_cpp
='$CXXCPP $CPPFLAGS'
13542 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13543 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13544 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13548 ac_cpp
='$CXXCPP $CPPFLAGS'
13549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13553 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13554 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13555 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13556 echo $ECHO_N "(cached) $ECHO_C" >&6
13558 cat >conftest.
$ac_ext <<_ACEOF
13561 cat confdefs.h
>>conftest.
$ac_ext
13562 cat >>conftest.
$ac_ext <<_ACEOF
13563 /* end confdefs.h. */
13576 rm -f conftest.
$ac_objext
13577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13578 (eval $ac_compile) 2>conftest.er1
13580 grep -v '^ *+' conftest.er1
>conftest.err
13582 cat conftest.err
>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); } &&
13585 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; } &&
13591 { ac_try
='test -s conftest.$ac_objext'
13592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13593 (eval $ac_try) 2>&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 bakefile_compiler_xlc
=yes
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.
$ac_ext >&5
13602 bakefile_compiler_xlc
=no
13604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13605 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13608 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13609 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13611 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13613 ac_cpp
='$CXXCPP $CPPFLAGS'
13614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13625 ac_cpp
='$CXXCPP $CPPFLAGS'
13626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13630 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13631 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13632 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 cat >conftest.
$ac_ext <<_ACEOF
13638 cat confdefs.h
>>conftest.
$ac_ext
13639 cat >>conftest.
$ac_ext <<_ACEOF
13640 /* end confdefs.h. */
13646 #ifndef _SGI_COMPILER_VERSION
13654 rm -f conftest.
$ac_objext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13656 (eval $ac_compile) 2>conftest.er1
13658 grep -v '^ *+' conftest.er1
>conftest.err
13660 cat conftest.err
>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } &&
13663 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13665 (eval $ac_try) 2>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); }; } &&
13669 { ac_try
='test -s conftest.$ac_objext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13675 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.
$ac_ext >&5
13680 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13687 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13688 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13690 ac_cpp
='$CXXCPP $CPPFLAGS'
13691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13695 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13708 ac_cpp
='$CXXCPP $CPPFLAGS'
13709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13713 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13714 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13715 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13718 cat >conftest.
$ac_ext <<_ACEOF
13721 cat confdefs.h
>>conftest.
$ac_ext
13722 cat >>conftest.
$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13737 rm -f conftest.
$ac_objext
13738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13739 (eval $ac_compile) 2>conftest.er1
13741 grep -v '^ *+' conftest.er1
>conftest.err
13743 cat conftest.err
>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } &&
13746 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; } &&
13752 { ac_try
='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13758 bakefile_cv_cxx_compiler___HP_aCC
=yes
13760 echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.
$ac_ext >&5
13763 bakefile_cv_cxx_compiler___HP_aCC
=no
13766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13770 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13771 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13773 ac_cpp
='$CXXCPP $CPPFLAGS'
13774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13778 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13791 ac_cpp
='$CXXCPP $CPPFLAGS'
13792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13796 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13797 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13798 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 cat >conftest.
$ac_ext <<_ACEOF
13804 cat confdefs.h
>>conftest.
$ac_ext
13805 cat >>conftest.
$ac_ext <<_ACEOF
13806 /* end confdefs.h. */
13820 rm -f conftest.
$ac_objext
13821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13822 (eval $ac_compile) 2>conftest.er1
13824 grep -v '^ *+' conftest.er1
>conftest.err
13826 cat conftest.err
>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); } &&
13829 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; } &&
13835 { ac_try
='test -s conftest.$ac_objext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 bakefile_cv_cxx_compiler___DECCXX
=yes
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.
$ac_ext >&5
13846 bakefile_cv_cxx_compiler___DECCXX
=no
13849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13853 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
13854 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
13856 ac_cpp
='$CXXCPP $CPPFLAGS'
13857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13861 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
13874 ac_cpp
='$CXXCPP $CPPFLAGS'
13875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13879 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13880 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13881 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13882 echo $ECHO_N "(cached) $ECHO_C" >&6
13884 cat >conftest.
$ac_ext <<_ACEOF
13887 cat confdefs.h
>>conftest.
$ac_ext
13888 cat >>conftest.
$ac_ext <<_ACEOF
13889 /* end confdefs.h. */
13895 #ifndef __SUNPRO_CC
13903 rm -f conftest.
$ac_objext
13904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13905 (eval $ac_compile) 2>conftest.er1
13907 grep -v '^ *+' conftest.er1
>conftest.err
13909 cat conftest.err
>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } &&
13912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; } &&
13918 { ac_try
='test -s conftest.$ac_objext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.
$ac_ext >&5
13929 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13936 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13937 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13939 ac_cpp
='$CXXCPP $CPPFLAGS'
13940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13944 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13958 ac_cpp
='$CPP $CPPFLAGS'
13959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13964 if test -n "$ac_tool_prefix"; then
13965 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13966 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13967 echo "$as_me:$LINENO: checking for $ac_word" >&5
13968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13969 if test "${ac_cv_prog_RANLIB+set}" = set; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13972 if test -n "$RANLIB"; then
13973 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13976 for as_dir
in $PATH
13979 test -z "$as_dir" && as_dir
=.
13980 for ac_exec_ext
in '' $ac_executable_extensions; do
13981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13982 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13991 RANLIB
=$ac_cv_prog_RANLIB
13992 if test -n "$RANLIB"; then
13993 echo "$as_me:$LINENO: result: $RANLIB" >&5
13994 echo "${ECHO_T}$RANLIB" >&6
13996 echo "$as_me:$LINENO: result: no" >&5
13997 echo "${ECHO_T}no" >&6
14001 if test -z "$ac_cv_prog_RANLIB"; then
14002 ac_ct_RANLIB
=$RANLIB
14003 # Extract the first word of "ranlib", so it can be a program name with args.
14004 set dummy ranlib
; ac_word
=$2
14005 echo "$as_me:$LINENO: checking for $ac_word" >&5
14006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14007 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 if test -n "$ac_ct_RANLIB"; then
14011 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14014 for as_dir
in $PATH
14017 test -z "$as_dir" && as_dir
=.
14018 for ac_exec_ext
in '' $ac_executable_extensions; do
14019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14020 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14027 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14030 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14031 if test -n "$ac_ct_RANLIB"; then
14032 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14033 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14035 echo "$as_me:$LINENO: result: no" >&5
14036 echo "${ECHO_T}no" >&6
14039 RANLIB
=$ac_ct_RANLIB
14041 RANLIB
="$ac_cv_prog_RANLIB"
14045 if test -n "$ac_tool_prefix"; then
14046 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14047 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14048 echo "$as_me:$LINENO: checking for $ac_word" >&5
14049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14050 if test "${ac_cv_prog_AR+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 if test -n "$AR"; then
14054 ac_cv_prog_AR
="$AR" # Let the user override the test.
14056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14057 for as_dir
in $PATH
14060 test -z "$as_dir" && as_dir
=.
14061 for ac_exec_ext
in '' $ac_executable_extensions; do
14062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14063 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14073 if test -n "$AR"; then
14074 echo "$as_me:$LINENO: result: $AR" >&5
14075 echo "${ECHO_T}$AR" >&6
14077 echo "$as_me:$LINENO: result: no" >&5
14078 echo "${ECHO_T}no" >&6
14082 if test -z "$ac_cv_prog_AR"; then
14084 # Extract the first word of "ar", so it can be a program name with args.
14085 set dummy
ar; ac_word
=$2
14086 echo "$as_me:$LINENO: checking for $ac_word" >&5
14087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14088 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14089 echo $ECHO_N "(cached) $ECHO_C" >&6
14091 if test -n "$ac_ct_AR"; then
14092 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14095 for as_dir
in $PATH
14098 test -z "$as_dir" && as_dir
=.
14099 for ac_exec_ext
in '' $ac_executable_extensions; do
14100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14101 ac_cv_prog_ac_ct_AR
="ar"
14102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14110 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14111 if test -n "$ac_ct_AR"; then
14112 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14113 echo "${ECHO_T}$ac_ct_AR" >&6
14115 echo "$as_me:$LINENO: result: no" >&5
14116 echo "${ECHO_T}no" >&6
14121 AR
="$ac_cv_prog_AR"
14124 if test "x$AR" = "x" ; then
14125 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14126 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14127 { (exit 1); exit 1; }; }
14130 # Find a good install program. We prefer a C program (faster),
14131 # so one script is as good as another. But avoid the broken or
14132 # incompatible versions:
14133 # SysV /etc/install, /usr/sbin/install
14134 # SunOS /usr/etc/install
14135 # IRIX /sbin/install
14137 # AmigaOS /C/install, which installs bootblocks on floppy discs
14138 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14139 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14140 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14141 # OS/2's system install, which has a completely different semantic
14142 # ./install, which can be erroneously created by make from ./install.sh.
14143 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14144 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14145 if test -z "$INSTALL"; then
14146 if test "${ac_cv_path_install+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14150 for as_dir
in $PATH
14153 test -z "$as_dir" && as_dir
=.
14154 # Account for people who put trailing slashes in PATH elements.
14156 .
/ | .
// | /cC
/* | \
14157 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14158 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14161 # OSF1 and SCO ODT 3.0 have their own names for install.
14162 # Don't use installbsd from OSF since it installs stuff as root
14164 for ac_prog
in ginstall scoinst
install; do
14165 for ac_exec_ext
in '' $ac_executable_extensions; do
14166 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14167 if test $ac_prog = install &&
14168 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14169 # AIX install. It has an incompatible calling convention.
14171 elif test $ac_prog = install &&
14172 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14173 # program-specific install script used by HP pwplus--don't use.
14176 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14188 if test "${ac_cv_path_install+set}" = set; then
14189 INSTALL
=$ac_cv_path_install
14191 # As a last resort, use the slow shell script. We don't cache a
14192 # path for INSTALL within a source directory, because that will
14193 # break other packages using the cache if that directory is
14194 # removed, or if the path is relative.
14195 INSTALL
=$ac_install_sh
14198 echo "$as_me:$LINENO: result: $INSTALL" >&5
14199 echo "${ECHO_T}$INSTALL" >&6
14201 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14202 # It thinks the first close brace ends the variable substitution.
14203 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14205 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14207 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14213 ?
:* ) # Drive letter, considered as absolute.
14216 INSTALL
=`pwd`/${INSTALL} ;;
14223 INSTALL_PROGRAM
="cp -fp"
14224 INSTALL_DATA
="cp -fp"
14230 if test -n "$ac_tool_prefix"; then
14231 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14232 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14233 echo "$as_me:$LINENO: checking for $ac_word" >&5
14234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14235 if test "${ac_cv_prog_STRIP+set}" = set; then
14236 echo $ECHO_N "(cached) $ECHO_C" >&6
14238 if test -n "$STRIP"; then
14239 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14242 for as_dir
in $PATH
14245 test -z "$as_dir" && as_dir
=.
14246 for ac_exec_ext
in '' $ac_executable_extensions; do
14247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14248 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14257 STRIP
=$ac_cv_prog_STRIP
14258 if test -n "$STRIP"; then
14259 echo "$as_me:$LINENO: result: $STRIP" >&5
14260 echo "${ECHO_T}$STRIP" >&6
14262 echo "$as_me:$LINENO: result: no" >&5
14263 echo "${ECHO_T}no" >&6
14267 if test -z "$ac_cv_prog_STRIP"; then
14269 # Extract the first word of "strip", so it can be a program name with args.
14270 set dummy strip
; ac_word
=$2
14271 echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14273 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 if test -n "$ac_ct_STRIP"; then
14277 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14280 for as_dir
in $PATH
14283 test -z "$as_dir" && as_dir
=.
14284 for ac_exec_ext
in '' $ac_executable_extensions; do
14285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14286 ac_cv_prog_ac_ct_STRIP
="strip"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14293 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14296 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14297 if test -n "$ac_ct_STRIP"; then
14298 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14299 echo "${ECHO_T}$ac_ct_STRIP" >&6
14301 echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6
14307 STRIP
="$ac_cv_prog_STRIP"
14311 if test "$wxUSE_WINE" = "yes"; then
14312 if test -n "$ac_tool_prefix"; then
14313 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14314 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14315 echo "$as_me:$LINENO: checking for $ac_word" >&5
14316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14317 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 if test -n "$RESCOMP"; then
14321 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14324 for as_dir
in $PATH
14327 test -z "$as_dir" && as_dir
=.
14328 for ac_exec_ext
in '' $ac_executable_extensions; do
14329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14330 ac_cv_prog_RESCOMP
="${ac_tool_prefix}wrc"
14331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14339 RESCOMP
=$ac_cv_prog_RESCOMP
14340 if test -n "$RESCOMP"; then
14341 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14342 echo "${ECHO_T}$RESCOMP" >&6
14344 echo "$as_me:$LINENO: result: no" >&5
14345 echo "${ECHO_T}no" >&6
14349 if test -z "$ac_cv_prog_RESCOMP"; then
14350 ac_ct_RESCOMP
=$RESCOMP
14351 # Extract the first word of "wrc", so it can be a program name with args.
14352 set dummy wrc
; ac_word
=$2
14353 echo "$as_me:$LINENO: checking for $ac_word" >&5
14354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14355 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 if test -n "$ac_ct_RESCOMP"; then
14359 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
14361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14362 for as_dir
in $PATH
14365 test -z "$as_dir" && as_dir
=.
14366 for ac_exec_ext
in '' $ac_executable_extensions; do
14367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14368 ac_cv_prog_ac_ct_RESCOMP
="wrc"
14369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14377 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14378 if test -n "$ac_ct_RESCOMP"; then
14379 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14380 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14382 echo "$as_me:$LINENO: result: no" >&5
14383 echo "${ECHO_T}no" >&6
14386 RESCOMP
=$ac_ct_RESCOMP
14388 RESCOMP
="$ac_cv_prog_RESCOMP"
14393 *-*-cygwin* | *-*-mingw32* )
14394 if test -n "$ac_tool_prefix"; then
14395 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14396 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14397 echo "$as_me:$LINENO: checking for $ac_word" >&5
14398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14399 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 if test -n "$RESCOMP"; then
14403 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14406 for as_dir
in $PATH
14409 test -z "$as_dir" && as_dir
=.
14410 for ac_exec_ext
in '' $ac_executable_extensions; do
14411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14412 ac_cv_prog_RESCOMP
="${ac_tool_prefix}windres"
14413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14421 RESCOMP
=$ac_cv_prog_RESCOMP
14422 if test -n "$RESCOMP"; then
14423 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14424 echo "${ECHO_T}$RESCOMP" >&6
14426 echo "$as_me:$LINENO: result: no" >&5
14427 echo "${ECHO_T}no" >&6
14431 if test -z "$ac_cv_prog_RESCOMP"; then
14432 ac_ct_RESCOMP
=$RESCOMP
14433 # Extract the first word of "windres", so it can be a program name with args.
14434 set dummy windres
; ac_word
=$2
14435 echo "$as_me:$LINENO: checking for $ac_word" >&5
14436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14437 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14438 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 if test -n "$ac_ct_RESCOMP"; then
14441 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
14443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14444 for as_dir
in $PATH
14447 test -z "$as_dir" && as_dir
=.
14448 for ac_exec_ext
in '' $ac_executable_extensions; do
14449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14450 ac_cv_prog_ac_ct_RESCOMP
="windres"
14451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14459 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14460 if test -n "$ac_ct_RESCOMP"; then
14461 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14462 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14464 echo "$as_me:$LINENO: result: no" >&5
14465 echo "${ECHO_T}no" >&6
14468 RESCOMP
=$ac_ct_RESCOMP
14470 RESCOMP
="$ac_cv_prog_RESCOMP"
14473 if test -n "$ac_tool_prefix"; then
14474 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14475 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14476 echo "$as_me:$LINENO: checking for $ac_word" >&5
14477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14478 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 if test -n "$DLLTOOL"; then
14482 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14485 for as_dir
in $PATH
14488 test -z "$as_dir" && as_dir
=.
14489 for ac_exec_ext
in '' $ac_executable_extensions; do
14490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14491 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14500 DLLTOOL
=$ac_cv_prog_DLLTOOL
14501 if test -n "$DLLTOOL"; then
14502 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14503 echo "${ECHO_T}$DLLTOOL" >&6
14505 echo "$as_me:$LINENO: result: no" >&5
14506 echo "${ECHO_T}no" >&6
14510 if test -z "$ac_cv_prog_DLLTOOL"; then
14511 ac_ct_DLLTOOL
=$DLLTOOL
14512 # Extract the first word of "dlltool", so it can be a program name with args.
14513 set dummy dlltool
; ac_word
=$2
14514 echo "$as_me:$LINENO: checking for $ac_word" >&5
14515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14516 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 if test -n "$ac_ct_DLLTOOL"; then
14520 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14523 for as_dir
in $PATH
14526 test -z "$as_dir" && as_dir
=.
14527 for ac_exec_ext
in '' $ac_executable_extensions; do
14528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14529 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14538 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14539 if test -n "$ac_ct_DLLTOOL"; then
14540 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14541 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14543 echo "$as_me:$LINENO: result: no" >&5
14544 echo "${ECHO_T}no" >&6
14547 DLLTOOL
=$ac_ct_DLLTOOL
14549 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14556 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14557 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14558 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14563 egrep -s GNU
> /dev
/null
); then
14564 wx_cv_prog_makeisgnu
="yes"
14566 wx_cv_prog_makeisgnu
="no"
14570 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14571 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14573 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14581 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14582 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14583 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14584 if test "${wx_cv_prog_makevpath+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 cat - << EOF > confMake
14594 if test ! -d sub
; then
14597 echo dummy
> sub
/file
14598 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14600 rm -f sub
/file check final_file confMake
14602 if test "$RESULT" = 0; then
14603 wx_cv_prog_makevpath
="yes"
14605 wx_cv_prog_makevpath
="no"
14609 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14610 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14612 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14613 { { echo "$as_me:$LINENO: error:
14614 You need a make-utility that is able to use the variable
14616 If your version of make does not support VPATH correctly,
14617 please install GNU-make (possibly as gmake), and start
14618 configure with the following command:
14619 export MAKE=gmake; ./configure for sh-type shells
14620 setenv MAKE gmake; ./configure for csh-type shells
14621 Also please do remember to use gmake in this case every time
14622 you are trying to compile.
14624 echo "$as_me: error:
14625 You need a make-utility that is able to use the variable
14627 If your version of make does not support VPATH correctly,
14628 please install GNU-make (possibly as gmake), and start
14629 configure with the following command:
14630 export MAKE=gmake; ./configure for sh-type shells
14631 setenv MAKE gmake; ./configure for csh-type shells
14632 Also please do remember to use gmake in this case every time
14633 you are trying to compile.
14635 { (exit 1); exit 1; }; }
14637 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14638 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14640 if test "$LN_S" = "ln -s"; then
14641 echo "$as_me:$LINENO: result: yes" >&5
14642 echo "${ECHO_T}yes" >&6
14644 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14645 echo "${ECHO_T}no, using $LN_S" >&6
14650 for ac_prog
in lndir
14652 # Extract the first word of "$ac_prog", so it can be a program name with args.
14653 set dummy
$ac_prog; ac_word
=$2
14654 echo "$as_me:$LINENO: checking for $ac_word" >&5
14655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14656 if test "${ac_cv_prog_LNDIR+set}" = set; then
14657 echo $ECHO_N "(cached) $ECHO_C" >&6
14659 if test -n "$LNDIR"; then
14660 ac_cv_prog_LNDIR
="$LNDIR" # Let the user override the test.
14662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14663 for as_dir
in $PATH
14666 test -z "$as_dir" && as_dir
=.
14667 for ac_exec_ext
in '' $ac_executable_extensions; do
14668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14669 ac_cv_prog_LNDIR
="$ac_prog"
14670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14678 LNDIR
=$ac_cv_prog_LNDIR
14679 if test -n "$LNDIR"; then
14680 echo "$as_me:$LINENO: result: $LNDIR" >&5
14681 echo "${ECHO_T}$LNDIR" >&6
14683 echo "$as_me:$LINENO: result: no" >&5
14684 echo "${ECHO_T}no" >&6
14687 test -n "$LNDIR" && break
14689 test -n "$LNDIR" || LNDIR
="$CP_PR"
14695 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14696 CXXFLAGS
="$CXXFLAGS -qunique"
14700 powerpc
-*-darwin* )
14701 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14702 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14703 cat >conftest.
$ac_ext <<_ACEOF
14706 cat confdefs.h
>>conftest.
$ac_ext
14707 cat >>conftest.
$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14713 #ifndef __POWERPC__
14714 choke me for lack of PowerPC
14721 rm -f conftest.
$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14725 grep -v '^ *+' conftest.er1
>conftest.err
14727 cat conftest.err
>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try
='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 echo "$as_me:$LINENO: result: yes" >&5
14743 echo "${ECHO_T}yes" >&6
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.
$ac_ext >&5
14748 echo "$as_me:$LINENO: result: no" >&5
14749 echo "${ECHO_T}no" >&6
14750 cat >>confdefs.h
<<\_ACEOF
14751 #define __POWERPC__ 1
14756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14762 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14763 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14764 cat >conftest.
$ac_ext <<_ACEOF
14767 cat confdefs.h
>>conftest.
$ac_ext
14768 cat >>conftest.
$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770 #include <CoreFoundation/CFBase.h>
14780 rm -f conftest.
$ac_objext
14781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14782 (eval $ac_compile) 2>conftest.er1
14784 grep -v '^ *+' conftest.er1
>conftest.err
14786 cat conftest.err
>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } &&
14789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14791 (eval $ac_try) 2>&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); }; } &&
14795 { ac_try
='test -s conftest.$ac_objext'
14796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14797 (eval $ac_try) 2>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); }; }; then
14801 echo "$as_me:$LINENO: result: yes" >&5
14802 echo "${ECHO_T}yes" >&6
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.
$ac_ext >&5
14807 echo "$as_me:$LINENO: result: no" >&5
14808 echo "${ECHO_T}no" >&6
14809 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14810 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14811 cat >conftest.
$ac_ext <<_ACEOF
14814 cat confdefs.h
>>conftest.
$ac_ext
14815 cat >>conftest.
$ac_ext <<_ACEOF
14816 /* end confdefs.h. */
14817 #define __CF_USE_FRAMEWORK_INCLUDES__
14818 #include <CoreFoundation/CFBase.h>
14828 rm -f conftest.
$ac_objext
14829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14830 (eval $ac_compile) 2>conftest.er1
14832 grep -v '^ *+' conftest.er1
>conftest.err
14834 cat conftest.err
>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); } &&
14837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14839 (eval $ac_try) 2>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }; } &&
14843 { ac_try
='test -s conftest.$ac_objext'
14844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14845 (eval $ac_try) 2>&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); }; }; then
14849 echo "$as_me:$LINENO: result: yes" >&5
14850 echo "${ECHO_T}yes" >&6
14851 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14853 echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.
$ac_ext >&5
14856 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14857 See \`config.log' for more details." >&5
14858 echo "$as_me: error: no. CoreFoundation not available.
14859 See \`config.log' for more details." >&2;}
14860 { (exit 1); exit 1; }; }
14863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14872 *-pc-os2_emx | *-pc-os2-emx )
14873 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14874 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14875 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14876 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14877 echo $ECHO_N "(cached) $ECHO_C" >&6
14879 ac_check_lib_save_LIBS
=$LIBS
14880 LIBS
="-lcExt $LIBS"
14881 cat >conftest.
$ac_ext <<_ACEOF
14884 cat confdefs.h
>>conftest.
$ac_ext
14885 cat >>conftest.
$ac_ext <<_ACEOF
14886 /* end confdefs.h. */
14888 /* Override any gcc2 internal prototype to avoid an error. */
14892 /* We use char because int might match the return type of a gcc2
14893 builtin and then its argument prototype would still apply. */
14903 rm -f conftest.
$ac_objext conftest
$ac_exeext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14905 (eval $ac_link) 2>conftest.er1
14907 grep -v '^ *+' conftest.er1
>conftest.err
14909 cat conftest.err
>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; } &&
14918 { ac_try
='test -s conftest$ac_exeext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14924 ac_cv_lib_cExt_drand48
=yes
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.
$ac_ext >&5
14929 ac_cv_lib_cExt_drand48
=no
14931 rm -f conftest.err conftest.
$ac_objext \
14932 conftest
$ac_exeext conftest.
$ac_ext
14933 LIBS
=$ac_check_lib_save_LIBS
14935 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14936 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14937 if test $ac_cv_lib_cExt_drand48 = yes; then
14938 LIBS
="$LIBS -lcExt"
14942 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
14944 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14945 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14946 if test "${wx_cv_gccversion+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14950 if test "$cross_compiling" = yes; then
14951 wx_cv_gccversion
="EMX2"
14954 cat >conftest.
$ac_ext <<_ACEOF
14957 cat confdefs.h
>>conftest.
$ac_ext
14958 cat >>conftest.
$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14965 FILE *f=fopen("conftestval", "w");
14970 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14972 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14982 rm -f conftest
$ac_exeext
14983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14984 (eval $ac_link) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; }; then
14993 wx_cv_gccversion
=`cat conftestval`
14995 echo "$as_me: program exited with status $ac_status" >&5
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
14999 ( exit $ac_status )
15000 wx_cv_gccversion
="EMX2"
15002 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15006 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15007 echo "${ECHO_T}$wx_cv_gccversion" >&6
15008 if test "$wx_cv_gccversion" = "EMX2"; then
15009 LIBS
="$LIBS -lstdcpp"
15010 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15012 if test "$wx_cv_gccversion" = "EMX3"; then
15013 LIBS
="$LIBS -lstdcxx -lgcc"
15014 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15016 LIBS
="$LIBS -lstdc++"
15019 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15020 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15021 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15031 ac_cpp
='$CXXCPP $CPPFLAGS'
15032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15037 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15038 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15039 if test "${ac_cv_string_strcasecmp+set}" = set; then
15040 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 cat >conftest.
$ac_ext <<_ACEOF
15046 cat confdefs.h
>>conftest.
$ac_ext
15047 cat >>conftest.
$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15050 #include <string.h>
15056 strcasecmp("foo", "bar");
15062 rm -f conftest.
$ac_objext conftest
$ac_exeext
15063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15064 (eval $ac_link) 2>conftest.er1
15066 grep -v '^ *+' conftest.er1
>conftest.err
15068 cat conftest.err
>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } &&
15071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; } &&
15077 { ac_try
='test -s conftest$ac_exeext'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15083 ac_cv_string_strcasecmp
=yes
15085 echo "$as_me: failed program was:" >&5
15086 sed 's/^/| /' conftest.
$ac_ext >&5
15088 ac_cv_string_strcasecmp
=no
15091 rm -f conftest.err conftest.
$ac_objext \
15092 conftest
$ac_exeext conftest.
$ac_ext
15095 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15096 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15098 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15099 cat >>confdefs.h
<<\_ACEOF
15100 #define HAVE_STRCASECMP_IN_STRING_H 1
15104 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15105 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15106 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 cat >conftest.
$ac_ext <<_ACEOF
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15117 #include <strings.h>
15123 strcasecmp("foo", "bar");
15129 rm -f conftest.
$ac_objext conftest
$ac_exeext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15131 (eval $ac_link) 2>conftest.er1
15133 grep -v '^ *+' conftest.er1
>conftest.err
15135 cat conftest.err
>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try
='test -s conftest$ac_exeext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 ac_cv_strings_strcasecmp
=yes
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.
$ac_ext >&5
15155 ac_cv_strings_strcasecmp
=no
15158 rm -f conftest.err conftest.
$ac_objext \
15159 conftest
$ac_exeext conftest.
$ac_ext
15162 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15163 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15165 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15166 cat >>confdefs.h
<<\_ACEOF
15167 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15171 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15172 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15173 { (exit 1); exit 1; }; }
15178 ac_cpp
='$CPP $CPPFLAGS'
15179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15187 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15188 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15189 if test "${ac_cv_header_stdc+set}" = set; then
15190 echo $ECHO_N "(cached) $ECHO_C" >&6
15192 cat >conftest.
$ac_ext <<_ACEOF
15195 cat confdefs.h
>>conftest.
$ac_ext
15196 cat >>conftest.
$ac_ext <<_ACEOF
15197 /* end confdefs.h. */
15198 #include <stdlib.h>
15199 #include <stdarg.h>
15200 #include <string.h>
15211 rm -f conftest.
$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1
>conftest.err
15217 cat conftest.err
>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; } &&
15226 { ac_try
='test -s conftest.$ac_objext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_cv_header_stdc
=yes
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15237 ac_cv_header_stdc
=no
15239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15241 if test $ac_cv_header_stdc = yes; then
15242 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15243 cat >conftest.
$ac_ext <<_ACEOF
15246 cat confdefs.h
>>conftest.
$ac_ext
15247 cat >>conftest.
$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15249 #include <string.h>
15252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15253 $EGREP "memchr" >/dev
/null
2>&1; then
15256 ac_cv_header_stdc
=no
15262 if test $ac_cv_header_stdc = yes; then
15263 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15264 cat >conftest.
$ac_ext <<_ACEOF
15267 cat confdefs.h
>>conftest.
$ac_ext
15268 cat >>conftest.
$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 #include <stdlib.h>
15273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15274 $EGREP "free" >/dev
/null
2>&1; then
15277 ac_cv_header_stdc
=no
15283 if test $ac_cv_header_stdc = yes; then
15284 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15285 if test "$cross_compiling" = yes; then
15288 cat >conftest.
$ac_ext <<_ACEOF
15291 cat confdefs.h
>>conftest.
$ac_ext
15292 cat >>conftest.
$ac_ext <<_ACEOF
15293 /* end confdefs.h. */
15295 #if ((' ' & 0x0FF) == 0x020)
15296 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15297 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15299 # define ISLOWER(c) \
15300 (('a' <= (c) && (c) <= 'i') \
15301 || ('j' <= (c) && (c) <= 'r') \
15302 || ('s' <= (c) && (c) <= 'z'))
15303 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15306 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15311 for (i = 0; i < 256; i++)
15312 if (XOR (islower (i), ISLOWER (i))
15313 || toupper (i) != TOUPPER (i))
15318 rm -f conftest
$ac_exeext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15320 (eval $ac_link) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; }; then
15331 echo "$as_me: program exited with status $ac_status" >&5
15332 echo "$as_me: failed program was:" >&5
15333 sed 's/^/| /' conftest.
$ac_ext >&5
15335 ( exit $ac_status )
15336 ac_cv_header_stdc
=no
15338 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15342 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15343 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15344 if test $ac_cv_header_stdc = yes; then
15346 cat >>confdefs.h
<<\_ACEOF
15347 #define STDC_HEADERS 1
15352 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15362 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15363 inttypes.h stdint.h unistd.h
15365 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15366 echo "$as_me:$LINENO: checking for $ac_header" >&5
15367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 cat >conftest.
$ac_ext <<_ACEOF
15374 cat confdefs.h
>>conftest.
$ac_ext
15375 cat >>conftest.
$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 $ac_includes_default
15379 #include <$ac_header>
15381 rm -f conftest.
$ac_objext
15382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15383 (eval $ac_compile) 2>conftest.er1
15385 grep -v '^ *+' conftest.er1
>conftest.err
15387 cat conftest.err
>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); } &&
15390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; } &&
15396 { ac_try
='test -s conftest.$ac_objext'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; }; then
15402 eval "$as_ac_Header=yes"
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.
$ac_ext >&5
15407 eval "$as_ac_Header=no"
15409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15414 cat >>confdefs.h
<<_ACEOF
15415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15424 for ac_header
in stdlib.h
15426 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15428 echo "$as_me:$LINENO: checking for $ac_header" >&5
15429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15436 # Is the header compilable?
15437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15439 cat >conftest.
$ac_ext <<_ACEOF
15442 cat confdefs.h
>>conftest.
$ac_ext
15443 cat >>conftest.
$ac_ext <<_ACEOF
15444 /* end confdefs.h. */
15445 $ac_includes_default
15446 #include <$ac_header>
15448 rm -f conftest.
$ac_objext
15449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15450 (eval $ac_compile) 2>conftest.er1
15452 grep -v '^ *+' conftest.er1
>conftest.err
15454 cat conftest.err
>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; } &&
15463 { ac_try
='test -s conftest.$ac_objext'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; }; then
15469 ac_header_compiler
=yes
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.
$ac_ext >&5
15474 ac_header_compiler
=no
15476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15478 echo "${ECHO_T}$ac_header_compiler" >&6
15480 # Is the header present?
15481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15483 cat >conftest.
$ac_ext <<_ACEOF
15486 cat confdefs.h
>>conftest.
$ac_ext
15487 cat >>conftest.
$ac_ext <<_ACEOF
15488 /* end confdefs.h. */
15489 #include <$ac_header>
15491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15492 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15494 grep -v '^ *+' conftest.er1
>conftest.err
15496 cat conftest.err
>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } >/dev
/null
; then
15499 if test -s conftest.err
; then
15500 ac_cpp_err
=$ac_c_preproc_warn_flag
15501 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15508 if test -z "$ac_cpp_err"; then
15509 ac_header_preproc
=yes
15511 echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.
$ac_ext >&5
15514 ac_header_preproc
=no
15516 rm -f conftest.err conftest.
$ac_ext
15517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15518 echo "${ECHO_T}$ac_header_preproc" >&6
15520 # So? What about this header?
15521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15527 ac_header_preproc
=yes
15530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15544 ## ----------------------------------------- ##
15545 ## Report this to wx-dev@lists.wxwidgets.org ##
15546 ## ----------------------------------------- ##
15549 sed "s/^/$as_me: WARNING: /" >&2
15552 echo "$as_me:$LINENO: checking for $ac_header" >&5
15553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15557 eval "$as_ac_Header=\$ac_header_preproc"
15559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15564 cat >>confdefs.h
<<_ACEOF
15565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15573 for ac_header
in malloc.h
15575 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15577 echo "$as_me:$LINENO: checking for $ac_header" >&5
15578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15580 echo $ECHO_N "(cached) $ECHO_C" >&6
15582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15585 # Is the header compilable?
15586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15588 cat >conftest.
$ac_ext <<_ACEOF
15591 cat confdefs.h
>>conftest.
$ac_ext
15592 cat >>conftest.
$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15594 $ac_includes_default
15595 #include <$ac_header>
15597 rm -f conftest.
$ac_objext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15599 (eval $ac_compile) 2>conftest.er1
15601 grep -v '^ *+' conftest.er1
>conftest.err
15603 cat conftest.err
>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; } &&
15612 { ac_try
='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_header_compiler
=yes
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.
$ac_ext >&5
15623 ac_header_compiler
=no
15625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15627 echo "${ECHO_T}$ac_header_compiler" >&6
15629 # Is the header present?
15630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15632 cat >conftest.
$ac_ext <<_ACEOF
15635 cat confdefs.h
>>conftest.
$ac_ext
15636 cat >>conftest.
$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638 #include <$ac_header>
15640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15643 grep -v '^ *+' conftest.er1
>conftest.err
15645 cat conftest.err
>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } >/dev
/null
; then
15648 if test -s conftest.err
; then
15649 ac_cpp_err
=$ac_c_preproc_warn_flag
15650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15657 if test -z "$ac_cpp_err"; then
15658 ac_header_preproc
=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.
$ac_ext >&5
15663 ac_header_preproc
=no
15665 rm -f conftest.err conftest.
$ac_ext
15666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15667 echo "${ECHO_T}$ac_header_preproc" >&6
15669 # So? What about this header?
15670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15676 ac_header_preproc
=yes
15679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15686 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15693 ## ----------------------------------------- ##
15694 ## Report this to wx-dev@lists.wxwidgets.org ##
15695 ## ----------------------------------------- ##
15698 sed "s/^/$as_me: WARNING: /" >&2
15701 echo "$as_me:$LINENO: checking for $ac_header" >&5
15702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15704 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 eval "$as_ac_Header=\$ac_header_preproc"
15708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15713 cat >>confdefs.h
<<_ACEOF
15714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15722 for ac_header
in unistd.h
15724 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15726 echo "$as_me:$LINENO: checking for $ac_header" >&5
15727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15729 echo $ECHO_N "(cached) $ECHO_C" >&6
15731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15734 # Is the header compilable?
15735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15737 cat >conftest.
$ac_ext <<_ACEOF
15740 cat confdefs.h
>>conftest.
$ac_ext
15741 cat >>conftest.
$ac_ext <<_ACEOF
15742 /* end confdefs.h. */
15743 $ac_includes_default
15744 #include <$ac_header>
15746 rm -f conftest.
$ac_objext
15747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15748 (eval $ac_compile) 2>conftest.er1
15750 grep -v '^ *+' conftest.er1
>conftest.err
15752 cat conftest.err
>&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } &&
15755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15757 (eval $ac_try) 2>&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); }; } &&
15761 { ac_try
='test -s conftest.$ac_objext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 ac_header_compiler
=yes
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.
$ac_ext >&5
15772 ac_header_compiler
=no
15774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15776 echo "${ECHO_T}$ac_header_compiler" >&6
15778 # Is the header present?
15779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15781 cat >conftest.
$ac_ext <<_ACEOF
15784 cat confdefs.h
>>conftest.
$ac_ext
15785 cat >>conftest.
$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 #include <$ac_header>
15789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15792 grep -v '^ *+' conftest.er1
>conftest.err
15794 cat conftest.err
>&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } >/dev
/null
; then
15797 if test -s conftest.err
; then
15798 ac_cpp_err
=$ac_c_preproc_warn_flag
15799 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15806 if test -z "$ac_cpp_err"; then
15807 ac_header_preproc
=yes
15809 echo "$as_me: failed program was:" >&5
15810 sed 's/^/| /' conftest.
$ac_ext >&5
15812 ac_header_preproc
=no
15814 rm -f conftest.err conftest.
$ac_ext
15815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15816 echo "${ECHO_T}$ac_header_preproc" >&6
15818 # So? What about this header?
15819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15825 ac_header_preproc
=yes
15828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15842 ## ----------------------------------------- ##
15843 ## Report this to wx-dev@lists.wxwidgets.org ##
15844 ## ----------------------------------------- ##
15847 sed "s/^/$as_me: WARNING: /" >&2
15850 echo "$as_me:$LINENO: checking for $ac_header" >&5
15851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15853 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 eval "$as_ac_Header=\$ac_header_preproc"
15857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15862 cat >>confdefs.h
<<_ACEOF
15863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15871 for ac_header
in wchar.h
15873 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15875 echo "$as_me:$LINENO: checking for $ac_header" >&5
15876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15883 # Is the header compilable?
15884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15886 cat >conftest.
$ac_ext <<_ACEOF
15889 cat confdefs.h
>>conftest.
$ac_ext
15890 cat >>conftest.
$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 $ac_includes_default
15893 #include <$ac_header>
15895 rm -f conftest.
$ac_objext
15896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15897 (eval $ac_compile) 2>conftest.er1
15899 grep -v '^ *+' conftest.er1
>conftest.err
15901 cat conftest.err
>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } &&
15904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; } &&
15910 { ac_try
='test -s conftest.$ac_objext'
15911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15912 (eval $ac_try) 2>&5
15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915 (exit $ac_status); }; }; then
15916 ac_header_compiler
=yes
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.
$ac_ext >&5
15921 ac_header_compiler
=no
15923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15925 echo "${ECHO_T}$ac_header_compiler" >&6
15927 # Is the header present?
15928 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15930 cat >conftest.
$ac_ext <<_ACEOF
15933 cat confdefs.h
>>conftest.
$ac_ext
15934 cat >>conftest.
$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936 #include <$ac_header>
15938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15939 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15941 grep -v '^ *+' conftest.er1
>conftest.err
15943 cat conftest.err
>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } >/dev
/null
; then
15946 if test -s conftest.err
; then
15947 ac_cpp_err
=$ac_c_preproc_warn_flag
15948 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15955 if test -z "$ac_cpp_err"; then
15956 ac_header_preproc
=yes
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.
$ac_ext >&5
15961 ac_header_preproc
=no
15963 rm -f conftest.err conftest.
$ac_ext
15964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15965 echo "${ECHO_T}$ac_header_preproc" >&6
15967 # So? What about this header?
15968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15974 ac_header_preproc
=yes
15977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15991 ## ----------------------------------------- ##
15992 ## Report this to wx-dev@lists.wxwidgets.org ##
15993 ## ----------------------------------------- ##
15996 sed "s/^/$as_me: WARNING: /" >&2
15999 echo "$as_me:$LINENO: checking for $ac_header" >&5
16000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 eval "$as_ac_Header=\$ac_header_preproc"
16006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16011 cat >>confdefs.h
<<_ACEOF
16012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16020 if test "$ac_cv_header_wchar_h" != "yes"; then
16022 for ac_header
in wcstr.h
16024 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16026 echo "$as_me:$LINENO: checking for $ac_header" >&5
16027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16034 # Is the header compilable?
16035 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16037 cat >conftest.
$ac_ext <<_ACEOF
16040 cat confdefs.h
>>conftest.
$ac_ext
16041 cat >>conftest.
$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16043 $ac_includes_default
16044 #include <$ac_header>
16046 rm -f conftest.
$ac_objext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16048 (eval $ac_compile) 2>conftest.er1
16050 grep -v '^ *+' conftest.er1
>conftest.err
16052 cat conftest.err
>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; } &&
16061 { ac_try
='test -s conftest.$ac_objext'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16067 ac_header_compiler
=yes
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.
$ac_ext >&5
16072 ac_header_compiler
=no
16074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16076 echo "${ECHO_T}$ac_header_compiler" >&6
16078 # Is the header present?
16079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16081 cat >conftest.
$ac_ext <<_ACEOF
16084 cat confdefs.h
>>conftest.
$ac_ext
16085 cat >>conftest.
$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16087 #include <$ac_header>
16089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16092 grep -v '^ *+' conftest.er1
>conftest.err
16094 cat conftest.err
>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } >/dev
/null
; then
16097 if test -s conftest.err
; then
16098 ac_cpp_err
=$ac_c_preproc_warn_flag
16099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16106 if test -z "$ac_cpp_err"; then
16107 ac_header_preproc
=yes
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.
$ac_ext >&5
16112 ac_header_preproc
=no
16114 rm -f conftest.err conftest.
$ac_ext
16115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16116 echo "${ECHO_T}$ac_header_preproc" >&6
16118 # So? What about this header?
16119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16125 ac_header_preproc
=yes
16128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16142 ## ----------------------------------------- ##
16143 ## Report this to wx-dev@lists.wxwidgets.org ##
16144 ## ----------------------------------------- ##
16147 sed "s/^/$as_me: WARNING: /" >&2
16150 echo "$as_me:$LINENO: checking for $ac_header" >&5
16151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16153 echo $ECHO_N "(cached) $ECHO_C" >&6
16155 eval "$as_ac_Header=\$ac_header_preproc"
16157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16162 cat >>confdefs.h
<<_ACEOF
16163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16173 for ac_header
in fnmatch.h
16175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16177 echo "$as_me:$LINENO: checking for $ac_header" >&5
16178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16180 echo $ECHO_N "(cached) $ECHO_C" >&6
16182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16185 # Is the header compilable?
16186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16194 $ac_includes_default
16195 #include <$ac_header>
16197 rm -f conftest.
$ac_objext
16198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16199 (eval $ac_compile) 2>conftest.er1
16201 grep -v '^ *+' conftest.er1
>conftest.err
16203 cat conftest.err
>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } &&
16206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; } &&
16212 { ac_try
='test -s conftest.$ac_objext'
16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16214 (eval $ac_try) 2>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }; }; then
16218 ac_header_compiler
=yes
16220 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.
$ac_ext >&5
16223 ac_header_compiler
=no
16225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16227 echo "${ECHO_T}$ac_header_compiler" >&6
16229 # Is the header present?
16230 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16232 cat >conftest.
$ac_ext <<_ACEOF
16235 cat confdefs.h
>>conftest.
$ac_ext
16236 cat >>conftest.
$ac_ext <<_ACEOF
16237 /* end confdefs.h. */
16238 #include <$ac_header>
16240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16243 grep -v '^ *+' conftest.er1
>conftest.err
16245 cat conftest.err
>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } >/dev
/null
; then
16248 if test -s conftest.err
; then
16249 ac_cpp_err
=$ac_c_preproc_warn_flag
16250 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16257 if test -z "$ac_cpp_err"; then
16258 ac_header_preproc
=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 ac_header_preproc
=no
16265 rm -f conftest.err conftest.
$ac_ext
16266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16267 echo "${ECHO_T}$ac_header_preproc" >&6
16269 # So? What about this header?
16270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16276 ac_header_preproc
=yes
16279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16293 ## ----------------------------------------- ##
16294 ## Report this to wx-dev@lists.wxwidgets.org ##
16295 ## ----------------------------------------- ##
16298 sed "s/^/$as_me: WARNING: /" >&2
16301 echo "$as_me:$LINENO: checking for $ac_header" >&5
16302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16306 eval "$as_ac_Header=\$ac_header_preproc"
16308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16313 cat >>confdefs.h
<<_ACEOF
16314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16323 for ac_header
in langinfo.h
16325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16327 echo "$as_me:$LINENO: checking for $ac_header" >&5
16328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16335 # Is the header compilable?
16336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16338 cat >conftest.
$ac_ext <<_ACEOF
16341 cat confdefs.h
>>conftest.
$ac_ext
16342 cat >>conftest.
$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 $ac_includes_default
16345 #include <$ac_header>
16347 rm -f conftest.
$ac_objext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16349 (eval $ac_compile) 2>conftest.er1
16351 grep -v '^ *+' conftest.er1
>conftest.err
16353 cat conftest.err
>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } &&
16356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; } &&
16362 { ac_try
='test -s conftest.$ac_objext'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; }; then
16368 ac_header_compiler
=yes
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.
$ac_ext >&5
16373 ac_header_compiler
=no
16375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16376 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16377 echo "${ECHO_T}$ac_header_compiler" >&6
16379 # Is the header present?
16380 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16382 cat >conftest.
$ac_ext <<_ACEOF
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16388 #include <$ac_header>
16390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16391 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16393 grep -v '^ *+' conftest.er1
>conftest.err
16395 cat conftest.err
>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } >/dev
/null
; then
16398 if test -s conftest.err
; then
16399 ac_cpp_err
=$ac_c_preproc_warn_flag
16400 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16407 if test -z "$ac_cpp_err"; then
16408 ac_header_preproc
=yes
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 ac_header_preproc
=no
16415 rm -f conftest.err conftest.
$ac_ext
16416 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16417 echo "${ECHO_T}$ac_header_preproc" >&6
16419 # So? What about this header?
16420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16426 ac_header_preproc
=yes
16429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16443 ## ----------------------------------------- ##
16444 ## Report this to wx-dev@lists.wxwidgets.org ##
16445 ## ----------------------------------------- ##
16448 sed "s/^/$as_me: WARNING: /" >&2
16451 echo "$as_me:$LINENO: checking for $ac_header" >&5
16452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16454 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 eval "$as_ac_Header=\$ac_header_preproc"
16458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16463 cat >>confdefs.h
<<_ACEOF
16464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16473 *-pc-os2_emx | *-pc-os2-emx )
16474 if test $ac_cv_header_langinfo_h = "yes" \
16475 -a \
( "$wx_cv_gccversion" = "EMX2" \
16476 -o "$wx_cv_gccversion" = "EMX3" \
16477 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16478 LIBS
="$LIBS -lintl"
16484 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16485 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16486 if test "${ac_cv_c_const+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16499 /* FIXME: Include the comments suggested by Paul. */
16500 #ifndef __cplusplus
16501 /* Ultrix mips cc rejects this. */
16502 typedef int charset[2];
16504 /* SunOS 4.1.1 cc rejects this. */
16505 char const *const *ccp;
16507 /* NEC SVR4.0.2 mips cc rejects this. */
16508 struct point {int x, y;};
16509 static struct point const zero = {0,0};
16510 /* AIX XL C 1.02.0.0 rejects this.
16511 It does not let you subtract one const X* pointer from another in
16512 an arm of an if-expression whose if-part is not a constant
16514 const char *g = "string";
16515 ccp = &g + (g ? g-g : 0);
16516 /* HPUX 7.0 cc rejects these. */
16519 ccp = (char const *const *) p;
16520 { /* SCO 3.2v4 cc rejects this. */
16522 char const *s = 0 ? (char *) 0 : (char const *) 0;
16526 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16527 int x[] = {25, 17};
16528 const int *foo = &x[0];
16531 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16532 typedef const int *iptr;
16536 { /* AIX XL C 1.02.0.0 rejects this saying
16537 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16538 struct s { int j; const int *ap[3]; };
16539 struct s *b; b->j = 5;
16541 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16542 const int foo = 10;
16550 rm -f conftest.
$ac_objext
16551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16552 (eval $ac_compile) 2>conftest.er1
16554 grep -v '^ *+' conftest.er1
>conftest.err
16556 cat conftest.err
>&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); } &&
16559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; } &&
16565 { ac_try
='test -s conftest.$ac_objext'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; }; then
16573 echo "$as_me: failed program was:" >&5
16574 sed 's/^/| /' conftest.
$ac_ext >&5
16578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16580 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16581 echo "${ECHO_T}$ac_cv_c_const" >&6
16582 if test $ac_cv_c_const = no
; then
16584 cat >>confdefs.h
<<\_ACEOF
16590 echo "$as_me:$LINENO: checking for inline" >&5
16591 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16592 if test "${ac_cv_c_inline+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 for ac_kw
in inline __inline__ __inline
; do
16597 cat >conftest.
$ac_ext <<_ACEOF
16600 cat confdefs.h
>>conftest.
$ac_ext
16601 cat >>conftest.
$ac_ext <<_ACEOF
16602 /* end confdefs.h. */
16603 #ifndef __cplusplus
16605 static $ac_kw foo_t static_foo () {return 0; }
16606 $ac_kw foo_t foo () {return 0; }
16610 rm -f conftest.
$ac_objext
16611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16612 (eval $ac_compile) 2>conftest.er1
16614 grep -v '^ *+' conftest.er1
>conftest.err
16616 cat conftest.err
>&5
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); } &&
16619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; } &&
16625 { ac_try
='test -s conftest.$ac_objext'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; }; then
16631 ac_cv_c_inline
=$ac_kw; break
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.
$ac_ext >&5
16637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16641 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16642 echo "${ECHO_T}$ac_cv_c_inline" >&6
16645 case $ac_cv_c_inline in
16648 case $ac_cv_c_inline in
16650 *) ac_val
=$ac_cv_c_inline;;
16652 cat >>confdefs.h
<<_ACEOF
16653 #ifndef __cplusplus
16654 #define inline $ac_val
16661 echo "$as_me:$LINENO: checking for char" >&5
16662 echo $ECHO_N "checking for char... $ECHO_C" >&6
16663 if test "${ac_cv_type_char+set}" = set; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 cat >conftest.
$ac_ext <<_ACEOF
16669 cat confdefs.h
>>conftest.
$ac_ext
16670 cat >>conftest.
$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 $ac_includes_default
16684 rm -f conftest.
$ac_objext
16685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16686 (eval $ac_compile) 2>conftest.er1
16688 grep -v '^ *+' conftest.er1
>conftest.err
16690 cat conftest.err
>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); } &&
16693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; } &&
16699 { ac_try
='test -s conftest.$ac_objext'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; }; then
16705 ac_cv_type_char
=yes
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.
$ac_ext >&5
16712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16714 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16715 echo "${ECHO_T}$ac_cv_type_char" >&6
16717 echo "$as_me:$LINENO: checking size of char" >&5
16718 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16719 if test "${ac_cv_sizeof_char+set}" = set; then
16720 echo $ECHO_N "(cached) $ECHO_C" >&6
16722 if test "$ac_cv_type_char" = yes; then
16723 # The cast to unsigned long works around a bug in the HP C Compiler
16724 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16725 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16726 # This bug is HP SR number 8606223364.
16727 if test "$cross_compiling" = yes; then
16728 # Depending upon the size, compute the lo and hi bounds.
16729 cat >conftest.
$ac_ext <<_ACEOF
16732 cat confdefs.h
>>conftest.
$ac_ext
16733 cat >>conftest.
$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735 $ac_includes_default
16739 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16746 rm -f conftest.
$ac_objext
16747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16748 (eval $ac_compile) 2>conftest.er1
16750 grep -v '^ *+' conftest.er1
>conftest.err
16752 cat conftest.err
>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757 (eval $ac_try) 2>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; } &&
16761 { ac_try
='test -s conftest.$ac_objext'
16762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16763 (eval $ac_try) 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; }; then
16769 cat >conftest.
$ac_ext <<_ACEOF
16772 cat confdefs.h
>>conftest.
$ac_ext
16773 cat >>conftest.
$ac_ext <<_ACEOF
16774 /* end confdefs.h. */
16775 $ac_includes_default
16779 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16786 rm -f conftest.
$ac_objext
16787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16788 (eval $ac_compile) 2>conftest.er1
16790 grep -v '^ *+' conftest.er1
>conftest.err
16792 cat conftest.err
>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; } &&
16801 { ac_try
='test -s conftest.$ac_objext'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; }; then
16807 ac_hi
=$ac_mid; break
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.
$ac_ext >&5
16812 ac_lo
=`expr $ac_mid + 1`
16813 if test $ac_lo -le $ac_mid; then
16817 ac_mid
=`expr 2 '*' $ac_mid + 1`
16819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.
$ac_ext >&5
16825 cat >conftest.
$ac_ext <<_ACEOF
16828 cat confdefs.h
>>conftest.
$ac_ext
16829 cat >>conftest.
$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 $ac_includes_default
16835 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16842 rm -f conftest.
$ac_objext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16844 (eval $ac_compile) 2>conftest.er1
16846 grep -v '^ *+' conftest.er1
>conftest.err
16848 cat conftest.err
>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } &&
16851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853 (eval $ac_try) 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; } &&
16857 { ac_try
='test -s conftest.$ac_objext'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; }; then
16865 cat >conftest.
$ac_ext <<_ACEOF
16868 cat confdefs.h
>>conftest.
$ac_ext
16869 cat >>conftest.
$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871 $ac_includes_default
16875 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16882 rm -f conftest.
$ac_objext
16883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884 (eval $ac_compile) 2>conftest.er1
16886 grep -v '^ *+' conftest.er1
>conftest.err
16888 cat conftest.err
>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try
='test -s conftest.$ac_objext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 ac_lo
=$ac_mid; break
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 ac_hi
=`expr '(' $ac_mid ')' - 1`
16909 if test $ac_mid -le $ac_hi; then
16913 ac_mid
=`expr 2 '*' $ac_mid`
16915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.
$ac_ext >&5
16923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16926 # Binary search between lo and hi bounds.
16927 while test "x$ac_lo" != "x$ac_hi"; do
16928 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16929 cat >conftest.
$ac_ext <<_ACEOF
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 $ac_includes_default
16939 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16946 rm -f conftest.
$ac_objext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16948 (eval $ac_compile) 2>conftest.er1
16950 grep -v '^ *+' conftest.er1
>conftest.err
16952 cat conftest.err
>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } &&
16955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; } &&
16961 { ac_try
='test -s conftest.$ac_objext'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; }; then
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.
$ac_ext >&5
16972 ac_lo
=`expr '(' $ac_mid ')' + 1`
16974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16977 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16978 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16979 See \`config.log' for more details." >&5
16980 echo "$as_me: error: cannot compute sizeof (char), 77
16981 See \`config.log' for more details." >&2;}
16982 { (exit 1); exit 1; }; } ;;
16985 if test "$cross_compiling" = yes; then
16986 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16987 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16988 { (exit 1); exit 1; }; }
16990 cat >conftest.
$ac_ext <<_ACEOF
16993 cat confdefs.h
>>conftest.
$ac_ext
16994 cat >>conftest.
$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16996 $ac_includes_default
16997 long longval () { return (long) (sizeof (char)); }
16998 unsigned long ulongval () { return (long) (sizeof (char)); }
17000 #include <stdlib.h>
17005 FILE *f = fopen ("conftest.val", "w");
17008 if (((long) (sizeof (char))) < 0)
17010 long i = longval ();
17011 if (i != ((long) (sizeof (char))))
17013 fprintf (f, "%ld\n", i);
17017 unsigned long i = ulongval ();
17018 if (i != ((long) (sizeof (char))))
17020 fprintf (f, "%lu\n", i);
17022 exit (ferror (f) || fclose (f) != 0);
17028 rm -f conftest
$ac_exeext
17029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17030 (eval $ac_link) 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; }; then
17039 ac_cv_sizeof_char
=`cat conftest.val`
17041 echo "$as_me: program exited with status $ac_status" >&5
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.
$ac_ext >&5
17045 ( exit $ac_status )
17046 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17047 See \`config.log' for more details." >&5
17048 echo "$as_me: error: cannot compute sizeof (char), 77
17049 See \`config.log' for more details." >&2;}
17050 { (exit 1); exit 1; }; }
17052 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17057 ac_cv_sizeof_char
=0
17060 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17061 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17062 cat >>confdefs.h
<<_ACEOF
17063 #define SIZEOF_CHAR $ac_cv_sizeof_char
17067 echo "$as_me:$LINENO: checking for short" >&5
17068 echo $ECHO_N "checking for short... $ECHO_C" >&6
17069 if test "${ac_cv_type_short+set}" = set; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 cat >conftest.
$ac_ext <<_ACEOF
17075 cat confdefs.h
>>conftest.
$ac_ext
17076 cat >>conftest.
$ac_ext <<_ACEOF
17077 /* end confdefs.h. */
17078 $ac_includes_default
17084 if (sizeof (short))
17090 rm -f conftest.
$ac_objext
17091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17092 (eval $ac_compile) 2>conftest.er1
17094 grep -v '^ *+' conftest.er1
>conftest.err
17096 cat conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } &&
17099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; } &&
17105 { ac_try
='test -s conftest.$ac_objext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 ac_cv_type_short
=yes
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.
$ac_ext >&5
17116 ac_cv_type_short
=no
17118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17120 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17121 echo "${ECHO_T}$ac_cv_type_short" >&6
17123 echo "$as_me:$LINENO: checking size of short" >&5
17124 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17125 if test "${ac_cv_sizeof_short+set}" = set; then
17126 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 if test "$ac_cv_type_short" = yes; then
17129 # The cast to unsigned long works around a bug in the HP C Compiler
17130 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17131 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17132 # This bug is HP SR number 8606223364.
17133 if test "$cross_compiling" = yes; then
17134 # Depending upon the size, compute the lo and hi bounds.
17135 cat >conftest.
$ac_ext <<_ACEOF
17138 cat confdefs.h
>>conftest.
$ac_ext
17139 cat >>conftest.
$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 $ac_includes_default
17145 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17152 rm -f conftest.
$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17156 grep -v '^ *+' conftest.er1
>conftest.err
17158 cat conftest.err
>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; } &&
17167 { ac_try
='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17175 cat >conftest.
$ac_ext <<_ACEOF
17178 cat confdefs.h
>>conftest.
$ac_ext
17179 cat >>conftest.
$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181 $ac_includes_default
17185 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17192 rm -f conftest.
$ac_objext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17194 (eval $ac_compile) 2>conftest.er1
17196 grep -v '^ *+' conftest.er1
>conftest.err
17198 cat conftest.err
>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
17201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; } &&
17207 { ac_try
='test -s conftest.$ac_objext'
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209 (eval $ac_try) 2>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); }; }; then
17213 ac_hi
=$ac_mid; break
17215 echo "$as_me: failed program was:" >&5
17216 sed 's/^/| /' conftest.
$ac_ext >&5
17218 ac_lo
=`expr $ac_mid + 1`
17219 if test $ac_lo -le $ac_mid; then
17223 ac_mid
=`expr 2 '*' $ac_mid + 1`
17225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.
$ac_ext >&5
17231 cat >conftest.
$ac_ext <<_ACEOF
17234 cat confdefs.h
>>conftest.
$ac_ext
17235 cat >>conftest.
$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 $ac_includes_default
17241 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17248 rm -f conftest.
$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17252 grep -v '^ *+' conftest.er1
>conftest.err
17254 cat conftest.err
>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; } &&
17263 { ac_try
='test -s conftest.$ac_objext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17271 cat >conftest.
$ac_ext <<_ACEOF
17274 cat confdefs.h
>>conftest.
$ac_ext
17275 cat >>conftest.
$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 $ac_includes_default
17281 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17288 rm -f conftest.
$ac_objext
17289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17290 (eval $ac_compile) 2>conftest.er1
17292 grep -v '^ *+' conftest.er1
>conftest.err
17294 cat conftest.err
>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } &&
17297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try
='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17309 ac_lo
=$ac_mid; break
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.
$ac_ext >&5
17314 ac_hi
=`expr '(' $ac_mid ')' - 1`
17315 if test $ac_mid -le $ac_hi; then
17319 ac_mid
=`expr 2 '*' $ac_mid`
17321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17324 echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.
$ac_ext >&5
17329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17332 # Binary search between lo and hi bounds.
17333 while test "x$ac_lo" != "x$ac_hi"; do
17334 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17345 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17352 rm -f conftest.
$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; } &&
17367 { ac_try
='test -s conftest.$ac_objext'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; }; then
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.
$ac_ext >&5
17378 ac_lo
=`expr '(' $ac_mid ')' + 1`
17380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17383 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17384 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17385 See \`config.log' for more details." >&5
17386 echo "$as_me: error: cannot compute sizeof (short), 77
17387 See \`config.log' for more details." >&2;}
17388 { (exit 1); exit 1; }; } ;;
17391 if test "$cross_compiling" = yes; then
17392 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17393 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17394 { (exit 1); exit 1; }; }
17396 cat >conftest.
$ac_ext <<_ACEOF
17399 cat confdefs.h
>>conftest.
$ac_ext
17400 cat >>conftest.
$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402 $ac_includes_default
17403 long longval () { return (long) (sizeof (short)); }
17404 unsigned long ulongval () { return (long) (sizeof (short)); }
17406 #include <stdlib.h>
17411 FILE *f = fopen ("conftest.val", "w");
17414 if (((long) (sizeof (short))) < 0)
17416 long i = longval ();
17417 if (i != ((long) (sizeof (short))))
17419 fprintf (f, "%ld\n", i);
17423 unsigned long i = ulongval ();
17424 if (i != ((long) (sizeof (short))))
17426 fprintf (f, "%lu\n", i);
17428 exit (ferror (f) || fclose (f) != 0);
17434 rm -f conftest
$ac_exeext
17435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17436 (eval $ac_link) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; }; then
17445 ac_cv_sizeof_short
=`cat conftest.val`
17447 echo "$as_me: program exited with status $ac_status" >&5
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.
$ac_ext >&5
17451 ( exit $ac_status )
17452 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17453 See \`config.log' for more details." >&5
17454 echo "$as_me: error: cannot compute sizeof (short), 77
17455 See \`config.log' for more details." >&2;}
17456 { (exit 1); exit 1; }; }
17458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17463 ac_cv_sizeof_short
=0
17466 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17467 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17468 cat >>confdefs.h
<<_ACEOF
17469 #define SIZEOF_SHORT $ac_cv_sizeof_short
17473 echo "$as_me:$LINENO: checking for void *" >&5
17474 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17475 if test "${ac_cv_type_void_p+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 cat >conftest.
$ac_ext <<_ACEOF
17481 cat confdefs.h
>>conftest.
$ac_ext
17482 cat >>conftest.
$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 $ac_includes_default
17490 if (sizeof (void *))
17496 rm -f conftest.
$ac_objext
17497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17498 (eval $ac_compile) 2>conftest.er1
17500 grep -v '^ *+' conftest.er1
>conftest.err
17502 cat conftest.err
>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } &&
17505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; } &&
17511 { ac_try
='test -s conftest.$ac_objext'
17512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; }; then
17517 ac_cv_type_void_p
=yes
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.
$ac_ext >&5
17522 ac_cv_type_void_p
=no
17524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17526 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17527 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17529 echo "$as_me:$LINENO: checking size of void *" >&5
17530 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17531 if test "${ac_cv_sizeof_void_p+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17534 if test "$ac_cv_type_void_p" = yes; then
17535 # The cast to unsigned long works around a bug in the HP C Compiler
17536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17537 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17538 # This bug is HP SR number 8606223364.
17539 if test "$cross_compiling" = yes; then
17540 # Depending upon the size, compute the lo and hi bounds.
17541 cat >conftest.
$ac_ext <<_ACEOF
17544 cat confdefs.h
>>conftest.
$ac_ext
17545 cat >>conftest.
$ac_ext <<_ACEOF
17546 /* end confdefs.h. */
17547 $ac_includes_default
17551 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17558 rm -f conftest.
$ac_objext
17559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17560 (eval $ac_compile) 2>conftest.er1
17562 grep -v '^ *+' conftest.er1
>conftest.err
17564 cat conftest.err
>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; } &&
17573 { ac_try
='test -s conftest.$ac_objext'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17581 cat >conftest.
$ac_ext <<_ACEOF
17584 cat confdefs.h
>>conftest.
$ac_ext
17585 cat >>conftest.
$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17587 $ac_includes_default
17591 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17598 rm -f conftest.
$ac_objext
17599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17600 (eval $ac_compile) 2>conftest.er1
17602 grep -v '^ *+' conftest.er1
>conftest.err
17604 cat conftest.err
>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } &&
17607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; } &&
17613 { ac_try
='test -s conftest.$ac_objext'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; }; then
17619 ac_hi
=$ac_mid; break
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.
$ac_ext >&5
17624 ac_lo
=`expr $ac_mid + 1`
17625 if test $ac_lo -le $ac_mid; then
17629 ac_mid
=`expr 2 '*' $ac_mid + 1`
17631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17634 echo "$as_me: failed program was:" >&5
17635 sed 's/^/| /' conftest.
$ac_ext >&5
17637 cat >conftest.
$ac_ext <<_ACEOF
17640 cat confdefs.h
>>conftest.
$ac_ext
17641 cat >>conftest.
$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 $ac_includes_default
17647 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17654 rm -f conftest.
$ac_objext
17655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17656 (eval $ac_compile) 2>conftest.er1
17658 grep -v '^ *+' conftest.er1
>conftest.err
17660 cat conftest.err
>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } &&
17663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try
='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17677 cat >conftest.
$ac_ext <<_ACEOF
17680 cat confdefs.h
>>conftest.
$ac_ext
17681 cat >>conftest.
$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 $ac_includes_default
17687 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17694 rm -f conftest.
$ac_objext
17695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>conftest.er1
17698 grep -v '^ *+' conftest.er1
>conftest.err
17700 cat conftest.err
>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } &&
17703 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; } &&
17709 { ac_try
='test -s conftest.$ac_objext'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; }; then
17715 ac_lo
=$ac_mid; break
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.
$ac_ext >&5
17720 ac_hi
=`expr '(' $ac_mid ')' - 1`
17721 if test $ac_mid -le $ac_hi; then
17725 ac_mid
=`expr 2 '*' $ac_mid`
17727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.
$ac_ext >&5
17735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17738 # Binary search between lo and hi bounds.
17739 while test "x$ac_lo" != "x$ac_hi"; do
17740 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17741 cat >conftest.
$ac_ext <<_ACEOF
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 $ac_includes_default
17751 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17758 rm -f conftest.
$ac_objext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17760 (eval $ac_compile) 2>conftest.er1
17762 grep -v '^ *+' conftest.er1
>conftest.err
17764 cat conftest.err
>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; } &&
17773 { ac_try
='test -s conftest.$ac_objext'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; }; then
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.
$ac_ext >&5
17784 ac_lo
=`expr '(' $ac_mid ')' + 1`
17786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17789 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17790 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17791 See \`config.log' for more details." >&5
17792 echo "$as_me: error: cannot compute sizeof (void *), 77
17793 See \`config.log' for more details." >&2;}
17794 { (exit 1); exit 1; }; } ;;
17797 if test "$cross_compiling" = yes; then
17798 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17799 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17800 { (exit 1); exit 1; }; }
17802 cat >conftest.
$ac_ext <<_ACEOF
17805 cat confdefs.h
>>conftest.
$ac_ext
17806 cat >>conftest.
$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 $ac_includes_default
17809 long longval () { return (long) (sizeof (void *)); }
17810 unsigned long ulongval () { return (long) (sizeof (void *)); }
17812 #include <stdlib.h>
17817 FILE *f = fopen ("conftest.val", "w");
17820 if (((long) (sizeof (void *))) < 0)
17822 long i = longval ();
17823 if (i != ((long) (sizeof (void *))))
17825 fprintf (f, "%ld\n", i);
17829 unsigned long i = ulongval ();
17830 if (i != ((long) (sizeof (void *))))
17832 fprintf (f, "%lu\n", i);
17834 exit (ferror (f) || fclose (f) != 0);
17840 rm -f conftest
$ac_exeext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17842 (eval $ac_link) 2>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 ac_cv_sizeof_void_p
=`cat conftest.val`
17853 echo "$as_me: program exited with status $ac_status" >&5
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.
$ac_ext >&5
17857 ( exit $ac_status )
17858 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17859 See \`config.log' for more details." >&5
17860 echo "$as_me: error: cannot compute sizeof (void *), 77
17861 See \`config.log' for more details." >&2;}
17862 { (exit 1); exit 1; }; }
17864 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17869 ac_cv_sizeof_void_p
=0
17872 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17873 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17874 cat >>confdefs.h
<<_ACEOF
17875 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17879 echo "$as_me:$LINENO: checking for int" >&5
17880 echo $ECHO_N "checking for int... $ECHO_C" >&6
17881 if test "${ac_cv_type_int+set}" = set; then
17882 echo $ECHO_N "(cached) $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 $ac_includes_default
17902 rm -f conftest.
$ac_objext
17903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17904 (eval $ac_compile) 2>conftest.er1
17906 grep -v '^ *+' conftest.er1
>conftest.err
17908 cat conftest.err
>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } &&
17911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; } &&
17917 { ac_try
='test -s conftest.$ac_objext'
17918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17919 (eval $ac_try) 2>&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); }; }; then
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.
$ac_ext >&5
17930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17932 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17933 echo "${ECHO_T}$ac_cv_type_int" >&6
17935 echo "$as_me:$LINENO: checking size of int" >&5
17936 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17937 if test "${ac_cv_sizeof_int+set}" = set; then
17938 echo $ECHO_N "(cached) $ECHO_C" >&6
17940 if test "$ac_cv_type_int" = yes; then
17941 # The cast to unsigned long works around a bug in the HP C Compiler
17942 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17943 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17944 # This bug is HP SR number 8606223364.
17945 if test "$cross_compiling" = yes; then
17946 # Depending upon the size, compute the lo and hi bounds.
17947 cat >conftest.
$ac_ext <<_ACEOF
17950 cat confdefs.h
>>conftest.
$ac_ext
17951 cat >>conftest.
$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953 $ac_includes_default
17957 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17964 rm -f conftest.
$ac_objext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17966 (eval $ac_compile) 2>conftest.er1
17968 grep -v '^ *+' conftest.er1
>conftest.err
17970 cat conftest.err
>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; } &&
17979 { ac_try
='test -s conftest.$ac_objext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17987 cat >conftest.
$ac_ext <<_ACEOF
17990 cat confdefs.h
>>conftest.
$ac_ext
17991 cat >>conftest.
$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 $ac_includes_default
17997 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18004 rm -f conftest.
$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>conftest.er1
18008 grep -v '^ *+' conftest.er1
>conftest.err
18010 cat conftest.err
>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } &&
18013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; } &&
18019 { ac_try
='test -s conftest.$ac_objext'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18025 ac_hi
=$ac_mid; break
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.
$ac_ext >&5
18030 ac_lo
=`expr $ac_mid + 1`
18031 if test $ac_lo -le $ac_mid; then
18035 ac_mid
=`expr 2 '*' $ac_mid + 1`
18037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.
$ac_ext >&5
18043 cat >conftest.
$ac_ext <<_ACEOF
18046 cat confdefs.h
>>conftest.
$ac_ext
18047 cat >>conftest.
$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18049 $ac_includes_default
18053 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18060 rm -f conftest.
$ac_objext
18061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18062 (eval $ac_compile) 2>conftest.er1
18064 grep -v '^ *+' conftest.er1
>conftest.err
18066 cat conftest.err
>&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } &&
18069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18071 (eval $ac_try) 2>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); }; } &&
18075 { ac_try
='test -s conftest.$ac_objext'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; }; then
18083 cat >conftest.
$ac_ext <<_ACEOF
18086 cat confdefs.h
>>conftest.
$ac_ext
18087 cat >>conftest.
$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 $ac_includes_default
18093 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18100 rm -f conftest.
$ac_objext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18102 (eval $ac_compile) 2>conftest.er1
18104 grep -v '^ *+' conftest.er1
>conftest.err
18106 cat conftest.err
>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } &&
18109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; } &&
18115 { ac_try
='test -s conftest.$ac_objext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 ac_lo
=$ac_mid; break
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.
$ac_ext >&5
18126 ac_hi
=`expr '(' $ac_mid ')' - 1`
18127 if test $ac_mid -le $ac_hi; then
18131 ac_mid
=`expr 2 '*' $ac_mid`
18133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.
$ac_ext >&5
18141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18144 # Binary search between lo and hi bounds.
18145 while test "x$ac_lo" != "x$ac_hi"; do
18146 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18147 cat >conftest.
$ac_ext <<_ACEOF
18150 cat confdefs.h
>>conftest.
$ac_ext
18151 cat >>conftest.
$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 $ac_includes_default
18157 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18164 rm -f conftest.
$ac_objext
18165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18166 (eval $ac_compile) 2>conftest.er1
18168 grep -v '^ *+' conftest.er1
>conftest.err
18170 cat conftest.err
>&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); } &&
18173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18175 (eval $ac_try) 2>&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); }; } &&
18179 { ac_try
='test -s conftest.$ac_objext'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; }; then
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.
$ac_ext >&5
18190 ac_lo
=`expr '(' $ac_mid ')' + 1`
18192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18195 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18196 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18197 See \`config.log' for more details." >&5
18198 echo "$as_me: error: cannot compute sizeof (int), 77
18199 See \`config.log' for more details." >&2;}
18200 { (exit 1); exit 1; }; } ;;
18203 if test "$cross_compiling" = yes; then
18204 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18205 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18206 { (exit 1); exit 1; }; }
18208 cat >conftest.
$ac_ext <<_ACEOF
18211 cat confdefs.h
>>conftest.
$ac_ext
18212 cat >>conftest.
$ac_ext <<_ACEOF
18213 /* end confdefs.h. */
18214 $ac_includes_default
18215 long longval () { return (long) (sizeof (int)); }
18216 unsigned long ulongval () { return (long) (sizeof (int)); }
18218 #include <stdlib.h>
18223 FILE *f = fopen ("conftest.val", "w");
18226 if (((long) (sizeof (int))) < 0)
18228 long i = longval ();
18229 if (i != ((long) (sizeof (int))))
18231 fprintf (f, "%ld\n", i);
18235 unsigned long i = ulongval ();
18236 if (i != ((long) (sizeof (int))))
18238 fprintf (f, "%lu\n", i);
18240 exit (ferror (f) || fclose (f) != 0);
18246 rm -f conftest
$ac_exeext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18248 (eval $ac_link) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; }; then
18257 ac_cv_sizeof_int
=`cat conftest.val`
18259 echo "$as_me: program exited with status $ac_status" >&5
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.
$ac_ext >&5
18263 ( exit $ac_status )
18264 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18265 See \`config.log' for more details." >&5
18266 echo "$as_me: error: cannot compute sizeof (int), 77
18267 See \`config.log' for more details." >&2;}
18268 { (exit 1); exit 1; }; }
18270 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18278 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18279 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18280 cat >>confdefs.h
<<_ACEOF
18281 #define SIZEOF_INT $ac_cv_sizeof_int
18285 echo "$as_me:$LINENO: checking for long" >&5
18286 echo $ECHO_N "checking for long... $ECHO_C" >&6
18287 if test "${ac_cv_type_long+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18290 cat >conftest.
$ac_ext <<_ACEOF
18293 cat confdefs.h
>>conftest.
$ac_ext
18294 cat >>conftest.
$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18296 $ac_includes_default
18308 rm -f conftest.
$ac_objext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18310 (eval $ac_compile) 2>conftest.er1
18312 grep -v '^ *+' conftest.er1
>conftest.err
18314 cat conftest.err
>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319 (eval $ac_try) 2>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; } &&
18323 { ac_try
='test -s conftest.$ac_objext'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; }; then
18329 ac_cv_type_long
=yes
18331 echo "$as_me: failed program was:" >&5
18332 sed 's/^/| /' conftest.
$ac_ext >&5
18336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18338 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18339 echo "${ECHO_T}$ac_cv_type_long" >&6
18341 echo "$as_me:$LINENO: checking size of long" >&5
18342 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18343 if test "${ac_cv_sizeof_long+set}" = set; then
18344 echo $ECHO_N "(cached) $ECHO_C" >&6
18346 if test "$ac_cv_type_long" = yes; then
18347 # The cast to unsigned long works around a bug in the HP C Compiler
18348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18350 # This bug is HP SR number 8606223364.
18351 if test "$cross_compiling" = yes; then
18352 # Depending upon the size, compute the lo and hi bounds.
18353 cat >conftest.
$ac_ext <<_ACEOF
18356 cat confdefs.h
>>conftest.
$ac_ext
18357 cat >>conftest.
$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18363 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18370 rm -f conftest.
$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18374 grep -v '^ *+' conftest.er1
>conftest.err
18376 cat conftest.err
>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; } &&
18385 { ac_try
='test -s conftest.$ac_objext'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; }; then
18393 cat >conftest.
$ac_ext <<_ACEOF
18396 cat confdefs.h
>>conftest.
$ac_ext
18397 cat >>conftest.
$ac_ext <<_ACEOF
18398 /* end confdefs.h. */
18399 $ac_includes_default
18403 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18410 rm -f conftest.
$ac_objext
18411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18412 (eval $ac_compile) 2>conftest.er1
18414 grep -v '^ *+' conftest.er1
>conftest.err
18416 cat conftest.err
>&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; } &&
18425 { ac_try
='test -s conftest.$ac_objext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_hi
=$ac_mid; break
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.
$ac_ext >&5
18436 ac_lo
=`expr $ac_mid + 1`
18437 if test $ac_lo -le $ac_mid; then
18441 ac_mid
=`expr 2 '*' $ac_mid + 1`
18443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18446 echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.
$ac_ext >&5
18449 cat >conftest.
$ac_ext <<_ACEOF
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18459 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18466 rm -f conftest.
$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18470 grep -v '^ *+' conftest.er1
>conftest.err
18472 cat conftest.err
>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try
='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18489 cat >conftest.
$ac_ext <<_ACEOF
18492 cat confdefs.h
>>conftest.
$ac_ext
18493 cat >>conftest.
$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18495 $ac_includes_default
18499 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18506 rm -f conftest.
$ac_objext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18508 (eval $ac_compile) 2>conftest.er1
18510 grep -v '^ *+' conftest.er1
>conftest.err
18512 cat conftest.err
>&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } &&
18515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; } &&
18521 { ac_try
='test -s conftest.$ac_objext'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; }; then
18527 ac_lo
=$ac_mid; break
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.
$ac_ext >&5
18532 ac_hi
=`expr '(' $ac_mid ')' - 1`
18533 if test $ac_mid -le $ac_hi; then
18537 ac_mid
=`expr 2 '*' $ac_mid`
18539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.
$ac_ext >&5
18547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18550 # Binary search between lo and hi bounds.
18551 while test "x$ac_lo" != "x$ac_hi"; do
18552 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18553 cat >conftest.
$ac_ext <<_ACEOF
18556 cat confdefs.h
>>conftest.
$ac_ext
18557 cat >>conftest.
$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 $ac_includes_default
18563 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18570 rm -f conftest.
$ac_objext
18571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18572 (eval $ac_compile) 2>conftest.er1
18574 grep -v '^ *+' conftest.er1
>conftest.err
18576 cat conftest.err
>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } &&
18579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; } &&
18585 { ac_try
='test -s conftest.$ac_objext'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.
$ac_ext >&5
18596 ac_lo
=`expr '(' $ac_mid ')' + 1`
18598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18601 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18602 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18603 See \`config.log' for more details." >&5
18604 echo "$as_me: error: cannot compute sizeof (long), 77
18605 See \`config.log' for more details." >&2;}
18606 { (exit 1); exit 1; }; } ;;
18609 if test "$cross_compiling" = yes; then
18610 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18611 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18612 { (exit 1); exit 1; }; }
18614 cat >conftest.
$ac_ext <<_ACEOF
18617 cat confdefs.h
>>conftest.
$ac_ext
18618 cat >>conftest.
$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 $ac_includes_default
18621 long longval () { return (long) (sizeof (long)); }
18622 unsigned long ulongval () { return (long) (sizeof (long)); }
18624 #include <stdlib.h>
18629 FILE *f = fopen ("conftest.val", "w");
18632 if (((long) (sizeof (long))) < 0)
18634 long i = longval ();
18635 if (i != ((long) (sizeof (long))))
18637 fprintf (f, "%ld\n", i);
18641 unsigned long i = ulongval ();
18642 if (i != ((long) (sizeof (long))))
18644 fprintf (f, "%lu\n", i);
18646 exit (ferror (f) || fclose (f) != 0);
18652 rm -f conftest
$ac_exeext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18654 (eval $ac_link) 2>&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18659 (eval $ac_try) 2>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); }; }; then
18663 ac_cv_sizeof_long
=`cat conftest.val`
18665 echo "$as_me: program exited with status $ac_status" >&5
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.
$ac_ext >&5
18669 ( exit $ac_status )
18670 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18671 See \`config.log' for more details." >&5
18672 echo "$as_me: error: cannot compute sizeof (long), 77
18673 See \`config.log' for more details." >&2;}
18674 { (exit 1); exit 1; }; }
18676 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18681 ac_cv_sizeof_long
=0
18684 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18685 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18686 cat >>confdefs.h
<<_ACEOF
18687 #define SIZEOF_LONG $ac_cv_sizeof_long
18691 echo "$as_me:$LINENO: checking for size_t" >&5
18692 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18693 if test "${ac_cv_type_size_t+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 cat >conftest.
$ac_ext <<_ACEOF
18699 cat confdefs.h
>>conftest.
$ac_ext
18700 cat >>conftest.
$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 $ac_includes_default
18708 if (sizeof (size_t))
18714 rm -f conftest.
$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>conftest.er1
18718 grep -v '^ *+' conftest.er1
>conftest.err
18720 cat conftest.err
>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; } &&
18729 { ac_try
='test -s conftest.$ac_objext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_cv_type_size_t
=yes
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.
$ac_ext >&5
18740 ac_cv_type_size_t
=no
18742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18744 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18745 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18747 echo "$as_me:$LINENO: checking size of size_t" >&5
18748 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18749 if test "${ac_cv_sizeof_size_t+set}" = set; then
18750 echo $ECHO_N "(cached) $ECHO_C" >&6
18752 if test "$ac_cv_type_size_t" = yes; then
18753 # The cast to unsigned long works around a bug in the HP C Compiler
18754 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18755 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18756 # This bug is HP SR number 8606223364.
18757 if test "$cross_compiling" = yes; then
18758 # Depending upon the size, compute the lo and hi bounds.
18759 cat >conftest.
$ac_ext <<_ACEOF
18762 cat confdefs.h
>>conftest.
$ac_ext
18763 cat >>conftest.
$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 $ac_includes_default
18769 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18776 rm -f conftest.
$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18780 grep -v '^ *+' conftest.er1
>conftest.err
18782 cat conftest.err
>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; } &&
18791 { ac_try
='test -s conftest.$ac_objext'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; }; then
18799 cat >conftest.
$ac_ext <<_ACEOF
18802 cat confdefs.h
>>conftest.
$ac_ext
18803 cat >>conftest.
$ac_ext <<_ACEOF
18804 /* end confdefs.h. */
18805 $ac_includes_default
18809 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18816 rm -f conftest.
$ac_objext
18817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18818 (eval $ac_compile) 2>conftest.er1
18820 grep -v '^ *+' conftest.er1
>conftest.err
18822 cat conftest.err
>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } &&
18825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18827 (eval $ac_try) 2>&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); }; } &&
18831 { ac_try
='test -s conftest.$ac_objext'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; }; then
18837 ac_hi
=$ac_mid; break
18839 echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.
$ac_ext >&5
18842 ac_lo
=`expr $ac_mid + 1`
18843 if test $ac_lo -le $ac_mid; then
18847 ac_mid
=`expr 2 '*' $ac_mid + 1`
18849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.
$ac_ext >&5
18855 cat >conftest.
$ac_ext <<_ACEOF
18858 cat confdefs.h
>>conftest.
$ac_ext
18859 cat >>conftest.
$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 $ac_includes_default
18865 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18872 rm -f conftest.
$ac_objext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18874 (eval $ac_compile) 2>conftest.er1
18876 grep -v '^ *+' conftest.er1
>conftest.err
18878 cat conftest.err
>&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } &&
18881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; } &&
18887 { ac_try
='test -s conftest.$ac_objext'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; }; then
18895 cat >conftest.
$ac_ext <<_ACEOF
18898 cat confdefs.h
>>conftest.
$ac_ext
18899 cat >>conftest.
$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901 $ac_includes_default
18905 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18912 rm -f conftest.
$ac_objext
18913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18914 (eval $ac_compile) 2>conftest.er1
18916 grep -v '^ *+' conftest.er1
>conftest.err
18918 cat conftest.err
>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); } &&
18921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; } &&
18927 { ac_try
='test -s conftest.$ac_objext'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; }; then
18933 ac_lo
=$ac_mid; break
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.
$ac_ext >&5
18938 ac_hi
=`expr '(' $ac_mid ')' - 1`
18939 if test $ac_mid -le $ac_hi; then
18943 ac_mid
=`expr 2 '*' $ac_mid`
18945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.
$ac_ext >&5
18953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18956 # Binary search between lo and hi bounds.
18957 while test "x$ac_lo" != "x$ac_hi"; do
18958 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18959 cat >conftest.
$ac_ext <<_ACEOF
18962 cat confdefs.h
>>conftest.
$ac_ext
18963 cat >>conftest.
$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 $ac_includes_default
18969 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18976 rm -f conftest.
$ac_objext
18977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18978 (eval $ac_compile) 2>conftest.er1
18980 grep -v '^ *+' conftest.er1
>conftest.err
18982 cat conftest.err
>&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } &&
18985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987 (eval $ac_try) 2>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); }; } &&
18991 { ac_try
='test -s conftest.$ac_objext'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; }; then
18999 echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.
$ac_ext >&5
19002 ac_lo
=`expr '(' $ac_mid ')' + 1`
19004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19007 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19008 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19009 See \`config.log' for more details." >&5
19010 echo "$as_me: error: cannot compute sizeof (size_t), 77
19011 See \`config.log' for more details." >&2;}
19012 { (exit 1); exit 1; }; } ;;
19015 if test "$cross_compiling" = yes; then
19016 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19017 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19018 { (exit 1); exit 1; }; }
19020 cat >conftest.
$ac_ext <<_ACEOF
19023 cat confdefs.h
>>conftest.
$ac_ext
19024 cat >>conftest.
$ac_ext <<_ACEOF
19025 /* end confdefs.h. */
19026 $ac_includes_default
19027 long longval () { return (long) (sizeof (size_t)); }
19028 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19030 #include <stdlib.h>
19035 FILE *f = fopen ("conftest.val", "w");
19038 if (((long) (sizeof (size_t))) < 0)
19040 long i = longval ();
19041 if (i != ((long) (sizeof (size_t))))
19043 fprintf (f, "%ld\n", i);
19047 unsigned long i = ulongval ();
19048 if (i != ((long) (sizeof (size_t))))
19050 fprintf (f, "%lu\n", i);
19052 exit (ferror (f) || fclose (f) != 0);
19058 rm -f conftest
$ac_exeext
19059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19060 (eval $ac_link) 2>&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065 (eval $ac_try) 2>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); }; }; then
19069 ac_cv_sizeof_size_t
=`cat conftest.val`
19071 echo "$as_me: program exited with status $ac_status" >&5
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.
$ac_ext >&5
19075 ( exit $ac_status )
19076 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19077 See \`config.log' for more details." >&5
19078 echo "$as_me: error: cannot compute sizeof (size_t), 77
19079 See \`config.log' for more details." >&2;}
19080 { (exit 1); exit 1; }; }
19082 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19087 ac_cv_sizeof_size_t
=0
19090 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19091 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19092 cat >>confdefs.h
<<_ACEOF
19093 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19100 echo "$as_me:$LINENO: checking for long long" >&5
19101 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19102 if test "${ac_cv_type_long_long+set}" = set; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19105 cat >conftest.
$ac_ext <<_ACEOF
19108 cat confdefs.h
>>conftest.
$ac_ext
19109 cat >>conftest.
$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 $ac_includes_default
19115 if ((long long *) 0)
19117 if (sizeof (long long))
19123 rm -f conftest.
$ac_objext
19124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19125 (eval $ac_compile) 2>conftest.er1
19127 grep -v '^ *+' conftest.er1
>conftest.err
19129 cat conftest.err
>&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); } &&
19132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; } &&
19138 { ac_try
='test -s conftest.$ac_objext'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; }; then
19144 ac_cv_type_long_long
=yes
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.
$ac_ext >&5
19149 ac_cv_type_long_long
=no
19151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19153 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19154 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19156 echo "$as_me:$LINENO: checking size of long long" >&5
19157 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19158 if test "${ac_cv_sizeof_long_long+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19161 if test "$ac_cv_type_long_long" = yes; then
19162 # The cast to unsigned long works around a bug in the HP C Compiler
19163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19165 # This bug is HP SR number 8606223364.
19166 if test "$cross_compiling" = yes; then
19167 # Depending upon the size, compute the lo and hi bounds.
19168 cat >conftest.
$ac_ext <<_ACEOF
19171 cat confdefs.h
>>conftest.
$ac_ext
19172 cat >>conftest.
$ac_ext <<_ACEOF
19173 /* end confdefs.h. */
19174 $ac_includes_default
19178 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19185 rm -f conftest.
$ac_objext
19186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19187 (eval $ac_compile) 2>conftest.er1
19189 grep -v '^ *+' conftest.er1
>conftest.err
19191 cat conftest.err
>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } &&
19194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19196 (eval $ac_try) 2>&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); }; } &&
19200 { ac_try
='test -s conftest.$ac_objext'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; }; then
19208 cat >conftest.
$ac_ext <<_ACEOF
19211 cat confdefs.h
>>conftest.
$ac_ext
19212 cat >>conftest.
$ac_ext <<_ACEOF
19213 /* end confdefs.h. */
19214 $ac_includes_default
19218 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19225 rm -f conftest.
$ac_objext
19226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19227 (eval $ac_compile) 2>conftest.er1
19229 grep -v '^ *+' conftest.er1
>conftest.err
19231 cat conftest.err
>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } &&
19234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; } &&
19240 { ac_try
='test -s conftest.$ac_objext'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19246 ac_hi
=$ac_mid; break
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.
$ac_ext >&5
19251 ac_lo
=`expr $ac_mid + 1`
19252 if test $ac_lo -le $ac_mid; then
19256 ac_mid
=`expr 2 '*' $ac_mid + 1`
19258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.
$ac_ext >&5
19264 cat >conftest.
$ac_ext <<_ACEOF
19267 cat confdefs.h
>>conftest.
$ac_ext
19268 cat >>conftest.
$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 $ac_includes_default
19274 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19281 rm -f conftest.
$ac_objext
19282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19283 (eval $ac_compile) 2>conftest.er1
19285 grep -v '^ *+' conftest.er1
>conftest.err
19287 cat conftest.err
>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } &&
19290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19292 (eval $ac_try) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; } &&
19296 { ac_try
='test -s conftest.$ac_objext'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; }; then
19304 cat >conftest.
$ac_ext <<_ACEOF
19307 cat confdefs.h
>>conftest.
$ac_ext
19308 cat >>conftest.
$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 $ac_includes_default
19314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19321 rm -f conftest.
$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19325 grep -v '^ *+' conftest.er1
>conftest.err
19327 cat conftest.err
>&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; } &&
19336 { ac_try
='test -s conftest.$ac_objext'
19337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19338 (eval $ac_try) 2>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; }; then
19342 ac_lo
=$ac_mid; break
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.
$ac_ext >&5
19347 ac_hi
=`expr '(' $ac_mid ')' - 1`
19348 if test $ac_mid -le $ac_hi; then
19352 ac_mid
=`expr 2 '*' $ac_mid`
19354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.
$ac_ext >&5
19362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19365 # Binary search between lo and hi bounds.
19366 while test "x$ac_lo" != "x$ac_hi"; do
19367 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19368 cat >conftest.
$ac_ext <<_ACEOF
19371 cat confdefs.h
>>conftest.
$ac_ext
19372 cat >>conftest.
$ac_ext <<_ACEOF
19373 /* end confdefs.h. */
19374 $ac_includes_default
19378 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19385 rm -f conftest.
$ac_objext
19386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19387 (eval $ac_compile) 2>conftest.er1
19389 grep -v '^ *+' conftest.er1
>conftest.err
19391 cat conftest.err
>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } &&
19394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396 (eval $ac_try) 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; } &&
19400 { ac_try
='test -s conftest.$ac_objext'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; }; then
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.
$ac_ext >&5
19411 ac_lo
=`expr '(' $ac_mid ')' + 1`
19413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19416 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19417 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19418 See \`config.log' for more details." >&5
19419 echo "$as_me: error: cannot compute sizeof (long long), 77
19420 See \`config.log' for more details." >&2;}
19421 { (exit 1); exit 1; }; } ;;
19424 if test "$cross_compiling" = yes; then
19425 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19426 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19427 { (exit 1); exit 1; }; }
19429 cat >conftest.
$ac_ext <<_ACEOF
19432 cat confdefs.h
>>conftest.
$ac_ext
19433 cat >>conftest.
$ac_ext <<_ACEOF
19434 /* end confdefs.h. */
19435 $ac_includes_default
19436 long longval () { return (long) (sizeof (long long)); }
19437 unsigned long ulongval () { return (long) (sizeof (long long)); }
19439 #include <stdlib.h>
19444 FILE *f = fopen ("conftest.val", "w");
19447 if (((long) (sizeof (long long))) < 0)
19449 long i = longval ();
19450 if (i != ((long) (sizeof (long long))))
19452 fprintf (f, "%ld\n", i);
19456 unsigned long i = ulongval ();
19457 if (i != ((long) (sizeof (long long))))
19459 fprintf (f, "%lu\n", i);
19461 exit (ferror (f) || fclose (f) != 0);
19467 rm -f conftest
$ac_exeext
19468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19469 (eval $ac_link) 2>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 ac_cv_sizeof_long_long
=`cat conftest.val`
19480 echo "$as_me: program exited with status $ac_status" >&5
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.
$ac_ext >&5
19484 ( exit $ac_status )
19485 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19486 See \`config.log' for more details." >&5
19487 echo "$as_me: error: cannot compute sizeof (long long), 77
19488 See \`config.log' for more details." >&2;}
19489 { (exit 1); exit 1; }; }
19491 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19496 ac_cv_sizeof_long_long
=0
19499 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19500 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19501 cat >>confdefs.h
<<_ACEOF
19502 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19508 echo "$as_me:$LINENO: checking for long long" >&5
19509 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19510 if test "${ac_cv_type_long_long+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 cat >conftest.
$ac_ext <<_ACEOF
19516 cat confdefs.h
>>conftest.
$ac_ext
19517 cat >>conftest.
$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 $ac_includes_default
19523 if ((long long *) 0)
19525 if (sizeof (long long))
19531 rm -f conftest.
$ac_objext
19532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19533 (eval $ac_compile) 2>conftest.er1
19535 grep -v '^ *+' conftest.er1
>conftest.err
19537 cat conftest.err
>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); } &&
19540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; } &&
19546 { ac_try
='test -s conftest.$ac_objext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_type_long_long
=yes
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.
$ac_ext >&5
19557 ac_cv_type_long_long
=no
19559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19561 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19562 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19564 echo "$as_me:$LINENO: checking size of long long" >&5
19565 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19566 if test "${ac_cv_sizeof_long_long+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19569 if test "$ac_cv_type_long_long" = yes; then
19570 # The cast to unsigned long works around a bug in the HP C Compiler
19571 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19572 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19573 # This bug is HP SR number 8606223364.
19574 if test "$cross_compiling" = yes; then
19575 # Depending upon the size, compute the lo and hi bounds.
19576 cat >conftest.
$ac_ext <<_ACEOF
19579 cat confdefs.h
>>conftest.
$ac_ext
19580 cat >>conftest.
$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19586 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19593 rm -f conftest.
$ac_objext
19594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19595 (eval $ac_compile) 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } &&
19602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; } &&
19608 { ac_try
='test -s conftest.$ac_objext'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; }; then
19616 cat >conftest.
$ac_ext <<_ACEOF
19619 cat confdefs.h
>>conftest.
$ac_ext
19620 cat >>conftest.
$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19626 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19633 rm -f conftest.
$ac_objext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19635 (eval $ac_compile) 2>conftest.er1
19637 grep -v '^ *+' conftest.er1
>conftest.err
19639 cat conftest.err
>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } &&
19642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; } &&
19648 { ac_try
='test -s conftest.$ac_objext'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; }; then
19654 ac_hi
=$ac_mid; break
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.
$ac_ext >&5
19659 ac_lo
=`expr $ac_mid + 1`
19660 if test $ac_lo -le $ac_mid; then
19664 ac_mid
=`expr 2 '*' $ac_mid + 1`
19666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.
$ac_ext >&5
19672 cat >conftest.
$ac_ext <<_ACEOF
19675 cat confdefs.h
>>conftest.
$ac_ext
19676 cat >>conftest.
$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 $ac_includes_default
19682 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19689 rm -f conftest.
$ac_objext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19691 (eval $ac_compile) 2>conftest.er1
19693 grep -v '^ *+' conftest.er1
>conftest.err
19695 cat conftest.err
>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } &&
19698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19700 (eval $ac_try) 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); }; } &&
19704 { ac_try
='test -s conftest.$ac_objext'
19705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19706 (eval $ac_try) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; }; then
19712 cat >conftest.
$ac_ext <<_ACEOF
19715 cat confdefs.h
>>conftest.
$ac_ext
19716 cat >>conftest.
$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19718 $ac_includes_default
19722 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19729 rm -f conftest.
$ac_objext
19730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19731 (eval $ac_compile) 2>conftest.er1
19733 grep -v '^ *+' conftest.er1
>conftest.err
19735 cat conftest.err
>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); } &&
19738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 (eval $ac_try) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); }; } &&
19744 { ac_try
='test -s conftest.$ac_objext'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; }; then
19750 ac_lo
=$ac_mid; break
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.
$ac_ext >&5
19755 ac_hi
=`expr '(' $ac_mid ')' - 1`
19756 if test $ac_mid -le $ac_hi; then
19760 ac_mid
=`expr 2 '*' $ac_mid`
19762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19765 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.
$ac_ext >&5
19770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19773 # Binary search between lo and hi bounds.
19774 while test "x$ac_lo" != "x$ac_hi"; do
19775 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19776 cat >conftest.
$ac_ext <<_ACEOF
19779 cat confdefs.h
>>conftest.
$ac_ext
19780 cat >>conftest.
$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 $ac_includes_default
19786 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19793 rm -f conftest.
$ac_objext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19795 (eval $ac_compile) 2>conftest.er1
19797 grep -v '^ *+' conftest.er1
>conftest.err
19799 cat conftest.err
>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } &&
19802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19804 (eval $ac_try) 2>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }; } &&
19808 { ac_try
='test -s conftest.$ac_objext'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; }; then
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.
$ac_ext >&5
19819 ac_lo
=`expr '(' $ac_mid ')' + 1`
19821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19824 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19825 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19826 See \`config.log' for more details." >&5
19827 echo "$as_me: error: cannot compute sizeof (long long), 77
19828 See \`config.log' for more details." >&2;}
19829 { (exit 1); exit 1; }; } ;;
19832 if test "$cross_compiling" = yes; then
19833 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19834 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19835 { (exit 1); exit 1; }; }
19837 cat >conftest.
$ac_ext <<_ACEOF
19840 cat confdefs.h
>>conftest.
$ac_ext
19841 cat >>conftest.
$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 $ac_includes_default
19844 long longval () { return (long) (sizeof (long long)); }
19845 unsigned long ulongval () { return (long) (sizeof (long long)); }
19847 #include <stdlib.h>
19852 FILE *f = fopen ("conftest.val", "w");
19855 if (((long) (sizeof (long long))) < 0)
19857 long i = longval ();
19858 if (i != ((long) (sizeof (long long))))
19860 fprintf (f, "%ld\n", i);
19864 unsigned long i = ulongval ();
19865 if (i != ((long) (sizeof (long long))))
19867 fprintf (f, "%lu\n", i);
19869 exit (ferror (f) || fclose (f) != 0);
19875 rm -f conftest
$ac_exeext
19876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19877 (eval $ac_link) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 (eval $ac_try) 2>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; }; then
19886 ac_cv_sizeof_long_long
=`cat conftest.val`
19888 echo "$as_me: program exited with status $ac_status" >&5
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.
$ac_ext >&5
19892 ( exit $ac_status )
19893 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19894 See \`config.log' for more details." >&5
19895 echo "$as_me: error: cannot compute sizeof (long long), 77
19896 See \`config.log' for more details." >&2;}
19897 { (exit 1); exit 1; }; }
19899 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19904 ac_cv_sizeof_long_long
=0
19907 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19908 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19909 cat >>confdefs.h
<<_ACEOF
19910 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19914 if test "$ac_cv_sizeof_long_long" != "0"; then
19915 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19919 echo "$as_me:$LINENO: checking for long long" >&5
19920 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19921 if test "${ac_cv_type_long_long+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 cat >conftest.
$ac_ext <<_ACEOF
19927 cat confdefs.h
>>conftest.
$ac_ext
19928 cat >>conftest.
$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 $ac_includes_default
19934 if ((long long *) 0)
19936 if (sizeof (long long))
19942 rm -f conftest.
$ac_objext
19943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19944 (eval $ac_compile) 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } &&
19951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try
='test -s conftest.$ac_objext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 ac_cv_type_long_long
=yes
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.
$ac_ext >&5
19968 ac_cv_type_long_long
=no
19970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19972 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19973 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19975 echo "$as_me:$LINENO: checking size of long long" >&5
19976 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19977 if test "${ac_cv_sizeof_long_long+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 if test "$ac_cv_type_long_long" = yes; then
19981 # The cast to unsigned long works around a bug in the HP C Compiler
19982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19984 # This bug is HP SR number 8606223364.
19985 if test "$cross_compiling" = yes; then
19986 # Depending upon the size, compute the lo and hi bounds.
19987 cat >conftest.
$ac_ext <<_ACEOF
19990 cat confdefs.h
>>conftest.
$ac_ext
19991 cat >>conftest.
$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 $ac_includes_default
19997 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20004 rm -f conftest.
$ac_objext
20005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20006 (eval $ac_compile) 2>conftest.er1
20008 grep -v '^ *+' conftest.er1
>conftest.err
20010 cat conftest.err
>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } &&
20013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20019 { ac_try
='test -s conftest.$ac_objext'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; }; then
20027 cat >conftest.
$ac_ext <<_ACEOF
20030 cat confdefs.h
>>conftest.
$ac_ext
20031 cat >>conftest.
$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 $ac_includes_default
20037 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20044 rm -f conftest.
$ac_objext
20045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20046 (eval $ac_compile) 2>conftest.er1
20048 grep -v '^ *+' conftest.er1
>conftest.err
20050 cat conftest.err
>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); } &&
20053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20055 (eval $ac_try) 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; } &&
20059 { ac_try
='test -s conftest.$ac_objext'
20060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20061 (eval $ac_try) 2>&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); }; }; then
20065 ac_hi
=$ac_mid; break
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.
$ac_ext >&5
20070 ac_lo
=`expr $ac_mid + 1`
20071 if test $ac_lo -le $ac_mid; then
20075 ac_mid
=`expr 2 '*' $ac_mid + 1`
20077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.
$ac_ext >&5
20083 cat >conftest.
$ac_ext <<_ACEOF
20086 cat confdefs.h
>>conftest.
$ac_ext
20087 cat >>conftest.
$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20093 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20100 rm -f conftest.
$ac_objext
20101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20102 (eval $ac_compile) 2>conftest.er1
20104 grep -v '^ *+' conftest.er1
>conftest.err
20106 cat conftest.err
>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } &&
20109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111 (eval $ac_try) 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; } &&
20115 { ac_try
='test -s conftest.$ac_objext'
20116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20117 (eval $ac_try) 2>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); }; }; then
20123 cat >conftest.
$ac_ext <<_ACEOF
20126 cat confdefs.h
>>conftest.
$ac_ext
20127 cat >>conftest.
$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 $ac_includes_default
20133 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20140 rm -f conftest.
$ac_objext
20141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20142 (eval $ac_compile) 2>conftest.er1
20144 grep -v '^ *+' conftest.er1
>conftest.err
20146 cat conftest.err
>&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20155 { ac_try
='test -s conftest.$ac_objext'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 ac_lo
=$ac_mid; break
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.
$ac_ext >&5
20166 ac_hi
=`expr '(' $ac_mid ')' - 1`
20167 if test $ac_mid -le $ac_hi; then
20171 ac_mid
=`expr 2 '*' $ac_mid`
20173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.
$ac_ext >&5
20181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20184 # Binary search between lo and hi bounds.
20185 while test "x$ac_lo" != "x$ac_hi"; do
20186 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20187 cat >conftest.
$ac_ext <<_ACEOF
20190 cat confdefs.h
>>conftest.
$ac_ext
20191 cat >>conftest.
$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 $ac_includes_default
20197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20204 rm -f conftest.
$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>conftest.er1
20208 grep -v '^ *+' conftest.er1
>conftest.err
20210 cat conftest.err
>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } &&
20213 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; } &&
20219 { ac_try
='test -s conftest.$ac_objext'
20220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20221 (eval $ac_try) 2>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); }; }; then
20227 echo "$as_me: failed program was:" >&5
20228 sed 's/^/| /' conftest.
$ac_ext >&5
20230 ac_lo
=`expr '(' $ac_mid ')' + 1`
20232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20235 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20236 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20237 See \`config.log' for more details." >&5
20238 echo "$as_me: error: cannot compute sizeof (long long), 77
20239 See \`config.log' for more details." >&2;}
20240 { (exit 1); exit 1; }; } ;;
20243 if test "$cross_compiling" = yes; then
20244 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20245 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20246 { (exit 1); exit 1; }; }
20248 cat >conftest.
$ac_ext <<_ACEOF
20251 cat confdefs.h
>>conftest.
$ac_ext
20252 cat >>conftest.
$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 long longval () { return (long) (sizeof (long long)); }
20256 unsigned long ulongval () { return (long) (sizeof (long long)); }
20258 #include <stdlib.h>
20263 FILE *f = fopen ("conftest.val", "w");
20266 if (((long) (sizeof (long long))) < 0)
20268 long i = longval ();
20269 if (i != ((long) (sizeof (long long))))
20271 fprintf (f, "%ld\n", i);
20275 unsigned long i = ulongval ();
20276 if (i != ((long) (sizeof (long long))))
20278 fprintf (f, "%lu\n", i);
20280 exit (ferror (f) || fclose (f) != 0);
20286 rm -f conftest
$ac_exeext
20287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20288 (eval $ac_link) 2>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 ac_cv_sizeof_long_long
=`cat conftest.val`
20299 echo "$as_me: program exited with status $ac_status" >&5
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.
$ac_ext >&5
20303 ( exit $ac_status )
20304 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20305 See \`config.log' for more details." >&5
20306 echo "$as_me: error: cannot compute sizeof (long long), 77
20307 See \`config.log' for more details." >&2;}
20308 { (exit 1); exit 1; }; }
20310 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20315 ac_cv_sizeof_long_long
=0
20318 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20319 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20320 cat >>confdefs.h
<<_ACEOF
20321 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20327 echo "$as_me:$LINENO: checking for wchar_t" >&5
20328 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20329 if test "${ac_cv_type_wchar_t+set}" = set; then
20330 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 cat >conftest.
$ac_ext <<_ACEOF
20335 cat confdefs.h
>>conftest.
$ac_ext
20336 cat >>conftest.
$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20339 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20340 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20341 # error "fake wchar_t"
20343 #ifdef HAVE_WCHAR_H
20345 # include <stddef.h>
20347 # include <wchar.h>
20349 #ifdef HAVE_STDLIB_H
20350 # include <stdlib.h>
20361 if (sizeof (wchar_t))
20367 rm -f conftest.
$ac_objext
20368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20369 (eval $ac_compile) 2>conftest.er1
20371 grep -v '^ *+' conftest.er1
>conftest.err
20373 cat conftest.err
>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } &&
20376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; } &&
20382 { ac_try
='test -s conftest.$ac_objext'
20383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20384 (eval $ac_try) 2>&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); }; }; then
20388 ac_cv_type_wchar_t
=yes
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.
$ac_ext >&5
20393 ac_cv_type_wchar_t
=no
20395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20397 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20398 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20400 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20401 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20402 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20403 echo $ECHO_N "(cached) $ECHO_C" >&6
20405 if test "$ac_cv_type_wchar_t" = yes; then
20406 # The cast to unsigned long works around a bug in the HP C Compiler
20407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20409 # This bug is HP SR number 8606223364.
20410 if test "$cross_compiling" = yes; then
20411 # Depending upon the size, compute the lo and hi bounds.
20412 cat >conftest.
$ac_ext <<_ACEOF
20415 cat confdefs.h
>>conftest.
$ac_ext
20416 cat >>conftest.
$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20419 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20420 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20421 # error "fake wchar_t"
20423 #ifdef HAVE_WCHAR_H
20425 # include <stddef.h>
20427 # include <wchar.h>
20429 #ifdef HAVE_STDLIB_H
20430 # include <stdlib.h>
20439 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20446 rm -f conftest.
$ac_objext
20447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20448 (eval $ac_compile) 2>conftest.er1
20450 grep -v '^ *+' conftest.er1
>conftest.err
20452 cat conftest.err
>&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } &&
20455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457 (eval $ac_try) 2>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); }; } &&
20461 { ac_try
='test -s conftest.$ac_objext'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20469 cat >conftest.
$ac_ext <<_ACEOF
20472 cat confdefs.h
>>conftest.
$ac_ext
20473 cat >>conftest.
$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20476 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20477 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20478 # error "fake wchar_t"
20480 #ifdef HAVE_WCHAR_H
20482 # include <stddef.h>
20484 # include <wchar.h>
20486 #ifdef HAVE_STDLIB_H
20487 # include <stdlib.h>
20496 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20503 rm -f conftest.
$ac_objext
20504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20505 (eval $ac_compile) 2>conftest.er1
20507 grep -v '^ *+' conftest.er1
>conftest.err
20509 cat conftest.err
>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } &&
20512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; } &&
20518 { ac_try
='test -s conftest.$ac_objext'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; }; then
20524 ac_hi
=$ac_mid; break
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.
$ac_ext >&5
20529 ac_lo
=`expr $ac_mid + 1`
20530 if test $ac_lo -le $ac_mid; then
20534 ac_mid
=`expr 2 '*' $ac_mid + 1`
20536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.
$ac_ext >&5
20542 cat >conftest.
$ac_ext <<_ACEOF
20545 cat confdefs.h
>>conftest.
$ac_ext
20546 cat >>conftest.
$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20549 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20550 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20551 # error "fake wchar_t"
20553 #ifdef HAVE_WCHAR_H
20555 # include <stddef.h>
20557 # include <wchar.h>
20559 #ifdef HAVE_STDLIB_H
20560 # include <stdlib.h>
20569 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20576 rm -f conftest.
$ac_objext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20578 (eval $ac_compile) 2>conftest.er1
20580 grep -v '^ *+' conftest.er1
>conftest.err
20582 cat conftest.err
>&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; } &&
20591 { ac_try
='test -s conftest.$ac_objext'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; }; then
20599 cat >conftest.
$ac_ext <<_ACEOF
20602 cat confdefs.h
>>conftest.
$ac_ext
20603 cat >>conftest.
$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20606 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20607 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20608 # error "fake wchar_t"
20610 #ifdef HAVE_WCHAR_H
20612 # include <stddef.h>
20614 # include <wchar.h>
20616 #ifdef HAVE_STDLIB_H
20617 # include <stdlib.h>
20626 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20633 rm -f conftest.
$ac_objext
20634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20635 (eval $ac_compile) 2>conftest.er1
20637 grep -v '^ *+' conftest.er1
>conftest.err
20639 cat conftest.err
>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); } &&
20642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; } &&
20648 { ac_try
='test -s conftest.$ac_objext'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; }; then
20654 ac_lo
=$ac_mid; break
20656 echo "$as_me: failed program was:" >&5
20657 sed 's/^/| /' conftest.
$ac_ext >&5
20659 ac_hi
=`expr '(' $ac_mid ')' - 1`
20660 if test $ac_mid -le $ac_hi; then
20664 ac_mid
=`expr 2 '*' $ac_mid`
20666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20669 echo "$as_me: failed program was:" >&5
20670 sed 's/^/| /' conftest.
$ac_ext >&5
20674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20677 # Binary search between lo and hi bounds.
20678 while test "x$ac_lo" != "x$ac_hi"; do
20679 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20680 cat >conftest.
$ac_ext <<_ACEOF
20683 cat confdefs.h
>>conftest.
$ac_ext
20684 cat >>conftest.
$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20687 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20688 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20689 # error "fake wchar_t"
20691 #ifdef HAVE_WCHAR_H
20693 # include <stddef.h>
20695 # include <wchar.h>
20697 #ifdef HAVE_STDLIB_H
20698 # include <stdlib.h>
20707 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20714 rm -f conftest.
$ac_objext
20715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20716 (eval $ac_compile) 2>conftest.er1
20718 grep -v '^ *+' conftest.er1
>conftest.err
20720 cat conftest.err
>&5
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); } &&
20723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20725 (eval $ac_try) 2>&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); }; } &&
20729 { ac_try
='test -s conftest.$ac_objext'
20730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20731 (eval $ac_try) 2>&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); }; }; then
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.
$ac_ext >&5
20740 ac_lo
=`expr '(' $ac_mid ')' + 1`
20742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20745 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20746 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20747 See \`config.log' for more details." >&5
20748 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20749 See \`config.log' for more details." >&2;}
20750 { (exit 1); exit 1; }; } ;;
20753 if test "$cross_compiling" = yes; then
20754 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20755 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20756 { (exit 1); exit 1; }; }
20758 cat >conftest.
$ac_ext <<_ACEOF
20761 cat confdefs.h
>>conftest.
$ac_ext
20762 cat >>conftest.
$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20765 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20766 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20767 # error "fake wchar_t"
20769 #ifdef HAVE_WCHAR_H
20771 # include <stddef.h>
20773 # include <wchar.h>
20775 #ifdef HAVE_STDLIB_H
20776 # include <stdlib.h>
20782 long longval () { return (long) (sizeof (wchar_t)); }
20783 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20785 #include <stdlib.h>
20790 FILE *f = fopen ("conftest.val", "w");
20793 if (((long) (sizeof (wchar_t))) < 0)
20795 long i = longval ();
20796 if (i != ((long) (sizeof (wchar_t))))
20798 fprintf (f, "%ld\n", i);
20802 unsigned long i = ulongval ();
20803 if (i != ((long) (sizeof (wchar_t))))
20805 fprintf (f, "%lu\n", i);
20807 exit (ferror (f) || fclose (f) != 0);
20813 rm -f conftest
$ac_exeext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20815 (eval $ac_link) 2>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20826 echo "$as_me: program exited with status $ac_status" >&5
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.
$ac_ext >&5
20830 ( exit $ac_status )
20831 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20832 See \`config.log' for more details." >&5
20833 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20834 See \`config.log' for more details." >&2;}
20835 { (exit 1); exit 1; }; }
20837 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20842 ac_cv_sizeof_wchar_t
=0
20845 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20846 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20847 cat >>confdefs.h
<<_ACEOF
20848 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20852 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20858 echo "$as_me:$LINENO: checking for va_copy" >&5
20859 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20860 if test "${wx_cv_func_va_copy+set}" = set; then
20861 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 cat >conftest.
$ac_ext <<_ACEOF
20866 #include <stdarg.h>
20867 void foo(char *f, ...)
20881 rm -f conftest.
$ac_objext conftest
$ac_exeext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20883 (eval $ac_link) 2>conftest.er1
20885 grep -v '^ *+' conftest.er1
>conftest.err
20887 cat conftest.err
>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try
='test -s conftest$ac_exeext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 wx_cv_func_va_copy
=yes
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.
$ac_ext >&5
20907 wx_cv_func_va_copy
=no
20910 rm -f conftest.err conftest.
$ac_objext \
20911 conftest
$ac_exeext conftest.
$ac_ext
20915 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20916 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20918 if test $wx_cv_func_va_copy = "yes"; then
20919 cat >>confdefs.h
<<\_ACEOF
20920 #define HAVE_VA_COPY 1
20924 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20925 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20926 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20930 if test "$cross_compiling" = yes; then
20931 wx_cv_type_va_list_lvalue
=yes
20934 cat >conftest.
$ac_ext <<_ACEOF
20936 #include <stdarg.h>
20937 int foo(char *f, ...)
20942 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20950 return foo("hi", 17);
20953 rm -f conftest
$ac_exeext
20954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20955 (eval $ac_link) 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20960 (eval $ac_try) 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); }; }; then
20964 wx_cv_type_va_list_lvalue
=yes
20966 echo "$as_me: program exited with status $ac_status" >&5
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.
$ac_ext >&5
20970 ( exit $ac_status )
20971 wx_cv_type_va_list_lvalue
=no
20973 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20978 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20979 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20981 if test $wx_cv_type_va_list_lvalue != "yes"; then
20982 cat >>confdefs.h
<<\_ACEOF
20983 #define VA_LIST_IS_ARRAY 1
20989 # Check whether --enable-largefile or --disable-largefile was given.
20990 if test "${enable_largefile+set}" = set; then
20991 enableval
="$enable_largefile"
20994 if test "$enable_largefile" != no
; then
20997 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20998 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20999 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21000 echo $ECHO_N "(cached) $ECHO_C" >&6
21003 cat >conftest.
$ac_ext <<_ACEOF
21006 cat confdefs.h
>>conftest.
$ac_ext
21007 cat >>conftest.
$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009 #define _FILE_OFFSET_BITS 64
21010 #include <sys/types.h>
21015 unsigned int field: sizeof(off_t) == 8;
21022 rm -f conftest.
$ac_objext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21024 (eval $ac_compile) 2>conftest.er1
21026 grep -v '^ *+' conftest.er1
>conftest.err
21028 cat conftest.err
>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; } &&
21037 { ac_try
='test -s conftest.$ac_objext'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; }; then
21043 ac_cv_sys_file_offset_bits
=64
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.
$ac_ext >&5
21048 ac_cv_sys_file_offset_bits
=no
21050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21054 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21055 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21057 if test "$ac_cv_sys_file_offset_bits" != no
; then
21059 cat >>confdefs.h
<<_ACEOF
21060 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21065 if test "x$wx_largefile" != "xyes"; then
21067 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21068 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21069 if test "${ac_cv_sys_large_files+set}" = set; then
21070 echo $ECHO_N "(cached) $ECHO_C" >&6
21073 cat >conftest.
$ac_ext <<_ACEOF
21076 cat confdefs.h
>>conftest.
$ac_ext
21077 cat >>conftest.
$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 #define _LARGE_FILES 1
21080 #include <sys/types.h>
21085 unsigned int field: sizeof(off_t) == 8;
21092 rm -f conftest.
$ac_objext
21093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21094 (eval $ac_compile) 2>conftest.er1
21096 grep -v '^ *+' conftest.er1
>conftest.err
21098 cat conftest.err
>&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } &&
21101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21103 (eval $ac_try) 2>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; } &&
21107 { ac_try
='test -s conftest.$ac_objext'
21108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109 (eval $ac_try) 2>&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; }; then
21113 ac_cv_sys_large_files
=1
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.
$ac_ext >&5
21118 ac_cv_sys_large_files
=no
21120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21124 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21125 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21127 if test "$ac_cv_sys_large_files" != no
; then
21129 cat >>confdefs.h
<<_ACEOF
21130 #define _LARGE_FILES $ac_cv_sys_large_files
21137 echo "$as_me:$LINENO: checking if large file support is available" >&5
21138 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21139 if test "x$wx_largefile" = "xyes"; then
21140 cat >>confdefs.h
<<\_ACEOF
21141 #define HAVE_LARGEFILE_SUPPORT 1
21145 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21146 echo "${ECHO_T}$wx_largefile" >&6
21150 if test "x$wx_largefile" = "xyes"; then
21151 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21152 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21154 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21155 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21156 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21157 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21164 ac_cpp
='$CXXCPP $CPPFLAGS'
21165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21169 cat >conftest.
$ac_ext <<_ACEOF
21172 cat confdefs.h
>>conftest.
$ac_ext
21173 cat >>conftest.
$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21180 #ifndef __STDC_EXT__
21188 rm -f conftest.
$ac_objext
21189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21190 (eval $ac_compile) 2>conftest.er1
21192 grep -v '^ *+' conftest.er1
>conftest.err
21194 cat conftest.err
>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } &&
21197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; } &&
21203 { ac_try
='test -s conftest.$ac_objext'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; }; then
21209 wx_cv_STDC_EXT_required
=no
21211 echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.
$ac_ext >&5
21214 wx_cv_STDC_EXT_required
=yes
21217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21219 ac_cpp
='$CPP $CPPFLAGS'
21220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21227 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21228 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21229 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21230 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
21234 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
21236 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21237 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21238 if test "${ac_cv_sys_largefile_source+set}" = set; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 ac_cv_sys_largefile_source
=no
21243 cat >conftest.
$ac_ext <<_ACEOF
21246 cat confdefs.h
>>conftest.
$ac_ext
21247 cat >>conftest.
$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21258 rm -f conftest.
$ac_objext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21260 (eval $ac_compile) 2>conftest.er1
21262 grep -v '^ *+' conftest.er1
>conftest.err
21264 cat conftest.err
>&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } &&
21267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 (eval $ac_try) 2>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); }; } &&
21273 { ac_try
='test -s conftest.$ac_objext'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; }; then
21281 echo "$as_me: failed program was:" >&5
21282 sed 's/^/| /' conftest.
$ac_ext >&5
21285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21286 cat >conftest.
$ac_ext <<_ACEOF
21289 cat confdefs.h
>>conftest.
$ac_ext
21290 cat >>conftest.
$ac_ext <<_ACEOF
21291 /* end confdefs.h. */
21292 #define _LARGEFILE_SOURCE 1
21302 rm -f conftest.
$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21306 grep -v '^ *+' conftest.er1
>conftest.err
21308 cat conftest.err
>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try
='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_cv_sys_largefile_source
=1; break
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.
$ac_ext >&5
21329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21333 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21334 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21335 if test "$ac_cv_sys_largefile_source" != no
; then
21337 cat >>confdefs.h
<<_ACEOF
21338 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21344 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21345 # in glibc 2.1.3, but that breaks too many other things.
21346 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21347 echo "$as_me:$LINENO: checking for fseeko" >&5
21348 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21349 if test "${ac_cv_func_fseeko+set}" = set; then
21350 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 cat >conftest.
$ac_ext <<_ACEOF
21355 cat confdefs.h
>>conftest.
$ac_ext
21356 cat >>conftest.
$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21362 return fseeko && fseeko (stdin, 0, 0);
21367 rm -f conftest.
$ac_objext conftest
$ac_exeext
21368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21369 (eval $ac_link) 2>conftest.er1
21371 grep -v '^ *+' conftest.er1
>conftest.err
21373 cat conftest.err
>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); } &&
21376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21378 (eval $ac_try) 2>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; } &&
21382 { ac_try
='test -s conftest$ac_exeext'
21383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21384 (eval $ac_try) 2>&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); }; }; then
21388 ac_cv_func_fseeko
=yes
21390 echo "$as_me: failed program was:" >&5
21391 sed 's/^/| /' conftest.
$ac_ext >&5
21393 ac_cv_func_fseeko
=no
21395 rm -f conftest.err conftest.
$ac_objext \
21396 conftest
$ac_exeext conftest.
$ac_ext
21398 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21399 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21400 if test $ac_cv_func_fseeko = yes; then
21402 cat >>confdefs.h
<<\_ACEOF
21403 #define HAVE_FSEEKO 1
21408 if test "$ac_cv_sys_largefile_source" != no
; then
21409 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21411 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
21414 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21415 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21416 if test "${ac_cv_c_bigendian+set}" = set; then
21417 echo $ECHO_N "(cached) $ECHO_C" >&6
21419 ac_cv_c_bigendian
=unknown
21420 # See if sys/param.h defines the BYTE_ORDER macro.
21421 cat >conftest.
$ac_ext <<_ACEOF
21424 cat confdefs.h
>>conftest.
$ac_ext
21425 cat >>conftest.
$ac_ext <<_ACEOF
21426 /* end confdefs.h. */
21427 #include <sys/types.h>
21428 #include <sys/param.h>
21433 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21434 bogus endian macros
21440 rm -f conftest.
$ac_objext
21441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21442 (eval $ac_compile) 2>conftest.er1
21444 grep -v '^ *+' conftest.er1
>conftest.err
21446 cat conftest.err
>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
21455 { ac_try
='test -s conftest.$ac_objext'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; }; then
21461 # It does; now see whether it defined to BIG_ENDIAN or not.
21462 cat >conftest.
$ac_ext <<_ACEOF
21465 cat confdefs.h
>>conftest.
$ac_ext
21466 cat >>conftest.
$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 #include <sys/types.h>
21469 #include <sys/param.h>
21474 #if BYTE_ORDER != BIG_ENDIAN
21481 rm -f conftest.
$ac_objext
21482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21483 (eval $ac_compile) 2>conftest.er1
21485 grep -v '^ *+' conftest.er1
>conftest.err
21487 cat conftest.err
>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } &&
21490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; } &&
21496 { ac_try
='test -s conftest.$ac_objext'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 ac_cv_c_bigendian
=yes
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.
$ac_ext >&5
21507 ac_cv_c_bigendian
=no
21509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21511 echo "$as_me: failed program was:" >&5
21512 sed 's/^/| /' conftest.
$ac_ext >&5
21515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21516 if test $ac_cv_c_bigendian = unknown
; then
21517 if test "$cross_compiling" = yes; then
21518 ac_cv_c_bigendian
=unknown
21520 cat >conftest.
$ac_ext <<_ACEOF
21523 cat confdefs.h
>>conftest.
$ac_ext
21524 cat >>conftest.
$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21527 /* Are we little or big endian? From Harbison&Steele. */
21531 char c[sizeof (long)];
21534 exit (u.c[sizeof (long) - 1] == 1);
21537 rm -f conftest
$ac_exeext
21538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21539 (eval $ac_link) 2>&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; }; then
21548 ac_cv_c_bigendian
=no
21550 echo "$as_me: program exited with status $ac_status" >&5
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.
$ac_ext >&5
21554 ( exit $ac_status )
21555 ac_cv_c_bigendian
=yes
21557 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21561 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21562 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21563 if test $ac_cv_c_bigendian = unknown
; then
21564 { 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
21565 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;}
21567 if test $ac_cv_c_bigendian = yes; then
21568 cat >>confdefs.h
<<\_ACEOF
21569 #define WORDS_BIGENDIAN 1
21576 ac_cpp
='$CXXCPP $CPPFLAGS'
21577 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21580 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21581 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21582 if test -z "$CXXCPP"; then
21583 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21584 echo $ECHO_N "(cached) $ECHO_C" >&6
21586 # Double quotes because CXXCPP needs to be expanded
21587 for CXXCPP
in "$CXX -E" "/lib/cpp"
21589 ac_preproc_ok
=false
21590 for ac_cxx_preproc_warn_flag
in '' yes
21592 # Use a header file that comes with gcc, so configuring glibc
21593 # with a fresh cross-compiler works.
21594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21595 # <limits.h> exists even on freestanding compilers.
21596 # On the NeXT, cc -E runs the code through the compiler's parser,
21597 # not just through cpp. "Syntax error" is here to catch this case.
21598 cat >conftest.
$ac_ext <<_ACEOF
21601 cat confdefs.h
>>conftest.
$ac_ext
21602 cat >>conftest.
$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21605 # include <limits.h>
21607 # include <assert.h>
21611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21614 grep -v '^ *+' conftest.er1
>conftest.err
21616 cat conftest.err
>&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); } >/dev
/null
; then
21619 if test -s conftest.err
; then
21620 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21621 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21628 if test -z "$ac_cpp_err"; then
21631 echo "$as_me: failed program was:" >&5
21632 sed 's/^/| /' conftest.
$ac_ext >&5
21634 # Broken: fails on valid input.
21637 rm -f conftest.err conftest.
$ac_ext
21639 # OK, works on sane cases. Now check whether non-existent headers
21640 # can be detected and how.
21641 cat >conftest.
$ac_ext <<_ACEOF
21644 cat confdefs.h
>>conftest.
$ac_ext
21645 cat >>conftest.
$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 #include <ac_nonexistent.h>
21649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21650 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21652 grep -v '^ *+' conftest.er1
>conftest.err
21654 cat conftest.err
>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } >/dev
/null
; then
21657 if test -s conftest.err
; then
21658 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21659 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21666 if test -z "$ac_cpp_err"; then
21667 # Broken: success on invalid input.
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.
$ac_ext >&5
21673 # Passes both tests.
21677 rm -f conftest.err conftest.
$ac_ext
21680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21681 rm -f conftest.err conftest.
$ac_ext
21682 if $ac_preproc_ok; then
21687 ac_cv_prog_CXXCPP
=$CXXCPP
21690 CXXCPP
=$ac_cv_prog_CXXCPP
21692 ac_cv_prog_CXXCPP
=$CXXCPP
21694 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21695 echo "${ECHO_T}$CXXCPP" >&6
21696 ac_preproc_ok
=false
21697 for ac_cxx_preproc_warn_flag
in '' yes
21699 # Use a header file that comes with gcc, so configuring glibc
21700 # with a fresh cross-compiler works.
21701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21702 # <limits.h> exists even on freestanding compilers.
21703 # On the NeXT, cc -E runs the code through the compiler's parser,
21704 # not just through cpp. "Syntax error" is here to catch this case.
21705 cat >conftest.
$ac_ext <<_ACEOF
21708 cat confdefs.h
>>conftest.
$ac_ext
21709 cat >>conftest.
$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21712 # include <limits.h>
21714 # include <assert.h>
21718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21719 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21721 grep -v '^ *+' conftest.er1
>conftest.err
21723 cat conftest.err
>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } >/dev
/null
; then
21726 if test -s conftest.err
; then
21727 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21728 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21735 if test -z "$ac_cpp_err"; then
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.
$ac_ext >&5
21741 # Broken: fails on valid input.
21744 rm -f conftest.err conftest.
$ac_ext
21746 # OK, works on sane cases. Now check whether non-existent headers
21747 # can be detected and how.
21748 cat >conftest.
$ac_ext <<_ACEOF
21751 cat confdefs.h
>>conftest.
$ac_ext
21752 cat >>conftest.
$ac_ext <<_ACEOF
21753 /* end confdefs.h. */
21754 #include <ac_nonexistent.h>
21756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21759 grep -v '^ *+' conftest.er1
>conftest.err
21761 cat conftest.err
>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); } >/dev
/null
; then
21764 if test -s conftest.err
; then
21765 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21766 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21773 if test -z "$ac_cpp_err"; then
21774 # Broken: success on invalid input.
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.
$ac_ext >&5
21780 # Passes both tests.
21784 rm -f conftest.err conftest.
$ac_ext
21787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21788 rm -f conftest.err conftest.
$ac_ext
21789 if $ac_preproc_ok; then
21792 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21793 See \`config.log' for more details." >&5
21794 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21795 See \`config.log' for more details." >&2;}
21796 { (exit 1); exit 1; }; }
21800 ac_cpp
='$CXXCPP $CPPFLAGS'
21801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21810 ac_cpp
='$CXXCPP $CPPFLAGS'
21811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21817 for ac_header
in iostream
21819 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21821 echo "$as_me:$LINENO: checking for $ac_header" >&5
21822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21824 echo $ECHO_N "(cached) $ECHO_C" >&6
21826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21829 # Is the header compilable?
21830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21832 cat >conftest.
$ac_ext <<_ACEOF
21835 cat confdefs.h
>>conftest.
$ac_ext
21836 cat >>conftest.
$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 $ac_includes_default
21839 #include <$ac_header>
21841 rm -f conftest.
$ac_objext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21843 (eval $ac_compile) 2>conftest.er1
21845 grep -v '^ *+' conftest.er1
>conftest.err
21847 cat conftest.err
>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } &&
21850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; } &&
21856 { ac_try
='test -s conftest.$ac_objext'
21857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 (eval $ac_try) 2>&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; }; then
21862 ac_header_compiler
=yes
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.
$ac_ext >&5
21867 ac_header_compiler
=no
21869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21871 echo "${ECHO_T}$ac_header_compiler" >&6
21873 # Is the header present?
21874 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21876 cat >conftest.
$ac_ext <<_ACEOF
21879 cat confdefs.h
>>conftest.
$ac_ext
21880 cat >>conftest.
$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21882 #include <$ac_header>
21884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21885 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21887 grep -v '^ *+' conftest.er1
>conftest.err
21889 cat conftest.err
>&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } >/dev
/null
; then
21892 if test -s conftest.err
; then
21893 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21894 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21901 if test -z "$ac_cpp_err"; then
21902 ac_header_preproc
=yes
21904 echo "$as_me: failed program was:" >&5
21905 sed 's/^/| /' conftest.
$ac_ext >&5
21907 ac_header_preproc
=no
21909 rm -f conftest.err conftest.
$ac_ext
21910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21911 echo "${ECHO_T}$ac_header_preproc" >&6
21913 # So? What about this header?
21914 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21916 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21917 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21919 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21920 ac_header_preproc
=yes
21923 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21924 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21925 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21926 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21927 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21928 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21929 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21930 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21932 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21933 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21934 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21937 ## ----------------------------------------- ##
21938 ## Report this to wx-dev@lists.wxwidgets.org ##
21939 ## ----------------------------------------- ##
21942 sed "s/^/$as_me: WARNING: /" >&2
21945 echo "$as_me:$LINENO: checking for $ac_header" >&5
21946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21948 echo $ECHO_N "(cached) $ECHO_C" >&6
21950 eval "$as_ac_Header=\$ac_header_preproc"
21952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21957 cat >>confdefs.h
<<_ACEOF
21958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21966 if test "$ac_cv_header_iostream" = "yes" ; then
21969 cat >>confdefs.h
<<\_ACEOF
21970 #define wxUSE_IOSTREAMH 1
21976 ac_cpp
='$CPP $CPPFLAGS'
21977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21984 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21985 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21986 if test "${wx_cv_cpp_bool+set}" = set; then
21987 echo $ECHO_N "(cached) $ECHO_C" >&6
21993 ac_cpp
='$CXXCPP $CPPFLAGS'
21994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21999 cat >conftest.
$ac_ext <<_ACEOF
22002 cat confdefs.h
>>conftest.
$ac_ext
22003 cat >>conftest.
$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22019 rm -f conftest.
$ac_objext
22020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22021 (eval $ac_compile) 2>conftest.er1
22023 grep -v '^ *+' conftest.er1
>conftest.err
22025 cat conftest.err
>&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); } &&
22028 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; } &&
22034 { ac_try
='test -s conftest.$ac_objext'
22035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22036 (eval $ac_try) 2>&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); }; }; then
22044 echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.
$ac_ext >&5
22052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22055 ac_cpp
='$CPP $CPPFLAGS'
22056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22062 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22063 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22065 if test "$wx_cv_cpp_bool" = "yes"; then
22066 cat >>confdefs.h
<<\_ACEOF
22067 #define HAVE_BOOL 1
22074 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22075 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22076 if test "${wx_cv_explicit+set}" = set; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22083 ac_cpp
='$CXXCPP $CPPFLAGS'
22084 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22085 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22086 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22089 cat >conftest.
$ac_ext <<_ACEOF
22092 cat confdefs.h
>>conftest.
$ac_ext
22093 cat >>conftest.
$ac_ext <<_ACEOF
22094 /* end confdefs.h. */
22096 class Foo { public: explicit Foo(int) {} };
22108 rm -f conftest.
$ac_objext
22109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22110 (eval $ac_compile) 2>conftest.er1
22112 grep -v '^ *+' conftest.er1
>conftest.err
22114 cat conftest.err
>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } &&
22117 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; } &&
22123 { ac_try
='test -s conftest.$ac_objext'
22124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22125 (eval $ac_try) 2>&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; }; then
22130 cat >conftest.
$ac_ext <<_ACEOF
22133 cat confdefs.h
>>conftest.
$ac_ext
22134 cat >>conftest.
$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22137 class Foo { public: explicit Foo(int) {} };
22138 static void TakeFoo(const Foo& foo) { }
22151 rm -f conftest.
$ac_objext
22152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22153 (eval $ac_compile) 2>conftest.er1
22155 grep -v '^ *+' conftest.er1
>conftest.err
22157 cat conftest.err
>&5
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); } &&
22160 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22162 (eval $ac_try) 2>&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; } &&
22166 { ac_try
='test -s conftest.$ac_objext'
22167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22168 (eval $ac_try) 2>&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); }; }; then
22174 echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.
$ac_ext >&5
22180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.
$ac_ext >&5
22189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22192 ac_cpp
='$CPP $CPPFLAGS'
22193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22199 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22200 echo "${ECHO_T}$wx_cv_explicit" >&6
22202 if test "$wx_cv_explicit" = "yes"; then
22203 cat >>confdefs.h
<<\_ACEOF
22204 #define HAVE_EXPLICIT 1
22210 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22211 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22212 if test "${ac_cv_cxx_const_cast+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 ac_cpp
='$CXXCPP $CPPFLAGS'
22219 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22220 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22221 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22223 cat >conftest.
$ac_ext <<_ACEOF
22226 cat confdefs.h
>>conftest.
$ac_ext
22227 cat >>conftest.
$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22233 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22238 rm -f conftest.
$ac_objext
22239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22240 (eval $ac_compile) 2>conftest.er1
22242 grep -v '^ *+' conftest.er1
>conftest.err
22244 cat conftest.err
>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } &&
22247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22249 (eval $ac_try) 2>&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); }; } &&
22253 { ac_try
='test -s conftest.$ac_objext'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; }; then
22259 ac_cv_cxx_const_cast
=yes
22261 echo "$as_me: failed program was:" >&5
22262 sed 's/^/| /' conftest.
$ac_ext >&5
22264 ac_cv_cxx_const_cast
=no
22266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22268 ac_cpp
='$CPP $CPPFLAGS'
22269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22275 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22276 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22277 if test "$ac_cv_cxx_const_cast" = yes; then
22279 cat >>confdefs.h
<<\_ACEOF
22280 #define HAVE_CONST_CAST
22285 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22286 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22287 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22288 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 ac_cpp
='$CXXCPP $CPPFLAGS'
22294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22298 cat >conftest.
$ac_ext <<_ACEOF
22301 cat confdefs.h
>>conftest.
$ac_ext
22302 cat >>conftest.
$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 #include <typeinfo>
22305 class Base { public : Base () {} virtual void f () = 0;};
22306 class Derived : public Base { public : Derived () {} virtual void f () {} };
22307 class Unrelated { public : Unrelated () {} };
22308 int g (Unrelated&) { return 0; }
22313 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22318 rm -f conftest.
$ac_objext
22319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22320 (eval $ac_compile) 2>conftest.er1
22322 grep -v '^ *+' conftest.er1
>conftest.err
22324 cat conftest.err
>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } &&
22327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; } &&
22333 { ac_try
='test -s conftest.$ac_objext'
22334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335 (eval $ac_try) 2>&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); }; }; then
22339 ac_cv_cxx_reinterpret_cast
=yes
22341 echo "$as_me: failed program was:" >&5
22342 sed 's/^/| /' conftest.
$ac_ext >&5
22344 ac_cv_cxx_reinterpret_cast
=no
22346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22348 ac_cpp
='$CPP $CPPFLAGS'
22349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22355 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22356 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22357 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22359 cat >>confdefs.h
<<\_ACEOF
22360 #define HAVE_REINTERPRET_CAST
22365 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22366 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22367 if test "${ac_cv_cxx_static_cast+set}" = set; then
22368 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 ac_cpp
='$CXXCPP $CPPFLAGS'
22374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22378 cat >conftest.
$ac_ext <<_ACEOF
22381 cat confdefs.h
>>conftest.
$ac_ext
22382 cat >>conftest.
$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 #include <typeinfo>
22385 class Base { public : Base () {} virtual void f () = 0; };
22386 class Derived : public Base { public : Derived () {} virtual void f () {} };
22387 int g (Derived&) { return 0; }
22392 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22397 rm -f conftest.
$ac_objext
22398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22399 (eval $ac_compile) 2>conftest.er1
22401 grep -v '^ *+' conftest.er1
>conftest.err
22403 cat conftest.err
>&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } &&
22406 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22408 (eval $ac_try) 2>&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); }; } &&
22412 { ac_try
='test -s conftest.$ac_objext'
22413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22414 (eval $ac_try) 2>&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); }; }; then
22418 ac_cv_cxx_static_cast
=yes
22420 echo "$as_me: failed program was:" >&5
22421 sed 's/^/| /' conftest.
$ac_ext >&5
22423 ac_cv_cxx_static_cast
=no
22425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22427 ac_cpp
='$CPP $CPPFLAGS'
22428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22434 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22435 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22436 if test "$ac_cv_cxx_static_cast" = yes; then
22438 cat >>confdefs.h
<<\_ACEOF
22439 #define HAVE_STATIC_CAST
22445 if test "x$SUNCXX" = xyes
; then
22446 CXXFLAGS
="$CXXFLAGS -features=tmplife"
22449 if test "x$SUNCC" = xyes
; then
22450 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22453 if test "x$SGICC" = "xyes"; then
22454 CFLAGS
="$CFLAGS -woff 3970"
22456 if test "x$SGICXX" = "xyes"; then
22457 CXXFLAGS
="$CXXFLAGS -woff 3970"
22460 if test "x$HPCC" = "xyes"; then
22461 CFLAGS
="$CFLAGS +W 2011,2450"
22463 if test "x$HPCXX" = "xyes"; then
22464 CXXFLAGS
="$CXXFLAGS +W 2340"
22467 if test "x$COMPAQCXX" = "xyes"; then
22468 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22471 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22473 ac_cpp
='$CXXCPP $CPPFLAGS'
22474 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22475 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22476 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22479 if test "$wxUSE_UNICODE" = "yes"; then
22480 std_string
="std::wstring"
22481 char_type
="wchar_t"
22483 std_string
="std::string"
22487 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22488 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22489 cat >conftest.
$ac_ext <<_ACEOF
22492 cat confdefs.h
>>conftest.
$ac_ext
22493 cat >>conftest.
$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22504 rm -f conftest.
$ac_objext
22505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22506 (eval $ac_compile) 2>conftest.er1
22508 grep -v '^ *+' conftest.er1
>conftest.err
22510 cat conftest.err
>&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } &&
22513 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22515 (eval $ac_try) 2>&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); }; } &&
22519 { ac_try
='test -s conftest.$ac_objext'
22520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22521 (eval $ac_try) 2>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); }; }; then
22525 echo "$as_me:$LINENO: result: yes" >&5
22526 echo "${ECHO_T}yes" >&6
22527 cat >>confdefs.h
<<\_ACEOF
22528 #define HAVE_STD_WSTRING 1
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.
$ac_ext >&5
22535 echo "$as_me:$LINENO: result: no" >&5
22536 echo "${ECHO_T}no" >&6
22537 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22538 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22539 cat >conftest.
$ac_ext <<_ACEOF
22542 cat confdefs.h
>>conftest.
$ac_ext
22543 cat >>conftest.
$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22546 #ifdef HAVE_WCHAR_H
22548 # include <stddef.h>
22550 # include <wchar.h>
22552 #ifdef HAVE_STDLIB_H
22553 # include <stdlib.h>
22561 std::basic_string<$char_type> foo;
22562 const $char_type* dummy = foo.c_str();
22567 rm -f conftest.
$ac_objext
22568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22569 (eval $ac_compile) 2>conftest.er1
22571 grep -v '^ *+' conftest.er1
>conftest.err
22573 cat conftest.err
>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; } &&
22582 { ac_try
='test -s conftest.$ac_objext'
22583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584 (eval $ac_try) 2>&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); }; }; then
22588 echo "$as_me:$LINENO: result: yes" >&5
22589 echo "${ECHO_T}yes" >&6
22591 echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.
$ac_ext >&5
22594 echo "$as_me:$LINENO: result: no" >&5
22595 echo "${ECHO_T}no" >&6
22596 if test "$wxUSE_STL" = "yes"; then
22597 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22598 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22599 { (exit 1); exit 1; }; }
22600 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22601 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22602 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22603 { (exit 1); exit 1; }; }
22605 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22606 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22607 wxUSE_STD_STRING
=no
22612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22618 ac_cpp
='$CPP $CPPFLAGS'
22619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22625 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22627 ac_cpp
='$CXXCPP $CPPFLAGS'
22628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22633 echo "$as_me:$LINENO: checking for std::istream" >&5
22634 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22635 if test "${ac_cv_type_std__istream+set}" = set; then
22636 echo $ECHO_N "(cached) $ECHO_C" >&6
22638 cat >conftest.
$ac_ext <<_ACEOF
22641 cat confdefs.h
>>conftest.
$ac_ext
22642 cat >>conftest.
$ac_ext <<_ACEOF
22643 /* end confdefs.h. */
22644 #include <iostream>
22649 if ((std::istream *) 0)
22651 if (sizeof (std::istream))
22657 rm -f conftest.
$ac_objext
22658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22659 (eval $ac_compile) 2>conftest.er1
22661 grep -v '^ *+' conftest.er1
>conftest.err
22663 cat conftest.err
>&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); } &&
22666 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 (eval $ac_try) 2>&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); }; } &&
22672 { ac_try
='test -s conftest.$ac_objext'
22673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22674 (eval $ac_try) 2>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); }; }; then
22678 ac_cv_type_std__istream
=yes
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.
$ac_ext >&5
22683 ac_cv_type_std__istream
=no
22685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22687 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22688 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22689 if test $ac_cv_type_std__istream = yes; then
22691 cat >>confdefs.h
<<_ACEOF
22692 #define HAVE_STD__ISTREAM 1
22697 wxUSE_STD_IOSTREAM
=no
22699 echo "$as_me:$LINENO: checking for std::ostream" >&5
22700 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22701 if test "${ac_cv_type_std__ostream+set}" = set; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 cat >conftest.
$ac_ext <<_ACEOF
22707 cat confdefs.h
>>conftest.
$ac_ext
22708 cat >>conftest.
$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22710 #include <iostream>
22715 if ((std::ostream *) 0)
22717 if (sizeof (std::ostream))
22723 rm -f conftest.
$ac_objext
22724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22725 (eval $ac_compile) 2>conftest.er1
22727 grep -v '^ *+' conftest.er1
>conftest.err
22729 cat conftest.err
>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } &&
22732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; } &&
22738 { ac_try
='test -s conftest.$ac_objext'
22739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740 (eval $ac_try) 2>&5
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); }; }; then
22744 ac_cv_type_std__ostream
=yes
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.
$ac_ext >&5
22749 ac_cv_type_std__ostream
=no
22751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22753 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22754 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22755 if test $ac_cv_type_std__ostream = yes; then
22757 cat >>confdefs.h
<<_ACEOF
22758 #define HAVE_STD__OSTREAM 1
22763 wxUSE_STD_IOSTREAM
=no
22767 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22768 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22769 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22770 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22771 { (exit 1); exit 1; }; }
22773 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22774 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22779 ac_cpp
='$CPP $CPPFLAGS'
22780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22786 if test "$wxUSE_STL" = "yes"; then
22788 ac_cpp
='$CXXCPP $CPPFLAGS'
22789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22794 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22795 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22796 cat >conftest.
$ac_ext <<_ACEOF
22799 cat confdefs.h
>>conftest.
$ac_ext
22800 cat >>conftest.
$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22803 #include <functional>
22804 #include <algorithm>
22810 std::vector<int> moo;
22811 std::list<int> foo;
22812 std::vector<int>::iterator it =
22813 std::find_if(moo.begin(), moo.end(),
22814 std::bind2nd(std::less<int>(), 3));
22819 rm -f conftest.
$ac_objext
22820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22821 (eval $ac_compile) 2>conftest.er1
22823 grep -v '^ *+' conftest.er1
>conftest.err
22825 cat conftest.err
>&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } &&
22828 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22830 (eval $ac_try) 2>&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); }; } &&
22834 { ac_try
='test -s conftest.$ac_objext'
22835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22836 (eval $ac_try) 2>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); }; }; then
22840 echo "$as_me:$LINENO: result: yes" >&5
22841 echo "${ECHO_T}yes" >&6
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.
$ac_ext >&5
22846 echo "$as_me:$LINENO: result: no" >&5
22847 echo "${ECHO_T}no" >&6
22848 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22849 echo "$as_me: error: Basic STL functionality missing" >&2;}
22850 { (exit 1); exit 1; }; }
22852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22854 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22855 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22856 cat >conftest.
$ac_ext <<_ACEOF
22859 cat confdefs.h
>>conftest.
$ac_ext
22860 cat >>conftest.
$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22866 std::string foo, bar;
22868 foo.compare(1, 1, bar);
22869 foo.compare(1, 1, bar, 1, 1);
22871 foo.compare(1, 1, "");
22872 foo.compare(1, 1, "", 2);
22877 rm -f conftest.
$ac_objext
22878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22879 (eval $ac_compile) 2>conftest.er1
22881 grep -v '^ *+' conftest.er1
>conftest.err
22883 cat conftest.err
>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } &&
22886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try
='test -s conftest.$ac_objext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 echo "$as_me:$LINENO: result: yes" >&5
22899 echo "${ECHO_T}yes" >&6
22900 cat >>confdefs.h
<<\_ACEOF
22901 #define HAVE_STD_STRING_COMPARE 1
22905 echo "$as_me: failed program was:" >&5
22906 sed 's/^/| /' conftest.
$ac_ext >&5
22908 echo "$as_me:$LINENO: result: no" >&5
22909 echo "${ECHO_T}no" >&6
22911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22913 if test "${ac_cv_header_hash_map+set}" = set; then
22914 echo "$as_me:$LINENO: checking for hash_map" >&5
22915 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22916 if test "${ac_cv_header_hash_map+set}" = set; then
22917 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22920 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22922 # Is the header compilable?
22923 echo "$as_me:$LINENO: checking hash_map usability" >&5
22924 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22925 cat >conftest.
$ac_ext <<_ACEOF
22928 cat confdefs.h
>>conftest.
$ac_ext
22929 cat >>conftest.
$ac_ext <<_ACEOF
22930 /* end confdefs.h. */
22931 $ac_includes_default
22932 #include <hash_map>
22934 rm -f conftest.
$ac_objext
22935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22936 (eval $ac_compile) 2>conftest.er1
22938 grep -v '^ *+' conftest.er1
>conftest.err
22940 cat conftest.err
>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } &&
22943 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; } &&
22949 { ac_try
='test -s conftest.$ac_objext'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; }; then
22955 ac_header_compiler
=yes
22957 echo "$as_me: failed program was:" >&5
22958 sed 's/^/| /' conftest.
$ac_ext >&5
22960 ac_header_compiler
=no
22962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22964 echo "${ECHO_T}$ac_header_compiler" >&6
22966 # Is the header present?
22967 echo "$as_me:$LINENO: checking hash_map presence" >&5
22968 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22969 cat >conftest.
$ac_ext <<_ACEOF
22972 cat confdefs.h
>>conftest.
$ac_ext
22973 cat >>conftest.
$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975 #include <hash_map>
22977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22980 grep -v '^ *+' conftest.er1
>conftest.err
22982 cat conftest.err
>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } >/dev
/null
; then
22985 if test -s conftest.err
; then
22986 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22987 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22994 if test -z "$ac_cpp_err"; then
22995 ac_header_preproc
=yes
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.
$ac_ext >&5
23000 ac_header_preproc
=no
23002 rm -f conftest.err conftest.
$ac_ext
23003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23004 echo "${ECHO_T}$ac_header_preproc" >&6
23006 # So? What about this header?
23007 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23009 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23010 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23011 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23012 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23013 ac_header_preproc
=yes
23016 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23017 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23018 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23019 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23020 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23021 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23022 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23023 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23024 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23025 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23026 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23027 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23030 ## ----------------------------------------- ##
23031 ## Report this to wx-dev@lists.wxwidgets.org ##
23032 ## ----------------------------------------- ##
23035 sed "s/^/$as_me: WARNING: /" >&2
23038 echo "$as_me:$LINENO: checking for hash_map" >&5
23039 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23040 if test "${ac_cv_header_hash_map+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 ac_cv_header_hash_map
=$ac_header_preproc
23045 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23046 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23049 if test $ac_cv_header_hash_map = yes; then
23050 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23051 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23052 cat >conftest.
$ac_ext <<_ACEOF
23055 cat confdefs.h
>>conftest.
$ac_ext
23056 cat >>conftest.
$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 #include <hash_map>
23059 #include <hash_set>
23063 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23064 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23069 rm -f conftest.
$ac_objext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23071 (eval $ac_compile) 2>conftest.er1
23073 grep -v '^ *+' conftest.er1
>conftest.err
23075 cat conftest.err
>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080 (eval $ac_try) 2>&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; } &&
23084 { ac_try
='test -s conftest.$ac_objext'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 echo "$as_me:$LINENO: result: yes" >&5
23091 echo "${ECHO_T}yes" >&6
23092 cat >>confdefs.h
<<\_ACEOF
23093 #define HAVE_HASH_MAP 1
23096 cat >>confdefs.h
<<\_ACEOF
23097 #define HAVE_STD_HASH_MAP 1
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.
$ac_ext >&5
23104 echo "$as_me:$LINENO: result: no" >&5
23105 echo "${ECHO_T}no" >&6
23107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23113 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23114 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23115 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23116 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23117 echo $ECHO_N "(cached) $ECHO_C" >&6
23119 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23120 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23122 # Is the header compilable?
23123 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23124 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23125 cat >conftest.
$ac_ext <<_ACEOF
23128 cat confdefs.h
>>conftest.
$ac_ext
23129 cat >>conftest.
$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 $ac_includes_default
23132 #include <ext/hash_map>
23134 rm -f conftest.
$ac_objext
23135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23136 (eval $ac_compile) 2>conftest.er1
23138 grep -v '^ *+' conftest.er1
>conftest.err
23140 cat conftest.err
>&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } &&
23143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try
='test -s conftest.$ac_objext'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 ac_header_compiler
=yes
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.
$ac_ext >&5
23160 ac_header_compiler
=no
23162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23164 echo "${ECHO_T}$ac_header_compiler" >&6
23166 # Is the header present?
23167 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23168 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23169 cat >conftest.
$ac_ext <<_ACEOF
23172 cat confdefs.h
>>conftest.
$ac_ext
23173 cat >>conftest.
$ac_ext <<_ACEOF
23174 /* end confdefs.h. */
23175 #include <ext/hash_map>
23177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23180 grep -v '^ *+' conftest.er1
>conftest.err
23182 cat conftest.err
>&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } >/dev
/null
; then
23185 if test -s conftest.err
; then
23186 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23187 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23194 if test -z "$ac_cpp_err"; then
23195 ac_header_preproc
=yes
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.
$ac_ext >&5
23200 ac_header_preproc
=no
23202 rm -f conftest.err conftest.
$ac_ext
23203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23204 echo "${ECHO_T}$ac_header_preproc" >&6
23206 # So? What about this header?
23207 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23209 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23210 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23211 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23212 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23213 ac_header_preproc
=yes
23216 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23217 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23218 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23219 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23220 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23221 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23222 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23223 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23224 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23225 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23226 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23227 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23230 ## ----------------------------------------- ##
23231 ## Report this to wx-dev@lists.wxwidgets.org ##
23232 ## ----------------------------------------- ##
23235 sed "s/^/$as_me: WARNING: /" >&2
23238 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23239 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23240 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23243 ac_cv_header_ext_hash_map
=$ac_header_preproc
23245 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23246 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23249 if test $ac_cv_header_ext_hash_map = yes; then
23250 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23251 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23252 cat >conftest.
$ac_ext <<_ACEOF
23255 cat confdefs.h
>>conftest.
$ac_ext
23256 cat >>conftest.
$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23258 #include <ext/hash_map>
23259 #include <ext/hash_set>
23263 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23264 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23269 rm -f conftest.
$ac_objext
23270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23271 (eval $ac_compile) 2>conftest.er1
23273 grep -v '^ *+' conftest.er1
>conftest.err
23275 cat conftest.err
>&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); } &&
23278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280 (eval $ac_try) 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; } &&
23284 { ac_try
='test -s conftest.$ac_objext'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; }; then
23290 echo "$as_me:$LINENO: result: yes" >&5
23291 echo "${ECHO_T}yes" >&6
23292 cat >>confdefs.h
<<\_ACEOF
23293 #define HAVE_EXT_HASH_MAP 1
23296 cat >>confdefs.h
<<\_ACEOF
23297 #define HAVE_GNU_CXX_HASH_MAP 1
23301 echo "$as_me: failed program was:" >&5
23302 sed 's/^/| /' conftest.
$ac_ext >&5
23304 echo "$as_me:$LINENO: result: no" >&5
23305 echo "${ECHO_T}no" >&6
23307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23314 ac_cpp
='$CPP $CPPFLAGS'
23315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23323 /usr/local/include \
23325 /usr/Motif-2.1/include \
23326 /usr/Motif-1.2/include \
23327 /usr/include/Motif1.2 \
23330 /usr/openwin/include \
23334 /usr/X11R6/include \
23335 /usr/X11R6.4/include \
23336 /usr/X11R5/include \
23337 /usr/X11R4/include \
23339 /usr/include/X11R6 \
23340 /usr/include/X11R5 \
23341 /usr/include/X11R4 \
23343 /usr/local/X11R6/include \
23344 /usr/local/X11R5/include \
23345 /usr/local/X11R4/include \
23347 /usr/local/include/X11R6 \
23348 /usr/local/include/X11R5 \
23349 /usr/local/include/X11R4 \
23353 /usr/local/X11/include \
23354 /usr/local/include/X11 \
23356 /usr/XFree86/include/X11 \
23359 /usr/openwin/share/include"
23361 echo "$as_me:$LINENO: checking for libraries directory" >&5
23362 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23366 if test "${wx_cv_std_libpath+set}" = set; then
23367 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23371 for e
in a so sl dylib dll.a
; do
23373 if test -f $libc; then
23376 cat >conftest.
$ac_ext <<_ACEOF
23377 int main() { return 0; }
23379 rm -f conftest.
$ac_objext conftest
$ac_exeext
23380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23381 (eval $ac_link) 2>conftest.er1
23383 grep -v '^ *+' conftest.er1
>conftest.err
23385 cat conftest.err
>&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } &&
23388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; } &&
23394 { ac_try
='test -s conftest$ac_exeext'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; }; then
23400 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.
$ac_ext >&5
23406 rm -f conftest.err conftest.
$ac_objext \
23407 conftest
$ac_exeext conftest.
$ac_ext
23409 if test "x$wx_cv_std_libpath" != "x"; then
23415 if test "x$wx_cv_std_libpath" = "x"; then
23416 wx_cv_std_libpath
="lib"
23425 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23426 wx_cv_std_libpath
="lib/64"
23428 wx_cv_std_libpath
="lib"
23433 if test "$ac_cv_sizeof_void_p" = 8 -a \
23434 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23435 wx_cv_std_libpath
="lib64"
23437 wx_cv_std_libpath
="lib"
23442 wx_cv_std_libpath
="lib";
23446 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23447 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23449 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23451 if test "$build" != "$host" -a "$GCC" = yes; then
23452 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23453 cross_root
=`dirname $cross_root`
23454 cross_root
=`dirname $cross_root`
23456 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23457 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23459 if test -z "$PKG_CONFIG_PATH"; then
23460 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23461 export PKG_CONFIG_PATH
23464 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23467 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23469 if test -f "$ac_dir/X11/Intrinsic.h"; then
23470 ac_find_includes
=$ac_dir
23475 x_includes
=$ac_find_includes
23477 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23480 for ac_dir
in $SEARCH_LIB;
23482 for ac_extension
in a so sl dylib dll.a
; do
23483 if test -f "$ac_dir/libXt.$ac_extension"; then
23484 ac_find_libraries
=$ac_dir
23490 x_libraries
=$ac_find_libraries
23496 cat >confcache
<<\_ACEOF
23497 # This file is a shell script that caches the results of configure
23498 # tests run on this system so they can be shared between configure
23499 # scripts and configure runs, see configure's option --config-cache.
23500 # It is not useful on other systems. If it contains results you don't
23501 # want to keep, you may remove or edit it.
23503 # config.status only pays attention to the cache file if you give it
23504 # the --recheck option to rerun configure.
23506 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23507 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23508 # following values.
23512 # The following way of writing the cache mishandles newlines in values,
23513 # but we know of no workaround that is simple, portable, and efficient.
23514 # So, don't put newlines in cache variables' values.
23515 # Ultrix sh set writes to stderr and can't be redirected directly,
23516 # and sets the high bit in the cache file unless we assign to the vars.
23519 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23521 # `set' does not quote correctly, so add quotes (double-quote
23522 # substitution turns \\\\ into \\, and sed turns \\ into \).
23525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23528 # `set' quotes correctly as required by POSIX, so do not add quotes.
23530 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23537 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23539 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23541 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23542 if test -w $cache_file; then
23543 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23544 cat confcache
>$cache_file
23546 echo "not updating unwritable cache $cache_file"
23551 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23552 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23553 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23554 if test "${wx_cv_lib_glibc21+set}" = set; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23558 cat >conftest.
$ac_ext <<_ACEOF
23561 cat confdefs.h
>>conftest.
$ac_ext
23562 cat >>conftest.
$ac_ext <<_ACEOF
23563 /* end confdefs.h. */
23564 #include <features.h>
23569 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23577 rm -f conftest.
$ac_objext
23578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23579 (eval $ac_compile) 2>conftest.er1
23581 grep -v '^ *+' conftest.er1
>conftest.err
23583 cat conftest.err
>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } &&
23586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; } &&
23592 { ac_try
='test -s conftest.$ac_objext'
23593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594 (eval $ac_try) 2>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; }; then
23599 wx_cv_lib_glibc21
=yes
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.
$ac_ext >&5
23606 wx_cv_lib_glibc21
=no
23610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23613 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23614 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23615 if test "$wx_cv_lib_glibc21" = "yes"; then
23616 cat >>confdefs.h
<<\_ACEOF
23617 #define wxHAVE_GLIBC2 1
23623 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23624 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23625 cat >>confdefs.h
<<\_ACEOF
23626 #define _GNU_SOURCE 1
23634 if test "$wxUSE_REGEX" != "no"; then
23635 cat >>confdefs.h
<<\_ACEOF
23636 #define wxUSE_REGEX 1
23640 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23641 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23642 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23643 wxUSE_REGEX
=builtin
23646 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23647 if test "${ac_cv_header_regex_h+set}" = set; then
23648 echo "$as_me:$LINENO: checking for regex.h" >&5
23649 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23650 if test "${ac_cv_header_regex_h+set}" = set; then
23651 echo $ECHO_N "(cached) $ECHO_C" >&6
23653 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23654 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23656 # Is the header compilable?
23657 echo "$as_me:$LINENO: checking regex.h usability" >&5
23658 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23659 cat >conftest.
$ac_ext <<_ACEOF
23662 cat confdefs.h
>>conftest.
$ac_ext
23663 cat >>conftest.
$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 $ac_includes_default
23668 rm -f conftest.
$ac_objext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23670 (eval $ac_compile) 2>conftest.er1
23672 grep -v '^ *+' conftest.er1
>conftest.err
23674 cat conftest.err
>&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try
='test -s conftest.$ac_objext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_header_compiler
=yes
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.
$ac_ext >&5
23694 ac_header_compiler
=no
23696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23698 echo "${ECHO_T}$ac_header_compiler" >&6
23700 # Is the header present?
23701 echo "$as_me:$LINENO: checking regex.h presence" >&5
23702 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23703 cat >conftest.
$ac_ext <<_ACEOF
23706 cat confdefs.h
>>conftest.
$ac_ext
23707 cat >>conftest.
$ac_ext <<_ACEOF
23708 /* end confdefs.h. */
23711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23712 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23714 grep -v '^ *+' conftest.er1
>conftest.err
23716 cat conftest.err
>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } >/dev
/null
; then
23719 if test -s conftest.err
; then
23720 ac_cpp_err
=$ac_c_preproc_warn_flag
23721 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23728 if test -z "$ac_cpp_err"; then
23729 ac_header_preproc
=yes
23731 echo "$as_me: failed program was:" >&5
23732 sed 's/^/| /' conftest.
$ac_ext >&5
23734 ac_header_preproc
=no
23736 rm -f conftest.err conftest.
$ac_ext
23737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23738 echo "${ECHO_T}$ac_header_preproc" >&6
23740 # So? What about this header?
23741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23743 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23744 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23745 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23746 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23747 ac_header_preproc
=yes
23750 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23751 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23752 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23753 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23754 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23755 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23756 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23757 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23758 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23759 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23760 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23761 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23764 ## ----------------------------------------- ##
23765 ## Report this to wx-dev@lists.wxwidgets.org ##
23766 ## ----------------------------------------- ##
23769 sed "s/^/$as_me: WARNING: /" >&2
23772 echo "$as_me:$LINENO: checking for regex.h" >&5
23773 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23774 if test "${ac_cv_header_regex_h+set}" = set; then
23775 echo $ECHO_N "(cached) $ECHO_C" >&6
23777 ac_cv_header_regex_h
=$ac_header_preproc
23779 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23780 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23783 if test $ac_cv_header_regex_h = yes; then
23785 for ac_func
in regcomp
23787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23788 echo "$as_me:$LINENO: checking for $ac_func" >&5
23789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23790 if eval "test \"\${$as_ac_var+set}\" = set"; then
23791 echo $ECHO_N "(cached) $ECHO_C" >&6
23793 cat >conftest.
$ac_ext <<_ACEOF
23796 cat confdefs.h
>>conftest.
$ac_ext
23797 cat >>conftest.
$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23801 #define $ac_func innocuous_$ac_func
23803 /* System header to define __stub macros and hopefully few prototypes,
23804 which can conflict with char $ac_func (); below.
23805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23806 <limits.h> exists even on freestanding compilers. */
23809 # include <limits.h>
23811 # include <assert.h>
23816 /* Override any gcc2 internal prototype to avoid an error. */
23821 /* We use char because int might match the return type of a gcc2
23822 builtin and then its argument prototype would still apply. */
23824 /* The GNU C library defines this for functions which it implements
23825 to always fail with ENOSYS. Some functions are actually named
23826 something starting with __ and the normal name is an alias. */
23827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23830 char (*f) () = $ac_func;
23839 return f != $ac_func;
23844 rm -f conftest.
$ac_objext conftest
$ac_exeext
23845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23846 (eval $ac_link) 2>conftest.er1
23848 grep -v '^ *+' conftest.er1
>conftest.err
23850 cat conftest.err
>&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); } &&
23853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23855 (eval $ac_try) 2>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); }; } &&
23859 { ac_try
='test -s conftest$ac_exeext'
23860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23861 (eval $ac_try) 2>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; }; then
23865 eval "$as_ac_var=yes"
23867 echo "$as_me: failed program was:" >&5
23868 sed 's/^/| /' conftest.
$ac_ext >&5
23870 eval "$as_ac_var=no"
23872 rm -f conftest.err conftest.
$ac_objext \
23873 conftest
$ac_exeext conftest.
$ac_ext
23875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23877 if test `eval echo '${'$as_ac_var'}'` = yes; then
23878 cat >>confdefs.h
<<_ACEOF
23879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23889 if test "x$ac_cv_func_regcomp" != "xyes"; then
23890 if test "$wxUSE_REGEX" = "sys" ; then
23891 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23892 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23893 { (exit 1); exit 1; }; }
23895 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23896 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23897 wxUSE_REGEX
=builtin
23901 cat >>confdefs.h
<<\_ACEOF
23902 #define WX_NO_REGEX_ADVANCED 1
23911 if test "$wxUSE_ZLIB" != "no" ; then
23912 cat >>confdefs.h
<<\_ACEOF
23913 #define wxUSE_ZLIB 1
23917 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23918 if test "$USE_DARWIN" = 1; then
23919 system_zlib_h_ok
="yes"
23921 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23922 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23923 if test "${ac_cv_header_zlib_h+set}" = set; then
23924 echo $ECHO_N "(cached) $ECHO_C" >&6
23926 if test "$cross_compiling" = yes; then
23927 unset ac_cv_header_zlib_h
23930 cat >conftest.
$ac_ext <<_ACEOF
23933 cat confdefs.h
>>conftest.
$ac_ext
23934 cat >>conftest.
$ac_ext <<_ACEOF
23935 /* end confdefs.h. */
23942 FILE *f=fopen("conftestval", "w");
23945 ZLIB_VERSION[0] == '1' &&
23946 (ZLIB_VERSION[2] > '1' ||
23947 (ZLIB_VERSION[2] == '1' &&
23948 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23953 rm -f conftest
$ac_exeext
23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23955 (eval $ac_link) 2>&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23960 (eval $ac_try) 2>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; }; then
23964 ac_cv_header_zlib_h
=`cat conftestval`
23966 echo "$as_me: program exited with status $ac_status" >&5
23967 echo "$as_me: failed program was:" >&5
23968 sed 's/^/| /' conftest.
$ac_ext >&5
23970 ( exit $ac_status )
23971 ac_cv_header_zlib_h
=no
23973 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23977 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23978 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23979 if test "${ac_cv_header_zlib_h+set}" = set; then
23980 echo "$as_me:$LINENO: checking for zlib.h" >&5
23981 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23982 if test "${ac_cv_header_zlib_h+set}" = set; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23986 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23988 # Is the header compilable?
23989 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23990 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23991 cat >conftest.
$ac_ext <<_ACEOF
23994 cat confdefs.h
>>conftest.
$ac_ext
23995 cat >>conftest.
$ac_ext <<_ACEOF
23996 /* end confdefs.h. */
23997 $ac_includes_default
24000 rm -f conftest.
$ac_objext
24001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24002 (eval $ac_compile) 2>conftest.er1
24004 grep -v '^ *+' conftest.er1
>conftest.err
24006 cat conftest.err
>&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } &&
24009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24011 (eval $ac_try) 2>&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; } &&
24015 { ac_try
='test -s conftest.$ac_objext'
24016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24017 (eval $ac_try) 2>&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); }; }; then
24021 ac_header_compiler
=yes
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.
$ac_ext >&5
24026 ac_header_compiler
=no
24028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24030 echo "${ECHO_T}$ac_header_compiler" >&6
24032 # Is the header present?
24033 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24034 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24035 cat >conftest.
$ac_ext <<_ACEOF
24038 cat confdefs.h
>>conftest.
$ac_ext
24039 cat >>conftest.
$ac_ext <<_ACEOF
24040 /* end confdefs.h. */
24043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24046 grep -v '^ *+' conftest.er1
>conftest.err
24048 cat conftest.err
>&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); } >/dev
/null
; then
24051 if test -s conftest.err
; then
24052 ac_cpp_err
=$ac_c_preproc_warn_flag
24053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24060 if test -z "$ac_cpp_err"; then
24061 ac_header_preproc
=yes
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.
$ac_ext >&5
24066 ac_header_preproc
=no
24068 rm -f conftest.err conftest.
$ac_ext
24069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24070 echo "${ECHO_T}$ac_header_preproc" >&6
24072 # So? What about this header?
24073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24075 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24076 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24077 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24078 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24079 ac_header_preproc
=yes
24082 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24083 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24084 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24085 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24086 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24087 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24088 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24089 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24090 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24091 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24092 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24093 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24096 ## ----------------------------------------- ##
24097 ## Report this to wx-dev@lists.wxwidgets.org ##
24098 ## ----------------------------------------- ##
24101 sed "s/^/$as_me: WARNING: /" >&2
24104 echo "$as_me:$LINENO: checking for zlib.h" >&5
24105 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24106 if test "${ac_cv_header_zlib_h+set}" = set; then
24107 echo $ECHO_N "(cached) $ECHO_C" >&6
24109 ac_cv_header_zlib_h
=$ac_header_preproc
24111 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24112 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24118 system_zlib_h_ok
=$ac_cv_header_zlib_h
24121 if test "$system_zlib_h_ok" = "yes"; then
24122 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24123 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24124 if test "${ac_cv_lib_z_deflate+set}" = set; then
24125 echo $ECHO_N "(cached) $ECHO_C" >&6
24127 ac_check_lib_save_LIBS
=$LIBS
24129 cat >conftest.
$ac_ext <<_ACEOF
24132 cat confdefs.h
>>conftest.
$ac_ext
24133 cat >>conftest.
$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24136 /* Override any gcc2 internal prototype to avoid an error. */
24140 /* We use char because int might match the return type of a gcc2
24141 builtin and then its argument prototype would still apply. */
24151 rm -f conftest.
$ac_objext conftest
$ac_exeext
24152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24153 (eval $ac_link) 2>conftest.er1
24155 grep -v '^ *+' conftest.er1
>conftest.err
24157 cat conftest.err
>&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } &&
24160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24162 (eval $ac_try) 2>&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); }; } &&
24166 { ac_try
='test -s conftest$ac_exeext'
24167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24168 (eval $ac_try) 2>&5
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); }; }; then
24172 ac_cv_lib_z_deflate
=yes
24174 echo "$as_me: failed program was:" >&5
24175 sed 's/^/| /' conftest.
$ac_ext >&5
24177 ac_cv_lib_z_deflate
=no
24179 rm -f conftest.err conftest.
$ac_objext \
24180 conftest
$ac_exeext conftest.
$ac_ext
24181 LIBS
=$ac_check_lib_save_LIBS
24183 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24184 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24185 if test $ac_cv_lib_z_deflate = yes; then
24191 if test "x$ZLIB_LINK" = "x" ; then
24192 if test "$wxUSE_ZLIB" = "sys" ; then
24193 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24194 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24195 { (exit 1); exit 1; }; }
24197 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24198 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24209 if test "$wxUSE_LIBPNG" != "no" ; then
24210 cat >>confdefs.h
<<\_ACEOF
24211 #define wxUSE_LIBPNG 1
24215 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24216 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24217 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24221 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24222 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24223 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24224 wxUSE_LIBPNG
=builtin
24227 if test "$wxUSE_MGL" != 1 ; then
24228 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24229 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24230 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24231 if test "${ac_cv_header_png_h+set}" = set; then
24232 echo $ECHO_N "(cached) $ECHO_C" >&6
24234 if test "$cross_compiling" = yes; then
24235 unset ac_cv_header_png_h
24238 cat >conftest.
$ac_ext <<_ACEOF
24241 cat confdefs.h
>>conftest.
$ac_ext
24242 cat >>conftest.
$ac_ext <<_ACEOF
24243 /* end confdefs.h. */
24250 FILE *f=fopen("conftestval", "w");
24253 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24258 rm -f conftest
$ac_exeext
24259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24260 (eval $ac_link) 2>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265 (eval $ac_try) 2>&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); }; }; then
24269 ac_cv_header_png_h
=`cat conftestval`
24271 echo "$as_me: program exited with status $ac_status" >&5
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.
$ac_ext >&5
24275 ( exit $ac_status )
24276 ac_cv_header_png_h
=no
24278 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24282 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24283 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24284 if test "${ac_cv_header_png_h+set}" = set; then
24285 echo "$as_me:$LINENO: checking for png.h" >&5
24286 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24287 if test "${ac_cv_header_png_h+set}" = set; then
24288 echo $ECHO_N "(cached) $ECHO_C" >&6
24290 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24291 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24293 # Is the header compilable?
24294 echo "$as_me:$LINENO: checking png.h usability" >&5
24295 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24296 cat >conftest.
$ac_ext <<_ACEOF
24299 cat confdefs.h
>>conftest.
$ac_ext
24300 cat >>conftest.
$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24302 $ac_includes_default
24305 rm -f conftest.
$ac_objext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24307 (eval $ac_compile) 2>conftest.er1
24309 grep -v '^ *+' conftest.er1
>conftest.err
24311 cat conftest.err
>&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } &&
24314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24316 (eval $ac_try) 2>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); }; } &&
24320 { ac_try
='test -s conftest.$ac_objext'
24321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24322 (eval $ac_try) 2>&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); }; }; then
24326 ac_header_compiler
=yes
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.
$ac_ext >&5
24331 ac_header_compiler
=no
24333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24335 echo "${ECHO_T}$ac_header_compiler" >&6
24337 # Is the header present?
24338 echo "$as_me:$LINENO: checking png.h presence" >&5
24339 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24340 cat >conftest.
$ac_ext <<_ACEOF
24343 cat confdefs.h
>>conftest.
$ac_ext
24344 cat >>conftest.
$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24351 grep -v '^ *+' conftest.er1
>conftest.err
24353 cat conftest.err
>&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } >/dev
/null
; then
24356 if test -s conftest.err
; then
24357 ac_cpp_err
=$ac_c_preproc_warn_flag
24358 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24365 if test -z "$ac_cpp_err"; then
24366 ac_header_preproc
=yes
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.
$ac_ext >&5
24371 ac_header_preproc
=no
24373 rm -f conftest.err conftest.
$ac_ext
24374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24375 echo "${ECHO_T}$ac_header_preproc" >&6
24377 # So? What about this header?
24378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24380 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24381 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24382 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24383 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24384 ac_header_preproc
=yes
24387 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24388 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24389 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24390 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24391 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24392 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24393 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24394 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24395 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24396 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24397 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24398 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24401 ## ----------------------------------------- ##
24402 ## Report this to wx-dev@lists.wxwidgets.org ##
24403 ## ----------------------------------------- ##
24406 sed "s/^/$as_me: WARNING: /" >&2
24409 echo "$as_me:$LINENO: checking for png.h" >&5
24410 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24411 if test "${ac_cv_header_png_h+set}" = set; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24414 ac_cv_header_png_h
=$ac_header_preproc
24416 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24417 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24423 if test "$ac_cv_header_png_h" = "yes"; then
24424 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24425 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24426 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24427 echo $ECHO_N "(cached) $ECHO_C" >&6
24429 ac_check_lib_save_LIBS
=$LIBS
24430 LIBS
="-lpng -lz -lm $LIBS"
24431 cat >conftest.
$ac_ext <<_ACEOF
24434 cat confdefs.h
>>conftest.
$ac_ext
24435 cat >>conftest.
$ac_ext <<_ACEOF
24436 /* end confdefs.h. */
24438 /* Override any gcc2 internal prototype to avoid an error. */
24442 /* We use char because int might match the return type of a gcc2
24443 builtin and then its argument prototype would still apply. */
24444 char png_check_sig ();
24453 rm -f conftest.
$ac_objext conftest
$ac_exeext
24454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24455 (eval $ac_link) 2>conftest.er1
24457 grep -v '^ *+' conftest.er1
>conftest.err
24459 cat conftest.err
>&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } &&
24462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; } &&
24468 { ac_try
='test -s conftest$ac_exeext'
24469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24470 (eval $ac_try) 2>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); }; }; then
24474 ac_cv_lib_png_png_check_sig
=yes
24476 echo "$as_me: failed program was:" >&5
24477 sed 's/^/| /' conftest.
$ac_ext >&5
24479 ac_cv_lib_png_png_check_sig
=no
24481 rm -f conftest.err conftest.
$ac_objext \
24482 conftest
$ac_exeext conftest.
$ac_ext
24483 LIBS
=$ac_check_lib_save_LIBS
24485 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24486 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24487 if test $ac_cv_lib_png_png_check_sig = yes; then
24488 PNG_LINK
=" -lpng -lz"
24493 if test "x$PNG_LINK" = "x" ; then
24494 if test "$wxUSE_LIBPNG" = "sys" ; then
24495 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24496 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24497 { (exit 1); exit 1; }; }
24499 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24500 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24501 wxUSE_LIBPNG
=builtin
24509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24514 if test "$wxUSE_LIBJPEG" != "no" ; then
24515 cat >>confdefs.h
<<\_ACEOF
24516 #define wxUSE_LIBJPEG 1
24520 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24521 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24522 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24526 if test "$wxUSE_MGL" != 1 ; then
24527 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24528 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24529 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24530 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24531 echo $ECHO_N "(cached) $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. */
24540 #undef HAVE_STDLIB_H
24542 #include <jpeglib.h>
24553 rm -f conftest.
$ac_objext
24554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24555 (eval $ac_compile) 2>conftest.er1
24557 grep -v '^ *+' conftest.er1
>conftest.err
24559 cat conftest.err
>&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } &&
24562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24564 (eval $ac_try) 2>&5
24566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24567 (exit $ac_status); }; } &&
24568 { ac_try
='test -s conftest.$ac_objext'
24569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24570 (eval $ac_try) 2>&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); }; }; then
24574 ac_cv_header_jpeglib_h
=yes
24576 echo "$as_me: failed program was:" >&5
24577 sed 's/^/| /' conftest.
$ac_ext >&5
24579 ac_cv_header_jpeglib_h
=no
24582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24586 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24587 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24589 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24590 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24591 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24592 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24593 echo $ECHO_N "(cached) $ECHO_C" >&6
24595 ac_check_lib_save_LIBS
=$LIBS
24596 LIBS
="-ljpeg $LIBS"
24597 cat >conftest.
$ac_ext <<_ACEOF
24600 cat confdefs.h
>>conftest.
$ac_ext
24601 cat >>conftest.
$ac_ext <<_ACEOF
24602 /* end confdefs.h. */
24604 /* Override any gcc2 internal prototype to avoid an error. */
24608 /* We use char because int might match the return type of a gcc2
24609 builtin and then its argument prototype would still apply. */
24610 char jpeg_read_header ();
24614 jpeg_read_header ();
24619 rm -f conftest.
$ac_objext conftest
$ac_exeext
24620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24621 (eval $ac_link) 2>conftest.er1
24623 grep -v '^ *+' conftest.er1
>conftest.err
24625 cat conftest.err
>&5
24626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627 (exit $ac_status); } &&
24628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24630 (eval $ac_try) 2>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); }; } &&
24634 { ac_try
='test -s conftest$ac_exeext'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; }; then
24640 ac_cv_lib_jpeg_jpeg_read_header
=yes
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.
$ac_ext >&5
24645 ac_cv_lib_jpeg_jpeg_read_header
=no
24647 rm -f conftest.err conftest.
$ac_objext \
24648 conftest
$ac_exeext conftest.
$ac_ext
24649 LIBS
=$ac_check_lib_save_LIBS
24651 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24652 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24653 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24654 JPEG_LINK
=" -ljpeg"
24659 if test "x$JPEG_LINK" = "x" ; then
24660 if test "$wxUSE_LIBJPEG" = "sys" ; then
24661 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24662 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24663 { (exit 1); exit 1; }; }
24665 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24666 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24667 wxUSE_LIBJPEG
=builtin
24678 TIFF_PREREQ_LINKS
=-lm
24679 if test "$wxUSE_LIBTIFF" != "no" ; then
24680 cat >>confdefs.h
<<\_ACEOF
24681 #define wxUSE_LIBTIFF 1
24685 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24686 if test "$wxUSE_LIBJPEG" = "sys"; then
24687 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24689 if test "$wxUSE_ZLIB" = "sys"; then
24690 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24692 if test "${ac_cv_header_tiffio_h+set}" = set; then
24693 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24694 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24695 if test "${ac_cv_header_tiffio_h+set}" = set; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24698 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24699 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24701 # Is the header compilable?
24702 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24703 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24704 cat >conftest.
$ac_ext <<_ACEOF
24707 cat confdefs.h
>>conftest.
$ac_ext
24708 cat >>conftest.
$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710 $ac_includes_default
24711 #include <tiffio.h>
24713 rm -f conftest.
$ac_objext
24714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24715 (eval $ac_compile) 2>conftest.er1
24717 grep -v '^ *+' conftest.er1
>conftest.err
24719 cat conftest.err
>&5
24720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24721 (exit $ac_status); } &&
24722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24724 (eval $ac_try) 2>&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); }; } &&
24728 { ac_try
='test -s conftest.$ac_objext'
24729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24730 (eval $ac_try) 2>&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); }; }; then
24734 ac_header_compiler
=yes
24736 echo "$as_me: failed program was:" >&5
24737 sed 's/^/| /' conftest.
$ac_ext >&5
24739 ac_header_compiler
=no
24741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24743 echo "${ECHO_T}$ac_header_compiler" >&6
24745 # Is the header present?
24746 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24747 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24748 cat >conftest.
$ac_ext <<_ACEOF
24751 cat confdefs.h
>>conftest.
$ac_ext
24752 cat >>conftest.
$ac_ext <<_ACEOF
24753 /* end confdefs.h. */
24754 #include <tiffio.h>
24756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24759 grep -v '^ *+' conftest.er1
>conftest.err
24761 cat conftest.err
>&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); } >/dev
/null
; then
24764 if test -s conftest.err
; then
24765 ac_cpp_err
=$ac_c_preproc_warn_flag
24766 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24773 if test -z "$ac_cpp_err"; then
24774 ac_header_preproc
=yes
24776 echo "$as_me: failed program was:" >&5
24777 sed 's/^/| /' conftest.
$ac_ext >&5
24779 ac_header_preproc
=no
24781 rm -f conftest.err conftest.
$ac_ext
24782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24783 echo "${ECHO_T}$ac_header_preproc" >&6
24785 # So? What about this header?
24786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24788 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24789 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24790 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24791 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24792 ac_header_preproc
=yes
24795 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24796 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24797 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24798 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24799 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24800 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24801 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24802 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24803 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24804 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24805 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24806 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24809 ## ----------------------------------------- ##
24810 ## Report this to wx-dev@lists.wxwidgets.org ##
24811 ## ----------------------------------------- ##
24814 sed "s/^/$as_me: WARNING: /" >&2
24817 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24818 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24819 if test "${ac_cv_header_tiffio_h+set}" = set; then
24820 echo $ECHO_N "(cached) $ECHO_C" >&6
24822 ac_cv_header_tiffio_h
=$ac_header_preproc
24824 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24825 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24828 if test $ac_cv_header_tiffio_h = yes; then
24830 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24831 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24832 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24833 echo $ECHO_N "(cached) $ECHO_C" >&6
24835 ac_check_lib_save_LIBS
=$LIBS
24836 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24837 cat >conftest.
$ac_ext <<_ACEOF
24840 cat confdefs.h
>>conftest.
$ac_ext
24841 cat >>conftest.
$ac_ext <<_ACEOF
24842 /* end confdefs.h. */
24844 /* Override any gcc2 internal prototype to avoid an error. */
24848 /* We use char because int might match the return type of a gcc2
24849 builtin and then its argument prototype would still apply. */
24859 rm -f conftest.
$ac_objext conftest
$ac_exeext
24860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24861 (eval $ac_link) 2>conftest.er1
24863 grep -v '^ *+' conftest.er1
>conftest.err
24865 cat conftest.err
>&5
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); } &&
24868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870 (eval $ac_try) 2>&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); }; } &&
24874 { ac_try
='test -s conftest$ac_exeext'
24875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24876 (eval $ac_try) 2>&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); }; }; then
24880 ac_cv_lib_tiff_TIFFError
=yes
24882 echo "$as_me: failed program was:" >&5
24883 sed 's/^/| /' conftest.
$ac_ext >&5
24885 ac_cv_lib_tiff_TIFFError
=no
24887 rm -f conftest.err conftest.
$ac_objext \
24888 conftest
$ac_exeext conftest.
$ac_ext
24889 LIBS
=$ac_check_lib_save_LIBS
24891 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24892 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24893 if test $ac_cv_lib_tiff_TIFFError = yes; then
24894 TIFF_LINK
=" -ltiff"
24903 if test "x$TIFF_LINK" = "x" ; then
24904 if test "$wxUSE_LIBTIFF" = "sys" ; then
24905 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24906 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24907 { (exit 1); exit 1; }; }
24909 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24910 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24911 wxUSE_LIBTIFF
=builtin
24920 if test "$wxUSE_WCHAR_T" != "yes"; then
24921 if test "$wxUSE_EXPAT" != "no"; then
24922 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24923 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24926 if test "$wxUSE_XML" != "no"; then
24927 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24928 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24933 if test "$wxUSE_EXPAT" != "no"; then
24935 cat >>confdefs.h
<<\_ACEOF
24936 #define wxUSE_EXPAT 1
24939 cat >>confdefs.h
<<\_ACEOF
24940 #define wxUSE_XML 1
24944 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24945 if test "${ac_cv_header_expat_h+set}" = set; then
24946 echo "$as_me:$LINENO: checking for expat.h" >&5
24947 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24948 if test "${ac_cv_header_expat_h+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24952 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24954 # Is the header compilable?
24955 echo "$as_me:$LINENO: checking expat.h usability" >&5
24956 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24957 cat >conftest.
$ac_ext <<_ACEOF
24960 cat confdefs.h
>>conftest.
$ac_ext
24961 cat >>conftest.
$ac_ext <<_ACEOF
24962 /* end confdefs.h. */
24963 $ac_includes_default
24966 rm -f conftest.
$ac_objext
24967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24968 (eval $ac_compile) 2>conftest.er1
24970 grep -v '^ *+' conftest.er1
>conftest.err
24972 cat conftest.err
>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); } &&
24975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; } &&
24981 { ac_try
='test -s conftest.$ac_objext'
24982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24983 (eval $ac_try) 2>&5
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); }; }; then
24987 ac_header_compiler
=yes
24989 echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.
$ac_ext >&5
24992 ac_header_compiler
=no
24994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24996 echo "${ECHO_T}$ac_header_compiler" >&6
24998 # Is the header present?
24999 echo "$as_me:$LINENO: checking expat.h presence" >&5
25000 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25001 cat >conftest.
$ac_ext <<_ACEOF
25004 cat confdefs.h
>>conftest.
$ac_ext
25005 cat >>conftest.
$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25010 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25012 grep -v '^ *+' conftest.er1
>conftest.err
25014 cat conftest.err
>&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } >/dev
/null
; then
25017 if test -s conftest.err
; then
25018 ac_cpp_err
=$ac_c_preproc_warn_flag
25019 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25026 if test -z "$ac_cpp_err"; then
25027 ac_header_preproc
=yes
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.
$ac_ext >&5
25032 ac_header_preproc
=no
25034 rm -f conftest.err conftest.
$ac_ext
25035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25036 echo "${ECHO_T}$ac_header_preproc" >&6
25038 # So? What about this header?
25039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25041 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25042 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25043 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25044 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25045 ac_header_preproc
=yes
25048 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25049 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25050 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25051 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25052 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25053 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25054 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25055 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25056 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25057 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25058 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25059 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25062 ## ----------------------------------------- ##
25063 ## Report this to wx-dev@lists.wxwidgets.org ##
25064 ## ----------------------------------------- ##
25067 sed "s/^/$as_me: WARNING: /" >&2
25070 echo "$as_me:$LINENO: checking for expat.h" >&5
25071 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25072 if test "${ac_cv_header_expat_h+set}" = set; then
25073 echo $ECHO_N "(cached) $ECHO_C" >&6
25075 ac_cv_header_expat_h
=$ac_header_preproc
25077 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25078 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25081 if test $ac_cv_header_expat_h = yes; then
25086 if test "x$found_expat_h" = "x1"; then
25087 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25088 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25089 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25090 echo $ECHO_N "(cached) $ECHO_C" >&6
25096 ac_cpp
='$CXXCPP $CPPFLAGS'
25097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25101 cat >conftest.
$ac_ext <<_ACEOF
25104 cat confdefs.h
>>conftest.
$ac_ext
25105 cat >>conftest.
$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25116 rm -f conftest.
$ac_objext
25117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25118 (eval $ac_compile) 2>conftest.er1
25120 grep -v '^ *+' conftest.er1
>conftest.err
25122 cat conftest.err
>&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } &&
25125 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; } &&
25131 { ac_try
='test -s conftest.$ac_objext'
25132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133 (eval $ac_try) 2>&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); }; }; then
25137 wx_cv_expat_is_not_broken
=yes
25139 echo "$as_me: failed program was:" >&5
25140 sed 's/^/| /' conftest.
$ac_ext >&5
25142 wx_cv_expat_is_not_broken
=no
25145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25147 ac_cpp
='$CPP $CPPFLAGS'
25148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25155 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25156 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25157 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25158 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25159 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25160 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25163 ac_check_lib_save_LIBS
=$LIBS
25164 LIBS
="-lexpat $LIBS"
25165 cat >conftest.
$ac_ext <<_ACEOF
25168 cat confdefs.h
>>conftest.
$ac_ext
25169 cat >>conftest.
$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25172 /* Override any gcc2 internal prototype to avoid an error. */
25176 /* We use char because int might match the return type of a gcc2
25177 builtin and then its argument prototype would still apply. */
25178 char XML_ParserCreate ();
25182 XML_ParserCreate ();
25187 rm -f conftest.
$ac_objext conftest
$ac_exeext
25188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25189 (eval $ac_link) 2>conftest.er1
25191 grep -v '^ *+' conftest.er1
>conftest.err
25193 cat conftest.err
>&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); } &&
25196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; } &&
25202 { ac_try
='test -s conftest$ac_exeext'
25203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204 (eval $ac_try) 2>&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); }; }; then
25208 ac_cv_lib_expat_XML_ParserCreate
=yes
25210 echo "$as_me: failed program was:" >&5
25211 sed 's/^/| /' conftest.
$ac_ext >&5
25213 ac_cv_lib_expat_XML_ParserCreate
=no
25215 rm -f conftest.err conftest.
$ac_objext \
25216 conftest
$ac_exeext conftest.
$ac_ext
25217 LIBS
=$ac_check_lib_save_LIBS
25219 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25220 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25221 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25222 EXPAT_LINK
=" -lexpat"
25227 if test "x$EXPAT_LINK" = "x" ; then
25228 if test "$wxUSE_EXPAT" = "sys" ; then
25229 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25230 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25231 { (exit 1); exit 1; }; }
25233 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25234 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25235 wxUSE_EXPAT
=builtin
25241 if test "$wxUSE_EXPAT" = "builtin" ; then
25244 subdirs
="$subdirs src/expat"
25251 if test "$wxUSE_LIBMSPACK" != "no"; then
25252 if test "${ac_cv_header_mspack_h+set}" = set; then
25253 echo "$as_me:$LINENO: checking for mspack.h" >&5
25254 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25255 if test "${ac_cv_header_mspack_h+set}" = set; then
25256 echo $ECHO_N "(cached) $ECHO_C" >&6
25258 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25259 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25261 # Is the header compilable?
25262 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25263 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25264 cat >conftest.
$ac_ext <<_ACEOF
25267 cat confdefs.h
>>conftest.
$ac_ext
25268 cat >>conftest.
$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 $ac_includes_default
25271 #include <mspack.h>
25273 rm -f conftest.
$ac_objext
25274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25275 (eval $ac_compile) 2>conftest.er1
25277 grep -v '^ *+' conftest.er1
>conftest.err
25279 cat conftest.err
>&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); } &&
25282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25284 (eval $ac_try) 2>&5
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); }; } &&
25288 { ac_try
='test -s conftest.$ac_objext'
25289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25290 (eval $ac_try) 2>&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); }; }; then
25294 ac_header_compiler
=yes
25296 echo "$as_me: failed program was:" >&5
25297 sed 's/^/| /' conftest.
$ac_ext >&5
25299 ac_header_compiler
=no
25301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25303 echo "${ECHO_T}$ac_header_compiler" >&6
25305 # Is the header present?
25306 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25307 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25308 cat >conftest.
$ac_ext <<_ACEOF
25311 cat confdefs.h
>>conftest.
$ac_ext
25312 cat >>conftest.
$ac_ext <<_ACEOF
25313 /* end confdefs.h. */
25314 #include <mspack.h>
25316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25319 grep -v '^ *+' conftest.er1
>conftest.err
25321 cat conftest.err
>&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } >/dev
/null
; then
25324 if test -s conftest.err
; then
25325 ac_cpp_err
=$ac_c_preproc_warn_flag
25326 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25333 if test -z "$ac_cpp_err"; then
25334 ac_header_preproc
=yes
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.
$ac_ext >&5
25339 ac_header_preproc
=no
25341 rm -f conftest.err conftest.
$ac_ext
25342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25343 echo "${ECHO_T}$ac_header_preproc" >&6
25345 # So? What about this header?
25346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25348 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25349 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25350 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25351 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25352 ac_header_preproc
=yes
25355 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25356 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25357 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25358 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25359 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25360 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25361 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25362 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25363 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25364 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25365 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25366 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25369 ## ----------------------------------------- ##
25370 ## Report this to wx-dev@lists.wxwidgets.org ##
25371 ## ----------------------------------------- ##
25374 sed "s/^/$as_me: WARNING: /" >&2
25377 echo "$as_me:$LINENO: checking for mspack.h" >&5
25378 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25379 if test "${ac_cv_header_mspack_h+set}" = set; then
25380 echo $ECHO_N "(cached) $ECHO_C" >&6
25382 ac_cv_header_mspack_h
=$ac_header_preproc
25384 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25385 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25388 if test $ac_cv_header_mspack_h = yes; then
25393 if test "x$found_mspack_h" = "x1"; then
25394 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25395 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25396 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25397 echo $ECHO_N "(cached) $ECHO_C" >&6
25399 ac_check_lib_save_LIBS
=$LIBS
25400 LIBS
="-lmspack $LIBS"
25401 cat >conftest.
$ac_ext <<_ACEOF
25404 cat confdefs.h
>>conftest.
$ac_ext
25405 cat >>conftest.
$ac_ext <<_ACEOF
25406 /* end confdefs.h. */
25408 /* Override any gcc2 internal prototype to avoid an error. */
25412 /* We use char because int might match the return type of a gcc2
25413 builtin and then its argument prototype would still apply. */
25414 char mspack_create_chm_decompressor ();
25418 mspack_create_chm_decompressor ();
25423 rm -f conftest.
$ac_objext conftest
$ac_exeext
25424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25425 (eval $ac_link) 2>conftest.er1
25427 grep -v '^ *+' conftest.er1
>conftest.err
25429 cat conftest.err
>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } &&
25432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25434 (eval $ac_try) 2>&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); }; } &&
25438 { ac_try
='test -s conftest$ac_exeext'
25439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25440 (eval $ac_try) 2>&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); }; }; then
25444 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25446 echo "$as_me: failed program was:" >&5
25447 sed 's/^/| /' conftest.
$ac_ext >&5
25449 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25451 rm -f conftest.err conftest.
$ac_objext \
25452 conftest
$ac_exeext conftest.
$ac_ext
25453 LIBS
=$ac_check_lib_save_LIBS
25455 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25456 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25457 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25458 MSPACK_LINK
=" -lmspack"
25462 if test "x$MSPACK_LINK" = "x" ; then
25467 if test "$wxUSE_LIBMSPACK" != "no"; then
25468 cat >>confdefs.h
<<\_ACEOF
25469 #define wxUSE_LIBMSPACK 1
25483 if test "$USE_WIN32" = 1 ; then
25485 for ac_header
in w32api.h
25487 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25489 echo "$as_me:$LINENO: checking for $ac_header" >&5
25490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25497 # Is the header compilable?
25498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25500 cat >conftest.
$ac_ext <<_ACEOF
25503 cat confdefs.h
>>conftest.
$ac_ext
25504 cat >>conftest.
$ac_ext <<_ACEOF
25505 /* end confdefs.h. */
25506 $ac_includes_default
25507 #include <$ac_header>
25509 rm -f conftest.
$ac_objext
25510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25511 (eval $ac_compile) 2>conftest.er1
25513 grep -v '^ *+' conftest.er1
>conftest.err
25515 cat conftest.err
>&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); } &&
25518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25520 (eval $ac_try) 2>&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); }; } &&
25524 { ac_try
='test -s conftest.$ac_objext'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; }; then
25530 ac_header_compiler
=yes
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.
$ac_ext >&5
25535 ac_header_compiler
=no
25537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25539 echo "${ECHO_T}$ac_header_compiler" >&6
25541 # Is the header present?
25542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25544 cat >conftest.
$ac_ext <<_ACEOF
25547 cat confdefs.h
>>conftest.
$ac_ext
25548 cat >>conftest.
$ac_ext <<_ACEOF
25549 /* end confdefs.h. */
25550 #include <$ac_header>
25552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25555 grep -v '^ *+' conftest.er1
>conftest.err
25557 cat conftest.err
>&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } >/dev
/null
; then
25560 if test -s conftest.err
; then
25561 ac_cpp_err
=$ac_c_preproc_warn_flag
25562 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25569 if test -z "$ac_cpp_err"; then
25570 ac_header_preproc
=yes
25572 echo "$as_me: failed program was:" >&5
25573 sed 's/^/| /' conftest.
$ac_ext >&5
25575 ac_header_preproc
=no
25577 rm -f conftest.err conftest.
$ac_ext
25578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25579 echo "${ECHO_T}$ac_header_preproc" >&6
25581 # So? What about this header?
25582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25588 ac_header_preproc
=yes
25591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25605 ## ----------------------------------------- ##
25606 ## Report this to wx-dev@lists.wxwidgets.org ##
25607 ## ----------------------------------------- ##
25610 sed "s/^/$as_me: WARNING: /" >&2
25613 echo "$as_me:$LINENO: checking for $ac_header" >&5
25614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 eval "$as_ac_Header=\$ac_header_preproc"
25620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25625 cat >>confdefs.h
<<_ACEOF
25626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25633 if test "${ac_cv_header_windows_h+set}" = set; then
25634 echo "$as_me:$LINENO: checking for windows.h" >&5
25635 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25636 if test "${ac_cv_header_windows_h+set}" = set; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25640 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25642 # Is the header compilable?
25643 echo "$as_me:$LINENO: checking windows.h usability" >&5
25644 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25645 cat >conftest.
$ac_ext <<_ACEOF
25648 cat confdefs.h
>>conftest.
$ac_ext
25649 cat >>conftest.
$ac_ext <<_ACEOF
25650 /* end confdefs.h. */
25651 $ac_includes_default
25652 #include <windows.h>
25654 rm -f conftest.
$ac_objext
25655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25656 (eval $ac_compile) 2>conftest.er1
25658 grep -v '^ *+' conftest.er1
>conftest.err
25660 cat conftest.err
>&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } &&
25663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665 (eval $ac_try) 2>&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; } &&
25669 { ac_try
='test -s conftest.$ac_objext'
25670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25671 (eval $ac_try) 2>&5
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); }; }; then
25675 ac_header_compiler
=yes
25677 echo "$as_me: failed program was:" >&5
25678 sed 's/^/| /' conftest.
$ac_ext >&5
25680 ac_header_compiler
=no
25682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25684 echo "${ECHO_T}$ac_header_compiler" >&6
25686 # Is the header present?
25687 echo "$as_me:$LINENO: checking windows.h presence" >&5
25688 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25689 cat >conftest.
$ac_ext <<_ACEOF
25692 cat confdefs.h
>>conftest.
$ac_ext
25693 cat >>conftest.
$ac_ext <<_ACEOF
25694 /* end confdefs.h. */
25695 #include <windows.h>
25697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25700 grep -v '^ *+' conftest.er1
>conftest.err
25702 cat conftest.err
>&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); } >/dev
/null
; then
25705 if test -s conftest.err
; then
25706 ac_cpp_err
=$ac_c_preproc_warn_flag
25707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25714 if test -z "$ac_cpp_err"; then
25715 ac_header_preproc
=yes
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.
$ac_ext >&5
25720 ac_header_preproc
=no
25722 rm -f conftest.err conftest.
$ac_ext
25723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25724 echo "${ECHO_T}$ac_header_preproc" >&6
25726 # So? What about this header?
25727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25729 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25730 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25731 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25732 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25733 ac_header_preproc
=yes
25736 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25737 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25738 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25739 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25740 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25741 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25742 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25743 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25744 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25745 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25746 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25747 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25750 ## ----------------------------------------- ##
25751 ## Report this to wx-dev@lists.wxwidgets.org ##
25752 ## ----------------------------------------- ##
25755 sed "s/^/$as_me: WARNING: /" >&2
25758 echo "$as_me:$LINENO: checking for windows.h" >&5
25759 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25760 if test "${ac_cv_header_windows_h+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 ac_cv_header_windows_h
=$ac_header_preproc
25765 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25766 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25769 if test $ac_cv_header_windows_h = yes; then
25773 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25774 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25775 { (exit 1); exit 1; }; }
25781 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25783 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25784 LIBS
="$LIBS -loleacc"
25789 LIBS
="$LIBS -lkernel32 -luser32"
25790 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
25793 if test "$wxUSE_ODBC" = "sys" ; then
25796 if test "$wxUSE_ODBC" = "yes" ; then
25797 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
25798 cat >>confdefs.h
<<\_ACEOF
25799 #define wxUSE_ODBC 1
25804 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25805 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
25807 WIN32INSTALL
=win32install
25810 if test "$wxUSE_GUI" = "yes"; then
25820 if test "$wxUSE_COCOA" = 1 ; then
25821 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25822 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25823 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25824 wxUSE_PRINTING_ARCHITECTURE
=no
25826 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25827 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25828 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25829 wxUSE_DRAG_AND_DROP
=no
25831 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25832 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25833 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25838 if test "$wxUSE_MSW" = 1 ; then
25844 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25848 if test "$wxUSE_GTK" = 1; then
25849 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25850 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25852 gtk_version_cached
=1
25853 if test "${wx_cv_lib_gtk+set}" = set; then
25854 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 gtk_version_cached
=0
25858 echo "$as_me:$LINENO: result: " >&5
25859 echo "${ECHO_T}" >&6
25862 if test "$wxUSE_THREADS" = "yes"; then
25863 GTK_MODULES
=gthread
25867 if test "x$wxGTK_VERSION" != "x1"
25871 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25876 # Check whether --enable-gtktest or --disable-gtktest was given.
25877 if test "${enable_gtktest+set}" = set; then
25878 enableval
="$enable_gtktest"
25884 pkg_config_args
=gtk
+-2.0
25885 for module
in .
$GTK_MODULES
25889 pkg_config_args
="$pkg_config_args gthread-2.0"
25896 # Extract the first word of "pkg-config", so it can be a program name with args.
25897 set dummy pkg
-config; ac_word
=$2
25898 echo "$as_me:$LINENO: checking for $ac_word" >&5
25899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25900 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 case $PKG_CONFIG in
25905 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25909 for as_dir
in $PATH
25912 test -z "$as_dir" && as_dir
=.
25913 for ac_exec_ext
in '' $ac_executable_extensions; do
25914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25915 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25922 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25926 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25928 if test -n "$PKG_CONFIG"; then
25929 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25930 echo "${ECHO_T}$PKG_CONFIG" >&6
25932 echo "$as_me:$LINENO: result: no" >&5
25933 echo "${ECHO_T}no" >&6
25937 if test x
$PKG_CONFIG != xno
; then
25938 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
25941 echo "*** pkg-config too old; version 0.7 or better required."
25949 min_gtk_version
=2.0.0
25950 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25951 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25953 if test x
$PKG_CONFIG != xno
; then
25954 ## don't try to run the test against uninstalled libtool libs
25955 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25956 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25960 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25967 if test x
"$no_gtk" = x
; then
25968 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
25969 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
25970 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25972 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25974 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25976 if test "x$enable_gtktest" = "xyes" ; then
25977 ac_save_CFLAGS
="$CFLAGS"
25978 ac_save_LIBS
="$LIBS"
25979 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25980 LIBS
="$GTK_LIBS $LIBS"
25982 if test "$cross_compiling" = yes; then
25983 echo $ac_n "cross compiling; assumed OK... $ac_c"
25985 cat >conftest.
$ac_ext <<_ACEOF
25988 cat confdefs.h
>>conftest.
$ac_ext
25989 cat >>conftest.
$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25992 #include <gtk/gtk.h>
25994 #include <stdlib.h>
25999 int major, minor, micro;
26002 system ("touch conf.gtktest");
26004 /* HP/UX 9 (%@#!) writes to sscanf strings */
26005 tmp_version = g_strdup("$min_gtk_version");
26006 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26007 printf("%s, bad version string\n", "$min_gtk_version");
26011 if ((gtk_major_version != $gtk_config_major_version) ||
26012 (gtk_minor_version != $gtk_config_minor_version) ||
26013 (gtk_micro_version != $gtk_config_micro_version))
26015 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26016 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26017 gtk_major_version, gtk_minor_version, gtk_micro_version);
26018 printf ("*** was found! If pkg-config was correct, then it is best\n");
26019 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26020 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26021 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26022 printf("*** required on your system.\n");
26023 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26024 printf("*** to point to the correct configuration files\n");
26026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26027 (gtk_minor_version != GTK_MINOR_VERSION) ||
26028 (gtk_micro_version != GTK_MICRO_VERSION))
26030 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26032 printf("*** library (version %d.%d.%d)\n",
26033 gtk_major_version, gtk_minor_version, gtk_micro_version);
26037 if ((gtk_major_version > major) ||
26038 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26039 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26045 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26046 gtk_major_version, gtk_minor_version, gtk_micro_version);
26047 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26048 major, minor, micro);
26049 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26051 printf("*** If you have already installed a sufficiently new version, this error\n");
26052 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26053 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26054 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26055 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26056 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26057 printf("*** so that the correct libraries are found at run-time))\n");
26064 rm -f conftest
$ac_exeext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26066 (eval $ac_link) 2>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26071 (eval $ac_try) 2>&5
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); }; }; then
26077 echo "$as_me: program exited with status $ac_status" >&5
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.
$ac_ext >&5
26081 ( exit $ac_status )
26084 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26086 CFLAGS
="$ac_save_CFLAGS"
26087 LIBS
="$ac_save_LIBS"
26090 if test "x$no_gtk" = x
; then
26091 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26092 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26095 echo "$as_me:$LINENO: result: no" >&5
26096 echo "${ECHO_T}no" >&6
26097 if test "$PKG_CONFIG" = "no" ; then
26098 echo "*** A new enough version of pkg-config was not found."
26099 echo "*** See http://pkgconfig.sourceforge.net"
26101 if test -f conf.gtktest
; then
26104 echo "*** Could not run GTK+ test program, checking why..."
26105 ac_save_CFLAGS
="$CFLAGS"
26106 ac_save_LIBS
="$LIBS"
26107 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26108 LIBS
="$LIBS $GTK_LIBS"
26109 cat >conftest.
$ac_ext <<_ACEOF
26112 cat confdefs.h
>>conftest.
$ac_ext
26113 cat >>conftest.
$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26116 #include <gtk/gtk.h>
26122 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26127 rm -f conftest.
$ac_objext conftest
$ac_exeext
26128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26129 (eval $ac_link) 2>conftest.er1
26131 grep -v '^ *+' conftest.er1
>conftest.err
26133 cat conftest.err
>&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } &&
26136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138 (eval $ac_try) 2>&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); }; } &&
26142 { ac_try
='test -s conftest$ac_exeext'
26143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144 (eval $ac_try) 2>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); }; }; then
26148 echo "*** The test program compiled, but did not run. This usually means"
26149 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26150 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26151 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26152 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26153 echo "*** is required on your system"
26155 echo "*** If you have an old version installed, it is best to remove it, although"
26156 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.
$ac_ext >&5
26161 echo "*** The test program failed to compile or link. See the file config.log for the"
26162 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26164 rm -f conftest.err conftest.
$ac_objext \
26165 conftest
$ac_exeext conftest.
$ac_ext
26166 CFLAGS
="$ac_save_CFLAGS"
26167 LIBS
="$ac_save_LIBS"
26181 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26182 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26183 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26185 if test "$wxUSE_SHARED" != "yes"; then
26186 GTK_LIBS
="$GTK_LIBS -lX11"
26191 if test -z "$wx_cv_lib_gtk"; then
26192 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26194 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26195 if test "${with_gtk_prefix+set}" = set; then
26196 withval
="$with_gtk_prefix"
26197 gtk_config_prefix
="$withval"
26199 gtk_config_prefix
=""
26202 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26203 if test "${with_gtk_exec_prefix+set}" = set; then
26204 withval
="$with_gtk_exec_prefix"
26205 gtk_config_exec_prefix
="$withval"
26207 gtk_config_exec_prefix
=""
26209 # Check whether --enable-gtktest or --disable-gtktest was given.
26210 if test "${enable_gtktest+set}" = set; then
26211 enableval
="$enable_gtktest"
26217 for module
in .
$GTK_MODULES
26221 gtk_config_args
="$gtk_config_args gthread"
26226 if test x
$gtk_config_exec_prefix != x
; then
26227 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26228 if test x
${GTK_CONFIG+set} != xset
; then
26229 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26232 if test x
$gtk_config_prefix != x
; then
26233 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26234 if test x
${GTK_CONFIG+set} != xset
; then
26235 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26239 # Extract the first word of "gtk-config", so it can be a program name with args.
26240 set dummy gtk
-config; ac_word
=$2
26241 echo "$as_me:$LINENO: checking for $ac_word" >&5
26242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26243 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26244 echo $ECHO_N "(cached) $ECHO_C" >&6
26246 case $GTK_CONFIG in
26248 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26252 for as_dir
in $PATH
26255 test -z "$as_dir" && as_dir
=.
26256 for ac_exec_ext
in '' $ac_executable_extensions; do
26257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26258 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26265 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26269 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26271 if test -n "$GTK_CONFIG"; then
26272 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26273 echo "${ECHO_T}$GTK_CONFIG" >&6
26275 echo "$as_me:$LINENO: result: no" >&5
26276 echo "${ECHO_T}no" >&6
26279 min_gtk_version
=1.2.7
26280 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26281 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26283 if test "$GTK_CONFIG" = "no" ; then
26286 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26287 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26288 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26290 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26292 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26294 if test "x$enable_gtktest" = "xyes" ; then
26295 ac_save_CFLAGS
="$CFLAGS"
26296 ac_save_LIBS
="$LIBS"
26297 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26298 LIBS
="$GTK_LIBS $LIBS"
26300 if test "$cross_compiling" = yes; then
26301 echo $ac_n "cross compiling; assumed OK... $ac_c"
26303 cat >conftest.
$ac_ext <<_ACEOF
26306 cat confdefs.h
>>conftest.
$ac_ext
26307 cat >>conftest.
$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26310 #include <gtk/gtk.h>
26312 #include <stdlib.h>
26317 int major, minor, micro;
26320 system ("touch conf.gtktest");
26322 /* HP/UX 9 (%@#!) writes to sscanf strings */
26323 tmp_version = g_strdup("$min_gtk_version");
26324 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26325 printf("%s, bad version string\n", "$min_gtk_version");
26329 if ((gtk_major_version != $gtk_config_major_version) ||
26330 (gtk_minor_version != $gtk_config_minor_version) ||
26331 (gtk_micro_version != $gtk_config_micro_version))
26333 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26334 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26335 gtk_major_version, gtk_minor_version, gtk_micro_version);
26336 printf ("*** was found! If gtk-config was correct, then it is best\n");
26337 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26338 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26339 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26340 printf("*** required on your system.\n");
26341 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26342 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26343 printf("*** before re-running configure\n");
26345 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26346 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26347 (gtk_minor_version != GTK_MINOR_VERSION) ||
26348 (gtk_micro_version != GTK_MICRO_VERSION))
26350 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26351 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26352 printf("*** library (version %d.%d.%d)\n",
26353 gtk_major_version, gtk_minor_version, gtk_micro_version);
26355 #endif /* defined (GTK_MAJOR_VERSION) ... */
26358 if ((gtk_major_version > major) ||
26359 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26360 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26366 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26367 gtk_major_version, gtk_minor_version, gtk_micro_version);
26368 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26369 major, minor, micro);
26370 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26372 printf("*** If you have already installed a sufficiently new version, this error\n");
26373 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26374 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26375 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26376 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26377 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26378 printf("*** so that the correct libraries are found at run-time))\n");
26385 rm -f conftest
$ac_exeext
26386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26387 (eval $ac_link) 2>&5
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26392 (eval $ac_try) 2>&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); }; }; then
26398 echo "$as_me: program exited with status $ac_status" >&5
26399 echo "$as_me: failed program was:" >&5
26400 sed 's/^/| /' conftest.
$ac_ext >&5
26402 ( exit $ac_status )
26405 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26407 CFLAGS
="$ac_save_CFLAGS"
26408 LIBS
="$ac_save_LIBS"
26411 if test "x$no_gtk" = x
; then
26412 echo "$as_me:$LINENO: result: yes" >&5
26413 echo "${ECHO_T}yes" >&6
26414 wx_cv_lib_gtk
=1.2.7
26416 echo "$as_me:$LINENO: result: no" >&5
26417 echo "${ECHO_T}no" >&6
26418 if test "$GTK_CONFIG" = "no" ; then
26419 echo "*** The gtk-config script installed by GTK could not be found"
26420 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26421 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26422 echo "*** full path to gtk-config."
26424 if test -f conf.gtktest
; then
26427 echo "*** Could not run GTK test program, checking why..."
26428 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26429 LIBS
="$LIBS $GTK_LIBS"
26430 cat >conftest.
$ac_ext <<_ACEOF
26433 cat confdefs.h
>>conftest.
$ac_ext
26434 cat >>conftest.
$ac_ext <<_ACEOF
26435 /* end confdefs.h. */
26437 #include <gtk/gtk.h>
26443 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26448 rm -f conftest.
$ac_objext conftest
$ac_exeext
26449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26450 (eval $ac_link) 2>conftest.er1
26452 grep -v '^ *+' conftest.er1
>conftest.err
26454 cat conftest.err
>&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); } &&
26457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26459 (eval $ac_try) 2>&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); }; } &&
26463 { ac_try
='test -s conftest$ac_exeext'
26464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26465 (eval $ac_try) 2>&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); }; }; then
26469 echo "*** The test program compiled, but did not run. This usually means"
26470 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26471 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26472 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26473 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26474 echo "*** is required on your system"
26476 echo "*** If you have an old version installed, it is best to remove it, although"
26477 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26479 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26480 echo "*** came with the system with the command"
26482 echo "*** rpm --erase --nodeps gtk gtk-devel"
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.
$ac_ext >&5
26487 echo "*** The test program failed to compile or link. See the file config.log for the"
26488 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26489 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26490 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26492 rm -f conftest.err conftest.
$ac_objext \
26493 conftest
$ac_exeext conftest.
$ac_ext
26494 CFLAGS
="$ac_save_CFLAGS"
26495 LIBS
="$ac_save_LIBS"
26507 if test -z "$wx_cv_lib_gtk"; then
26509 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26510 if test "${with_gtk_prefix+set}" = set; then
26511 withval
="$with_gtk_prefix"
26512 gtk_config_prefix
="$withval"
26514 gtk_config_prefix
=""
26517 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26518 if test "${with_gtk_exec_prefix+set}" = set; then
26519 withval
="$with_gtk_exec_prefix"
26520 gtk_config_exec_prefix
="$withval"
26522 gtk_config_exec_prefix
=""
26524 # Check whether --enable-gtktest or --disable-gtktest was given.
26525 if test "${enable_gtktest+set}" = set; then
26526 enableval
="$enable_gtktest"
26532 for module
in .
$GTK_MODULES
26536 gtk_config_args
="$gtk_config_args gthread"
26541 if test x
$gtk_config_exec_prefix != x
; then
26542 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26543 if test x
${GTK_CONFIG+set} != xset
; then
26544 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26547 if test x
$gtk_config_prefix != x
; then
26548 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26549 if test x
${GTK_CONFIG+set} != xset
; then
26550 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26554 # Extract the first word of "gtk-config", so it can be a program name with args.
26555 set dummy gtk
-config; ac_word
=$2
26556 echo "$as_me:$LINENO: checking for $ac_word" >&5
26557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26558 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 case $GTK_CONFIG in
26563 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26567 for as_dir
in $PATH
26570 test -z "$as_dir" && as_dir
=.
26571 for ac_exec_ext
in '' $ac_executable_extensions; do
26572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26573 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26580 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26584 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26586 if test -n "$GTK_CONFIG"; then
26587 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26588 echo "${ECHO_T}$GTK_CONFIG" >&6
26590 echo "$as_me:$LINENO: result: no" >&5
26591 echo "${ECHO_T}no" >&6
26594 min_gtk_version
=1.2.3
26595 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26596 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26598 if test "$GTK_CONFIG" = "no" ; then
26601 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26602 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26603 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26605 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26607 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26609 if test "x$enable_gtktest" = "xyes" ; then
26610 ac_save_CFLAGS
="$CFLAGS"
26611 ac_save_LIBS
="$LIBS"
26612 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26613 LIBS
="$GTK_LIBS $LIBS"
26615 if test "$cross_compiling" = yes; then
26616 echo $ac_n "cross compiling; assumed OK... $ac_c"
26618 cat >conftest.
$ac_ext <<_ACEOF
26621 cat confdefs.h
>>conftest.
$ac_ext
26622 cat >>conftest.
$ac_ext <<_ACEOF
26623 /* end confdefs.h. */
26625 #include <gtk/gtk.h>
26627 #include <stdlib.h>
26632 int major, minor, micro;
26635 system ("touch conf.gtktest");
26637 /* HP/UX 9 (%@#!) writes to sscanf strings */
26638 tmp_version = g_strdup("$min_gtk_version");
26639 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26640 printf("%s, bad version string\n", "$min_gtk_version");
26644 if ((gtk_major_version != $gtk_config_major_version) ||
26645 (gtk_minor_version != $gtk_config_minor_version) ||
26646 (gtk_micro_version != $gtk_config_micro_version))
26648 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26649 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26650 gtk_major_version, gtk_minor_version, gtk_micro_version);
26651 printf ("*** was found! If gtk-config was correct, then it is best\n");
26652 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26653 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26654 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26655 printf("*** required on your system.\n");
26656 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26657 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26658 printf("*** before re-running configure\n");
26660 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26661 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26662 (gtk_minor_version != GTK_MINOR_VERSION) ||
26663 (gtk_micro_version != GTK_MICRO_VERSION))
26665 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26666 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26667 printf("*** library (version %d.%d.%d)\n",
26668 gtk_major_version, gtk_minor_version, gtk_micro_version);
26670 #endif /* defined (GTK_MAJOR_VERSION) ... */
26673 if ((gtk_major_version > major) ||
26674 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26675 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26681 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26682 gtk_major_version, gtk_minor_version, gtk_micro_version);
26683 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26684 major, minor, micro);
26685 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26687 printf("*** If you have already installed a sufficiently new version, this error\n");
26688 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26689 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26690 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26691 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26692 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26693 printf("*** so that the correct libraries are found at run-time))\n");
26700 rm -f conftest
$ac_exeext
26701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26702 (eval $ac_link) 2>&5
26704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26705 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26707 (eval $ac_try) 2>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); }; }; then
26713 echo "$as_me: program exited with status $ac_status" >&5
26714 echo "$as_me: failed program was:" >&5
26715 sed 's/^/| /' conftest.
$ac_ext >&5
26717 ( exit $ac_status )
26720 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26722 CFLAGS
="$ac_save_CFLAGS"
26723 LIBS
="$ac_save_LIBS"
26726 if test "x$no_gtk" = x
; then
26727 echo "$as_me:$LINENO: result: yes" >&5
26728 echo "${ECHO_T}yes" >&6
26729 wx_cv_lib_gtk
=1.2.3
26731 echo "$as_me:$LINENO: result: no" >&5
26732 echo "${ECHO_T}no" >&6
26733 if test "$GTK_CONFIG" = "no" ; then
26734 echo "*** The gtk-config script installed by GTK could not be found"
26735 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26736 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26737 echo "*** full path to gtk-config."
26739 if test -f conf.gtktest
; then
26742 echo "*** Could not run GTK test program, checking why..."
26743 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26744 LIBS
="$LIBS $GTK_LIBS"
26745 cat >conftest.
$ac_ext <<_ACEOF
26748 cat confdefs.h
>>conftest.
$ac_ext
26749 cat >>conftest.
$ac_ext <<_ACEOF
26750 /* end confdefs.h. */
26752 #include <gtk/gtk.h>
26758 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26763 rm -f conftest.
$ac_objext conftest
$ac_exeext
26764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26765 (eval $ac_link) 2>conftest.er1
26767 grep -v '^ *+' conftest.er1
>conftest.err
26769 cat conftest.err
>&5
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); } &&
26772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26774 (eval $ac_try) 2>&5
26776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777 (exit $ac_status); }; } &&
26778 { ac_try
='test -s conftest$ac_exeext'
26779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26780 (eval $ac_try) 2>&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); }; }; then
26784 echo "*** The test program compiled, but did not run. This usually means"
26785 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26786 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26787 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26788 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26789 echo "*** is required on your system"
26791 echo "*** If you have an old version installed, it is best to remove it, although"
26792 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26794 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26795 echo "*** came with the system with the command"
26797 echo "*** rpm --erase --nodeps gtk gtk-devel"
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.
$ac_ext >&5
26802 echo "*** The test program failed to compile or link. See the file config.log for the"
26803 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26804 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26805 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26807 rm -f conftest.err conftest.
$ac_objext \
26808 conftest
$ac_exeext conftest.
$ac_ext
26809 CFLAGS
="$ac_save_CFLAGS"
26810 LIBS
="$ac_save_LIBS"
26825 if test -z "$wx_cv_lib_gtk"; then
26828 wx_cv_cflags_gtk
=$GTK_CFLAGS
26829 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26836 if test "$gtk_version_cached" = 1; then
26837 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26838 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26841 case "$wx_cv_lib_gtk" in
26850 *) { { echo "$as_me:$LINENO: error:
26851 The development files for GTK+ were not found. For GTK+ 2, please
26852 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26853 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26854 and that the version is 1.2.3 or above. Also check that the
26855 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26856 --libs' are in the LD_LIBRARY_PATH or equivalent.
26858 echo "$as_me: error:
26859 The development files for GTK+ were not found. For GTK+ 2, please
26860 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26861 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26862 and that the version is 1.2.3 or above. Also check that the
26863 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26864 --libs' are in the LD_LIBRARY_PATH or equivalent.
26866 { (exit 1); exit 1; }; }
26870 if test "$WXGTK20" = 1; then
26871 save_CFLAGS
="$CFLAGS"
26873 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
26874 LIBS
="$LIBS $wx_cv_libs_gtk"
26876 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26877 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26878 cat >conftest.
$ac_ext <<_ACEOF
26881 cat confdefs.h
>>conftest.
$ac_ext
26882 cat >>conftest.
$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26885 #include <gtk/gtk.h>
26891 void *f = gtk_icon_size_lookup;
26897 rm -f conftest.
$ac_objext
26898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26899 (eval $ac_compile) 2>conftest.er1
26901 grep -v '^ *+' conftest.er1
>conftest.err
26903 cat conftest.err
>&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); } &&
26906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; } &&
26912 { ac_try
='test -s conftest.$ac_objext'
26913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26914 (eval $ac_try) 2>&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); }; }; then
26919 echo "$as_me:$LINENO: result: no" >&5
26920 echo "${ECHO_T}no" >&6
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.
$ac_ext >&5
26927 cat >>confdefs.h
<<\_ACEOF
26928 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26931 echo "$as_me:$LINENO: result: yes" >&5
26932 echo "${ECHO_T}yes" >&6
26935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26937 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26938 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26939 cat >conftest.
$ac_ext <<_ACEOF
26942 cat confdefs.h
>>conftest.
$ac_ext
26943 cat >>conftest.
$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26946 #include <gtk/gtk.h>
26952 #if !GTK_CHECK_VERSION(2,4,0)
26960 rm -f conftest.
$ac_objext
26961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26962 (eval $ac_compile) 2>conftest.er1
26964 grep -v '^ *+' conftest.er1
>conftest.err
26966 cat conftest.err
>&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } &&
26969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26971 (eval $ac_try) 2>&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); }; } &&
26975 { ac_try
='test -s conftest.$ac_objext'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; }; then
26982 cat >>confdefs.h
<<\_ACEOF
26983 #define __WXGTK24__ 1
26986 echo "$as_me:$LINENO: result: yes" >&5
26987 echo "${ECHO_T}yes" >&6
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.
$ac_ext >&5
26994 echo "$as_me:$LINENO: result: no" >&5
26995 echo "${ECHO_T}no" >&6
26998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27000 CFLAGS
="$save_CFLAGS"
27003 if test "$wxUSE_UNICODE" = "yes"; then
27004 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27005 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27010 if test "$USE_DARWIN" != 1; then
27012 for ac_func
in poll
27014 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27015 echo "$as_me:$LINENO: checking for $ac_func" >&5
27016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27017 if eval "test \"\${$as_ac_var+set}\" = set"; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 cat >conftest.
$ac_ext <<_ACEOF
27023 cat confdefs.h
>>conftest.
$ac_ext
27024 cat >>conftest.
$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27028 #define $ac_func innocuous_$ac_func
27030 /* System header to define __stub macros and hopefully few prototypes,
27031 which can conflict with char $ac_func (); below.
27032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27033 <limits.h> exists even on freestanding compilers. */
27036 # include <limits.h>
27038 # include <assert.h>
27043 /* Override any gcc2 internal prototype to avoid an error. */
27048 /* We use char because int might match the return type of a gcc2
27049 builtin and then its argument prototype would still apply. */
27051 /* The GNU C library defines this for functions which it implements
27052 to always fail with ENOSYS. Some functions are actually named
27053 something starting with __ and the normal name is an alias. */
27054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27057 char (*f) () = $ac_func;
27066 return f != $ac_func;
27071 rm -f conftest.
$ac_objext conftest
$ac_exeext
27072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27073 (eval $ac_link) 2>conftest.er1
27075 grep -v '^ *+' conftest.er1
>conftest.err
27077 cat conftest.err
>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } &&
27080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; } &&
27086 { ac_try
='test -s conftest$ac_exeext'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 eval "$as_ac_var=yes"
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.
$ac_ext >&5
27097 eval "$as_ac_var=no"
27099 rm -f conftest.err conftest.
$ac_objext \
27100 conftest
$ac_exeext conftest.
$ac_ext
27102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27104 if test `eval echo '${'$as_ac_var'}'` = yes; then
27105 cat >>confdefs.h
<<_ACEOF
27106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27114 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27115 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27117 AFMINSTALL
=afminstall
27121 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27122 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27123 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 ac_check_lib_save_LIBS
=$LIBS
27128 cat >conftest.
$ac_ext <<_ACEOF
27131 cat confdefs.h
>>conftest.
$ac_ext
27132 cat >>conftest.
$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27135 /* Override any gcc2 internal prototype to avoid an error. */
27139 /* We use char because int might match the return type of a gcc2
27140 builtin and then its argument prototype would still apply. */
27141 char gdk_im_open ();
27150 rm -f conftest.
$ac_objext conftest
$ac_exeext
27151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27152 (eval $ac_link) 2>conftest.er1
27154 grep -v '^ *+' conftest.er1
>conftest.err
27156 cat conftest.err
>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } &&
27159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27161 (eval $ac_try) 2>&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); }; } &&
27165 { ac_try
='test -s conftest$ac_exeext'
27166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27167 (eval $ac_try) 2>&5
27169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27170 (exit $ac_status); }; }; then
27171 ac_cv_lib_gdk_gdk_im_open
=yes
27173 echo "$as_me: failed program was:" >&5
27174 sed 's/^/| /' conftest.
$ac_ext >&5
27176 ac_cv_lib_gdk_gdk_im_open
=no
27178 rm -f conftest.err conftest.
$ac_objext \
27179 conftest
$ac_exeext conftest.
$ac_ext
27180 LIBS
=$ac_check_lib_save_LIBS
27182 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27183 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27184 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27185 cat >>confdefs.h
<<\_ACEOF
27193 if test "$wxUSE_GPE" = "yes"; then
27194 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27195 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27198 for ac_dir
in $SEARCH_LIB;
27200 for ac_extension
in a so sl dylib dll.a
; do
27201 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27202 ac_find_libraries
=$ac_dir
27208 if test "$ac_find_libraries" != "" ; then
27210 if test "$ac_find_libraries" = "default location"; then
27213 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27215 if test $result = 0; then
27218 ac_path_to_link
=" -L$ac_find_libraries"
27222 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27224 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27225 echo "${ECHO_T}found in $ac_find_libraries" >&6
27227 echo "$as_me:$LINENO: result: not found" >&5
27228 echo "${ECHO_T}not found" >&6
27234 if test "$wxUSE_MGL" = 1; then
27235 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27236 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27237 if test "x$MGL_ROOT" = x
; then
27238 echo "$as_me:$LINENO: result: not found" >&5
27239 echo "${ECHO_T}not found" >&6
27240 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27241 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27242 { (exit 1); exit 1; }; }
27244 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27245 echo "${ECHO_T}$MGL_ROOT" >&6
27248 echo "$as_me:$LINENO: checking for libmgl location" >&5
27249 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27252 if test "x$wxUSE_SHARED" = xyes
; then
27253 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27255 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27259 mgl_os_candidates
="dos32/dj2"
27262 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27263 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27264 { (exit 1); exit 1; }; }
27270 for mgl_os_i
in $mgl_os_candidates ; do
27271 if test "x$mgl_os" = x
; then
27272 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27273 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27274 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27279 if test "x$mgl_lib_type" = x
; then
27280 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27281 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27282 mgl_lib_type
=release
27289 if test "x$mgl_os" = x
; then
27290 echo "$as_me:$LINENO: result: not found" >&5
27291 echo "${ECHO_T}not found" >&6
27292 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27293 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27294 { (exit 1); exit 1; }; }
27296 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27297 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27299 wxUSE_UNIVERSAL
="yes"
27301 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27302 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27304 AFMINSTALL
=afminstall
27309 if test "$wxUSE_MICROWIN" = 1; then
27310 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27311 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27312 if test "x$MICROWINDOWS" = x
; then
27313 echo "$as_me:$LINENO: result: not found" >&5
27314 echo "${ECHO_T}not found" >&6
27315 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27316 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27317 { (exit 1); exit 1; }; }
27319 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27320 echo "${ECHO_T}$MICROWINDOWS" >&6
27323 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27324 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27325 echo "${ECHO_T}MicroWindows' libraries found." >&6
27327 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27328 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27329 { (exit 1); exit 1; }; }
27332 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27333 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27335 wxUSE_UNIVERSAL
="yes"
27337 AFMINSTALL
=afminstall
27339 GUIDIST
=MICROWIN_DIST
27341 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27344 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27346 if test "x$ac_path_x_has_been_run" != xyes
; then
27347 echo "$as_me:$LINENO: checking for X" >&5
27348 echo $ECHO_N "checking for X... $ECHO_C" >&6
27350 ac_path_x_has_been_run
=yes
27352 # Check whether --with-x or --without-x was given.
27353 if test "${with_x+set}" = set; then
27357 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27358 if test "x$with_x" = xno
; then
27359 # The user explicitly disabled X.
27362 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27363 # Both variables are already set.
27366 if test "${ac_cv_have_x+set}" = set; then
27367 echo $ECHO_N "(cached) $ECHO_C" >&6
27369 # One or both of the vars are not set, and there is no cached value.
27370 ac_x_includes
=no ac_x_libraries
=no
27371 rm -fr conftest.dir
27372 if mkdir conftest.dir
; then
27374 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27375 cat >Imakefile
<<'_ACEOF'
27377 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27379 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27380 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27381 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27382 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27383 for ac_extension
in a so sl
; do
27384 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27385 test -f $ac_im_libdir/libX11.
$ac_extension; then
27386 ac_im_usrlibdir
=$ac_im_libdir; break
27389 # Screen out bogus values from the imake configuration. They are
27390 # bogus both because they are the default anyway, and because
27391 # using them would break gcc on systems where it needs fixed includes.
27392 case $ac_im_incroot in
27394 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27396 case $ac_im_usrlibdir in
27397 /usr
/lib
| /lib
) ;;
27398 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27402 rm -fr conftest.dir
27405 # Standard set of common directories for X headers.
27406 # Check X11 before X11Rn because it is often a symlink to the current release.
27418 /usr/local/X11/include
27419 /usr/local/X11R6/include
27420 /usr/local/X11R5/include
27421 /usr/local/X11R4/include
27423 /usr/local/include/X11
27424 /usr/local/include/X11R6
27425 /usr/local/include/X11R5
27426 /usr/local/include/X11R4
27430 /usr/XFree86/include/X11
27434 /usr/unsupported/include
27435 /usr/athena/include
27436 /usr/local/x11r5/include
27437 /usr/lpp/Xamples/include
27439 /usr/openwin/include
27440 /usr/openwin/share/include'
27442 if test "$ac_x_includes" = no
; then
27443 # Guess where to find include files, by looking for a specified header file.
27444 # First, try using that file with no special directory specified.
27445 cat >conftest.
$ac_ext <<_ACEOF
27448 cat confdefs.h
>>conftest.
$ac_ext
27449 cat >>conftest.
$ac_ext <<_ACEOF
27450 /* end confdefs.h. */
27451 #include <X11/Intrinsic.h>
27453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27456 grep -v '^ *+' conftest.er1
>conftest.err
27458 cat conftest.err
>&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } >/dev
/null
; then
27461 if test -s conftest.err
; then
27462 ac_cpp_err
=$ac_c_preproc_warn_flag
27463 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27470 if test -z "$ac_cpp_err"; then
27471 # We can compile using X headers with no special include directory.
27474 echo "$as_me: failed program was:" >&5
27475 sed 's/^/| /' conftest.
$ac_ext >&5
27477 for ac_dir
in $ac_x_header_dirs; do
27478 if test -r "$ac_dir/X11/Intrinsic.h"; then
27479 ac_x_includes
=$ac_dir
27484 rm -f conftest.err conftest.
$ac_ext
27485 fi # $ac_x_includes = no
27487 if test "$ac_x_libraries" = no
; then
27488 # Check for the libraries.
27489 # See if we find them without any special options.
27490 # Don't add to $LIBS permanently.
27493 cat >conftest.
$ac_ext <<_ACEOF
27496 cat confdefs.h
>>conftest.
$ac_ext
27497 cat >>conftest.
$ac_ext <<_ACEOF
27498 /* end confdefs.h. */
27499 #include <X11/Intrinsic.h>
27508 rm -f conftest.
$ac_objext conftest
$ac_exeext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27510 (eval $ac_link) 2>conftest.er1
27512 grep -v '^ *+' conftest.er1
>conftest.err
27514 cat conftest.err
>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; } &&
27523 { ac_try
='test -s conftest$ac_exeext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27530 # We can link X programs with no special library path.
27533 echo "$as_me: failed program was:" >&5
27534 sed 's/^/| /' conftest.
$ac_ext >&5
27537 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27539 # Don't even attempt the hair of trying to link an X program!
27540 for ac_extension
in a so sl
; do
27541 if test -r $ac_dir/libXt.
$ac_extension; then
27542 ac_x_libraries
=$ac_dir
27548 rm -f conftest.err conftest.
$ac_objext \
27549 conftest
$ac_exeext conftest.
$ac_ext
27550 fi # $ac_x_libraries = no
27552 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27553 # Didn't find X anywhere. Cache the known absence of X.
27554 ac_cv_have_x
="have_x=no"
27556 # Record where we found X for the cache.
27557 ac_cv_have_x
="have_x=yes \
27558 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27563 eval "$ac_cv_have_x"
27566 if test "$have_x" != yes; then
27567 echo "$as_me:$LINENO: result: $have_x" >&5
27568 echo "${ECHO_T}$have_x" >&6
27571 # If each of the values was on the command line, it overrides each guess.
27572 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27573 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27574 # Update the cache value to reflect the command line values.
27575 ac_cv_have_x
="have_x=yes \
27576 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27577 # It might be that x_includes is empty (headers are found in the
27578 # standard search path. Then output the corresponding message
27579 ac_out_x_includes
=$x_includes
27580 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
27581 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
27582 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
27586 if test "$no_x" = yes; then
27587 # Not all programs may use this symbol, but it does not hurt to define it.
27589 cat >>confdefs.h
<<\_ACEOF
27590 #define X_DISPLAY_MISSING 1
27593 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27595 if test -n "$x_includes"; then
27596 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27599 # It would also be nice to do this for all -L options, not just this one.
27600 if test -n "$x_libraries"; then
27601 X_LIBS
="$X_LIBS -L$x_libraries"
27602 # For Solaris; some versions of Sun CC require a space after -R and
27603 # others require no space. Words are not sufficient . . . .
27604 case `(uname -sr) 2>/dev/null` in
27606 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27607 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27608 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27609 cat >conftest.
$ac_ext <<_ACEOF
27612 cat confdefs.h
>>conftest.
$ac_ext
27613 cat >>conftest.
$ac_ext <<_ACEOF
27614 /* end confdefs.h. */
27624 rm -f conftest.
$ac_objext conftest
$ac_exeext
27625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27626 (eval $ac_link) 2>conftest.er1
27628 grep -v '^ *+' conftest.er1
>conftest.err
27630 cat conftest.err
>&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); } &&
27633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27635 (eval $ac_try) 2>&5
27637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638 (exit $ac_status); }; } &&
27639 { ac_try
='test -s conftest$ac_exeext'
27640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27641 (eval $ac_try) 2>&5
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); }; }; then
27647 echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.
$ac_ext >&5
27652 rm -f conftest.err conftest.
$ac_objext \
27653 conftest
$ac_exeext conftest.
$ac_ext
27654 if test $ac_R_nospace = yes; then
27655 echo "$as_me:$LINENO: result: no" >&5
27656 echo "${ECHO_T}no" >&6
27657 X_LIBS
="$X_LIBS -R$x_libraries"
27659 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27660 cat >conftest.
$ac_ext <<_ACEOF
27663 cat confdefs.h
>>conftest.
$ac_ext
27664 cat >>conftest.
$ac_ext <<_ACEOF
27665 /* end confdefs.h. */
27675 rm -f conftest.
$ac_objext conftest
$ac_exeext
27676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27677 (eval $ac_link) 2>conftest.er1
27679 grep -v '^ *+' conftest.er1
>conftest.err
27681 cat conftest.err
>&5
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); } &&
27684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27686 (eval $ac_try) 2>&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); }; } &&
27690 { ac_try
='test -s conftest$ac_exeext'
27691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27692 (eval $ac_try) 2>&5
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); }; }; then
27698 echo "$as_me: failed program was:" >&5
27699 sed 's/^/| /' conftest.
$ac_ext >&5
27703 rm -f conftest.err conftest.
$ac_objext \
27704 conftest
$ac_exeext conftest.
$ac_ext
27705 if test $ac_R_space = yes; then
27706 echo "$as_me:$LINENO: result: yes" >&5
27707 echo "${ECHO_T}yes" >&6
27708 X_LIBS
="$X_LIBS -R $x_libraries"
27710 echo "$as_me:$LINENO: result: neither works" >&5
27711 echo "${ECHO_T}neither works" >&6
27714 LIBS
=$ac_xsave_LIBS
27718 # Check for system-dependent libraries X programs must link with.
27719 # Do this before checking for the system-independent R6 libraries
27720 # (-lICE), since we may need -lsocket or whatever for X linking.
27722 if test "$ISC" = yes; then
27723 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27725 # Martyn Johnson says this is needed for Ultrix, if the X
27726 # libraries were built with DECnet support. And Karl Berry says
27727 # the Alpha needs dnet_stub (dnet does not exist).
27728 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27729 cat >conftest.
$ac_ext <<_ACEOF
27732 cat confdefs.h
>>conftest.
$ac_ext
27733 cat >>conftest.
$ac_ext <<_ACEOF
27734 /* end confdefs.h. */
27736 /* Override any gcc2 internal prototype to avoid an error. */
27740 /* We use char because int might match the return type of a gcc2
27741 builtin and then its argument prototype would still apply. */
27742 char XOpenDisplay ();
27751 rm -f conftest.
$ac_objext conftest
$ac_exeext
27752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27753 (eval $ac_link) 2>conftest.er1
27755 grep -v '^ *+' conftest.er1
>conftest.err
27757 cat conftest.err
>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); } &&
27760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; } &&
27766 { ac_try
='test -s conftest$ac_exeext'
27767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27768 (eval $ac_try) 2>&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); }; }; then
27774 echo "$as_me: failed program was:" >&5
27775 sed 's/^/| /' conftest.
$ac_ext >&5
27777 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27778 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27779 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27780 echo $ECHO_N "(cached) $ECHO_C" >&6
27782 ac_check_lib_save_LIBS
=$LIBS
27783 LIBS
="-ldnet $LIBS"
27784 cat >conftest.
$ac_ext <<_ACEOF
27787 cat confdefs.h
>>conftest.
$ac_ext
27788 cat >>conftest.
$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27791 /* Override any gcc2 internal prototype to avoid an error. */
27795 /* We use char because int might match the return type of a gcc2
27796 builtin and then its argument prototype would still apply. */
27806 rm -f conftest.
$ac_objext conftest
$ac_exeext
27807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27808 (eval $ac_link) 2>conftest.er1
27810 grep -v '^ *+' conftest.er1
>conftest.err
27812 cat conftest.err
>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } &&
27815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817 (eval $ac_try) 2>&5
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); }; } &&
27821 { ac_try
='test -s conftest$ac_exeext'
27822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823 (eval $ac_try) 2>&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; }; then
27827 ac_cv_lib_dnet_dnet_ntoa
=yes
27829 echo "$as_me: failed program was:" >&5
27830 sed 's/^/| /' conftest.
$ac_ext >&5
27832 ac_cv_lib_dnet_dnet_ntoa
=no
27834 rm -f conftest.err conftest.
$ac_objext \
27835 conftest
$ac_exeext conftest.
$ac_ext
27836 LIBS
=$ac_check_lib_save_LIBS
27838 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27839 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27840 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
27844 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
27845 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27846 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27847 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27848 echo $ECHO_N "(cached) $ECHO_C" >&6
27850 ac_check_lib_save_LIBS
=$LIBS
27851 LIBS
="-ldnet_stub $LIBS"
27852 cat >conftest.
$ac_ext <<_ACEOF
27855 cat confdefs.h
>>conftest.
$ac_ext
27856 cat >>conftest.
$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27859 /* Override any gcc2 internal prototype to avoid an error. */
27863 /* We use char because int might match the return type of a gcc2
27864 builtin and then its argument prototype would still apply. */
27874 rm -f conftest.
$ac_objext conftest
$ac_exeext
27875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27876 (eval $ac_link) 2>conftest.er1
27878 grep -v '^ *+' conftest.er1
>conftest.err
27880 cat conftest.err
>&5
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); } &&
27883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27885 (eval $ac_try) 2>&5
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); }; } &&
27889 { ac_try
='test -s conftest$ac_exeext'
27890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27891 (eval $ac_try) 2>&5
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); }; }; then
27895 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
27897 echo "$as_me: failed program was:" >&5
27898 sed 's/^/| /' conftest.
$ac_ext >&5
27900 ac_cv_lib_dnet_stub_dnet_ntoa
=no
27902 rm -f conftest.err conftest.
$ac_objext \
27903 conftest
$ac_exeext conftest.
$ac_ext
27904 LIBS
=$ac_check_lib_save_LIBS
27906 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27907 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27908 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27909 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
27914 rm -f conftest.err conftest.
$ac_objext \
27915 conftest
$ac_exeext conftest.
$ac_ext
27916 LIBS
="$ac_xsave_LIBS"
27918 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27919 # to get the SysV transport functions.
27920 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27922 # The nsl library prevents programs from opening the X display
27923 # on Irix 5.2, according to T.E. Dickey.
27924 # The functions gethostbyname, getservbyname, and inet_addr are
27925 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27926 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27927 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27928 if test "${ac_cv_func_gethostbyname+set}" = set; then
27929 echo $ECHO_N "(cached) $ECHO_C" >&6
27931 cat >conftest.
$ac_ext <<_ACEOF
27934 cat confdefs.h
>>conftest.
$ac_ext
27935 cat >>conftest.
$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27937 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27939 #define gethostbyname innocuous_gethostbyname
27941 /* System header to define __stub macros and hopefully few prototypes,
27942 which can conflict with char gethostbyname (); below.
27943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27944 <limits.h> exists even on freestanding compilers. */
27947 # include <limits.h>
27949 # include <assert.h>
27952 #undef gethostbyname
27954 /* Override any gcc2 internal prototype to avoid an error. */
27959 /* We use char because int might match the return type of a gcc2
27960 builtin and then its argument prototype would still apply. */
27961 char gethostbyname ();
27962 /* The GNU C library defines this for functions which it implements
27963 to always fail with ENOSYS. Some functions are actually named
27964 something starting with __ and the normal name is an alias. */
27965 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27968 char (*f) () = gethostbyname;
27977 return f != gethostbyname;
27982 rm -f conftest.
$ac_objext conftest
$ac_exeext
27983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27984 (eval $ac_link) 2>conftest.er1
27986 grep -v '^ *+' conftest.er1
>conftest.err
27988 cat conftest.err
>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } &&
27991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27993 (eval $ac_try) 2>&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); }; } &&
27997 { ac_try
='test -s conftest$ac_exeext'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; }; then
28003 ac_cv_func_gethostbyname
=yes
28005 echo "$as_me: failed program was:" >&5
28006 sed 's/^/| /' conftest.
$ac_ext >&5
28008 ac_cv_func_gethostbyname
=no
28010 rm -f conftest.err conftest.
$ac_objext \
28011 conftest
$ac_exeext conftest.
$ac_ext
28013 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28014 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28016 if test $ac_cv_func_gethostbyname = no
; then
28017 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28018 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28019 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28020 echo $ECHO_N "(cached) $ECHO_C" >&6
28022 ac_check_lib_save_LIBS
=$LIBS
28024 cat >conftest.
$ac_ext <<_ACEOF
28027 cat confdefs.h
>>conftest.
$ac_ext
28028 cat >>conftest.
$ac_ext <<_ACEOF
28029 /* end confdefs.h. */
28031 /* Override any gcc2 internal prototype to avoid an error. */
28035 /* We use char because int might match the return type of a gcc2
28036 builtin and then its argument prototype would still apply. */
28037 char gethostbyname ();
28046 rm -f conftest.
$ac_objext conftest
$ac_exeext
28047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28048 (eval $ac_link) 2>conftest.er1
28050 grep -v '^ *+' conftest.er1
>conftest.err
28052 cat conftest.err
>&5
28053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28054 (exit $ac_status); } &&
28055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28057 (eval $ac_try) 2>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); }; } &&
28061 { ac_try
='test -s conftest$ac_exeext'
28062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28063 (eval $ac_try) 2>&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); }; }; then
28067 ac_cv_lib_nsl_gethostbyname
=yes
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.
$ac_ext >&5
28072 ac_cv_lib_nsl_gethostbyname
=no
28074 rm -f conftest.err conftest.
$ac_objext \
28075 conftest
$ac_exeext conftest.
$ac_ext
28076 LIBS
=$ac_check_lib_save_LIBS
28078 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28079 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28080 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28081 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28084 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28085 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28086 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28087 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28088 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 ac_check_lib_save_LIBS
=$LIBS
28092 cat >conftest.
$ac_ext <<_ACEOF
28095 cat confdefs.h
>>conftest.
$ac_ext
28096 cat >>conftest.
$ac_ext <<_ACEOF
28097 /* end confdefs.h. */
28099 /* Override any gcc2 internal prototype to avoid an error. */
28103 /* We use char because int might match the return type of a gcc2
28104 builtin and then its argument prototype would still apply. */
28105 char gethostbyname ();
28114 rm -f conftest.
$ac_objext conftest
$ac_exeext
28115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28116 (eval $ac_link) 2>conftest.er1
28118 grep -v '^ *+' conftest.er1
>conftest.err
28120 cat conftest.err
>&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } &&
28123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; } &&
28129 { ac_try
='test -s conftest$ac_exeext'
28130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28131 (eval $ac_try) 2>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); }; }; then
28135 ac_cv_lib_bsd_gethostbyname
=yes
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.
$ac_ext >&5
28140 ac_cv_lib_bsd_gethostbyname
=no
28142 rm -f conftest.err conftest.
$ac_objext \
28143 conftest
$ac_exeext conftest.
$ac_ext
28144 LIBS
=$ac_check_lib_save_LIBS
28146 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28147 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28148 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28149 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28155 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28156 # socket/setsockopt and other routines are undefined under SCO ODT
28157 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28158 # on later versions), says Simon Leinen: it contains gethostby*
28159 # variants that don't use the name server (or something). -lsocket
28160 # must be given before -lnsl if both are needed. We assume that
28161 # if connect needs -lnsl, so does gethostbyname.
28162 echo "$as_me:$LINENO: checking for connect" >&5
28163 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28164 if test "${ac_cv_func_connect+set}" = set; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28167 cat >conftest.
$ac_ext <<_ACEOF
28170 cat confdefs.h
>>conftest.
$ac_ext
28171 cat >>conftest.
$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28175 #define connect innocuous_connect
28177 /* System header to define __stub macros and hopefully few prototypes,
28178 which can conflict with char connect (); below.
28179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28180 <limits.h> exists even on freestanding compilers. */
28183 # include <limits.h>
28185 # include <assert.h>
28190 /* Override any gcc2 internal prototype to avoid an error. */
28195 /* We use char because int might match the return type of a gcc2
28196 builtin and then its argument prototype would still apply. */
28198 /* The GNU C library defines this for functions which it implements
28199 to always fail with ENOSYS. Some functions are actually named
28200 something starting with __ and the normal name is an alias. */
28201 #if defined (__stub_connect) || defined (__stub___connect)
28204 char (*f) () = connect;
28213 return f != connect;
28218 rm -f conftest.
$ac_objext conftest
$ac_exeext
28219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28220 (eval $ac_link) 2>conftest.er1
28222 grep -v '^ *+' conftest.er1
>conftest.err
28224 cat conftest.err
>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } &&
28227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229 (eval $ac_try) 2>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; } &&
28233 { ac_try
='test -s conftest$ac_exeext'
28234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235 (eval $ac_try) 2>&5
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); }; }; then
28239 ac_cv_func_connect
=yes
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.
$ac_ext >&5
28244 ac_cv_func_connect
=no
28246 rm -f conftest.err conftest.
$ac_objext \
28247 conftest
$ac_exeext conftest.
$ac_ext
28249 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28250 echo "${ECHO_T}$ac_cv_func_connect" >&6
28252 if test $ac_cv_func_connect = no
; then
28253 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28254 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28255 if test "${ac_cv_lib_socket_connect+set}" = set; then
28256 echo $ECHO_N "(cached) $ECHO_C" >&6
28258 ac_check_lib_save_LIBS
=$LIBS
28259 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28260 cat >conftest.
$ac_ext <<_ACEOF
28263 cat confdefs.h
>>conftest.
$ac_ext
28264 cat >>conftest.
$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28267 /* Override any gcc2 internal prototype to avoid an error. */
28271 /* We use char because int might match the return type of a gcc2
28272 builtin and then its argument prototype would still apply. */
28282 rm -f conftest.
$ac_objext conftest
$ac_exeext
28283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28284 (eval $ac_link) 2>conftest.er1
28286 grep -v '^ *+' conftest.er1
>conftest.err
28288 cat conftest.err
>&5
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); } &&
28291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28293 (eval $ac_try) 2>&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); }; } &&
28297 { ac_try
='test -s conftest$ac_exeext'
28298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28299 (eval $ac_try) 2>&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); }; }; then
28303 ac_cv_lib_socket_connect
=yes
28305 echo "$as_me: failed program was:" >&5
28306 sed 's/^/| /' conftest.
$ac_ext >&5
28308 ac_cv_lib_socket_connect
=no
28310 rm -f conftest.err conftest.
$ac_objext \
28311 conftest
$ac_exeext conftest.
$ac_ext
28312 LIBS
=$ac_check_lib_save_LIBS
28314 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28315 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28316 if test $ac_cv_lib_socket_connect = yes; then
28317 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28322 # Guillermo Gomez says -lposix is necessary on A/UX.
28323 echo "$as_me:$LINENO: checking for remove" >&5
28324 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28325 if test "${ac_cv_func_remove+set}" = set; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28328 cat >conftest.
$ac_ext <<_ACEOF
28331 cat confdefs.h
>>conftest.
$ac_ext
28332 cat >>conftest.
$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28334 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28336 #define remove innocuous_remove
28338 /* System header to define __stub macros and hopefully few prototypes,
28339 which can conflict with char remove (); below.
28340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28341 <limits.h> exists even on freestanding compilers. */
28344 # include <limits.h>
28346 # include <assert.h>
28351 /* Override any gcc2 internal prototype to avoid an error. */
28356 /* We use char because int might match the return type of a gcc2
28357 builtin and then its argument prototype would still apply. */
28359 /* The GNU C library defines this for functions which it implements
28360 to always fail with ENOSYS. Some functions are actually named
28361 something starting with __ and the normal name is an alias. */
28362 #if defined (__stub_remove) || defined (__stub___remove)
28365 char (*f) () = remove;
28374 return f != remove;
28379 rm -f conftest.
$ac_objext conftest
$ac_exeext
28380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28381 (eval $ac_link) 2>conftest.er1
28383 grep -v '^ *+' conftest.er1
>conftest.err
28385 cat conftest.err
>&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); } &&
28388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28390 (eval $ac_try) 2>&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); }; } &&
28394 { ac_try
='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 ac_cv_func_remove
=yes
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.
$ac_ext >&5
28405 ac_cv_func_remove
=no
28407 rm -f conftest.err conftest.
$ac_objext \
28408 conftest
$ac_exeext conftest.
$ac_ext
28410 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28411 echo "${ECHO_T}$ac_cv_func_remove" >&6
28413 if test $ac_cv_func_remove = no
; then
28414 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28415 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28416 if test "${ac_cv_lib_posix_remove+set}" = set; then
28417 echo $ECHO_N "(cached) $ECHO_C" >&6
28419 ac_check_lib_save_LIBS
=$LIBS
28420 LIBS
="-lposix $LIBS"
28421 cat >conftest.
$ac_ext <<_ACEOF
28424 cat confdefs.h
>>conftest.
$ac_ext
28425 cat >>conftest.
$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28428 /* Override any gcc2 internal prototype to avoid an error. */
28432 /* We use char because int might match the return type of a gcc2
28433 builtin and then its argument prototype would still apply. */
28443 rm -f conftest.
$ac_objext conftest
$ac_exeext
28444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28445 (eval $ac_link) 2>conftest.er1
28447 grep -v '^ *+' conftest.er1
>conftest.err
28449 cat conftest.err
>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } &&
28452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454 (eval $ac_try) 2>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; } &&
28458 { ac_try
='test -s conftest$ac_exeext'
28459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460 (eval $ac_try) 2>&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); }; }; then
28464 ac_cv_lib_posix_remove
=yes
28466 echo "$as_me: failed program was:" >&5
28467 sed 's/^/| /' conftest.
$ac_ext >&5
28469 ac_cv_lib_posix_remove
=no
28471 rm -f conftest.err conftest.
$ac_objext \
28472 conftest
$ac_exeext conftest.
$ac_ext
28473 LIBS
=$ac_check_lib_save_LIBS
28475 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28476 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28477 if test $ac_cv_lib_posix_remove = yes; then
28478 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28483 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28484 echo "$as_me:$LINENO: checking for shmat" >&5
28485 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28486 if test "${ac_cv_func_shmat+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 cat >conftest.
$ac_ext <<_ACEOF
28492 cat confdefs.h
>>conftest.
$ac_ext
28493 cat >>conftest.
$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28495 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28497 #define shmat innocuous_shmat
28499 /* System header to define __stub macros and hopefully few prototypes,
28500 which can conflict with char shmat (); below.
28501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28502 <limits.h> exists even on freestanding compilers. */
28505 # include <limits.h>
28507 # include <assert.h>
28512 /* Override any gcc2 internal prototype to avoid an error. */
28517 /* We use char because int might match the return type of a gcc2
28518 builtin and then its argument prototype would still apply. */
28520 /* The GNU C library defines this for functions which it implements
28521 to always fail with ENOSYS. Some functions are actually named
28522 something starting with __ and the normal name is an alias. */
28523 #if defined (__stub_shmat) || defined (__stub___shmat)
28526 char (*f) () = shmat;
28540 rm -f conftest.
$ac_objext conftest
$ac_exeext
28541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28542 (eval $ac_link) 2>conftest.er1
28544 grep -v '^ *+' conftest.er1
>conftest.err
28546 cat conftest.err
>&5
28547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548 (exit $ac_status); } &&
28549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28551 (eval $ac_try) 2>&5
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); }; } &&
28555 { ac_try
='test -s conftest$ac_exeext'
28556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28557 (eval $ac_try) 2>&5
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); }; }; then
28561 ac_cv_func_shmat
=yes
28563 echo "$as_me: failed program was:" >&5
28564 sed 's/^/| /' conftest.
$ac_ext >&5
28566 ac_cv_func_shmat
=no
28568 rm -f conftest.err conftest.
$ac_objext \
28569 conftest
$ac_exeext conftest.
$ac_ext
28571 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28572 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28574 if test $ac_cv_func_shmat = no
; then
28575 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28576 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28577 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 ac_check_lib_save_LIBS
=$LIBS
28582 cat >conftest.
$ac_ext <<_ACEOF
28585 cat confdefs.h
>>conftest.
$ac_ext
28586 cat >>conftest.
$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28589 /* Override any gcc2 internal prototype to avoid an error. */
28593 /* We use char because int might match the return type of a gcc2
28594 builtin and then its argument prototype would still apply. */
28604 rm -f conftest.
$ac_objext conftest
$ac_exeext
28605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28606 (eval $ac_link) 2>conftest.er1
28608 grep -v '^ *+' conftest.er1
>conftest.err
28610 cat conftest.err
>&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); } &&
28613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28615 (eval $ac_try) 2>&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); }; } &&
28619 { ac_try
='test -s conftest$ac_exeext'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; }; then
28625 ac_cv_lib_ipc_shmat
=yes
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.
$ac_ext >&5
28630 ac_cv_lib_ipc_shmat
=no
28632 rm -f conftest.err conftest.
$ac_objext \
28633 conftest
$ac_exeext conftest.
$ac_ext
28634 LIBS
=$ac_check_lib_save_LIBS
28636 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28637 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28638 if test $ac_cv_lib_ipc_shmat = yes; then
28639 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28645 # Check for libraries that X11R6 Xt/Xaw programs need.
28646 ac_save_LDFLAGS
=$LDFLAGS
28647 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28648 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28649 # check for ICE first), but we must link in the order -lSM -lICE or
28650 # we get undefined symbols. So assume we have SM if we have ICE.
28651 # These have to be linked with before -lX11, unlike the other
28652 # libraries we check for below, so use a different variable.
28653 # John Interrante, Karl Berry
28654 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28655 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28656 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28657 echo $ECHO_N "(cached) $ECHO_C" >&6
28659 ac_check_lib_save_LIBS
=$LIBS
28660 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28661 cat >conftest.
$ac_ext <<_ACEOF
28664 cat confdefs.h
>>conftest.
$ac_ext
28665 cat >>conftest.
$ac_ext <<_ACEOF
28666 /* end confdefs.h. */
28668 /* Override any gcc2 internal prototype to avoid an error. */
28672 /* We use char because int might match the return type of a gcc2
28673 builtin and then its argument prototype would still apply. */
28674 char IceConnectionNumber ();
28678 IceConnectionNumber ();
28683 rm -f conftest.
$ac_objext conftest
$ac_exeext
28684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28685 (eval $ac_link) 2>conftest.er1
28687 grep -v '^ *+' conftest.er1
>conftest.err
28689 cat conftest.err
>&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); } &&
28692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; } &&
28698 { ac_try
='test -s conftest$ac_exeext'
28699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700 (eval $ac_try) 2>&5
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); }; }; then
28704 ac_cv_lib_ICE_IceConnectionNumber
=yes
28706 echo "$as_me: failed program was:" >&5
28707 sed 's/^/| /' conftest.
$ac_ext >&5
28709 ac_cv_lib_ICE_IceConnectionNumber
=no
28711 rm -f conftest.err conftest.
$ac_objext \
28712 conftest
$ac_exeext conftest.
$ac_ext
28713 LIBS
=$ac_check_lib_save_LIBS
28715 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28716 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28717 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28718 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28721 LDFLAGS
=$ac_save_LDFLAGS
28726 if test "$no_x" = "yes"; then
28727 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28728 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28729 { (exit 1); exit 1; }; }
28732 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28733 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28734 AFMINSTALL
=afminstall
28735 COMPILED_X_PROGRAM
=0
28739 if test "$wxUSE_X11" = 1; then
28740 if test "$wxUSE_NANOX" = "yes"; then
28741 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28742 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28743 if test "x$MICROWIN" = x
; then
28744 echo "$as_me:$LINENO: result: not found" >&5
28745 echo "${ECHO_T}not found" >&6
28746 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28747 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28748 { (exit 1); exit 1; }; }
28750 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28751 echo "${ECHO_T}$MICROWIN" >&6
28752 cat >>confdefs.h
<<\_ACEOF
28753 #define wxUSE_NANOX 1
28759 if test "$wxUSE_UNICODE" = "yes"; then
28763 if test -z "$PKG_CONFIG"; then
28764 # Extract the first word of "pkg-config", so it can be a program name with args.
28765 set dummy pkg
-config; ac_word
=$2
28766 echo "$as_me:$LINENO: checking for $ac_word" >&5
28767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28768 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28769 echo $ECHO_N "(cached) $ECHO_C" >&6
28771 case $PKG_CONFIG in
28773 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28777 for as_dir
in $PATH
28780 test -z "$as_dir" && as_dir
=.
28781 for ac_exec_ext
in '' $ac_executable_extensions; do
28782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28783 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28790 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28794 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28796 if test -n "$PKG_CONFIG"; then
28797 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28798 echo "${ECHO_T}$PKG_CONFIG" >&6
28800 echo "$as_me:$LINENO: result: no" >&5
28801 echo "${ECHO_T}no" >&6
28806 if test "$PKG_CONFIG" = "no" ; then
28807 echo "*** The pkg-config script could not be found. Make sure it is"
28808 echo "*** in your path, or set the PKG_CONFIG environment variable"
28809 echo "*** to the full path to pkg-config."
28810 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28812 PKG_CONFIG_MIN_VERSION
=0.9.0
28813 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28814 echo "$as_me:$LINENO: checking for pangox" >&5
28815 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28817 if $PKG_CONFIG --exists "pangox" ; then
28818 echo "$as_me:$LINENO: result: yes" >&5
28819 echo "${ECHO_T}yes" >&6
28822 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28823 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28824 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
28825 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28826 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28828 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28829 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28830 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
28831 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28832 echo "${ECHO_T}$PANGOX_LIBS" >&6
28836 ## If we have a custom action on failure, don't print errors, but
28837 ## do set a variable so people can do so.
28838 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28845 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28846 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28850 if test $succeeded = yes; then
28852 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
28853 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
28857 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28858 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28859 { (exit 1); exit 1; }; }
28867 if test -z "$PKG_CONFIG"; then
28868 # Extract the first word of "pkg-config", so it can be a program name with args.
28869 set dummy pkg
-config; ac_word
=$2
28870 echo "$as_me:$LINENO: checking for $ac_word" >&5
28871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28872 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28873 echo $ECHO_N "(cached) $ECHO_C" >&6
28875 case $PKG_CONFIG in
28877 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28881 for as_dir
in $PATH
28884 test -z "$as_dir" && as_dir
=.
28885 for ac_exec_ext
in '' $ac_executable_extensions; do
28886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28887 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28894 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28898 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28900 if test -n "$PKG_CONFIG"; then
28901 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28902 echo "${ECHO_T}$PKG_CONFIG" >&6
28904 echo "$as_me:$LINENO: result: no" >&5
28905 echo "${ECHO_T}no" >&6
28910 if test "$PKG_CONFIG" = "no" ; then
28911 echo "*** The pkg-config script could not be found. Make sure it is"
28912 echo "*** in your path, or set the PKG_CONFIG environment variable"
28913 echo "*** to the full path to pkg-config."
28914 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28916 PKG_CONFIG_MIN_VERSION
=0.9.0
28917 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28918 echo "$as_me:$LINENO: checking for pangoft2" >&5
28919 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28921 if $PKG_CONFIG --exists "pangoft2" ; then
28922 echo "$as_me:$LINENO: result: yes" >&5
28923 echo "${ECHO_T}yes" >&6
28926 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28927 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28928 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28929 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28930 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28932 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28933 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28934 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28935 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28936 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28940 ## If we have a custom action on failure, don't print errors, but
28941 ## do set a variable so people can do so.
28942 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28949 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28950 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28954 if test $succeeded = yes; then
28956 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
28957 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28961 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28962 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28963 wxUSE_PRINTING_ARCHITECTURE
="no"
28971 if test -z "$PKG_CONFIG"; then
28972 # Extract the first word of "pkg-config", so it can be a program name with args.
28973 set dummy pkg
-config; ac_word
=$2
28974 echo "$as_me:$LINENO: checking for $ac_word" >&5
28975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28976 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28977 echo $ECHO_N "(cached) $ECHO_C" >&6
28979 case $PKG_CONFIG in
28981 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28985 for as_dir
in $PATH
28988 test -z "$as_dir" && as_dir
=.
28989 for ac_exec_ext
in '' $ac_executable_extensions; do
28990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28991 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28998 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29002 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29004 if test -n "$PKG_CONFIG"; then
29005 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29006 echo "${ECHO_T}$PKG_CONFIG" >&6
29008 echo "$as_me:$LINENO: result: no" >&5
29009 echo "${ECHO_T}no" >&6
29014 if test "$PKG_CONFIG" = "no" ; then
29015 echo "*** The pkg-config script could not be found. Make sure it is"
29016 echo "*** in your path, or set the PKG_CONFIG environment variable"
29017 echo "*** to the full path to pkg-config."
29018 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29020 PKG_CONFIG_MIN_VERSION
=0.9.0
29021 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29022 echo "$as_me:$LINENO: checking for pangoxft" >&5
29023 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29025 if $PKG_CONFIG --exists "pangoxft" ; then
29026 echo "$as_me:$LINENO: result: yes" >&5
29027 echo "${ECHO_T}yes" >&6
29030 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29031 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29032 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29033 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29034 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29036 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29037 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29038 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29039 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29040 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29044 ## If we have a custom action on failure, don't print errors, but
29045 ## do set a variable so people can do so.
29046 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29053 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29054 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29058 if test $succeeded = yes; then
29060 cat >>confdefs.h
<<\_ACEOF
29061 #define HAVE_PANGO_XFT 1
29064 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
29065 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29069 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29070 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29075 save_CFLAGS
="$CFLAGS"
29077 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
29078 LIBS
="$LIBS $PANGOX_LIBS"
29080 for ac_func
in pango_font_family_is_monospace
29082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29083 echo "$as_me:$LINENO: checking for $ac_func" >&5
29084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29085 if eval "test \"\${$as_ac_var+set}\" = set"; then
29086 echo $ECHO_N "(cached) $ECHO_C" >&6
29088 cat >conftest.
$ac_ext <<_ACEOF
29091 cat confdefs.h
>>conftest.
$ac_ext
29092 cat >>conftest.
$ac_ext <<_ACEOF
29093 /* end confdefs.h. */
29094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29096 #define $ac_func innocuous_$ac_func
29098 /* System header to define __stub macros and hopefully few prototypes,
29099 which can conflict with char $ac_func (); below.
29100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29101 <limits.h> exists even on freestanding compilers. */
29104 # include <limits.h>
29106 # include <assert.h>
29111 /* Override any gcc2 internal prototype to avoid an error. */
29116 /* We use char because int might match the return type of a gcc2
29117 builtin and then its argument prototype would still apply. */
29119 /* The GNU C library defines this for functions which it implements
29120 to always fail with ENOSYS. Some functions are actually named
29121 something starting with __ and the normal name is an alias. */
29122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29125 char (*f) () = $ac_func;
29134 return f != $ac_func;
29139 rm -f conftest.
$ac_objext conftest
$ac_exeext
29140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29141 (eval $ac_link) 2>conftest.er1
29143 grep -v '^ *+' conftest.er1
>conftest.err
29145 cat conftest.err
>&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } &&
29148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29150 (eval $ac_try) 2>&5
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); }; } &&
29154 { ac_try
='test -s conftest$ac_exeext'
29155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29156 (eval $ac_try) 2>&5
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); }; }; then
29160 eval "$as_ac_var=yes"
29162 echo "$as_me: failed program was:" >&5
29163 sed 's/^/| /' conftest.
$ac_ext >&5
29165 eval "$as_ac_var=no"
29167 rm -f conftest.err conftest.
$ac_objext \
29168 conftest
$ac_exeext conftest.
$ac_ext
29170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29172 if test `eval echo '${'$as_ac_var'}'` = yes; then
29173 cat >>confdefs.h
<<_ACEOF
29174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29180 CFLAGS
="$save_CFLAGS"
29184 wxUSE_UNIVERSAL
="yes"
29186 if test "$wxUSE_NANOX" = "yes"; then
29187 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29188 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"
29189 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29191 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29198 if test "$wxUSE_MOTIF" = 1; then
29199 if test "$wxUSE_UNICODE" = "yes"; then
29200 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29201 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29202 { (exit 1); exit 1; }; }
29205 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29206 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29209 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29211 if test -f "$ac_dir/Xm/Xm.h"; then
29212 ac_find_includes
=$ac_dir
29217 if test "$ac_find_includes" != "" ; then
29218 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29219 echo "${ECHO_T}found in $ac_find_includes" >&6
29221 if test "x$ac_find_includes" = "x/usr/include"; then
29222 ac_path_to_include
=""
29224 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29226 if test $result = 0; then
29227 ac_path_to_include
=""
29229 ac_path_to_include
=" -I$ac_find_includes"
29233 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29235 save_CFLAGS
=$CFLAGS
29236 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29238 cat >conftest.
$ac_ext <<_ACEOF
29241 cat confdefs.h
>>conftest.
$ac_ext
29242 cat >>conftest.
$ac_ext <<_ACEOF
29243 /* end confdefs.h. */
29252 version = xmUseVersion;
29258 rm -f conftest.
$ac_objext
29259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29260 (eval $ac_compile) 2>conftest.er1
29262 grep -v '^ *+' conftest.er1
>conftest.err
29264 cat conftest.err
>&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); } &&
29267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; } &&
29273 { ac_try
='test -s conftest.$ac_objext'
29274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275 (eval $ac_try) 2>&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); }; }; then
29280 echo "$as_me:$LINENO: result: found in default search path" >&5
29281 echo "${ECHO_T}found in default search path" >&6
29282 COMPILED_X_PROGRAM
=1
29285 echo "$as_me: failed program was:" >&5
29286 sed 's/^/| /' conftest.
$ac_ext >&5
29289 echo "$as_me:$LINENO: result: no" >&5
29290 echo "${ECHO_T}no" >&6
29291 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29292 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29293 { (exit 1); exit 1; }; }
29297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29299 CFLAGS
=$save_CFLAGS
29303 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29304 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29307 for ac_dir
in $SEARCH_LIB;
29309 for ac_extension
in a so sl dylib dll.a
; do
29310 if test -f "$ac_dir/libXm.$ac_extension"; then
29311 ac_find_libraries
=$ac_dir
29318 if test "x$ac_find_libraries" != "x" ; then
29319 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29320 echo "${ECHO_T}found in $ac_find_libraries" >&6
29323 if test "$ac_find_libraries" = "default location"; then
29326 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29328 if test $result = 0; then
29331 ac_path_to_link
=" -L$ac_find_libraries"
29335 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29337 save_CFLAGS
=$CFLAGS
29338 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29340 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29342 cat >conftest.
$ac_ext <<_ACEOF
29345 cat confdefs.h
>>conftest.
$ac_ext
29346 cat >>conftest.
$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29356 version = xmUseVersion;
29362 rm -f conftest.
$ac_objext conftest
$ac_exeext
29363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29364 (eval $ac_link) 2>conftest.er1
29366 grep -v '^ *+' conftest.er1
>conftest.err
29368 cat conftest.err
>&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } &&
29371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; } &&
29377 { ac_try
='test -s conftest$ac_exeext'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; }; then
29384 echo "$as_me:$LINENO: result: found in default search path" >&5
29385 echo "${ECHO_T}found in default search path" >&6
29386 COMPILED_X_PROGRAM
=1
29389 echo "$as_me: failed program was:" >&5
29390 sed 's/^/| /' conftest.
$ac_ext >&5
29393 echo "$as_me:$LINENO: result: no" >&5
29394 echo "${ECHO_T}no" >&6
29395 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29396 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29397 { (exit 1); exit 1; }; }
29401 rm -f conftest.err conftest.
$ac_objext \
29402 conftest
$ac_exeext conftest.
$ac_ext
29404 CFLAGS
=$save_CFLAGS
29408 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29409 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29413 for libp
in "" " -lXp"; do
29414 if test "$libs_found" = "0"; then
29415 for libsm_ice
in "" " -lSM -lICE"; do
29416 if test "$libs_found" = "0"; then
29418 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29419 save_CFLAGS
=$CFLAGS
29420 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29422 cat >conftest.
$ac_ext <<_ACEOF
29425 cat confdefs.h
>>conftest.
$ac_ext
29426 cat >>conftest.
$ac_ext <<_ACEOF
29427 /* end confdefs.h. */
29430 #include <Xm/List.h>
29436 XmString string = NULL;
29439 XmListAddItem(w, string, position);
29445 rm -f conftest.
$ac_objext conftest
$ac_exeext
29446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29447 (eval $ac_link) 2>conftest.er1
29449 grep -v '^ *+' conftest.er1
>conftest.err
29451 cat conftest.err
>&5
29452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29453 (exit $ac_status); } &&
29454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29456 (eval $ac_try) 2>&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); }; } &&
29460 { ac_try
='test -s conftest$ac_exeext'
29461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29462 (eval $ac_try) 2>&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); }; }; then
29468 libsm_ice_link
="$libsm_ice"
29469 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29470 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29474 echo "$as_me: failed program was:" >&5
29475 sed 's/^/| /' conftest.
$ac_ext >&5
29480 rm -f conftest.err conftest.
$ac_objext \
29481 conftest
$ac_exeext conftest.
$ac_ext
29484 CFLAGS
=$save_CFLAGS
29490 if test "$libs_found" = "0"; then
29491 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29492 echo "${ECHO_T}can't find the right libraries" >&6
29493 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29494 echo "$as_me: error: can't link a simple motif program" >&2;}
29495 { (exit 1); exit 1; }; }
29498 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29499 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29500 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29503 ac_check_lib_save_LIBS
=$LIBS
29505 cat >conftest.
$ac_ext <<_ACEOF
29508 cat confdefs.h
>>conftest.
$ac_ext
29509 cat >>conftest.
$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29512 /* Override any gcc2 internal prototype to avoid an error. */
29516 /* We use char because int might match the return type of a gcc2
29517 builtin and then its argument prototype would still apply. */
29518 char SgCreateList ();
29527 rm -f conftest.
$ac_objext conftest
$ac_exeext
29528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29529 (eval $ac_link) 2>conftest.er1
29531 grep -v '^ *+' conftest.er1
>conftest.err
29533 cat conftest.err
>&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } &&
29536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; } &&
29542 { ac_try
='test -s conftest$ac_exeext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29548 ac_cv_lib_Sgm_SgCreateList
=yes
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.
$ac_ext >&5
29553 ac_cv_lib_Sgm_SgCreateList
=no
29555 rm -f conftest.err conftest.
$ac_objext \
29556 conftest
$ac_exeext conftest.
$ac_ext
29557 LIBS
=$ac_check_lib_save_LIBS
29559 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29560 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29561 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29562 libsgm_link
=" -lSgm"
29566 save_CFLAGS
=$CFLAGS
29567 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29569 echo "$as_me:$LINENO: checking for Motif 2" >&5
29570 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29571 if test "${wx_cv_lib_motif2+set}" = set; then
29572 echo $ECHO_N "(cached) $ECHO_C" >&6
29574 cat >conftest.
$ac_ext <<_ACEOF
29577 cat confdefs.h
>>conftest.
$ac_ext
29578 cat >>conftest.
$ac_ext <<_ACEOF
29579 /* end confdefs.h. */
29587 #if XmVersion < 2000
29595 rm -f conftest.
$ac_objext
29596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29597 (eval $ac_compile) 2>conftest.er1
29599 grep -v '^ *+' conftest.er1
>conftest.err
29601 cat conftest.err
>&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); } &&
29604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29606 (eval $ac_try) 2>&5
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); }; } &&
29610 { ac_try
='test -s conftest.$ac_objext'
29611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29612 (eval $ac_try) 2>&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; }; then
29616 wx_cv_lib_motif2
="yes"
29618 echo "$as_me: failed program was:" >&5
29619 sed 's/^/| /' conftest.
$ac_ext >&5
29621 wx_cv_lib_motif2
="no"
29623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29625 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29626 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29627 if test "$wx_cv_lib_motif2" = "yes"; then
29628 cat >>confdefs.h
<<\_ACEOF
29629 #define __WXMOTIF20__ 1
29633 cat >>confdefs.h
<<\_ACEOF
29634 #define __WXMOTIF20__ 0
29639 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29640 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29641 if test "${wx_cv_lib_lesstif+set}" = set; then
29642 echo $ECHO_N "(cached) $ECHO_C" >&6
29644 cat >conftest.
$ac_ext <<_ACEOF
29647 cat confdefs.h
>>conftest.
$ac_ext
29648 cat >>conftest.
$ac_ext <<_ACEOF
29649 /* end confdefs.h. */
29657 #if !defined(LesstifVersion) || LesstifVersion <= 0
29665 rm -f conftest.
$ac_objext
29666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29667 (eval $ac_compile) 2>conftest.er1
29669 grep -v '^ *+' conftest.er1
>conftest.err
29671 cat conftest.err
>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); } &&
29674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; } &&
29680 { ac_try
='test -s conftest.$ac_objext'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; }; then
29686 wx_cv_lib_lesstif
="yes"
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.
$ac_ext >&5
29691 wx_cv_lib_lesstif
="no"
29693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29696 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29697 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29698 if test "$wx_cv_lib_lesstif" = "yes"; then
29699 cat >>confdefs.h
<<\_ACEOF
29700 #define __WXLESSTIF__ 1
29704 cat >>confdefs.h
<<\_ACEOF
29705 #define __WXLESSTIF__ 0
29710 CFLAGS
=$save_CFLAGS
29712 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29717 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29718 if test "$wxUSE_LIBXPM" = "sys"; then
29719 echo "$as_me:$LINENO: checking for Xpm library" >&5
29720 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29723 for ac_dir
in $SEARCH_LIB;
29725 for ac_extension
in a so sl dylib dll.a
; do
29726 if test -f "$ac_dir/libXpm.$ac_extension"; then
29727 ac_find_libraries
=$ac_dir
29733 if test "$ac_find_libraries" != "" ; then
29735 if test "$ac_find_libraries" = "default location"; then
29738 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29740 if test $result = 0; then
29743 ac_path_to_link
=" -L$ac_find_libraries"
29747 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29748 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29749 echo "${ECHO_T}found in $ac_find_libraries" >&6
29751 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29752 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29753 if test "${wx_cv_x11_xpm_h+set}" = set; then
29754 echo $ECHO_N "(cached) $ECHO_C" >&6
29757 save_CFLAGS
=$CFLAGS
29758 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29760 cat >conftest.
$ac_ext <<_ACEOF
29763 cat confdefs.h
>>conftest.
$ac_ext
29764 cat >>conftest.
$ac_ext <<_ACEOF
29765 /* end confdefs.h. */
29767 #include <X11/xpm.h>
29774 version = XpmLibraryVersion();
29780 rm -f conftest.
$ac_objext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29782 (eval $ac_compile) 2>conftest.er1
29784 grep -v '^ *+' conftest.er1
>conftest.err
29786 cat conftest.err
>&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try
='test -s conftest.$ac_objext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801 wx_cv_x11_xpm_h
=yes
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.
$ac_ext >&5
29809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29811 CFLAGS
=$save_CFLAGS
29815 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29816 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29818 if test $wx_cv_x11_xpm_h = "yes"; then
29819 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
29820 cat >>confdefs.h
<<\_ACEOF
29821 #define wxHAVE_LIB_XPM 1
29825 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29826 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29832 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29833 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29834 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29835 echo $ECHO_N "(cached) $ECHO_C" >&6
29837 ac_check_lib_save_LIBS
=$LIBS
29838 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29839 cat >conftest.
$ac_ext <<_ACEOF
29842 cat confdefs.h
>>conftest.
$ac_ext
29843 cat >>conftest.
$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29846 /* Override any gcc2 internal prototype to avoid an error. */
29850 /* We use char because int might match the return type of a gcc2
29851 builtin and then its argument prototype would still apply. */
29852 char XShapeQueryExtension ();
29856 XShapeQueryExtension ();
29861 rm -f conftest.
$ac_objext conftest
$ac_exeext
29862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29863 (eval $ac_link) 2>conftest.er1
29865 grep -v '^ *+' conftest.er1
>conftest.err
29867 cat conftest.err
>&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); } &&
29870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29872 (eval $ac_try) 2>&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); }; } &&
29876 { ac_try
='test -s conftest$ac_exeext'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; }; then
29882 ac_cv_lib_Xext_XShapeQueryExtension
=yes
29884 echo "$as_me: failed program was:" >&5
29885 sed 's/^/| /' conftest.
$ac_ext >&5
29887 ac_cv_lib_Xext_XShapeQueryExtension
=no
29889 rm -f conftest.err conftest.
$ac_objext \
29890 conftest
$ac_exeext conftest.
$ac_ext
29891 LIBS
=$ac_check_lib_save_LIBS
29893 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29894 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29895 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29897 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
29903 if test "$wxHAVE_XEXT_LIB" = 1; then
29904 save_CFLAGS
="$CFLAGS"
29905 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29907 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29908 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29909 cat >conftest.
$ac_ext <<_ACEOF
29912 cat confdefs.h
>>conftest.
$ac_ext
29913 cat >>conftest.
$ac_ext <<_ACEOF
29914 /* end confdefs.h. */
29916 #include <X11/Xlib.h>
29917 #include <X11/extensions/shape.h>
29923 int dummy1, dummy2;
29924 XShapeQueryExtension((Display*)NULL,
29925 (int*)NULL, (int*)NULL);
29931 rm -f conftest.
$ac_objext
29932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29933 (eval $ac_compile) 2>conftest.er1
29935 grep -v '^ *+' conftest.er1
>conftest.err
29937 cat conftest.err
>&5
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); } &&
29940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; } &&
29946 { ac_try
='test -s conftest.$ac_objext'
29947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29948 (eval $ac_try) 2>&5
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; }; then
29953 cat >>confdefs.h
<<\_ACEOF
29954 #define HAVE_XSHAPE 1
29957 echo "$as_me:$LINENO: result: found" >&5
29958 echo "${ECHO_T}found" >&6
29961 echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.
$ac_ext >&5
29965 echo "$as_me:$LINENO: result: not found" >&5
29966 echo "${ECHO_T}not found" >&6
29969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29970 CFLAGS
="$save_CFLAGS"
29975 if test "$wxUSE_MAC" = 1; then
29976 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29977 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29978 if test "$GCC" = yes; then
29979 echo "$as_me:$LINENO: result: gcc" >&5
29980 echo "${ECHO_T}gcc" >&6
29981 CPPFLAGS_PASCAL
="-fpascal-strings"
29982 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29983 echo "$as_me:$LINENO: result: xlc" >&5
29984 echo "${ECHO_T}xlc" >&6
29985 CPPFLAGS_PASCAL
="-qmacpstr"
29987 echo "$as_me:$LINENO: result: none" >&5
29988 echo "${ECHO_T}none" >&6
29991 if test "x$wxUSE_UNIX" = "xyes"; then
29992 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29994 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29999 WXBASEPORT
="_carbon"
30002 if test "$wxUSE_COCOA" = 1; then
30007 if test "$wxUSE_PM" = 1; then
30010 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30011 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30012 if test "${wx_cv_spbcdata+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30016 cat >conftest.
$ac_ext <<_ACEOF
30019 cat confdefs.h
>>conftest.
$ac_ext
30020 cat >>conftest.
$ac_ext <<_ACEOF
30021 /* end confdefs.h. */
30036 rm -f conftest.
$ac_objext
30037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30038 (eval $ac_compile) 2>conftest.er1
30040 grep -v '^ *+' conftest.er1
>conftest.err
30042 cat conftest.err
>&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } &&
30045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; } &&
30051 { ac_try
='test -s conftest.$ac_objext'
30052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30053 (eval $ac_try) 2>&5
30055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30056 (exit $ac_status); }; }; then
30059 echo "$as_me: failed program was:" >&5
30060 sed 's/^/| /' conftest.
$ac_ext >&5
30065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30069 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30070 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30072 if test $wx_cv_spbcdata = "yes"; then
30073 cat >>confdefs.h
<<\_ACEOF
30074 #define HAVE_SPBCDATA 1
30080 if test "$TOOLKIT" = "PM" ; then
30083 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30086 if test "$wxUSE_UNIVERSAL" = "yes"; then
30087 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30091 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30092 DISTDIR
="wx\$(TOOLKIT)"
30098 if test "$USE_WIN32" = 1 ; then
30102 GUIDIST
="BASE_DIST"
30107 if test "$wxUSE_GUI" = "yes"; then
30108 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30110 for ac_header
in X
11/Xlib.h
30112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30114 echo "$as_me:$LINENO: checking for $ac_header" >&5
30115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30117 echo $ECHO_N "(cached) $ECHO_C" >&6
30119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30122 # Is the header compilable?
30123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30125 cat >conftest.
$ac_ext <<_ACEOF
30128 cat confdefs.h
>>conftest.
$ac_ext
30129 cat >>conftest.
$ac_ext <<_ACEOF
30130 /* end confdefs.h. */
30131 $ac_includes_default
30132 #include <$ac_header>
30134 rm -f conftest.
$ac_objext
30135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30136 (eval $ac_compile) 2>conftest.er1
30138 grep -v '^ *+' conftest.er1
>conftest.err
30140 cat conftest.err
>&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } &&
30143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30145 (eval $ac_try) 2>&5
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); }; } &&
30149 { ac_try
='test -s conftest.$ac_objext'
30150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30151 (eval $ac_try) 2>&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); }; }; then
30155 ac_header_compiler
=yes
30157 echo "$as_me: failed program was:" >&5
30158 sed 's/^/| /' conftest.
$ac_ext >&5
30160 ac_header_compiler
=no
30162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30164 echo "${ECHO_T}$ac_header_compiler" >&6
30166 # Is the header present?
30167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30169 cat >conftest.
$ac_ext <<_ACEOF
30172 cat confdefs.h
>>conftest.
$ac_ext
30173 cat >>conftest.
$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30175 #include <$ac_header>
30177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30180 grep -v '^ *+' conftest.er1
>conftest.err
30182 cat conftest.err
>&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); } >/dev
/null
; then
30185 if test -s conftest.err
; then
30186 ac_cpp_err
=$ac_c_preproc_warn_flag
30187 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30194 if test -z "$ac_cpp_err"; then
30195 ac_header_preproc
=yes
30197 echo "$as_me: failed program was:" >&5
30198 sed 's/^/| /' conftest.
$ac_ext >&5
30200 ac_header_preproc
=no
30202 rm -f conftest.err conftest.
$ac_ext
30203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30204 echo "${ECHO_T}$ac_header_preproc" >&6
30206 # So? What about this header?
30207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30213 ac_header_preproc
=yes
30216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30230 ## ----------------------------------------- ##
30231 ## Report this to wx-dev@lists.wxwidgets.org ##
30232 ## ----------------------------------------- ##
30235 sed "s/^/$as_me: WARNING: /" >&2
30238 echo "$as_me:$LINENO: checking for $ac_header" >&5
30239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 eval "$as_ac_Header=\$ac_header_preproc"
30245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30250 cat >>confdefs.h
<<_ACEOF
30251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30259 for ac_header
in X
11/XKBlib.h
30261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30262 echo "$as_me:$LINENO: checking for $ac_header" >&5
30263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30265 echo $ECHO_N "(cached) $ECHO_C" >&6
30267 cat >conftest.
$ac_ext <<_ACEOF
30270 cat confdefs.h
>>conftest.
$ac_ext
30271 cat >>conftest.
$ac_ext <<_ACEOF
30272 /* end confdefs.h. */
30274 #if HAVE_X11_XLIB_H
30275 #include <X11/Xlib.h>
30279 #include <$ac_header>
30281 rm -f conftest.
$ac_objext
30282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30283 (eval $ac_compile) 2>conftest.er1
30285 grep -v '^ *+' conftest.er1
>conftest.err
30287 cat conftest.err
>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); } &&
30290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; } &&
30296 { ac_try
='test -s conftest.$ac_objext'
30297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30298 (eval $ac_try) 2>&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); }; }; then
30302 eval "$as_ac_Header=yes"
30304 echo "$as_me: failed program was:" >&5
30305 sed 's/^/| /' conftest.
$ac_ext >&5
30307 eval "$as_ac_Header=no"
30309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30314 cat >>confdefs.h
<<_ACEOF
30315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30330 if test "$TOOLKIT" != "MSW" ; then
30332 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30334 if test "${ac_cv_header_sql_h+set}" = set; then
30335 echo "$as_me:$LINENO: checking for sql.h" >&5
30336 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30337 if test "${ac_cv_header_sql_h+set}" = set; then
30338 echo $ECHO_N "(cached) $ECHO_C" >&6
30340 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30341 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30343 # Is the header compilable?
30344 echo "$as_me:$LINENO: checking sql.h usability" >&5
30345 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30346 cat >conftest.
$ac_ext <<_ACEOF
30349 cat confdefs.h
>>conftest.
$ac_ext
30350 cat >>conftest.
$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30352 $ac_includes_default
30355 rm -f conftest.
$ac_objext
30356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30357 (eval $ac_compile) 2>conftest.er1
30359 grep -v '^ *+' conftest.er1
>conftest.err
30361 cat conftest.err
>&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); } &&
30364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30366 (eval $ac_try) 2>&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); }; } &&
30370 { ac_try
='test -s conftest.$ac_objext'
30371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30372 (eval $ac_try) 2>&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); }; }; then
30376 ac_header_compiler
=yes
30378 echo "$as_me: failed program was:" >&5
30379 sed 's/^/| /' conftest.
$ac_ext >&5
30381 ac_header_compiler
=no
30383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30385 echo "${ECHO_T}$ac_header_compiler" >&6
30387 # Is the header present?
30388 echo "$as_me:$LINENO: checking sql.h presence" >&5
30389 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30390 cat >conftest.
$ac_ext <<_ACEOF
30393 cat confdefs.h
>>conftest.
$ac_ext
30394 cat >>conftest.
$ac_ext <<_ACEOF
30395 /* end confdefs.h. */
30398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30401 grep -v '^ *+' conftest.er1
>conftest.err
30403 cat conftest.err
>&5
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); } >/dev
/null
; then
30406 if test -s conftest.err
; then
30407 ac_cpp_err
=$ac_c_preproc_warn_flag
30408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30415 if test -z "$ac_cpp_err"; then
30416 ac_header_preproc
=yes
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.
$ac_ext >&5
30421 ac_header_preproc
=no
30423 rm -f conftest.err conftest.
$ac_ext
30424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30425 echo "${ECHO_T}$ac_header_preproc" >&6
30427 # So? What about this header?
30428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30430 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30431 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30432 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30433 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30434 ac_header_preproc
=yes
30437 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30438 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30439 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30440 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30441 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30442 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30443 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30444 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30445 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30446 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30447 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30448 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30451 ## ----------------------------------------- ##
30452 ## Report this to wx-dev@lists.wxwidgets.org ##
30453 ## ----------------------------------------- ##
30456 sed "s/^/$as_me: WARNING: /" >&2
30459 echo "$as_me:$LINENO: checking for sql.h" >&5
30460 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30461 if test "${ac_cv_header_sql_h+set}" = set; then
30462 echo $ECHO_N "(cached) $ECHO_C" >&6
30464 ac_cv_header_sql_h
=$ac_header_preproc
30466 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30467 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30470 if test $ac_cv_header_sql_h = yes; then
30475 if test "x$found_sql_h" = "x1" ; then
30476 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30477 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30478 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 ac_check_lib_save_LIBS
=$LIBS
30482 LIBS
="-liodbc $LIBS"
30483 cat >conftest.
$ac_ext <<_ACEOF
30486 cat confdefs.h
>>conftest.
$ac_ext
30487 cat >>conftest.
$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30490 /* Override any gcc2 internal prototype to avoid an error. */
30494 /* We use char because int might match the return type of a gcc2
30495 builtin and then its argument prototype would still apply. */
30496 char SQLAllocEnv ();
30505 rm -f conftest.
$ac_objext conftest
$ac_exeext
30506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30507 (eval $ac_link) 2>conftest.er1
30509 grep -v '^ *+' conftest.er1
>conftest.err
30511 cat conftest.err
>&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); } &&
30514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516 (eval $ac_try) 2>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; } &&
30520 { ac_try
='test -s conftest$ac_exeext'
30521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30522 (eval $ac_try) 2>&5
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); }; }; then
30526 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30528 echo "$as_me: failed program was:" >&5
30529 sed 's/^/| /' conftest.
$ac_ext >&5
30531 ac_cv_lib_iodbc_SQLAllocEnv
=no
30533 rm -f conftest.err conftest.
$ac_objext \
30534 conftest
$ac_exeext conftest.
$ac_ext
30535 LIBS
=$ac_check_lib_save_LIBS
30537 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30538 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30539 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30540 ODBC_LINK
=" -liodbc"
30543 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30544 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30545 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30546 echo $ECHO_N "(cached) $ECHO_C" >&6
30548 ac_check_lib_save_LIBS
=$LIBS
30549 LIBS
="-lunixodbc $LIBS"
30550 cat >conftest.
$ac_ext <<_ACEOF
30553 cat confdefs.h
>>conftest.
$ac_ext
30554 cat >>conftest.
$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30557 /* Override any gcc2 internal prototype to avoid an error. */
30561 /* We use char because int might match the return type of a gcc2
30562 builtin and then its argument prototype would still apply. */
30563 char SQLAllocEnv ();
30572 rm -f conftest.
$ac_objext conftest
$ac_exeext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30574 (eval $ac_link) 2>conftest.er1
30576 grep -v '^ *+' conftest.er1
>conftest.err
30578 cat conftest.err
>&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30583 (eval $ac_try) 2>&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); }; } &&
30587 { ac_try
='test -s conftest$ac_exeext'
30588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30589 (eval $ac_try) 2>&5
30591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30592 (exit $ac_status); }; }; then
30593 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30595 echo "$as_me: failed program was:" >&5
30596 sed 's/^/| /' conftest.
$ac_ext >&5
30598 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30600 rm -f conftest.err conftest.
$ac_objext \
30601 conftest
$ac_exeext conftest.
$ac_ext
30602 LIBS
=$ac_check_lib_save_LIBS
30604 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30605 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30606 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30607 ODBC_LINK
=" -lunixodbc"
30610 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30611 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30612 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30613 echo $ECHO_N "(cached) $ECHO_C" >&6
30615 ac_check_lib_save_LIBS
=$LIBS
30616 LIBS
="-lodbc $LIBS"
30617 cat >conftest.
$ac_ext <<_ACEOF
30620 cat confdefs.h
>>conftest.
$ac_ext
30621 cat >>conftest.
$ac_ext <<_ACEOF
30622 /* end confdefs.h. */
30624 /* Override any gcc2 internal prototype to avoid an error. */
30628 /* We use char because int might match the return type of a gcc2
30629 builtin and then its argument prototype would still apply. */
30630 char SQLAllocEnv ();
30639 rm -f conftest.
$ac_objext conftest
$ac_exeext
30640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30641 (eval $ac_link) 2>conftest.er1
30643 grep -v '^ *+' conftest.er1
>conftest.err
30645 cat conftest.err
>&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); } &&
30648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30650 (eval $ac_try) 2>&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); }; } &&
30654 { ac_try
='test -s conftest$ac_exeext'
30655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30656 (eval $ac_try) 2>&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; }; then
30660 ac_cv_lib_odbc_SQLAllocEnv
=yes
30662 echo "$as_me: failed program was:" >&5
30663 sed 's/^/| /' conftest.
$ac_ext >&5
30665 ac_cv_lib_odbc_SQLAllocEnv
=no
30667 rm -f conftest.err conftest.
$ac_objext \
30668 conftest
$ac_exeext conftest.
$ac_ext
30669 LIBS
=$ac_check_lib_save_LIBS
30671 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30672 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30673 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30674 ODBC_LINK
=" -lodbc"
30684 if test "x$ODBC_LINK" = "x" ; then
30685 if test "$wxUSE_ODBC" = "sys" ; then
30686 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30687 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30688 { (exit 1); exit 1; }; }
30690 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30691 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30699 if test "$wxUSE_ODBC" = "builtin" ; then
30700 cat >>confdefs.h
<<\_ACEOF
30701 #define wxUSE_BUILTIN_IODBC 1
30707 if test "$wxUSE_ODBC" != "no" ; then
30708 cat >>confdefs.h
<<\_ACEOF
30709 #define wxUSE_ODBC 1
30712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30714 WXODBCFLAG
="-D_IODBC_"
30718 if test "$wxUSE_DISPLAY" = "yes"; then
30719 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30720 echo "$as_me:$LINENO: checking for Xinerama" >&5
30721 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30724 for ac_dir
in $SEARCH_LIB;
30726 for ac_extension
in a so sl dylib dll.a
; do
30727 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30728 ac_find_libraries
=$ac_dir
30734 if test "$ac_find_libraries" != "" ; then
30736 if test "$ac_find_libraries" = "default location"; then
30739 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30741 if test $result = 0; then
30744 ac_path_to_link
=" -L$ac_find_libraries"
30748 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30749 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30751 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30752 echo "$as_me:$LINENO: result: yes" >&5
30753 echo "${ECHO_T}yes" >&6
30755 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30756 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30759 for ac_dir
in $SEARCH_LIB;
30761 for ac_extension
in a so sl dylib dll.a
; do
30762 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30763 ac_find_libraries
=$ac_dir
30769 if test "$ac_find_libraries" != "" ; then
30770 echo "$as_me:$LINENO: result: yes" >&5
30771 echo "${ECHO_T}yes" >&6
30773 for ac_header
in X
11/extensions
/xf86vmode.h
30775 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30776 echo "$as_me:$LINENO: checking for $ac_header" >&5
30777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30779 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 cat >conftest.
$ac_ext <<_ACEOF
30784 cat confdefs.h
>>conftest.
$ac_ext
30785 cat >>conftest.
$ac_ext <<_ACEOF
30786 /* end confdefs.h. */
30788 #if HAVE_X11_XLIB_H
30789 #include <X11/Xlib.h>
30793 #include <$ac_header>
30795 rm -f conftest.
$ac_objext
30796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30797 (eval $ac_compile) 2>conftest.er1
30799 grep -v '^ *+' conftest.er1
>conftest.err
30801 cat conftest.err
>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); } &&
30804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30806 (eval $ac_try) 2>&5
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); }; } &&
30810 { ac_try
='test -s conftest.$ac_objext'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; }; then
30816 eval "$as_ac_Header=yes"
30818 echo "$as_me: failed program was:" >&5
30819 sed 's/^/| /' conftest.
$ac_ext >&5
30821 eval "$as_ac_Header=no"
30823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30828 cat >>confdefs.h
<<_ACEOF
30829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30832 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
30839 echo "$as_me:$LINENO: result: no" >&5
30840 echo "${ECHO_T}no" >&6
30844 echo "$as_me:$LINENO: result: no" >&5
30845 echo "${ECHO_T}no" >&6
30846 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30847 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30850 elif test "$wxUSE_MSW" = 1; then
30853 for ac_header
in multimon.h ddraw.h
30855 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30856 echo "$as_me:$LINENO: checking for $ac_header" >&5
30857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30859 echo $ECHO_N "(cached) $ECHO_C" >&6
30861 cat >conftest.
$ac_ext <<_ACEOF
30864 cat confdefs.h
>>conftest.
$ac_ext
30865 cat >>conftest.
$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30867 #include <windows.h>
30869 #include <$ac_header>
30871 rm -f conftest.
$ac_objext
30872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30873 (eval $ac_compile) 2>conftest.er1
30875 grep -v '^ *+' conftest.er1
>conftest.err
30877 cat conftest.err
>&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } &&
30880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30882 (eval $ac_try) 2>&5
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; } &&
30886 { ac_try
='test -s conftest.$ac_objext'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; }; then
30892 eval "$as_ac_Header=yes"
30894 echo "$as_me: failed program was:" >&5
30895 sed 's/^/| /' conftest.
$ac_ext >&5
30897 eval "$as_ac_Header=no"
30899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30904 cat >>confdefs.h
<<_ACEOF
30905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30911 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30912 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30923 if test "$wxUSE_OPENGL" = "yes"; then
30924 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30925 OPENGL_LIBS
="-framework OpenGL -framework AGL"
30926 elif test "$wxUSE_MSW" = 1; then
30927 OPENGL_LIBS
="-lopengl32 -lglu32"
30932 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30934 if test -f "$ac_dir/GL/gl.h"; then
30935 ac_find_includes
=$ac_dir
30940 if test "$ac_find_includes" != "" ; then
30941 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30942 echo "${ECHO_T}found in $ac_find_includes" >&6
30944 if test "x$ac_find_includes" = "x/usr/include"; then
30945 ac_path_to_include
=""
30947 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
30949 if test $result = 0; then
30950 ac_path_to_include
=""
30952 ac_path_to_include
=" -I$ac_find_includes"
30956 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
30959 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30960 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30961 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30962 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30963 echo $ECHO_N "(cached) $ECHO_C" >&6
30965 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30966 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30968 # Is the header compilable?
30969 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30970 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30971 cat >conftest.
$ac_ext <<_ACEOF
30974 cat confdefs.h
>>conftest.
$ac_ext
30975 cat >>conftest.
$ac_ext <<_ACEOF
30976 /* end confdefs.h. */
30977 $ac_includes_default
30980 rm -f conftest.
$ac_objext
30981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30982 (eval $ac_compile) 2>conftest.er1
30984 grep -v '^ *+' conftest.er1
>conftest.err
30986 cat conftest.err
>&5
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); } &&
30989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991 (eval $ac_try) 2>&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); }; } &&
30995 { ac_try
='test -s conftest.$ac_objext'
30996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30997 (eval $ac_try) 2>&5
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); }; }; then
31001 ac_header_compiler
=yes
31003 echo "$as_me: failed program was:" >&5
31004 sed 's/^/| /' conftest.
$ac_ext >&5
31006 ac_header_compiler
=no
31008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31010 echo "${ECHO_T}$ac_header_compiler" >&6
31012 # Is the header present?
31013 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31014 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31015 cat >conftest.
$ac_ext <<_ACEOF
31018 cat confdefs.h
>>conftest.
$ac_ext
31019 cat >>conftest.
$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31026 grep -v '^ *+' conftest.er1
>conftest.err
31028 cat conftest.err
>&5
31029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31030 (exit $ac_status); } >/dev
/null
; then
31031 if test -s conftest.err
; then
31032 ac_cpp_err
=$ac_c_preproc_warn_flag
31033 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31040 if test -z "$ac_cpp_err"; then
31041 ac_header_preproc
=yes
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.
$ac_ext >&5
31046 ac_header_preproc
=no
31048 rm -f conftest.err conftest.
$ac_ext
31049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31050 echo "${ECHO_T}$ac_header_preproc" >&6
31052 # So? What about this header?
31053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31055 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31056 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31057 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31058 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31059 ac_header_preproc
=yes
31062 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31063 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31064 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31065 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31066 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31067 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31068 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31069 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31070 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31071 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31072 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31073 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31076 ## ----------------------------------------- ##
31077 ## Report this to wx-dev@lists.wxwidgets.org ##
31078 ## ----------------------------------------- ##
31081 sed "s/^/$as_me: WARNING: /" >&2
31084 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31085 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31086 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31087 echo $ECHO_N "(cached) $ECHO_C" >&6
31089 ac_cv_header_GL_gl_h
=$ac_header_preproc
31091 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31092 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31095 if test $ac_cv_header_GL_gl_h = yes; then
31099 echo "$as_me:$LINENO: checking for -lGL" >&5
31100 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31103 for ac_dir
in $SEARCH_LIB;
31105 for ac_extension
in a so sl dylib dll.a
; do
31106 if test -f "$ac_dir/libGL.$ac_extension"; then
31107 ac_find_libraries
=$ac_dir
31113 if test "$ac_find_libraries" != "" ; then
31114 echo "$as_me:$LINENO: result: yes" >&5
31115 echo "${ECHO_T}yes" >&6
31118 if test "$ac_find_libraries" = "default location"; then
31121 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31123 if test $result = 0; then
31126 ac_path_to_link
=" -L$ac_find_libraries"
31130 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31131 LDFLAGS_GL
="$ac_path_to_link"
31134 echo "$as_me:$LINENO: checking for -lGLU" >&5
31135 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31138 for ac_dir
in $SEARCH_LIB;
31140 for ac_extension
in a so sl dylib dll.a
; do
31141 if test -f "$ac_dir/libGLU.$ac_extension"; then
31142 ac_find_libraries
=$ac_dir
31148 if test "$ac_find_libraries" != "" ; then
31150 if test "$ac_find_libraries" = "default location"; then
31153 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31155 if test $result = 0; then
31158 ac_path_to_link
=" -L$ac_find_libraries"
31162 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31163 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31164 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31168 OPENGL_LIBS
="-lGL -lGLU"
31169 echo "$as_me:$LINENO: result: yes" >&5
31170 echo "${ECHO_T}yes" >&6
31172 echo "$as_me:$LINENO: result: no" >&5
31173 echo "${ECHO_T}no" >&6
31176 echo "$as_me:$LINENO: result: no" >&5
31177 echo "${ECHO_T}no" >&6
31180 if test "$found_gl" != 1; then
31181 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31182 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31185 for ac_dir
in $SEARCH_LIB;
31187 for ac_extension
in a so sl dylib dll.a
; do
31188 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31189 ac_find_libraries
=$ac_dir
31195 if test "$ac_find_libraries" != "" ; then
31197 if test "$ac_find_libraries" = "default location"; then
31200 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31202 if test $result = 0; then
31205 ac_path_to_link
=" -L$ac_find_libraries"
31209 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31210 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31211 echo "$as_me:$LINENO: result: yes" >&5
31212 echo "${ECHO_T}yes" >&6
31214 echo "$as_me:$LINENO: result: no" >&5
31215 echo "${ECHO_T}no" >&6
31223 if test "x$OPENGL_LIBS" = "x"; then
31224 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31225 echo "$as_me: error: OpenGL libraries not available" >&2;}
31226 { (exit 1); exit 1; }; }
31230 if test "$wxUSE_OPENGL" = "yes"; then
31232 cat >>confdefs.h
<<\_ACEOF
31233 #define wxUSE_OPENGL 1
31236 cat >>confdefs.h
<<\_ACEOF
31237 #define wxUSE_GLCANVAS 1
31240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31245 if test -n "$TOOLKIT" ; then
31246 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31251 if test "$wxUSE_SHARED" = "yes"; then
31255 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31256 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31261 if test "$wxUSE_SHARED" = "yes"; then
31264 found_versioning
=no
31267 if test $found_versioning = no
; then
31268 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31269 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31270 if test "${wx_cv_version_script+set}" = set; then
31271 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 echo "VER_1 { *; };" >conftest.sym
31275 echo "int main() { return 0; }" >conftest.cpp
31278 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31279 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; } ; then
31285 if test -s conftest.stderr
; then
31286 wx_cv_version_script
=no
31288 wx_cv_version_script
=yes
31291 wx_cv_version_script
=no
31294 if test $wx_cv_version_script = yes
31296 echo "struct B { virtual ~B() { } }; \
31297 struct D : public B { }; \
31298 void F() { D d; }" > conftest.cpp
31301 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31302 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31304 (eval $ac_try) 2>&5
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); }; } &&
31309 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31310 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; }
31318 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31319 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31321 (eval $ac_try) 2>&5
31323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31324 (exit $ac_status); }; }
31326 wx_cv_version_script
=yes
31328 wx_cv_version_script
=no
31333 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31334 rm -f conftest1.output conftest2.output conftest3.output
31337 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31338 echo "${ECHO_T}$wx_cv_version_script" >&6
31339 if test $wx_cv_version_script = yes ; then
31340 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31346 *-*-linux* | *-*-gnu* )
31347 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31348 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31352 if test "$GCC" = yes ; then
31353 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
31355 saveLdflags
="$LDFLAGS"
31356 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31357 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31358 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31359 cat >conftest.
$ac_ext <<_ACEOF
31362 cat confdefs.h
>>conftest.
$ac_ext
31363 cat >>conftest.
$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31374 rm -f conftest.
$ac_objext conftest
$ac_exeext
31375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31376 (eval $ac_link) 2>conftest.er1
31378 grep -v '^ *+' conftest.er1
>conftest.err
31380 cat conftest.err
>&5
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); } &&
31383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31385 (eval $ac_try) 2>&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); }; } &&
31389 { ac_try
='test -s conftest$ac_exeext'
31390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31391 (eval $ac_try) 2>&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); }; }; then
31396 echo "$as_me:$LINENO: result: yes" >&5
31397 echo "${ECHO_T}yes" >&6
31398 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31399 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.
$ac_ext >&5
31406 echo "$as_me:$LINENO: result: no" >&5
31407 echo "${ECHO_T}no" >&6
31408 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31409 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31410 LDFLAGS
="$saveLdflags -Wl,-R,/"
31411 cat >conftest.
$ac_ext <<_ACEOF
31414 cat confdefs.h
>>conftest.
$ac_ext
31415 cat >>conftest.
$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31426 rm -f conftest.
$ac_objext conftest
$ac_exeext
31427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31428 (eval $ac_link) 2>conftest.er1
31430 grep -v '^ *+' conftest.er1
>conftest.err
31432 cat conftest.err
>&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } &&
31435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31437 (eval $ac_try) 2>&5
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); }; } &&
31441 { ac_try
='test -s conftest$ac_exeext'
31442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31443 (eval $ac_try) 2>&5
31445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31446 (exit $ac_status); }; }; then
31448 echo "$as_me:$LINENO: result: yes" >&5
31449 echo "${ECHO_T}yes" >&6
31450 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31451 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31454 echo "$as_me: failed program was:" >&5
31455 sed 's/^/| /' conftest.
$ac_ext >&5
31458 echo "$as_me:$LINENO: result: no" >&5
31459 echo "${ECHO_T}no" >&6
31462 rm -f conftest.err conftest.
$ac_objext \
31463 conftest
$ac_exeext conftest.
$ac_ext
31466 rm -f conftest.err conftest.
$ac_objext \
31467 conftest
$ac_exeext conftest.
$ac_ext
31468 LDFLAGS
="$saveLdflags"
31470 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31471 WXCONFIG_RPATH
="-R\$libdir"
31476 install_name_tool
=`which install_name_tool`
31477 if test "$install_name_tool" -a -x "$install_name_tool"; then
31478 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31479 cat <<EOF >change-install-names
31481 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31482 inst_cmd="install_name_tool "
31483 for i in \${libnames} ; do
31484 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31488 chmod +x change
-install-names
31492 *-*-cygwin* | *-*-mingw32* )
31493 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
31497 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31498 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31503 if test $wxUSE_RPATH = "no"; then
31504 SAMPLES_RPATH_FLAG
=''
31505 SAMPLES_RPATH_POSTLINK
=''
31513 config_linkage_component
="-static"
31520 lib_unicode_suffix
=
31522 if test "$wxUSE_UNICODE" = "yes"; then
31523 lib_unicode_suffix
=u
31524 WX_CHARTYPE
="unicode"
31529 WX_DEBUGTYPE
="release"
31531 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31533 WX_DEBUGTYPE
="debug"
31537 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31538 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31541 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31545 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31547 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31549 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31551 if test "$cross_compiling" = "yes"; then
31552 HOST_SUFFIX
="-$host_alias"
31553 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31554 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31557 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31558 if test "${TOOLKIT_DIR}" = "os2"; then
31559 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31561 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31566 if test "$wxUSE_COCOA" = 1; then
31570 ac_cpp
='$CPP $CPPFLAGS'
31571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31577 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31578 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31579 cat >conftest.
$ac_ext <<_ACEOF
31582 cat confdefs.h
>>conftest.
$ac_ext
31583 cat >>conftest.
$ac_ext <<_ACEOF
31584 /* end confdefs.h. */
31585 #include <AppKit/NSEvent.h>
31586 #include <CoreFoundation/CoreFoundation.h>
31596 rm -f conftest.
$ac_objext
31597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31598 (eval $ac_compile) 2>conftest.er1
31600 grep -v '^ *+' conftest.er1
>conftest.err
31602 cat conftest.err
>&5
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); } &&
31605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31607 (eval $ac_try) 2>&5
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); }; } &&
31611 { ac_try
='test -s conftest.$ac_objext'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; }; then
31617 echo "$as_me:$LINENO: result: no" >&5
31618 echo "${ECHO_T}no" >&6
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.
$ac_ext >&5
31623 echo "$as_me:$LINENO: result: yes" >&5
31624 echo "${ECHO_T}yes" >&6
31625 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31626 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31627 cat >conftest.
$ac_ext <<_ACEOF
31630 cat confdefs.h
>>conftest.
$ac_ext
31631 cat >>conftest.
$ac_ext <<_ACEOF
31632 /* end confdefs.h. */
31633 #define __Point__ 1
31634 #include <AppKit/NSEvent.h>
31635 #include <CoreFoundation/CoreFoundation.h>
31645 rm -f conftest.
$ac_objext
31646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31647 (eval $ac_compile) 2>conftest.er1
31649 grep -v '^ *+' conftest.er1
>conftest.err
31651 cat conftest.err
>&5
31652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31653 (exit $ac_status); } &&
31654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31656 (eval $ac_try) 2>&5
31658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31659 (exit $ac_status); }; } &&
31660 { ac_try
='test -s conftest.$ac_objext'
31661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662 (eval $ac_try) 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; }; then
31666 echo "$as_me:$LINENO: result: yes" >&5
31667 echo "${ECHO_T}yes" >&6
31668 cat >>confdefs.h
<<\_ACEOF
31669 #define __Point__ 1
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.
$ac_ext >&5
31677 { { echo "$as_me:$LINENO: error: no
31678 See \`config.log' for more details." >&5
31679 echo "$as_me: error: no
31680 See \`config.log' for more details." >&2;}
31681 { (exit 1); exit 1; }; }
31684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31689 ac_cpp
='$CPP $CPPFLAGS'
31690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31696 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31697 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31698 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31700 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31702 # Extract the first word of "Rez", so it can be a program name with args.
31703 set dummy Rez
; ac_word
=$2
31704 echo "$as_me:$LINENO: checking for $ac_word" >&5
31705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31706 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31707 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 if test -n "$RESCOMP"; then
31710 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
31712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31713 for as_dir
in $PATH
31716 test -z "$as_dir" && as_dir
=.
31717 for ac_exec_ext
in '' $ac_executable_extensions; do
31718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31719 ac_cv_prog_RESCOMP
="Rez"
31720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31726 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
31729 RESCOMP
=$ac_cv_prog_RESCOMP
31730 if test -n "$RESCOMP"; then
31731 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31732 echo "${ECHO_T}$RESCOMP" >&6
31734 echo "$as_me:$LINENO: result: no" >&5
31735 echo "${ECHO_T}no" >&6
31738 # Extract the first word of "DeRez", so it can be a program name with args.
31739 set dummy DeRez
; ac_word
=$2
31740 echo "$as_me:$LINENO: checking for $ac_word" >&5
31741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31742 if test "${ac_cv_prog_DEREZ+set}" = set; then
31743 echo $ECHO_N "(cached) $ECHO_C" >&6
31745 if test -n "$DEREZ"; then
31746 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31749 for as_dir
in $PATH
31752 test -z "$as_dir" && as_dir
=.
31753 for ac_exec_ext
in '' $ac_executable_extensions; do
31754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31755 ac_cv_prog_DEREZ
="DeRez"
31756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31762 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31765 DEREZ
=$ac_cv_prog_DEREZ
31766 if test -n "$DEREZ"; then
31767 echo "$as_me:$LINENO: result: $DEREZ" >&5
31768 echo "${ECHO_T}$DEREZ" >&6
31770 echo "$as_me:$LINENO: result: no" >&5
31771 echo "${ECHO_T}no" >&6
31774 # Extract the first word of "SetFile", so it can be a program name with args.
31775 set dummy SetFile
; ac_word
=$2
31776 echo "$as_me:$LINENO: checking for $ac_word" >&5
31777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31778 if test "${ac_cv_prog_SETFILE+set}" = set; then
31779 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 if test -n "$SETFILE"; then
31782 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
31784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31785 for as_dir
in $PATH
31788 test -z "$as_dir" && as_dir
=.
31789 for ac_exec_ext
in '' $ac_executable_extensions; do
31790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31791 ac_cv_prog_SETFILE
="SetFile"
31792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31798 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
31801 SETFILE
=$ac_cv_prog_SETFILE
31802 if test -n "$SETFILE"; then
31803 echo "$as_me:$LINENO: result: $SETFILE" >&5
31804 echo "${ECHO_T}$SETFILE" >&6
31806 echo "$as_me:$LINENO: result: no" >&5
31807 echo "${ECHO_T}no" >&6
31811 MACSETFILE
="\$(SETFILE)"
31813 if test "$wxUSE_MAC" = 1; then
31814 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31816 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31818 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31819 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31823 MACRESWXCONFIG
="@true"
31825 if test "$wxUSE_PM" = 1; then
31826 MACRESCOMP
="emxbind -ep"
31834 echo "$as_me:$LINENO: checking for mode_t" >&5
31835 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31836 if test "${ac_cv_type_mode_t+set}" = set; then
31837 echo $ECHO_N "(cached) $ECHO_C" >&6
31839 cat >conftest.
$ac_ext <<_ACEOF
31842 cat confdefs.h
>>conftest.
$ac_ext
31843 cat >>conftest.
$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845 $ac_includes_default
31851 if (sizeof (mode_t))
31857 rm -f conftest.
$ac_objext
31858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31859 (eval $ac_compile) 2>conftest.er1
31861 grep -v '^ *+' conftest.er1
>conftest.err
31863 cat conftest.err
>&5
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); } &&
31866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31868 (eval $ac_try) 2>&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); }; } &&
31872 { ac_try
='test -s conftest.$ac_objext'
31873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31874 (eval $ac_try) 2>&5
31876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31877 (exit $ac_status); }; }; then
31878 ac_cv_type_mode_t
=yes
31880 echo "$as_me: failed program was:" >&5
31881 sed 's/^/| /' conftest.
$ac_ext >&5
31883 ac_cv_type_mode_t
=no
31885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31887 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31888 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31889 if test $ac_cv_type_mode_t = yes; then
31893 cat >>confdefs.h
<<_ACEOF
31899 echo "$as_me:$LINENO: checking for off_t" >&5
31900 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31901 if test "${ac_cv_type_off_t+set}" = set; then
31902 echo $ECHO_N "(cached) $ECHO_C" >&6
31904 cat >conftest.
$ac_ext <<_ACEOF
31907 cat confdefs.h
>>conftest.
$ac_ext
31908 cat >>conftest.
$ac_ext <<_ACEOF
31909 /* end confdefs.h. */
31910 $ac_includes_default
31916 if (sizeof (off_t))
31922 rm -f conftest.
$ac_objext
31923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31924 (eval $ac_compile) 2>conftest.er1
31926 grep -v '^ *+' conftest.er1
>conftest.err
31928 cat conftest.err
>&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); } &&
31931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31933 (eval $ac_try) 2>&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); }; } &&
31937 { ac_try
='test -s conftest.$ac_objext'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; }; then
31943 ac_cv_type_off_t
=yes
31945 echo "$as_me: failed program was:" >&5
31946 sed 's/^/| /' conftest.
$ac_ext >&5
31948 ac_cv_type_off_t
=no
31950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31952 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31953 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31954 if test $ac_cv_type_off_t = yes; then
31958 cat >>confdefs.h
<<_ACEOF
31964 echo "$as_me:$LINENO: checking for pid_t" >&5
31965 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31966 if test "${ac_cv_type_pid_t+set}" = set; then
31967 echo $ECHO_N "(cached) $ECHO_C" >&6
31969 cat >conftest.
$ac_ext <<_ACEOF
31972 cat confdefs.h
>>conftest.
$ac_ext
31973 cat >>conftest.
$ac_ext <<_ACEOF
31974 /* end confdefs.h. */
31975 $ac_includes_default
31981 if (sizeof (pid_t))
31987 rm -f conftest.
$ac_objext
31988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31989 (eval $ac_compile) 2>conftest.er1
31991 grep -v '^ *+' conftest.er1
>conftest.err
31993 cat conftest.err
>&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); } &&
31996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31998 (eval $ac_try) 2>&5
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); }; } &&
32002 { ac_try
='test -s conftest.$ac_objext'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; }; then
32008 ac_cv_type_pid_t
=yes
32010 echo "$as_me: failed program was:" >&5
32011 sed 's/^/| /' conftest.
$ac_ext >&5
32013 ac_cv_type_pid_t
=no
32015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32017 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32018 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32019 if test $ac_cv_type_pid_t = yes; then
32023 cat >>confdefs.h
<<_ACEOF
32029 echo "$as_me:$LINENO: checking for size_t" >&5
32030 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32031 if test "${ac_cv_type_size_t+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32034 cat >conftest.
$ac_ext <<_ACEOF
32037 cat confdefs.h
>>conftest.
$ac_ext
32038 cat >>conftest.
$ac_ext <<_ACEOF
32039 /* end confdefs.h. */
32040 $ac_includes_default
32046 if (sizeof (size_t))
32052 rm -f conftest.
$ac_objext
32053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32054 (eval $ac_compile) 2>conftest.er1
32056 grep -v '^ *+' conftest.er1
>conftest.err
32058 cat conftest.err
>&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } &&
32061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32063 (eval $ac_try) 2>&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); }; } &&
32067 { ac_try
='test -s conftest.$ac_objext'
32068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32069 (eval $ac_try) 2>&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); }; }; then
32073 ac_cv_type_size_t
=yes
32075 echo "$as_me: failed program was:" >&5
32076 sed 's/^/| /' conftest.
$ac_ext >&5
32078 ac_cv_type_size_t
=no
32080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32082 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32083 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32084 if test $ac_cv_type_size_t = yes; then
32088 cat >>confdefs.h
<<_ACEOF
32089 #define size_t unsigned
32094 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32095 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32096 if test "${ac_cv_type_uid_t+set}" = set; then
32097 echo $ECHO_N "(cached) $ECHO_C" >&6
32099 cat >conftest.
$ac_ext <<_ACEOF
32102 cat confdefs.h
>>conftest.
$ac_ext
32103 cat >>conftest.
$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105 #include <sys/types.h>
32108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32109 $EGREP "uid_t" >/dev
/null
2>&1; then
32110 ac_cv_type_uid_t
=yes
32112 ac_cv_type_uid_t
=no
32117 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32118 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32119 if test $ac_cv_type_uid_t = no
; then
32121 cat >>confdefs.h
<<\_ACEOF
32126 cat >>confdefs.h
<<\_ACEOF
32133 echo "$as_me:$LINENO: checking for ssize_t" >&5
32134 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32135 if test "${ac_cv_type_ssize_t+set}" = set; then
32136 echo $ECHO_N "(cached) $ECHO_C" >&6
32138 cat >conftest.
$ac_ext <<_ACEOF
32141 cat confdefs.h
>>conftest.
$ac_ext
32142 cat >>conftest.
$ac_ext <<_ACEOF
32143 /* end confdefs.h. */
32144 $ac_includes_default
32150 if (sizeof (ssize_t))
32156 rm -f conftest.
$ac_objext
32157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32158 (eval $ac_compile) 2>conftest.er1
32160 grep -v '^ *+' conftest.er1
>conftest.err
32162 cat conftest.err
>&5
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); } &&
32165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32167 (eval $ac_try) 2>&5
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); }; } &&
32171 { ac_try
='test -s conftest.$ac_objext'
32172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32173 (eval $ac_try) 2>&5
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); }; }; then
32177 ac_cv_type_ssize_t
=yes
32179 echo "$as_me: failed program was:" >&5
32180 sed 's/^/| /' conftest.
$ac_ext >&5
32182 ac_cv_type_ssize_t
=no
32184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32186 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32187 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32188 if test $ac_cv_type_ssize_t = yes; then
32190 cat >>confdefs.h
<<_ACEOF
32191 #define HAVE_SSIZE_T 1
32201 ac_cpp
='$CXXCPP $CPPFLAGS'
32202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32206 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32207 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32208 if test "${wx_cv_size_t_is_uint+set}" = set; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32212 cat >conftest.
$ac_ext <<_ACEOF
32215 cat confdefs.h
>>conftest.
$ac_ext
32216 cat >>conftest.
$ac_ext <<_ACEOF
32217 /* end confdefs.h. */
32218 #include <stddef.h>
32225 struct Foo { void foo(size_t); void foo(unsigned int); };
32233 rm -f conftest.
$ac_objext
32234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32235 (eval $ac_compile) 2>conftest.er1
32237 grep -v '^ *+' conftest.er1
>conftest.err
32239 cat conftest.err
>&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); } &&
32242 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32244 (eval $ac_try) 2>&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); }; } &&
32248 { ac_try
='test -s conftest.$ac_objext'
32249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32250 (eval $ac_try) 2>&5
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); }; }; then
32254 wx_cv_size_t_is_uint
=no
32256 echo "$as_me: failed program was:" >&5
32257 sed 's/^/| /' conftest.
$ac_ext >&5
32259 wx_cv_size_t_is_uint
=yes
32262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32266 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32267 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32269 if test "$wx_cv_size_t_is_uint" = "yes"; then
32270 cat >>confdefs.h
<<\_ACEOF
32271 #define wxSIZE_T_IS_UINT 1
32275 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32276 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32277 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32278 echo $ECHO_N "(cached) $ECHO_C" >&6
32280 cat >conftest.
$ac_ext <<_ACEOF
32283 cat confdefs.h
>>conftest.
$ac_ext
32284 cat >>conftest.
$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286 #include <stddef.h>
32293 struct Foo { void foo(size_t); void foo(unsigned long); };
32301 rm -f conftest.
$ac_objext
32302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32303 (eval $ac_compile) 2>conftest.er1
32305 grep -v '^ *+' conftest.er1
>conftest.err
32307 cat conftest.err
>&5
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); } &&
32310 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32312 (eval $ac_try) 2>&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); }; } &&
32316 { ac_try
='test -s conftest.$ac_objext'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; }; then
32322 wx_cv_size_t_is_ulong
=no
32324 echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.
$ac_ext >&5
32327 wx_cv_size_t_is_ulong
=yes
32330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32333 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32334 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32336 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32337 cat >>confdefs.h
<<\_ACEOF
32338 #define wxSIZE_T_IS_ULONG 1
32345 ac_cpp
='$CPP $CPPFLAGS'
32346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32352 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32353 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32354 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32355 echo $ECHO_N "(cached) $ECHO_C" >&6
32358 cat >conftest.
$ac_ext <<_ACEOF
32361 cat confdefs.h
>>conftest.
$ac_ext
32362 cat >>conftest.
$ac_ext <<_ACEOF
32363 /* end confdefs.h. */
32377 rm -f conftest.
$ac_objext
32378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32379 (eval $ac_compile) 2>conftest.er1
32381 grep -v '^ *+' conftest.er1
>conftest.err
32383 cat conftest.err
>&5
32384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32385 (exit $ac_status); } &&
32386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32388 (eval $ac_try) 2>&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); }; } &&
32392 { ac_try
='test -s conftest.$ac_objext'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32399 wx_cv_struct_pw_gecos
=yes
32402 echo "$as_me: failed program was:" >&5
32403 sed 's/^/| /' conftest.
$ac_ext >&5
32406 wx_cv_struct_pw_gecos
=no
32410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32414 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32415 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32417 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32418 cat >>confdefs.h
<<\_ACEOF
32419 #define HAVE_PW_GECOS 1
32425 if test "$wxUSE_WCHAR_T" = "yes"; then
32426 cat >>confdefs.h
<<\_ACEOF
32427 #define wxUSE_WCHAR_T 1
32434 for ac_func
in wcslen
32436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32437 echo "$as_me:$LINENO: checking for $ac_func" >&5
32438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32439 if eval "test \"\${$as_ac_var+set}\" = set"; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 cat >conftest.
$ac_ext <<_ACEOF
32445 cat confdefs.h
>>conftest.
$ac_ext
32446 cat >>conftest.
$ac_ext <<_ACEOF
32447 /* end confdefs.h. */
32448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32450 #define $ac_func innocuous_$ac_func
32452 /* System header to define __stub macros and hopefully few prototypes,
32453 which can conflict with char $ac_func (); below.
32454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32455 <limits.h> exists even on freestanding compilers. */
32458 # include <limits.h>
32460 # include <assert.h>
32465 /* Override any gcc2 internal prototype to avoid an error. */
32470 /* We use char because int might match the return type of a gcc2
32471 builtin and then its argument prototype would still apply. */
32473 /* The GNU C library defines this for functions which it implements
32474 to always fail with ENOSYS. Some functions are actually named
32475 something starting with __ and the normal name is an alias. */
32476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32479 char (*f) () = $ac_func;
32488 return f != $ac_func;
32493 rm -f conftest.
$ac_objext conftest
$ac_exeext
32494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32495 (eval $ac_link) 2>conftest.er1
32497 grep -v '^ *+' conftest.er1
>conftest.err
32499 cat conftest.err
>&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); } &&
32502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504 (eval $ac_try) 2>&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); }; } &&
32508 { ac_try
='test -s conftest$ac_exeext'
32509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32510 (eval $ac_try) 2>&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); }; }; then
32514 eval "$as_ac_var=yes"
32516 echo "$as_me: failed program was:" >&5
32517 sed 's/^/| /' conftest.
$ac_ext >&5
32519 eval "$as_ac_var=no"
32521 rm -f conftest.err conftest.
$ac_objext \
32522 conftest
$ac_exeext conftest.
$ac_ext
32524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32526 if test `eval echo '${'$as_ac_var'}'` = yes; then
32527 cat >>confdefs.h
<<_ACEOF
32528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32535 if test "$WCSLEN_FOUND" = 0; then
32536 if test "$TOOLKIT" = "MSW"; then
32537 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32538 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32539 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32540 echo $ECHO_N "(cached) $ECHO_C" >&6
32542 ac_check_lib_save_LIBS
=$LIBS
32543 LIBS
="-lmsvcrt $LIBS"
32544 cat >conftest.
$ac_ext <<_ACEOF
32547 cat confdefs.h
>>conftest.
$ac_ext
32548 cat >>conftest.
$ac_ext <<_ACEOF
32549 /* end confdefs.h. */
32551 /* Override any gcc2 internal prototype to avoid an error. */
32555 /* We use char because int might match the return type of a gcc2
32556 builtin and then its argument prototype would still apply. */
32566 rm -f conftest.
$ac_objext conftest
$ac_exeext
32567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32568 (eval $ac_link) 2>conftest.er1
32570 grep -v '^ *+' conftest.er1
>conftest.err
32572 cat conftest.err
>&5
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); } &&
32575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32577 (eval $ac_try) 2>&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); }; } &&
32581 { ac_try
='test -s conftest$ac_exeext'
32582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32583 (eval $ac_try) 2>&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); }; }; then
32587 ac_cv_lib_msvcrt_wcslen
=yes
32589 echo "$as_me: failed program was:" >&5
32590 sed 's/^/| /' conftest.
$ac_ext >&5
32592 ac_cv_lib_msvcrt_wcslen
=no
32594 rm -f conftest.err conftest.
$ac_objext \
32595 conftest
$ac_exeext conftest.
$ac_ext
32596 LIBS
=$ac_check_lib_save_LIBS
32598 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32599 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32600 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32605 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32606 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32607 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32608 echo $ECHO_N "(cached) $ECHO_C" >&6
32610 ac_check_lib_save_LIBS
=$LIBS
32612 cat >conftest.
$ac_ext <<_ACEOF
32615 cat confdefs.h
>>conftest.
$ac_ext
32616 cat >>conftest.
$ac_ext <<_ACEOF
32617 /* end confdefs.h. */
32619 /* Override any gcc2 internal prototype to avoid an error. */
32623 /* We use char because int might match the return type of a gcc2
32624 builtin and then its argument prototype would still apply. */
32634 rm -f conftest.
$ac_objext conftest
$ac_exeext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32636 (eval $ac_link) 2>conftest.er1
32638 grep -v '^ *+' conftest.er1
>conftest.err
32640 cat conftest.err
>&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); } &&
32643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32649 { ac_try
='test -s conftest$ac_exeext'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; }; then
32655 ac_cv_lib_w_wcslen
=yes
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.
$ac_ext >&5
32660 ac_cv_lib_w_wcslen
=no
32662 rm -f conftest.err conftest.
$ac_objext \
32663 conftest
$ac_exeext conftest.
$ac_ext
32664 LIBS
=$ac_check_lib_save_LIBS
32666 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32667 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32668 if test $ac_cv_lib_w_wcslen = yes; then
32678 if test "$WCSLEN_FOUND" = 1; then
32679 cat >>confdefs.h
<<\_ACEOF
32680 #define HAVE_WCSLEN 1
32685 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32686 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32689 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32690 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32691 if test "${ac_cv_type_mbstate_t+set}" = set; then
32692 echo $ECHO_N "(cached) $ECHO_C" >&6
32694 cat >conftest.
$ac_ext <<_ACEOF
32697 cat confdefs.h
>>conftest.
$ac_ext
32698 cat >>conftest.
$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32705 if ((mbstate_t *) 0)
32707 if (sizeof (mbstate_t))
32713 rm -f conftest.
$ac_objext
32714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32715 (eval $ac_compile) 2>conftest.er1
32717 grep -v '^ *+' conftest.er1
>conftest.err
32719 cat conftest.err
>&5
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); } &&
32722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; } &&
32728 { ac_try
='test -s conftest.$ac_objext'
32729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32730 (eval $ac_try) 2>&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); }; }; then
32734 ac_cv_type_mbstate_t
=yes
32736 echo "$as_me: failed program was:" >&5
32737 sed 's/^/| /' conftest.
$ac_ext >&5
32739 ac_cv_type_mbstate_t
=no
32741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32743 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32744 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32745 if test $ac_cv_type_mbstate_t = yes; then
32747 cat >>confdefs.h
<<_ACEOF
32748 #define HAVE_MBSTATE_T 1
32752 for ac_func
in wcsrtombs
32754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32755 echo "$as_me:$LINENO: checking for $ac_func" >&5
32756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32757 if eval "test \"\${$as_ac_var+set}\" = set"; then
32758 echo $ECHO_N "(cached) $ECHO_C" >&6
32760 cat >conftest.
$ac_ext <<_ACEOF
32763 cat confdefs.h
>>conftest.
$ac_ext
32764 cat >>conftest.
$ac_ext <<_ACEOF
32765 /* end confdefs.h. */
32766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32768 #define $ac_func innocuous_$ac_func
32770 /* System header to define __stub macros and hopefully few prototypes,
32771 which can conflict with char $ac_func (); below.
32772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32773 <limits.h> exists even on freestanding compilers. */
32776 # include <limits.h>
32778 # include <assert.h>
32783 /* Override any gcc2 internal prototype to avoid an error. */
32788 /* We use char because int might match the return type of a gcc2
32789 builtin and then its argument prototype would still apply. */
32791 /* The GNU C library defines this for functions which it implements
32792 to always fail with ENOSYS. Some functions are actually named
32793 something starting with __ and the normal name is an alias. */
32794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32797 char (*f) () = $ac_func;
32806 return f != $ac_func;
32811 rm -f conftest.
$ac_objext conftest
$ac_exeext
32812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32813 (eval $ac_link) 2>conftest.er1
32815 grep -v '^ *+' conftest.er1
>conftest.err
32817 cat conftest.err
>&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); } &&
32820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32822 (eval $ac_try) 2>&5
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); }; } &&
32826 { ac_try
='test -s conftest$ac_exeext'
32827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32828 (eval $ac_try) 2>&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); }; }; then
32832 eval "$as_ac_var=yes"
32834 echo "$as_me: failed program was:" >&5
32835 sed 's/^/| /' conftest.
$ac_ext >&5
32837 eval "$as_ac_var=no"
32839 rm -f conftest.err conftest.
$ac_objext \
32840 conftest
$ac_exeext conftest.
$ac_ext
32842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32844 if test `eval echo '${'$as_ac_var'}'` = yes; then
32845 cat >>confdefs.h
<<_ACEOF
32846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32855 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32856 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32862 ac_cpp
='$CXXCPP $CPPFLAGS'
32863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32870 for ac_func
in snprintf vsnprintf
32872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32873 echo "$as_me:$LINENO: checking for $ac_func" >&5
32874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32875 if eval "test \"\${$as_ac_var+set}\" = set"; then
32876 echo $ECHO_N "(cached) $ECHO_C" >&6
32878 cat >conftest.
$ac_ext <<_ACEOF
32881 cat confdefs.h
>>conftest.
$ac_ext
32882 cat >>conftest.
$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32886 #define $ac_func innocuous_$ac_func
32888 /* System header to define __stub macros and hopefully few prototypes,
32889 which can conflict with char $ac_func (); below.
32890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32891 <limits.h> exists even on freestanding compilers. */
32894 # include <limits.h>
32896 # include <assert.h>
32901 /* Override any gcc2 internal prototype to avoid an error. */
32906 /* We use char because int might match the return type of a gcc2
32907 builtin and then its argument prototype would still apply. */
32909 /* The GNU C library defines this for functions which it implements
32910 to always fail with ENOSYS. Some functions are actually named
32911 something starting with __ and the normal name is an alias. */
32912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32915 char (*f) () = $ac_func;
32924 return f != $ac_func;
32929 rm -f conftest.
$ac_objext conftest
$ac_exeext
32930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32931 (eval $ac_link) 2>conftest.er1
32933 grep -v '^ *+' conftest.er1
>conftest.err
32935 cat conftest.err
>&5
32936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); } &&
32938 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32940 (eval $ac_try) 2>&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); }; } &&
32944 { ac_try
='test -s conftest$ac_exeext'
32945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32946 (eval $ac_try) 2>&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); }; }; then
32950 eval "$as_ac_var=yes"
32952 echo "$as_me: failed program was:" >&5
32953 sed 's/^/| /' conftest.
$ac_ext >&5
32955 eval "$as_ac_var=no"
32957 rm -f conftest.err conftest.
$ac_objext \
32958 conftest
$ac_exeext conftest.
$ac_ext
32960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32962 if test `eval echo '${'$as_ac_var'}'` = yes; then
32963 cat >>confdefs.h
<<_ACEOF
32964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32971 if test "$ac_cv_func_vsnprintf" = "yes"; then
32972 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32973 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32974 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32975 echo $ECHO_N "(cached) $ECHO_C" >&6
32978 cat >conftest.
$ac_ext <<_ACEOF
32981 cat confdefs.h
>>conftest.
$ac_ext
32982 cat >>conftest.
$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32986 #include <stdarg.h>
32988 #if __MSL__ >= 0x6000
32990 using namespace std;
33000 vsnprintf(buf, 10u, "%s", ap);
33006 rm -f conftest.
$ac_objext
33007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33008 (eval $ac_compile) 2>conftest.er1
33010 grep -v '^ *+' conftest.er1
>conftest.err
33012 cat conftest.err
>&5
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); } &&
33015 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33017 (eval $ac_try) 2>&5
33019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020 (exit $ac_status); }; } &&
33021 { ac_try
='test -s conftest.$ac_objext'
33022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33023 (eval $ac_try) 2>&5
33025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026 (exit $ac_status); }; }; then
33027 wx_cv_func_vsnprintf_decl
=yes
33029 echo "$as_me: failed program was:" >&5
33030 sed 's/^/| /' conftest.
$ac_ext >&5
33032 wx_cv_func_vsnprintf_decl
=no
33035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33039 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33040 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33042 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33043 cat >>confdefs.h
<<\_ACEOF
33044 #define HAVE_VSNPRINTF_DECL 1
33048 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33049 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33050 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33051 echo $ECHO_N "(cached) $ECHO_C" >&6
33054 cat >conftest.
$ac_ext <<_ACEOF
33057 cat confdefs.h
>>conftest.
$ac_ext
33058 cat >>conftest.
$ac_ext <<_ACEOF
33059 /* end confdefs.h. */
33062 #include <stdarg.h>
33064 #if __MSL__ >= 0x6000
33066 using namespace std;
33076 const char *fmt = "%s";
33077 vsnprintf(buf, 10u, fmt, ap);
33083 rm -f conftest.
$ac_objext
33084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33085 (eval $ac_compile) 2>conftest.er1
33087 grep -v '^ *+' conftest.er1
>conftest.err
33089 cat conftest.err
>&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); } &&
33092 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33094 (eval $ac_try) 2>&5
33096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097 (exit $ac_status); }; } &&
33098 { ac_try
='test -s conftest.$ac_objext'
33099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33100 (eval $ac_try) 2>&5
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); }; }; then
33104 wx_cv_func_broken_vsnprintf_decl
=no
33106 echo "$as_me: failed program was:" >&5
33107 sed 's/^/| /' conftest.
$ac_ext >&5
33109 wx_cv_func_broken_vsnprintf_decl
=yes
33112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33116 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33117 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33119 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33120 cat >>confdefs.h
<<\_ACEOF
33121 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33128 if test "$ac_cv_func_snprintf" = "yes"; then
33129 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33130 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33131 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 cat >conftest.
$ac_ext <<_ACEOF
33138 cat confdefs.h
>>conftest.
$ac_ext
33139 cat >>conftest.
$ac_ext <<_ACEOF
33140 /* end confdefs.h. */
33143 #include <stdarg.h>
33145 #if __MSL__ >= 0x6000
33147 using namespace std;
33156 snprintf(buf, 10u, "%s", "wx");
33162 rm -f conftest.
$ac_objext
33163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33164 (eval $ac_compile) 2>conftest.er1
33166 grep -v '^ *+' conftest.er1
>conftest.err
33168 cat conftest.err
>&5
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); } &&
33171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33173 (eval $ac_try) 2>&5
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); }; } &&
33177 { ac_try
='test -s conftest.$ac_objext'
33178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179 (eval $ac_try) 2>&5
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); }; }; then
33183 wx_cv_func_snprintf_decl
=yes
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.
$ac_ext >&5
33188 wx_cv_func_snprintf_decl
=no
33191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33195 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33196 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33198 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33199 cat >>confdefs.h
<<\_ACEOF
33200 #define HAVE_SNPRINTF_DECL 1
33204 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33205 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33206 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33207 echo $ECHO_N "(cached) $ECHO_C" >&6
33210 cat >conftest.
$ac_ext <<_ACEOF
33213 cat confdefs.h
>>conftest.
$ac_ext
33214 cat >>conftest.
$ac_ext <<_ACEOF
33215 /* end confdefs.h. */
33218 #include <stdarg.h>
33220 #if __MSL__ >= 0x6000
33222 using namespace std;
33231 const char *fmt = "%s";
33232 snprintf(buf, 10u, fmt, "wx");
33238 rm -f conftest.
$ac_objext
33239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33240 (eval $ac_compile) 2>conftest.er1
33242 grep -v '^ *+' conftest.er1
>conftest.err
33244 cat conftest.err
>&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); } &&
33247 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33249 (eval $ac_try) 2>&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); }; } &&
33253 { ac_try
='test -s conftest.$ac_objext'
33254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33255 (eval $ac_try) 2>&5
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; }; then
33259 wx_cv_func_broken_snprintf_decl
=no
33261 echo "$as_me: failed program was:" >&5
33262 sed 's/^/| /' conftest.
$ac_ext >&5
33264 wx_cv_func_broken_snprintf_decl
=yes
33267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33271 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33272 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33274 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33275 cat >>confdefs.h
<<\_ACEOF
33276 #define HAVE_BROKEN_SNPRINTF_DECL 1
33283 if test "$wxUSE_UNICODE" = yes; then
33290 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33293 echo "$as_me:$LINENO: checking for $ac_func" >&5
33294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33295 if eval "test \"\${$as_ac_var+set}\" = set"; then
33296 echo $ECHO_N "(cached) $ECHO_C" >&6
33298 cat >conftest.
$ac_ext <<_ACEOF
33301 cat confdefs.h
>>conftest.
$ac_ext
33302 cat >>conftest.
$ac_ext <<_ACEOF
33303 /* end confdefs.h. */
33304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33306 #define $ac_func innocuous_$ac_func
33308 /* System header to define __stub macros and hopefully few prototypes,
33309 which can conflict with char $ac_func (); below.
33310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33311 <limits.h> exists even on freestanding compilers. */
33314 # include <limits.h>
33316 # include <assert.h>
33321 /* Override any gcc2 internal prototype to avoid an error. */
33326 /* We use char because int might match the return type of a gcc2
33327 builtin and then its argument prototype would still apply. */
33329 /* The GNU C library defines this for functions which it implements
33330 to always fail with ENOSYS. Some functions are actually named
33331 something starting with __ and the normal name is an alias. */
33332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33335 char (*f) () = $ac_func;
33344 return f != $ac_func;
33349 rm -f conftest.
$ac_objext conftest
$ac_exeext
33350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33351 (eval $ac_link) 2>conftest.er1
33353 grep -v '^ *+' conftest.er1
>conftest.err
33355 cat conftest.err
>&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } &&
33358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33360 (eval $ac_try) 2>&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); }; } &&
33364 { ac_try
='test -s conftest$ac_exeext'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; }; then
33370 eval "$as_ac_var=yes"
33372 echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.
$ac_ext >&5
33375 eval "$as_ac_var=no"
33377 rm -f conftest.err conftest.
$ac_objext \
33378 conftest
$ac_exeext conftest.
$ac_ext
33380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33382 if test `eval echo '${'$as_ac_var'}'` = yes; then
33383 cat >>confdefs.h
<<_ACEOF
33384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33391 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33392 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33393 cat >conftest.
$ac_ext <<_ACEOF
33396 cat confdefs.h
>>conftest.
$ac_ext
33397 cat >>conftest.
$ac_ext <<_ACEOF
33398 /* end confdefs.h. */
33408 rm -f conftest.
$ac_objext
33409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33410 (eval $ac_compile) 2>conftest.er1
33412 grep -v '^ *+' conftest.er1
>conftest.err
33414 cat conftest.err
>&5
33415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33416 (exit $ac_status); } &&
33417 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33419 (eval $ac_try) 2>&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); }; } &&
33423 { ac_try
='test -s conftest.$ac_objext'
33424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33425 (eval $ac_try) 2>&5
33427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33428 (exit $ac_status); }; }; then
33429 echo "$as_me:$LINENO: result: yes" >&5
33430 echo "${ECHO_T}yes" >&6
33431 cat >>confdefs.h
<<\_ACEOF
33432 #define HAVE__VSNWPRINTF 1
33436 echo "$as_me: failed program was:" >&5
33437 sed 's/^/| /' conftest.
$ac_ext >&5
33439 echo "$as_me:$LINENO: result: no" >&5
33440 echo "${ECHO_T}no" >&6
33442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33446 ac_cpp
='$CPP $CPPFLAGS'
33447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33452 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33454 for ac_func
in fnmatch
33456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33457 echo "$as_me:$LINENO: checking for $ac_func" >&5
33458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33459 if eval "test \"\${$as_ac_var+set}\" = set"; then
33460 echo $ECHO_N "(cached) $ECHO_C" >&6
33462 cat >conftest.
$ac_ext <<_ACEOF
33465 cat confdefs.h
>>conftest.
$ac_ext
33466 cat >>conftest.
$ac_ext <<_ACEOF
33467 /* end confdefs.h. */
33468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33470 #define $ac_func innocuous_$ac_func
33472 /* System header to define __stub macros and hopefully few prototypes,
33473 which can conflict with char $ac_func (); below.
33474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33475 <limits.h> exists even on freestanding compilers. */
33478 # include <limits.h>
33480 # include <assert.h>
33485 /* Override any gcc2 internal prototype to avoid an error. */
33490 /* We use char because int might match the return type of a gcc2
33491 builtin and then its argument prototype would still apply. */
33493 /* The GNU C library defines this for functions which it implements
33494 to always fail with ENOSYS. Some functions are actually named
33495 something starting with __ and the normal name is an alias. */
33496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33499 char (*f) () = $ac_func;
33508 return f != $ac_func;
33513 rm -f conftest.
$ac_objext conftest
$ac_exeext
33514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33515 (eval $ac_link) 2>conftest.er1
33517 grep -v '^ *+' conftest.er1
>conftest.err
33519 cat conftest.err
>&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); } &&
33522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33524 (eval $ac_try) 2>&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; } &&
33528 { ac_try
='test -s conftest$ac_exeext'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; }; then
33534 eval "$as_ac_var=yes"
33536 echo "$as_me: failed program was:" >&5
33537 sed 's/^/| /' conftest.
$ac_ext >&5
33539 eval "$as_ac_var=no"
33541 rm -f conftest.err conftest.
$ac_objext \
33542 conftest
$ac_exeext conftest.
$ac_ext
33544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33546 if test `eval echo '${'$as_ac_var'}'` = yes; then
33547 cat >>confdefs.h
<<_ACEOF
33548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33556 if test "$wxUSE_FILE" = "yes"; then
33558 for ac_func
in fsync
33560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33561 echo "$as_me:$LINENO: checking for $ac_func" >&5
33562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33563 if eval "test \"\${$as_ac_var+set}\" = set"; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 cat >conftest.
$ac_ext <<_ACEOF
33569 cat confdefs.h
>>conftest.
$ac_ext
33570 cat >>conftest.
$ac_ext <<_ACEOF
33571 /* end confdefs.h. */
33572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33574 #define $ac_func innocuous_$ac_func
33576 /* System header to define __stub macros and hopefully few prototypes,
33577 which can conflict with char $ac_func (); below.
33578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33579 <limits.h> exists even on freestanding compilers. */
33582 # include <limits.h>
33584 # include <assert.h>
33589 /* Override any gcc2 internal prototype to avoid an error. */
33594 /* We use char because int might match the return type of a gcc2
33595 builtin and then its argument prototype would still apply. */
33597 /* The GNU C library defines this for functions which it implements
33598 to always fail with ENOSYS. Some functions are actually named
33599 something starting with __ and the normal name is an alias. */
33600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33603 char (*f) () = $ac_func;
33612 return f != $ac_func;
33617 rm -f conftest.
$ac_objext conftest
$ac_exeext
33618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33619 (eval $ac_link) 2>conftest.er1
33621 grep -v '^ *+' conftest.er1
>conftest.err
33623 cat conftest.err
>&5
33624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33625 (exit $ac_status); } &&
33626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33628 (eval $ac_try) 2>&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); }; } &&
33632 { ac_try
='test -s conftest$ac_exeext'
33633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33634 (eval $ac_try) 2>&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); }; }; then
33638 eval "$as_ac_var=yes"
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.
$ac_ext >&5
33643 eval "$as_ac_var=no"
33645 rm -f conftest.err conftest.
$ac_objext \
33646 conftest
$ac_exeext conftest.
$ac_ext
33648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33650 if test `eval echo '${'$as_ac_var'}'` = yes; then
33651 cat >>confdefs.h
<<_ACEOF
33652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33661 if test "$TOOLKIT" != "MSW"; then
33667 ac_cpp
='$CXXCPP $CPPFLAGS'
33668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33675 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33676 if test "${with_libiconv_prefix+set}" = set; then
33677 withval
="$with_libiconv_prefix"
33679 for dir
in `echo "$withval" | tr : ' '`; do
33680 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33681 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33686 echo "$as_me:$LINENO: checking for iconv" >&5
33687 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33688 if test "${am_cv_func_iconv+set}" = set; then
33689 echo $ECHO_N "(cached) $ECHO_C" >&6
33692 am_cv_func_iconv
="no, consider installing GNU libiconv"
33694 cat >conftest.
$ac_ext <<_ACEOF
33697 cat confdefs.h
>>conftest.
$ac_ext
33698 cat >>conftest.
$ac_ext <<_ACEOF
33699 /* end confdefs.h. */
33700 #include <stdlib.h>
33705 iconv_t cd = iconv_open("","");
33706 iconv(cd,NULL,NULL,NULL,NULL);
33712 rm -f conftest.
$ac_objext conftest
$ac_exeext
33713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33714 (eval $ac_link) 2>conftest.er1
33716 grep -v '^ *+' conftest.er1
>conftest.err
33718 cat conftest.err
>&5
33719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720 (exit $ac_status); } &&
33721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try
='test -s conftest$ac_exeext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 am_cv_func_iconv
=yes
33735 echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.
$ac_ext >&5
33739 rm -f conftest.err conftest.
$ac_objext \
33740 conftest
$ac_exeext conftest.
$ac_ext
33741 if test "$am_cv_func_iconv" != yes; then
33742 am_save_LIBS
="$LIBS"
33743 LIBS
="$LIBS -liconv"
33744 cat >conftest.
$ac_ext <<_ACEOF
33747 cat confdefs.h
>>conftest.
$ac_ext
33748 cat >>conftest.
$ac_ext <<_ACEOF
33749 /* end confdefs.h. */
33750 #include <stdlib.h>
33755 iconv_t cd = iconv_open("","");
33756 iconv(cd,NULL,NULL,NULL,NULL);
33762 rm -f conftest.
$ac_objext conftest
$ac_exeext
33763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33764 (eval $ac_link) 2>conftest.er1
33766 grep -v '^ *+' conftest.er1
>conftest.err
33768 cat conftest.err
>&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } &&
33771 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773 (eval $ac_try) 2>&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); }; } &&
33777 { ac_try
='test -s conftest$ac_exeext'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; }; then
33783 am_cv_lib_iconv
=yes
33784 am_cv_func_iconv
=yes
33786 echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.
$ac_ext >&5
33790 rm -f conftest.err conftest.
$ac_objext \
33791 conftest
$ac_exeext conftest.
$ac_ext
33792 LIBS
="$am_save_LIBS"
33796 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33797 echo "${ECHO_T}$am_cv_func_iconv" >&6
33798 if test "$am_cv_func_iconv" = yes; then
33800 cat >>confdefs.h
<<\_ACEOF
33801 #define HAVE_ICONV 1
33804 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33805 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33806 if test "${wx_cv_func_iconv_const+set}" = set; then
33807 echo $ECHO_N "(cached) $ECHO_C" >&6
33809 cat >conftest.
$ac_ext <<_ACEOF
33812 cat confdefs.h
>>conftest.
$ac_ext
33813 cat >>conftest.
$ac_ext <<_ACEOF
33814 /* end confdefs.h. */
33816 #include <stdlib.h>
33822 #if defined(__STDC__) || defined(__cplusplus)
33823 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33836 rm -f conftest.
$ac_objext
33837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33838 (eval $ac_compile) 2>conftest.er1
33840 grep -v '^ *+' conftest.er1
>conftest.err
33842 cat conftest.err
>&5
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); } &&
33845 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33847 (eval $ac_try) 2>&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); }; } &&
33851 { ac_try
='test -s conftest.$ac_objext'
33852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33853 (eval $ac_try) 2>&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); }; }; then
33857 wx_cv_func_iconv_const
="no"
33859 echo "$as_me: failed program was:" >&5
33860 sed 's/^/| /' conftest.
$ac_ext >&5
33862 wx_cv_func_iconv_const
="yes"
33865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33868 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33869 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33872 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33873 iconv_const
="const"
33877 cat >>confdefs.h
<<_ACEOF
33878 #define ICONV_CONST $iconv_const
33883 if test "$am_cv_lib_iconv" = yes; then
33888 LIBS
="$LIBICONV $LIBS"
33890 ac_cpp
='$CPP $CPPFLAGS'
33891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33896 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33898 for ac_func
in sigaction
33900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33901 echo "$as_me:$LINENO: checking for $ac_func" >&5
33902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33903 if eval "test \"\${$as_ac_var+set}\" = set"; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33906 cat >conftest.
$ac_ext <<_ACEOF
33909 cat confdefs.h
>>conftest.
$ac_ext
33910 cat >>conftest.
$ac_ext <<_ACEOF
33911 /* end confdefs.h. */
33912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33914 #define $ac_func innocuous_$ac_func
33916 /* System header to define __stub macros and hopefully few prototypes,
33917 which can conflict with char $ac_func (); below.
33918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33919 <limits.h> exists even on freestanding compilers. */
33922 # include <limits.h>
33924 # include <assert.h>
33929 /* Override any gcc2 internal prototype to avoid an error. */
33934 /* We use char because int might match the return type of a gcc2
33935 builtin and then its argument prototype would still apply. */
33937 /* The GNU C library defines this for functions which it implements
33938 to always fail with ENOSYS. Some functions are actually named
33939 something starting with __ and the normal name is an alias. */
33940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33943 char (*f) () = $ac_func;
33952 return f != $ac_func;
33957 rm -f conftest.
$ac_objext conftest
$ac_exeext
33958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33959 (eval $ac_link) 2>conftest.er1
33961 grep -v '^ *+' conftest.er1
>conftest.err
33963 cat conftest.err
>&5
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); } &&
33966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33968 (eval $ac_try) 2>&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); }; } &&
33972 { ac_try
='test -s conftest$ac_exeext'
33973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33974 (eval $ac_try) 2>&5
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); }; }; then
33978 eval "$as_ac_var=yes"
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.
$ac_ext >&5
33983 eval "$as_ac_var=no"
33985 rm -f conftest.err conftest.
$ac_objext \
33986 conftest
$ac_exeext conftest.
$ac_ext
33988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33990 if test `eval echo '${'$as_ac_var'}'` = yes; then
33991 cat >>confdefs.h
<<_ACEOF
33992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33999 if test "$ac_cv_func_sigaction" = "no"; then
34000 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34001 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34002 wxUSE_ON_FATAL_EXCEPTION
=no
34005 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34009 ac_cpp
='$CXXCPP $CPPFLAGS'
34010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34015 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34016 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34017 if test "${wx_cv_type_sa_handler+set}" = set; then
34018 echo $ECHO_N "(cached) $ECHO_C" >&6
34021 cat >conftest.
$ac_ext <<_ACEOF
34024 cat confdefs.h
>>conftest.
$ac_ext
34025 cat >>conftest.
$ac_ext <<_ACEOF
34026 /* end confdefs.h. */
34027 #include <signal.h>
34032 extern void testSigHandler(int);
34034 struct sigaction sa;
34035 sa.sa_handler = testSigHandler;
34041 rm -f conftest.
$ac_objext
34042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34043 (eval $ac_compile) 2>conftest.er1
34045 grep -v '^ *+' conftest.er1
>conftest.err
34047 cat conftest.err
>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } &&
34050 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; } &&
34056 { ac_try
='test -s conftest.$ac_objext'
34057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34058 (eval $ac_try) 2>&5
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); }; }; then
34063 wx_cv_type_sa_handler
=int
34066 echo "$as_me: failed program was:" >&5
34067 sed 's/^/| /' conftest.
$ac_ext >&5
34070 wx_cv_type_sa_handler
=void
34073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34076 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34077 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34080 ac_cpp
='$CPP $CPPFLAGS'
34081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34086 cat >>confdefs.h
<<_ACEOF
34087 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34093 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34097 ac_cpp
='$CXXCPP $CPPFLAGS'
34098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34103 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34104 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34105 if test "${wx_cv_func_backtrace+set}" = set; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34109 cat >conftest.
$ac_ext <<_ACEOF
34112 cat confdefs.h
>>conftest.
$ac_ext
34113 cat >>conftest.
$ac_ext <<_ACEOF
34114 /* end confdefs.h. */
34115 #include <execinfo.h>
34123 backtrace(trace, 1);
34124 messages = backtrace_symbols(trace, 1);
34130 rm -f conftest.
$ac_objext
34131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34132 (eval $ac_compile) 2>conftest.er1
34134 grep -v '^ *+' conftest.er1
>conftest.err
34136 cat conftest.err
>&5
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); } &&
34139 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34141 (eval $ac_try) 2>&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); }; } &&
34145 { ac_try
='test -s conftest.$ac_objext'
34146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34147 (eval $ac_try) 2>&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); }; }; then
34151 wx_cv_func_backtrace
=yes
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.
$ac_ext >&5
34156 wx_cv_func_backtrace
=no
34159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34163 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34164 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34167 if test "$wx_cv_func_backtrace" = "no"; then
34168 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34169 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34170 wxUSE_STACKWALKER
=no
34172 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34173 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34174 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34175 echo $ECHO_N "(cached) $ECHO_C" >&6
34178 cat >conftest.
$ac_ext <<_ACEOF
34181 cat confdefs.h
>>conftest.
$ac_ext
34182 cat >>conftest.
$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 #include <cxxabi.h>
34190 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34196 rm -f conftest.
$ac_objext conftest
$ac_exeext
34197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34198 (eval $ac_link) 2>conftest.er1
34200 grep -v '^ *+' conftest.er1
>conftest.err
34202 cat conftest.err
>&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } &&
34205 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34207 (eval $ac_try) 2>&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; } &&
34211 { ac_try
='test -s conftest$ac_exeext'
34212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34213 (eval $ac_try) 2>&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); }; }; then
34217 wx_cv_func_cxa_demangle
=yes
34219 echo "$as_me: failed program was:" >&5
34220 sed 's/^/| /' conftest.
$ac_ext >&5
34222 wx_cv_func_cxa_demangle
=no
34225 rm -f conftest.err conftest.
$ac_objext \
34226 conftest
$ac_exeext conftest.
$ac_ext
34230 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34231 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34233 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34234 cat >>confdefs.h
<<\_ACEOF
34235 #define HAVE_CXA_DEMANGLE 1
34242 ac_cpp
='$CPP $CPPFLAGS'
34243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34249 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34250 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34251 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34252 wxUSE_STACKWALKER
=no
34258 for ac_func
in mkstemp mktemp
34260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34261 echo "$as_me:$LINENO: checking for $ac_func" >&5
34262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34263 if eval "test \"\${$as_ac_var+set}\" = set"; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 cat >conftest.
$ac_ext <<_ACEOF
34269 cat confdefs.h
>>conftest.
$ac_ext
34270 cat >>conftest.
$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34274 #define $ac_func innocuous_$ac_func
34276 /* System header to define __stub macros and hopefully few prototypes,
34277 which can conflict with char $ac_func (); below.
34278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34279 <limits.h> exists even on freestanding compilers. */
34282 # include <limits.h>
34284 # include <assert.h>
34289 /* Override any gcc2 internal prototype to avoid an error. */
34294 /* We use char because int might match the return type of a gcc2
34295 builtin and then its argument prototype would still apply. */
34297 /* The GNU C library defines this for functions which it implements
34298 to always fail with ENOSYS. Some functions are actually named
34299 something starting with __ and the normal name is an alias. */
34300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34303 char (*f) () = $ac_func;
34312 return f != $ac_func;
34317 rm -f conftest.
$ac_objext conftest
$ac_exeext
34318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34319 (eval $ac_link) 2>conftest.er1
34321 grep -v '^ *+' conftest.er1
>conftest.err
34323 cat conftest.err
>&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } &&
34326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328 (eval $ac_try) 2>&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; } &&
34332 { ac_try
='test -s conftest$ac_exeext'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; }; then
34338 eval "$as_ac_var=yes"
34340 echo "$as_me: failed program was:" >&5
34341 sed 's/^/| /' conftest.
$ac_ext >&5
34343 eval "$as_ac_var=no"
34345 rm -f conftest.err conftest.
$ac_objext \
34346 conftest
$ac_exeext conftest.
$ac_ext
34348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34350 if test `eval echo '${'$as_ac_var'}'` = yes; then
34351 cat >>confdefs.h
<<_ACEOF
34352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34359 echo "$as_me:$LINENO: checking for statfs" >&5
34360 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34361 if test "${wx_cv_func_statfs+set}" = set; then
34362 echo $ECHO_N "(cached) $ECHO_C" >&6
34364 cat >conftest.
$ac_ext <<_ACEOF
34367 cat confdefs.h
>>conftest.
$ac_ext
34368 cat >>conftest.
$ac_ext <<_ACEOF
34369 /* end confdefs.h. */
34371 #if defined(__BSD__)
34372 #include <sys/param.h>
34373 #include <sys/mount.h>
34375 #include <sys/vfs.h>
34393 rm -f conftest.
$ac_objext
34394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34395 (eval $ac_compile) 2>conftest.er1
34397 grep -v '^ *+' conftest.er1
>conftest.err
34399 cat conftest.err
>&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } &&
34402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; } &&
34408 { ac_try
='test -s conftest.$ac_objext'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; }; then
34414 wx_cv_func_statfs
=yes
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.
$ac_ext >&5
34419 wx_cv_func_statfs
=no
34422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34425 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34426 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34428 if test "$wx_cv_func_statfs" = "yes"; then
34432 ac_cpp
='$CXXCPP $CPPFLAGS'
34433 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34434 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34435 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34437 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34438 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34439 if test "${wx_cv_func_statfs_decl+set}" = set; then
34440 echo $ECHO_N "(cached) $ECHO_C" >&6
34442 cat >conftest.
$ac_ext <<_ACEOF
34445 cat confdefs.h
>>conftest.
$ac_ext
34446 cat >>conftest.
$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34449 #if defined(__BSD__)
34450 #include <sys/param.h>
34451 #include <sys/mount.h>
34453 #include <sys/vfs.h>
34467 rm -f conftest.
$ac_objext
34468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34469 (eval $ac_compile) 2>conftest.er1
34471 grep -v '^ *+' conftest.er1
>conftest.err
34473 cat conftest.err
>&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } &&
34476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34478 (eval $ac_try) 2>&5
34480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481 (exit $ac_status); }; } &&
34482 { ac_try
='test -s conftest.$ac_objext'
34483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34484 (eval $ac_try) 2>&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); }; }; then
34488 wx_cv_func_statfs_decl
=yes
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.
$ac_ext >&5
34493 wx_cv_func_statfs_decl
=no
34496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34499 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34500 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34502 ac_cpp
='$CPP $CPPFLAGS'
34503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34508 if test "$wx_cv_func_statfs_decl" = "yes"; then
34509 cat >>confdefs.h
<<\_ACEOF
34510 #define HAVE_STATFS_DECL 1
34515 wx_cv_type_statvfs_t
="struct statfs"
34516 cat >>confdefs.h
<<\_ACEOF
34517 #define HAVE_STATFS 1
34521 echo "$as_me:$LINENO: checking for statvfs" >&5
34522 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34523 if test "${wx_cv_func_statvfs+set}" = set; then
34524 echo $ECHO_N "(cached) $ECHO_C" >&6
34526 cat >conftest.
$ac_ext <<_ACEOF
34529 cat confdefs.h
>>conftest.
$ac_ext
34530 cat >>conftest.
$ac_ext <<_ACEOF
34531 /* end confdefs.h. */
34533 #include <stddef.h>
34534 #include <sys/statvfs.h>
34540 statvfs("/", NULL);
34546 rm -f conftest.
$ac_objext
34547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34548 (eval $ac_compile) 2>conftest.er1
34550 grep -v '^ *+' conftest.er1
>conftest.err
34552 cat conftest.err
>&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); } &&
34555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557 (eval $ac_try) 2>&5
34559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560 (exit $ac_status); }; } &&
34561 { ac_try
='test -s conftest.$ac_objext'
34562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34563 (eval $ac_try) 2>&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); }; }; then
34567 wx_cv_func_statvfs
=yes
34569 echo "$as_me: failed program was:" >&5
34570 sed 's/^/| /' conftest.
$ac_ext >&5
34572 wx_cv_func_statvfs
=no
34575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34578 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34579 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34581 if test "$wx_cv_func_statvfs" = "yes"; then
34585 ac_cpp
='$CXXCPP $CPPFLAGS'
34586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34591 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34592 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34593 if test "${wx_cv_type_statvfs_t+set}" = set; then
34594 echo $ECHO_N "(cached) $ECHO_C" >&6
34596 cat >conftest.
$ac_ext <<_ACEOF
34599 cat confdefs.h
>>conftest.
$ac_ext
34600 cat >>conftest.
$ac_ext <<_ACEOF
34601 /* end confdefs.h. */
34603 #include <sys/statvfs.h>
34620 rm -f conftest.
$ac_objext
34621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34622 (eval $ac_compile) 2>conftest.er1
34624 grep -v '^ *+' conftest.er1
>conftest.err
34626 cat conftest.err
>&5
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); } &&
34629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34631 (eval $ac_try) 2>&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); }; } &&
34635 { ac_try
='test -s conftest.$ac_objext'
34636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637 (eval $ac_try) 2>&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); }; }; then
34641 wx_cv_type_statvfs_t
=statvfs_t
34643 echo "$as_me: failed program was:" >&5
34644 sed 's/^/| /' conftest.
$ac_ext >&5
34647 cat >conftest.
$ac_ext <<_ACEOF
34650 cat confdefs.h
>>conftest.
$ac_ext
34651 cat >>conftest.
$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34654 #include <sys/statvfs.h>
34671 rm -f conftest.
$ac_objext
34672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34673 (eval $ac_compile) 2>conftest.er1
34675 grep -v '^ *+' conftest.er1
>conftest.err
34677 cat conftest.err
>&5
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); } &&
34680 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34682 (eval $ac_try) 2>&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); }; } &&
34686 { ac_try
='test -s conftest.$ac_objext'
34687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34688 (eval $ac_try) 2>&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); }; }; then
34692 wx_cv_type_statvfs_t
="struct statvfs"
34694 echo "$as_me: failed program was:" >&5
34695 sed 's/^/| /' conftest.
$ac_ext >&5
34697 wx_cv_type_statvfs_t
="unknown"
34700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34707 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34708 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34711 ac_cpp
='$CPP $CPPFLAGS'
34712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34717 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34718 cat >>confdefs.h
<<\_ACEOF
34719 #define HAVE_STATVFS 1
34724 wx_cv_type_statvfs_t
="unknown"
34728 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34729 cat >>confdefs.h
<<_ACEOF
34730 #define WX_STATFS_T $wx_cv_type_statvfs_t
34734 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34735 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34738 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34741 for ac_func
in fcntl flock
34743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34744 echo "$as_me:$LINENO: checking for $ac_func" >&5
34745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34746 if eval "test \"\${$as_ac_var+set}\" = set"; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 cat >conftest.
$ac_ext <<_ACEOF
34752 cat confdefs.h
>>conftest.
$ac_ext
34753 cat >>conftest.
$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34757 #define $ac_func innocuous_$ac_func
34759 /* System header to define __stub macros and hopefully few prototypes,
34760 which can conflict with char $ac_func (); below.
34761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34762 <limits.h> exists even on freestanding compilers. */
34765 # include <limits.h>
34767 # include <assert.h>
34772 /* Override any gcc2 internal prototype to avoid an error. */
34777 /* We use char because int might match the return type of a gcc2
34778 builtin and then its argument prototype would still apply. */
34780 /* The GNU C library defines this for functions which it implements
34781 to always fail with ENOSYS. Some functions are actually named
34782 something starting with __ and the normal name is an alias. */
34783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34786 char (*f) () = $ac_func;
34795 return f != $ac_func;
34800 rm -f conftest.
$ac_objext conftest
$ac_exeext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34802 (eval $ac_link) 2>conftest.er1
34804 grep -v '^ *+' conftest.er1
>conftest.err
34806 cat conftest.err
>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; } &&
34815 { ac_try
='test -s conftest$ac_exeext'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; }; then
34821 eval "$as_ac_var=yes"
34823 echo "$as_me: failed program was:" >&5
34824 sed 's/^/| /' conftest.
$ac_ext >&5
34826 eval "$as_ac_var=no"
34828 rm -f conftest.err conftest.
$ac_objext \
34829 conftest
$ac_exeext conftest.
$ac_ext
34831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34833 if test `eval echo '${'$as_ac_var'}'` = yes; then
34834 cat >>confdefs.h
<<_ACEOF
34835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34842 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34843 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34844 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34845 wxUSE_SNGLINST_CHECKER
=no
34850 for ac_func
in timegm
34852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34853 echo "$as_me:$LINENO: checking for $ac_func" >&5
34854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34855 if eval "test \"\${$as_ac_var+set}\" = set"; then
34856 echo $ECHO_N "(cached) $ECHO_C" >&6
34858 cat >conftest.
$ac_ext <<_ACEOF
34861 cat confdefs.h
>>conftest.
$ac_ext
34862 cat >>conftest.
$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34866 #define $ac_func innocuous_$ac_func
34868 /* System header to define __stub macros and hopefully few prototypes,
34869 which can conflict with char $ac_func (); below.
34870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34871 <limits.h> exists even on freestanding compilers. */
34874 # include <limits.h>
34876 # include <assert.h>
34881 /* Override any gcc2 internal prototype to avoid an error. */
34886 /* We use char because int might match the return type of a gcc2
34887 builtin and then its argument prototype would still apply. */
34889 /* The GNU C library defines this for functions which it implements
34890 to always fail with ENOSYS. Some functions are actually named
34891 something starting with __ and the normal name is an alias. */
34892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34895 char (*f) () = $ac_func;
34904 return f != $ac_func;
34909 rm -f conftest.
$ac_objext conftest
$ac_exeext
34910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34911 (eval $ac_link) 2>conftest.er1
34913 grep -v '^ *+' conftest.er1
>conftest.err
34915 cat conftest.err
>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } &&
34918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 (eval $ac_try) 2>&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); }; } &&
34924 { ac_try
='test -s conftest$ac_exeext'
34925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34926 (eval $ac_try) 2>&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); }; }; then
34930 eval "$as_ac_var=yes"
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.
$ac_ext >&5
34935 eval "$as_ac_var=no"
34937 rm -f conftest.err conftest.
$ac_objext \
34938 conftest
$ac_exeext conftest.
$ac_ext
34940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34942 if test `eval echo '${'$as_ac_var'}'` = yes; then
34943 cat >>confdefs.h
<<_ACEOF
34944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34953 for ac_func
in putenv setenv
34955 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34956 echo "$as_me:$LINENO: checking for $ac_func" >&5
34957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34958 if eval "test \"\${$as_ac_var+set}\" = set"; then
34959 echo $ECHO_N "(cached) $ECHO_C" >&6
34961 cat >conftest.
$ac_ext <<_ACEOF
34964 cat confdefs.h
>>conftest.
$ac_ext
34965 cat >>conftest.
$ac_ext <<_ACEOF
34966 /* end confdefs.h. */
34967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34969 #define $ac_func innocuous_$ac_func
34971 /* System header to define __stub macros and hopefully few prototypes,
34972 which can conflict with char $ac_func (); below.
34973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34974 <limits.h> exists even on freestanding compilers. */
34977 # include <limits.h>
34979 # include <assert.h>
34984 /* Override any gcc2 internal prototype to avoid an error. */
34989 /* We use char because int might match the return type of a gcc2
34990 builtin and then its argument prototype would still apply. */
34992 /* The GNU C library defines this for functions which it implements
34993 to always fail with ENOSYS. Some functions are actually named
34994 something starting with __ and the normal name is an alias. */
34995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34998 char (*f) () = $ac_func;
35007 return f != $ac_func;
35012 rm -f conftest.
$ac_objext conftest
$ac_exeext
35013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35014 (eval $ac_link) 2>conftest.er1
35016 grep -v '^ *+' conftest.er1
>conftest.err
35018 cat conftest.err
>&5
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); } &&
35021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35023 (eval $ac_try) 2>&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); }; } &&
35027 { ac_try
='test -s conftest$ac_exeext'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; }; then
35033 eval "$as_ac_var=yes"
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.
$ac_ext >&5
35038 eval "$as_ac_var=no"
35040 rm -f conftest.err conftest.
$ac_objext \
35041 conftest
$ac_exeext conftest.
$ac_ext
35043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35045 if test `eval echo '${'$as_ac_var'}'` = yes; then
35046 cat >>confdefs.h
<<_ACEOF
35047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35054 HAVE_SOME_SLEEP_FUNC
=0
35055 if test "$USE_BEOS" = 1; then
35056 cat >>confdefs.h
<<\_ACEOF
35057 #define HAVE_SLEEP 1
35060 HAVE_SOME_SLEEP_FUNC
=1
35063 if test "$USE_DARWIN" = 1; then
35064 cat >>confdefs.h
<<\_ACEOF
35065 #define HAVE_USLEEP 1
35068 HAVE_SOME_SLEEP_FUNC
=1
35071 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35074 for ac_func
in nanosleep
35076 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35077 echo "$as_me:$LINENO: checking for $ac_func" >&5
35078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35079 if eval "test \"\${$as_ac_var+set}\" = set"; then
35080 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 cat >conftest.
$ac_ext <<_ACEOF
35085 cat confdefs.h
>>conftest.
$ac_ext
35086 cat >>conftest.
$ac_ext <<_ACEOF
35087 /* end confdefs.h. */
35088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35090 #define $ac_func innocuous_$ac_func
35092 /* System header to define __stub macros and hopefully few prototypes,
35093 which can conflict with char $ac_func (); below.
35094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35095 <limits.h> exists even on freestanding compilers. */
35098 # include <limits.h>
35100 # include <assert.h>
35105 /* Override any gcc2 internal prototype to avoid an error. */
35110 /* We use char because int might match the return type of a gcc2
35111 builtin and then its argument prototype would still apply. */
35113 /* The GNU C library defines this for functions which it implements
35114 to always fail with ENOSYS. Some functions are actually named
35115 something starting with __ and the normal name is an alias. */
35116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35119 char (*f) () = $ac_func;
35128 return f != $ac_func;
35133 rm -f conftest.
$ac_objext conftest
$ac_exeext
35134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35135 (eval $ac_link) 2>conftest.er1
35137 grep -v '^ *+' conftest.er1
>conftest.err
35139 cat conftest.err
>&5
35140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35141 (exit $ac_status); } &&
35142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35144 (eval $ac_try) 2>&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); }; } &&
35148 { ac_try
='test -s conftest$ac_exeext'
35149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35150 (eval $ac_try) 2>&5
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); }; }; then
35154 eval "$as_ac_var=yes"
35156 echo "$as_me: failed program was:" >&5
35157 sed 's/^/| /' conftest.
$ac_ext >&5
35159 eval "$as_ac_var=no"
35161 rm -f conftest.err conftest.
$ac_objext \
35162 conftest
$ac_exeext conftest.
$ac_ext
35164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35166 if test `eval echo '${'$as_ac_var'}'` = yes; then
35167 cat >>confdefs.h
<<_ACEOF
35168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35170 cat >>confdefs.h
<<\_ACEOF
35171 #define HAVE_NANOSLEEP 1
35176 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35177 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35178 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35179 echo $ECHO_N "(cached) $ECHO_C" >&6
35181 ac_check_lib_save_LIBS
=$LIBS
35182 LIBS
="-lposix4 $LIBS"
35183 cat >conftest.
$ac_ext <<_ACEOF
35186 cat confdefs.h
>>conftest.
$ac_ext
35187 cat >>conftest.
$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35190 /* Override any gcc2 internal prototype to avoid an error. */
35194 /* We use char because int might match the return type of a gcc2
35195 builtin and then its argument prototype would still apply. */
35205 rm -f conftest.
$ac_objext conftest
$ac_exeext
35206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35207 (eval $ac_link) 2>conftest.er1
35209 grep -v '^ *+' conftest.er1
>conftest.err
35211 cat conftest.err
>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } &&
35214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; } &&
35220 { ac_try
='test -s conftest$ac_exeext'
35221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35222 (eval $ac_try) 2>&5
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; }; then
35226 ac_cv_lib_posix4_nanosleep
=yes
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.
$ac_ext >&5
35231 ac_cv_lib_posix4_nanosleep
=no
35233 rm -f conftest.err conftest.
$ac_objext \
35234 conftest
$ac_exeext conftest.
$ac_ext
35235 LIBS
=$ac_check_lib_save_LIBS
35237 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35238 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35239 if test $ac_cv_lib_posix4_nanosleep = yes; then
35241 cat >>confdefs.h
<<\_ACEOF
35242 #define HAVE_NANOSLEEP 1
35245 POSIX4_LINK
=" -lposix4"
35250 for ac_func
in usleep
35252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35253 echo "$as_me:$LINENO: checking for $ac_func" >&5
35254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35255 if eval "test \"\${$as_ac_var+set}\" = set"; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35258 cat >conftest.
$ac_ext <<_ACEOF
35261 cat confdefs.h
>>conftest.
$ac_ext
35262 cat >>conftest.
$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35266 #define $ac_func innocuous_$ac_func
35268 /* System header to define __stub macros and hopefully few prototypes,
35269 which can conflict with char $ac_func (); below.
35270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35271 <limits.h> exists even on freestanding compilers. */
35274 # include <limits.h>
35276 # include <assert.h>
35281 /* Override any gcc2 internal prototype to avoid an error. */
35286 /* We use char because int might match the return type of a gcc2
35287 builtin and then its argument prototype would still apply. */
35289 /* The GNU C library defines this for functions which it implements
35290 to always fail with ENOSYS. Some functions are actually named
35291 something starting with __ and the normal name is an alias. */
35292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35295 char (*f) () = $ac_func;
35304 return f != $ac_func;
35309 rm -f conftest.
$ac_objext conftest
$ac_exeext
35310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35311 (eval $ac_link) 2>conftest.er1
35313 grep -v '^ *+' conftest.er1
>conftest.err
35315 cat conftest.err
>&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } &&
35318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; } &&
35324 { ac_try
='test -s conftest$ac_exeext'
35325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35326 (eval $ac_try) 2>&5
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); }; }; then
35330 eval "$as_ac_var=yes"
35332 echo "$as_me: failed program was:" >&5
35333 sed 's/^/| /' conftest.
$ac_ext >&5
35335 eval "$as_ac_var=no"
35337 rm -f conftest.err conftest.
$ac_objext \
35338 conftest
$ac_exeext conftest.
$ac_ext
35340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35342 if test `eval echo '${'$as_ac_var'}'` = yes; then
35343 cat >>confdefs.h
<<_ACEOF
35344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35346 cat >>confdefs.h
<<\_ACEOF
35347 #define HAVE_USLEEP 1
35351 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35352 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35370 for ac_func
in uname gethostname
35372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35373 echo "$as_me:$LINENO: checking for $ac_func" >&5
35374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35375 if eval "test \"\${$as_ac_var+set}\" = set"; then
35376 echo $ECHO_N "(cached) $ECHO_C" >&6
35378 cat >conftest.
$ac_ext <<_ACEOF
35381 cat confdefs.h
>>conftest.
$ac_ext
35382 cat >>conftest.
$ac_ext <<_ACEOF
35383 /* end confdefs.h. */
35384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35386 #define $ac_func innocuous_$ac_func
35388 /* System header to define __stub macros and hopefully few prototypes,
35389 which can conflict with char $ac_func (); below.
35390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35391 <limits.h> exists even on freestanding compilers. */
35394 # include <limits.h>
35396 # include <assert.h>
35401 /* Override any gcc2 internal prototype to avoid an error. */
35406 /* We use char because int might match the return type of a gcc2
35407 builtin and then its argument prototype would still apply. */
35409 /* The GNU C library defines this for functions which it implements
35410 to always fail with ENOSYS. Some functions are actually named
35411 something starting with __ and the normal name is an alias. */
35412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35415 char (*f) () = $ac_func;
35424 return f != $ac_func;
35429 rm -f conftest.
$ac_objext conftest
$ac_exeext
35430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35431 (eval $ac_link) 2>conftest.er1
35433 grep -v '^ *+' conftest.er1
>conftest.err
35435 cat conftest.err
>&5
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); } &&
35438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35440 (eval $ac_try) 2>&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); }; } &&
35444 { ac_try
='test -s conftest$ac_exeext'
35445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35446 (eval $ac_try) 2>&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); }; }; then
35450 eval "$as_ac_var=yes"
35452 echo "$as_me: failed program was:" >&5
35453 sed 's/^/| /' conftest.
$ac_ext >&5
35455 eval "$as_ac_var=no"
35457 rm -f conftest.err conftest.
$ac_objext \
35458 conftest
$ac_exeext conftest.
$ac_ext
35460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35462 if test `eval echo '${'$as_ac_var'}'` = yes; then
35463 cat >>confdefs.h
<<_ACEOF
35464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35474 ac_cpp
='$CXXCPP $CPPFLAGS'
35475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35481 for ac_func
in strtok_r
35483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35484 echo "$as_me:$LINENO: checking for $ac_func" >&5
35485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35486 if eval "test \"\${$as_ac_var+set}\" = set"; then
35487 echo $ECHO_N "(cached) $ECHO_C" >&6
35489 cat >conftest.
$ac_ext <<_ACEOF
35492 cat confdefs.h
>>conftest.
$ac_ext
35493 cat >>conftest.
$ac_ext <<_ACEOF
35494 /* end confdefs.h. */
35495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35497 #define $ac_func innocuous_$ac_func
35499 /* System header to define __stub macros and hopefully few prototypes,
35500 which can conflict with char $ac_func (); below.
35501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35502 <limits.h> exists even on freestanding compilers. */
35505 # include <limits.h>
35507 # include <assert.h>
35512 /* Override any gcc2 internal prototype to avoid an error. */
35517 /* We use char because int might match the return type of a gcc2
35518 builtin and then its argument prototype would still apply. */
35520 /* The GNU C library defines this for functions which it implements
35521 to always fail with ENOSYS. Some functions are actually named
35522 something starting with __ and the normal name is an alias. */
35523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35526 char (*f) () = $ac_func;
35535 return f != $ac_func;
35540 rm -f conftest.
$ac_objext conftest
$ac_exeext
35541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35542 (eval $ac_link) 2>conftest.er1
35544 grep -v '^ *+' conftest.er1
>conftest.err
35546 cat conftest.err
>&5
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); } &&
35549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35551 (eval $ac_try) 2>&5
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); }; } &&
35555 { ac_try
='test -s conftest$ac_exeext'
35556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35557 (eval $ac_try) 2>&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); }; }; then
35561 eval "$as_ac_var=yes"
35563 echo "$as_me: failed program was:" >&5
35564 sed 's/^/| /' conftest.
$ac_ext >&5
35566 eval "$as_ac_var=no"
35568 rm -f conftest.err conftest.
$ac_objext \
35569 conftest
$ac_exeext conftest.
$ac_ext
35571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35573 if test `eval echo '${'$as_ac_var'}'` = yes; then
35574 cat >>confdefs.h
<<_ACEOF
35575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35583 ac_cpp
='$CPP $CPPFLAGS'
35584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35591 for ac_func
in inet_addr
35593 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35594 echo "$as_me:$LINENO: checking for $ac_func" >&5
35595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35596 if eval "test \"\${$as_ac_var+set}\" = set"; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 cat >conftest.
$ac_ext <<_ACEOF
35602 cat confdefs.h
>>conftest.
$ac_ext
35603 cat >>conftest.
$ac_ext <<_ACEOF
35604 /* end confdefs.h. */
35605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35607 #define $ac_func innocuous_$ac_func
35609 /* System header to define __stub macros and hopefully few prototypes,
35610 which can conflict with char $ac_func (); below.
35611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35612 <limits.h> exists even on freestanding compilers. */
35615 # include <limits.h>
35617 # include <assert.h>
35622 /* Override any gcc2 internal prototype to avoid an error. */
35627 /* We use char because int might match the return type of a gcc2
35628 builtin and then its argument prototype would still apply. */
35630 /* The GNU C library defines this for functions which it implements
35631 to always fail with ENOSYS. Some functions are actually named
35632 something starting with __ and the normal name is an alias. */
35633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35636 char (*f) () = $ac_func;
35645 return f != $ac_func;
35650 rm -f conftest.
$ac_objext conftest
$ac_exeext
35651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35652 (eval $ac_link) 2>conftest.er1
35654 grep -v '^ *+' conftest.er1
>conftest.err
35656 cat conftest.err
>&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); } &&
35659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35661 (eval $ac_try) 2>&5
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); }; } &&
35665 { ac_try
='test -s conftest$ac_exeext'
35666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35667 (eval $ac_try) 2>&5
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); }; }; then
35671 eval "$as_ac_var=yes"
35673 echo "$as_me: failed program was:" >&5
35674 sed 's/^/| /' conftest.
$ac_ext >&5
35676 eval "$as_ac_var=no"
35678 rm -f conftest.err conftest.
$ac_objext \
35679 conftest
$ac_exeext conftest.
$ac_ext
35681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35683 if test `eval echo '${'$as_ac_var'}'` = yes; then
35684 cat >>confdefs.h
<<_ACEOF
35685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35687 cat >>confdefs.h
<<\_ACEOF
35688 #define HAVE_INET_ADDR 1
35693 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35694 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35695 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35696 echo $ECHO_N "(cached) $ECHO_C" >&6
35698 ac_check_lib_save_LIBS
=$LIBS
35700 cat >conftest.
$ac_ext <<_ACEOF
35703 cat confdefs.h
>>conftest.
$ac_ext
35704 cat >>conftest.
$ac_ext <<_ACEOF
35705 /* end confdefs.h. */
35707 /* Override any gcc2 internal prototype to avoid an error. */
35711 /* We use char because int might match the return type of a gcc2
35712 builtin and then its argument prototype would still apply. */
35722 rm -f conftest.
$ac_objext conftest
$ac_exeext
35723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35724 (eval $ac_link) 2>conftest.er1
35726 grep -v '^ *+' conftest.er1
>conftest.err
35728 cat conftest.err
>&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); } &&
35731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35733 (eval $ac_try) 2>&5
35735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35736 (exit $ac_status); }; } &&
35737 { ac_try
='test -s conftest$ac_exeext'
35738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35739 (eval $ac_try) 2>&5
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); }; }; then
35743 ac_cv_lib_nsl_inet_addr
=yes
35745 echo "$as_me: failed program was:" >&5
35746 sed 's/^/| /' conftest.
$ac_ext >&5
35748 ac_cv_lib_nsl_inet_addr
=no
35750 rm -f conftest.err conftest.
$ac_objext \
35751 conftest
$ac_exeext conftest.
$ac_ext
35752 LIBS
=$ac_check_lib_save_LIBS
35754 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35755 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35756 if test $ac_cv_lib_nsl_inet_addr = yes; then
35760 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35761 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35762 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35763 echo $ECHO_N "(cached) $ECHO_C" >&6
35765 ac_check_lib_save_LIBS
=$LIBS
35766 LIBS
="-lresolv $LIBS"
35767 cat >conftest.
$ac_ext <<_ACEOF
35770 cat confdefs.h
>>conftest.
$ac_ext
35771 cat >>conftest.
$ac_ext <<_ACEOF
35772 /* end confdefs.h. */
35774 /* Override any gcc2 internal prototype to avoid an error. */
35778 /* We use char because int might match the return type of a gcc2
35779 builtin and then its argument prototype would still apply. */
35789 rm -f conftest.
$ac_objext conftest
$ac_exeext
35790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35791 (eval $ac_link) 2>conftest.er1
35793 grep -v '^ *+' conftest.er1
>conftest.err
35795 cat conftest.err
>&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); } &&
35798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35800 (eval $ac_try) 2>&5
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); }; } &&
35804 { ac_try
='test -s conftest$ac_exeext'
35805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35806 (eval $ac_try) 2>&5
35808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35809 (exit $ac_status); }; }; then
35810 ac_cv_lib_resolv_inet_addr
=yes
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.
$ac_ext >&5
35815 ac_cv_lib_resolv_inet_addr
=no
35817 rm -f conftest.err conftest.
$ac_objext \
35818 conftest
$ac_exeext conftest.
$ac_ext
35819 LIBS
=$ac_check_lib_save_LIBS
35821 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35822 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35823 if test $ac_cv_lib_resolv_inet_addr = yes; then
35827 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35828 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35829 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 ac_check_lib_save_LIBS
=$LIBS
35833 LIBS
="-lsocket $LIBS"
35834 cat >conftest.
$ac_ext <<_ACEOF
35837 cat confdefs.h
>>conftest.
$ac_ext
35838 cat >>conftest.
$ac_ext <<_ACEOF
35839 /* end confdefs.h. */
35841 /* 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. */
35856 rm -f conftest.
$ac_objext conftest
$ac_exeext
35857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35858 (eval $ac_link) 2>conftest.er1
35860 grep -v '^ *+' conftest.er1
>conftest.err
35862 cat conftest.err
>&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } &&
35865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35867 (eval $ac_try) 2>&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); }; } &&
35871 { ac_try
='test -s conftest$ac_exeext'
35872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35873 (eval $ac_try) 2>&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); }; }; then
35877 ac_cv_lib_socket_inet_addr
=yes
35879 echo "$as_me: failed program was:" >&5
35880 sed 's/^/| /' conftest.
$ac_ext >&5
35882 ac_cv_lib_socket_inet_addr
=no
35884 rm -f conftest.err conftest.
$ac_objext \
35885 conftest
$ac_exeext conftest.
$ac_ext
35886 LIBS
=$ac_check_lib_save_LIBS
35888 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35889 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35890 if test $ac_cv_lib_socket_inet_addr = yes; then
35910 for ac_func
in inet_aton
35912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35913 echo "$as_me:$LINENO: checking for $ac_func" >&5
35914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35915 if eval "test \"\${$as_ac_var+set}\" = set"; then
35916 echo $ECHO_N "(cached) $ECHO_C" >&6
35918 cat >conftest.
$ac_ext <<_ACEOF
35921 cat confdefs.h
>>conftest.
$ac_ext
35922 cat >>conftest.
$ac_ext <<_ACEOF
35923 /* end confdefs.h. */
35924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35926 #define $ac_func innocuous_$ac_func
35928 /* System header to define __stub macros and hopefully few prototypes,
35929 which can conflict with char $ac_func (); below.
35930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35931 <limits.h> exists even on freestanding compilers. */
35934 # include <limits.h>
35936 # include <assert.h>
35941 /* Override any gcc2 internal prototype to avoid an error. */
35946 /* We use char because int might match the return type of a gcc2
35947 builtin and then its argument prototype would still apply. */
35949 /* The GNU C library defines this for functions which it implements
35950 to always fail with ENOSYS. Some functions are actually named
35951 something starting with __ and the normal name is an alias. */
35952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35955 char (*f) () = $ac_func;
35964 return f != $ac_func;
35969 rm -f conftest.
$ac_objext conftest
$ac_exeext
35970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35971 (eval $ac_link) 2>conftest.er1
35973 grep -v '^ *+' conftest.er1
>conftest.err
35975 cat conftest.err
>&5
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); } &&
35978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35980 (eval $ac_try) 2>&5
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); }; } &&
35984 { ac_try
='test -s conftest$ac_exeext'
35985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35986 (eval $ac_try) 2>&5
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); }; }; then
35990 eval "$as_ac_var=yes"
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.
$ac_ext >&5
35995 eval "$as_ac_var=no"
35997 rm -f conftest.err conftest.
$ac_objext \
35998 conftest
$ac_exeext conftest.
$ac_ext
36000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36002 if test `eval echo '${'$as_ac_var'}'` = yes; then
36003 cat >>confdefs.h
<<_ACEOF
36004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36006 cat >>confdefs.h
<<\_ACEOF
36007 #define HAVE_INET_ATON 1
36012 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36013 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36014 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36015 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36016 echo $ECHO_N "(cached) $ECHO_C" >&6
36018 ac_check_lib_save_LIBS
=$LIBS
36019 LIBS
="-l$INET_LINK $LIBS"
36020 cat >conftest.
$ac_ext <<_ACEOF
36023 cat confdefs.h
>>conftest.
$ac_ext
36024 cat >>conftest.
$ac_ext <<_ACEOF
36025 /* end confdefs.h. */
36027 /* Override any gcc2 internal prototype to avoid an error. */
36031 /* We use char because int might match the return type of a gcc2
36032 builtin and then its argument prototype would still apply. */
36042 rm -f conftest.
$ac_objext conftest
$ac_exeext
36043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36044 (eval $ac_link) 2>conftest.er1
36046 grep -v '^ *+' conftest.er1
>conftest.err
36048 cat conftest.err
>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); } &&
36051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; } &&
36057 { ac_try
='test -s conftest$ac_exeext'
36058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36059 (eval $ac_try) 2>&5
36061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36062 (exit $ac_status); }; }; then
36063 eval "$as_ac_Lib=yes"
36065 echo "$as_me: failed program was:" >&5
36066 sed 's/^/| /' conftest.
$ac_ext >&5
36068 eval "$as_ac_Lib=no"
36070 rm -f conftest.err conftest.
$ac_objext \
36071 conftest
$ac_exeext conftest.
$ac_ext
36072 LIBS
=$ac_check_lib_save_LIBS
36074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36075 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36076 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36077 cat >>confdefs.h
<<\_ACEOF
36078 #define HAVE_INET_ATON 1
36088 if test "x$INET_LINK" != "x"; then
36089 cat >>confdefs.h
<<\_ACEOF
36090 #define HAVE_INET_ADDR 1
36093 INET_LINK
=" -l$INET_LINK"
36101 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36102 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36103 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36104 echo $ECHO_N "(cached) $ECHO_C" >&6
36106 ac_check_lib_save_LIBS
=$LIBS
36108 cat >conftest.
$ac_ext <<_ACEOF
36111 cat confdefs.h
>>conftest.
$ac_ext
36112 cat >>conftest.
$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36115 /* Override any gcc2 internal prototype to avoid an error. */
36119 /* We use char because int might match the return type of a gcc2
36120 builtin and then its argument prototype would still apply. */
36130 rm -f conftest.
$ac_objext conftest
$ac_exeext
36131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36132 (eval $ac_link) 2>conftest.er1
36134 grep -v '^ *+' conftest.er1
>conftest.err
36136 cat conftest.err
>&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); } &&
36139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36141 (eval $ac_try) 2>&5
36143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 (exit $ac_status); }; } &&
36145 { ac_try
='test -s conftest$ac_exeext'
36146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36147 (eval $ac_try) 2>&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); }; }; then
36151 ac_cv_lib_esd_esd_close
=yes
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.
$ac_ext >&5
36156 ac_cv_lib_esd_esd_close
=no
36158 rm -f conftest.err conftest.
$ac_objext \
36159 conftest
$ac_exeext conftest.
$ac_ext
36160 LIBS
=$ac_check_lib_save_LIBS
36162 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36163 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36164 if test $ac_cv_lib_esd_esd_close = yes; then
36167 for ac_header
in esd.h
36169 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36171 echo "$as_me:$LINENO: checking for $ac_header" >&5
36172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36174 echo $ECHO_N "(cached) $ECHO_C" >&6
36176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36179 # Is the header compilable?
36180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36182 cat >conftest.
$ac_ext <<_ACEOF
36185 cat confdefs.h
>>conftest.
$ac_ext
36186 cat >>conftest.
$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188 $ac_includes_default
36189 #include <$ac_header>
36191 rm -f conftest.
$ac_objext
36192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36193 (eval $ac_compile) 2>conftest.er1
36195 grep -v '^ *+' conftest.er1
>conftest.err
36197 cat conftest.err
>&5
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); } &&
36200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36202 (eval $ac_try) 2>&5
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); }; } &&
36206 { ac_try
='test -s conftest.$ac_objext'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; }; then
36212 ac_header_compiler
=yes
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.
$ac_ext >&5
36217 ac_header_compiler
=no
36219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36221 echo "${ECHO_T}$ac_header_compiler" >&6
36223 # Is the header present?
36224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36226 cat >conftest.
$ac_ext <<_ACEOF
36229 cat confdefs.h
>>conftest.
$ac_ext
36230 cat >>conftest.
$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 #include <$ac_header>
36234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36235 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36237 grep -v '^ *+' conftest.er1
>conftest.err
36239 cat conftest.err
>&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } >/dev
/null
; then
36242 if test -s conftest.err
; then
36243 ac_cpp_err
=$ac_c_preproc_warn_flag
36244 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36251 if test -z "$ac_cpp_err"; then
36252 ac_header_preproc
=yes
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.
$ac_ext >&5
36257 ac_header_preproc
=no
36259 rm -f conftest.err conftest.
$ac_ext
36260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36261 echo "${ECHO_T}$ac_header_preproc" >&6
36263 # So? What about this header?
36264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36270 ac_header_preproc
=yes
36273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36277 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36279 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36280 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36283 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36287 ## ----------------------------------------- ##
36288 ## Report this to wx-dev@lists.wxwidgets.org ##
36289 ## ----------------------------------------- ##
36292 sed "s/^/$as_me: WARNING: /" >&2
36295 echo "$as_me:$LINENO: checking for $ac_header" >&5
36296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36300 eval "$as_ac_Header=\$ac_header_preproc"
36302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36307 cat >>confdefs.h
<<_ACEOF
36308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36311 EXTRALIBS_ESD
="-lesd"
36322 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36323 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36324 cat >conftest.
$ac_ext <<_ACEOF
36327 cat confdefs.h
>>conftest.
$ac_ext
36328 cat >>conftest.
$ac_ext <<_ACEOF
36329 /* end confdefs.h. */
36331 #include <linux/cdrom.h>
36334 #include <sys/cdio.h>
36340 struct cdrom_tocentry entry, old_entry;
36345 rm -f conftest.
$ac_objext
36346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36347 (eval $ac_compile) 2>conftest.er1
36349 grep -v '^ *+' conftest.er1
>conftest.err
36351 cat conftest.err
>&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); } &&
36354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; } &&
36360 { ac_try
='test -s conftest.$ac_objext'
36361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362 (eval $ac_try) 2>&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); }; }; then
36366 echo "$as_me:$LINENO: result: yes" >&5
36367 echo "${ECHO_T}yes" >&6
36368 cat >>confdefs.h
<<\_ACEOF
36369 #define HAVE_KNOWN_CDROM_INTERFACE 1
36373 echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.
$ac_ext >&5
36376 echo "$as_me:$LINENO: result: no" >&5
36377 echo "${ECHO_T}no" >&6
36379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36382 cat >confcache
<<\_ACEOF
36383 # This file is a shell script that caches the results of configure
36384 # tests run on this system so they can be shared between configure
36385 # scripts and configure runs, see configure's option --config-cache.
36386 # It is not useful on other systems. If it contains results you don't
36387 # want to keep, you may remove or edit it.
36389 # config.status only pays attention to the cache file if you give it
36390 # the --recheck option to rerun configure.
36392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36394 # following values.
36398 # The following way of writing the cache mishandles newlines in values,
36399 # but we know of no workaround that is simple, portable, and efficient.
36400 # So, don't put newlines in cache variables' values.
36401 # Ultrix sh set writes to stderr and can't be redirected directly,
36402 # and sets the high bit in the cache file unless we assign to the vars.
36405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36407 # `set' does not quote correctly, so add quotes (double-quote
36408 # substitution turns \\\\ into \\, and sed turns \\ into \).
36411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36414 # `set' quotes correctly as required by POSIX, so do not add quotes.
36416 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36425 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36427 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36428 if test -w $cache_file; then
36429 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36430 cat confcache
>$cache_file
36432 echo "not updating unwritable cache $cache_file"
36439 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36445 if test "$wxUSE_THREADS" = "yes" ; then
36446 if test "$USE_BEOS" = 1; then
36447 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36448 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36453 if test "$wxUSE_THREADS" = "yes" ; then
36456 THREAD_OPTS
="-pthread"
36458 *-*-solaris2* | *-*-sunos4* )
36459 if test "x$GCC" = "xyes"; then
36460 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36462 THREAD_OPTS
="-mt $THREAD_OPTS"
36466 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36468 *-*-darwin* | *-*-cygwin* )
36472 THREAD_OPTS
="pthreads"
36475 if test "x$GCC" = "xyes"; then
36476 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36484 if test "x$GCC" = "xyes"; then
36490 if test "x$GCC" != "xyes"; then
36491 THREAD_OPTS
="-Ethread"
36496 THREAD_OPTS
="$THREAD_OPTS pthread none"
36499 for flag
in $THREAD_OPTS; do
36502 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36503 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36507 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36508 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36509 THREADS_CFLAGS
="$flag"
36513 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36514 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36515 THREADS_LINK
="-l$flag"
36520 save_CFLAGS
="$CFLAGS"
36521 LIBS
="$THREADS_LINK $LIBS"
36522 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36524 cat >conftest.
$ac_ext <<_ACEOF
36527 cat confdefs.h
>>conftest.
$ac_ext
36528 cat >>conftest.
$ac_ext <<_ACEOF
36529 /* end confdefs.h. */
36530 #include <pthread.h>
36534 pthread_create(0,0,0,0);
36539 rm -f conftest.
$ac_objext conftest
$ac_exeext
36540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36541 (eval $ac_link) 2>conftest.er1
36543 grep -v '^ *+' conftest.er1
>conftest.err
36545 cat conftest.err
>&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } &&
36548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36550 (eval $ac_try) 2>&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); }; } &&
36554 { ac_try
='test -s conftest$ac_exeext'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; }; then
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.
$ac_ext >&5
36566 rm -f conftest.err conftest.
$ac_objext \
36567 conftest
$ac_exeext conftest.
$ac_ext
36570 CFLAGS
="$save_CFLAGS"
36572 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36573 echo "${ECHO_T}$THREADS_OK" >&6
36574 if test "x$THREADS_OK" = "xyes"; then
36582 if test "x$THREADS_OK" != "xyes"; then
36584 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36585 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36587 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36588 LIBS
="$THREADS_LINK $LIBS"
36590 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36591 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36595 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
36596 flag
="-D_THREAD_SAFE"
36599 flag
="-D_THREAD_SAFE"
36602 flag
="-D_REENTRANT"
36603 if test "x$GCC" != "xyes"; then
36604 flag
="$flag -D_RWSTD_MULTI_THREAD"
36607 *solaris
* | alpha
*-osf*)
36608 flag
="-D_REENTRANT"
36611 echo "$as_me:$LINENO: result: ${flag}" >&5
36612 echo "${ECHO_T}${flag}" >&6
36613 if test "x$flag" != xno
; then
36614 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
36617 if test "x$THREADS_CFLAGS" != "x"; then
36618 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
36619 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
36624 if test "$wxUSE_THREADS" = "yes" ; then
36626 for ac_func
in thr_setconcurrency
36628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36629 echo "$as_me:$LINENO: checking for $ac_func" >&5
36630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36631 if eval "test \"\${$as_ac_var+set}\" = set"; then
36632 echo $ECHO_N "(cached) $ECHO_C" >&6
36634 cat >conftest.
$ac_ext <<_ACEOF
36637 cat confdefs.h
>>conftest.
$ac_ext
36638 cat >>conftest.
$ac_ext <<_ACEOF
36639 /* end confdefs.h. */
36640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36642 #define $ac_func innocuous_$ac_func
36644 /* System header to define __stub macros and hopefully few prototypes,
36645 which can conflict with char $ac_func (); below.
36646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36647 <limits.h> exists even on freestanding compilers. */
36650 # include <limits.h>
36652 # include <assert.h>
36657 /* Override any gcc2 internal prototype to avoid an error. */
36662 /* We use char because int might match the return type of a gcc2
36663 builtin and then its argument prototype would still apply. */
36665 /* The GNU C library defines this for functions which it implements
36666 to always fail with ENOSYS. Some functions are actually named
36667 something starting with __ and the normal name is an alias. */
36668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36671 char (*f) () = $ac_func;
36680 return f != $ac_func;
36685 rm -f conftest.
$ac_objext conftest
$ac_exeext
36686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36687 (eval $ac_link) 2>conftest.er1
36689 grep -v '^ *+' conftest.er1
>conftest.err
36691 cat conftest.err
>&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } &&
36694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; } &&
36700 { ac_try
='test -s conftest$ac_exeext'
36701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36702 (eval $ac_try) 2>&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); }; }; then
36706 eval "$as_ac_var=yes"
36708 echo "$as_me: failed program was:" >&5
36709 sed 's/^/| /' conftest.
$ac_ext >&5
36711 eval "$as_ac_var=no"
36713 rm -f conftest.err conftest.
$ac_objext \
36714 conftest
$ac_exeext conftest.
$ac_ext
36716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36718 if test `eval echo '${'$as_ac_var'}'` = yes; then
36719 cat >>confdefs.h
<<_ACEOF
36720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36727 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36728 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36729 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36730 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 cat >conftest.
$ac_ext <<_ACEOF
36736 cat confdefs.h
>>conftest.
$ac_ext
36737 cat >>conftest.
$ac_ext <<_ACEOF
36738 /* end confdefs.h. */
36739 #include <pthread.h>
36740 void ThreadCleanupFunc(void *p);
36747 pthread_cleanup_push(ThreadCleanupFunc, p);
36748 pthread_cleanup_pop(0);
36754 rm -f conftest.
$ac_objext
36755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36756 (eval $ac_compile) 2>conftest.er1
36758 grep -v '^ *+' conftest.er1
>conftest.err
36760 cat conftest.err
>&5
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } &&
36763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36765 (eval $ac_try) 2>&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); }; } &&
36769 { ac_try
='test -s conftest.$ac_objext'
36770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36771 (eval $ac_try) 2>&5
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); }; }; then
36776 wx_cv_func_pthread_cleanup
=yes
36779 echo "$as_me: failed program was:" >&5
36780 sed 's/^/| /' conftest.
$ac_ext >&5
36783 wx_cv_func_pthread_cleanup
=no
36787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36790 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36791 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36792 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36793 cat >>confdefs.h
<<\_ACEOF
36794 #define wxHAVE_PTHREAD_CLEANUP 1
36800 for ac_header
in sched.h
36802 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36804 echo "$as_me:$LINENO: checking for $ac_header" >&5
36805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36807 echo $ECHO_N "(cached) $ECHO_C" >&6
36809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36812 # Is the header compilable?
36813 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36814 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36815 cat >conftest.
$ac_ext <<_ACEOF
36818 cat confdefs.h
>>conftest.
$ac_ext
36819 cat >>conftest.
$ac_ext <<_ACEOF
36820 /* end confdefs.h. */
36821 $ac_includes_default
36822 #include <$ac_header>
36824 rm -f conftest.
$ac_objext
36825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36826 (eval $ac_compile) 2>conftest.er1
36828 grep -v '^ *+' conftest.er1
>conftest.err
36830 cat conftest.err
>&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } &&
36833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36835 (eval $ac_try) 2>&5
36837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838 (exit $ac_status); }; } &&
36839 { ac_try
='test -s conftest.$ac_objext'
36840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841 (eval $ac_try) 2>&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); }; }; then
36845 ac_header_compiler
=yes
36847 echo "$as_me: failed program was:" >&5
36848 sed 's/^/| /' conftest.
$ac_ext >&5
36850 ac_header_compiler
=no
36852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36854 echo "${ECHO_T}$ac_header_compiler" >&6
36856 # Is the header present?
36857 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36859 cat >conftest.
$ac_ext <<_ACEOF
36862 cat confdefs.h
>>conftest.
$ac_ext
36863 cat >>conftest.
$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865 #include <$ac_header>
36867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36868 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36870 grep -v '^ *+' conftest.er1
>conftest.err
36872 cat conftest.err
>&5
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); } >/dev
/null
; then
36875 if test -s conftest.err
; then
36876 ac_cpp_err
=$ac_c_preproc_warn_flag
36877 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36884 if test -z "$ac_cpp_err"; then
36885 ac_header_preproc
=yes
36887 echo "$as_me: failed program was:" >&5
36888 sed 's/^/| /' conftest.
$ac_ext >&5
36890 ac_header_preproc
=no
36892 rm -f conftest.err conftest.
$ac_ext
36893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36894 echo "${ECHO_T}$ac_header_preproc" >&6
36896 # So? What about this header?
36897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36903 ac_header_preproc
=yes
36906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36920 ## ----------------------------------------- ##
36921 ## Report this to wx-dev@lists.wxwidgets.org ##
36922 ## ----------------------------------------- ##
36925 sed "s/^/$as_me: WARNING: /" >&2
36928 echo "$as_me:$LINENO: checking for $ac_header" >&5
36929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36931 echo $ECHO_N "(cached) $ECHO_C" >&6
36933 eval "$as_ac_Header=\$ac_header_preproc"
36935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36940 cat >>confdefs.h
<<_ACEOF
36941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36948 if test "$ac_cv_header_sched_h" = "yes"; then
36949 echo "$as_me:$LINENO: checking for sched_yield" >&5
36950 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36951 if test "${ac_cv_func_sched_yield+set}" = set; then
36952 echo $ECHO_N "(cached) $ECHO_C" >&6
36954 cat >conftest.
$ac_ext <<_ACEOF
36957 cat confdefs.h
>>conftest.
$ac_ext
36958 cat >>conftest.
$ac_ext <<_ACEOF
36959 /* end confdefs.h. */
36960 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36962 #define sched_yield innocuous_sched_yield
36964 /* System header to define __stub macros and hopefully few prototypes,
36965 which can conflict with char sched_yield (); below.
36966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36967 <limits.h> exists even on freestanding compilers. */
36970 # include <limits.h>
36972 # include <assert.h>
36977 /* Override any gcc2 internal prototype to avoid an error. */
36982 /* We use char because int might match the return type of a gcc2
36983 builtin and then its argument prototype would still apply. */
36984 char sched_yield ();
36985 /* The GNU C library defines this for functions which it implements
36986 to always fail with ENOSYS. Some functions are actually named
36987 something starting with __ and the normal name is an alias. */
36988 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36991 char (*f) () = sched_yield;
37000 return f != sched_yield;
37005 rm -f conftest.
$ac_objext conftest
$ac_exeext
37006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37007 (eval $ac_link) 2>conftest.er1
37009 grep -v '^ *+' conftest.er1
>conftest.err
37011 cat conftest.err
>&5
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); } &&
37014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37016 (eval $ac_try) 2>&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); }; } &&
37020 { ac_try
='test -s conftest$ac_exeext'
37021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37022 (eval $ac_try) 2>&5
37024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37025 (exit $ac_status); }; }; then
37026 ac_cv_func_sched_yield
=yes
37028 echo "$as_me: failed program was:" >&5
37029 sed 's/^/| /' conftest.
$ac_ext >&5
37031 ac_cv_func_sched_yield
=no
37033 rm -f conftest.err conftest.
$ac_objext \
37034 conftest
$ac_exeext conftest.
$ac_ext
37036 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37037 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37038 if test $ac_cv_func_sched_yield = yes; then
37039 cat >>confdefs.h
<<\_ACEOF
37040 #define HAVE_SCHED_YIELD 1
37045 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37046 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37047 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37048 echo $ECHO_N "(cached) $ECHO_C" >&6
37050 ac_check_lib_save_LIBS
=$LIBS
37051 LIBS
="-lposix4 $LIBS"
37052 cat >conftest.
$ac_ext <<_ACEOF
37055 cat confdefs.h
>>conftest.
$ac_ext
37056 cat >>conftest.
$ac_ext <<_ACEOF
37057 /* end confdefs.h. */
37059 /* Override any gcc2 internal prototype to avoid an error. */
37063 /* We use char because int might match the return type of a gcc2
37064 builtin and then its argument prototype would still apply. */
37065 char sched_yield ();
37074 rm -f conftest.
$ac_objext conftest
$ac_exeext
37075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37076 (eval $ac_link) 2>conftest.er1
37078 grep -v '^ *+' conftest.er1
>conftest.err
37080 cat conftest.err
>&5
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); } &&
37083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37085 (eval $ac_try) 2>&5
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); }; } &&
37089 { ac_try
='test -s conftest$ac_exeext'
37090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37091 (eval $ac_try) 2>&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); }; }; then
37095 ac_cv_lib_posix4_sched_yield
=yes
37097 echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.
$ac_ext >&5
37100 ac_cv_lib_posix4_sched_yield
=no
37102 rm -f conftest.err conftest.
$ac_objext \
37103 conftest
$ac_exeext conftest.
$ac_ext
37104 LIBS
=$ac_check_lib_save_LIBS
37106 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37107 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37108 if test $ac_cv_lib_posix4_sched_yield = yes; then
37109 cat >>confdefs.h
<<\_ACEOF
37110 #define HAVE_SCHED_YIELD 1
37112 POSIX4_LINK
=" -lposix4"
37114 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37115 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37126 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37127 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37128 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37129 echo $ECHO_N "(cached) $ECHO_C" >&6
37131 cat >conftest.
$ac_ext <<_ACEOF
37134 cat confdefs.h
>>conftest.
$ac_ext
37135 cat >>conftest.
$ac_ext <<_ACEOF
37136 /* end confdefs.h. */
37137 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37139 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37141 /* System header to define __stub macros and hopefully few prototypes,
37142 which can conflict with char pthread_attr_getschedpolicy (); below.
37143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37144 <limits.h> exists even on freestanding compilers. */
37147 # include <limits.h>
37149 # include <assert.h>
37152 #undef pthread_attr_getschedpolicy
37154 /* Override any gcc2 internal prototype to avoid an error. */
37159 /* We use char because int might match the return type of a gcc2
37160 builtin and then its argument prototype would still apply. */
37161 char pthread_attr_getschedpolicy ();
37162 /* The GNU C library defines this for functions which it implements
37163 to always fail with ENOSYS. Some functions are actually named
37164 something starting with __ and the normal name is an alias. */
37165 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37168 char (*f) () = pthread_attr_getschedpolicy;
37177 return f != pthread_attr_getschedpolicy;
37182 rm -f conftest.
$ac_objext conftest
$ac_exeext
37183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37184 (eval $ac_link) 2>conftest.er1
37186 grep -v '^ *+' conftest.er1
>conftest.err
37188 cat conftest.err
>&5
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); } &&
37191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37193 (eval $ac_try) 2>&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); }; } &&
37197 { ac_try
='test -s conftest$ac_exeext'
37198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37199 (eval $ac_try) 2>&5
37201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37202 (exit $ac_status); }; }; then
37203 ac_cv_func_pthread_attr_getschedpolicy
=yes
37205 echo "$as_me: failed program was:" >&5
37206 sed 's/^/| /' conftest.
$ac_ext >&5
37208 ac_cv_func_pthread_attr_getschedpolicy
=no
37210 rm -f conftest.err conftest.
$ac_objext \
37211 conftest
$ac_exeext conftest.
$ac_ext
37213 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37214 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37215 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37216 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37217 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37218 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37219 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 cat >conftest.
$ac_ext <<_ACEOF
37224 cat confdefs.h
>>conftest.
$ac_ext
37225 cat >>conftest.
$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37227 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37229 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37231 /* System header to define __stub macros and hopefully few prototypes,
37232 which can conflict with char pthread_attr_setschedparam (); below.
37233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37234 <limits.h> exists even on freestanding compilers. */
37237 # include <limits.h>
37239 # include <assert.h>
37242 #undef pthread_attr_setschedparam
37244 /* Override any gcc2 internal prototype to avoid an error. */
37249 /* We use char because int might match the return type of a gcc2
37250 builtin and then its argument prototype would still apply. */
37251 char pthread_attr_setschedparam ();
37252 /* The GNU C library defines this for functions which it implements
37253 to always fail with ENOSYS. Some functions are actually named
37254 something starting with __ and the normal name is an alias. */
37255 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37258 char (*f) () = pthread_attr_setschedparam;
37267 return f != pthread_attr_setschedparam;
37272 rm -f conftest.
$ac_objext conftest
$ac_exeext
37273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37274 (eval $ac_link) 2>conftest.er1
37276 grep -v '^ *+' conftest.er1
>conftest.err
37278 cat conftest.err
>&5
37279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37280 (exit $ac_status); } &&
37281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37283 (eval $ac_try) 2>&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); }; } &&
37287 { ac_try
='test -s conftest$ac_exeext'
37288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37289 (eval $ac_try) 2>&5
37291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37292 (exit $ac_status); }; }; then
37293 ac_cv_func_pthread_attr_setschedparam
=yes
37295 echo "$as_me: failed program was:" >&5
37296 sed 's/^/| /' conftest.
$ac_ext >&5
37298 ac_cv_func_pthread_attr_setschedparam
=no
37300 rm -f conftest.err conftest.
$ac_objext \
37301 conftest
$ac_exeext conftest.
$ac_ext
37303 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37304 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37305 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37306 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37307 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37308 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37309 echo $ECHO_N "(cached) $ECHO_C" >&6
37311 cat >conftest.
$ac_ext <<_ACEOF
37314 cat confdefs.h
>>conftest.
$ac_ext
37315 cat >>conftest.
$ac_ext <<_ACEOF
37316 /* end confdefs.h. */
37317 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37319 #define sched_get_priority_max innocuous_sched_get_priority_max
37321 /* System header to define __stub macros and hopefully few prototypes,
37322 which can conflict with char sched_get_priority_max (); below.
37323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37324 <limits.h> exists even on freestanding compilers. */
37327 # include <limits.h>
37329 # include <assert.h>
37332 #undef sched_get_priority_max
37334 /* Override any gcc2 internal prototype to avoid an error. */
37339 /* We use char because int might match the return type of a gcc2
37340 builtin and then its argument prototype would still apply. */
37341 char sched_get_priority_max ();
37342 /* The GNU C library defines this for functions which it implements
37343 to always fail with ENOSYS. Some functions are actually named
37344 something starting with __ and the normal name is an alias. */
37345 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37348 char (*f) () = sched_get_priority_max;
37357 return f != sched_get_priority_max;
37362 rm -f conftest.
$ac_objext conftest
$ac_exeext
37363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37364 (eval $ac_link) 2>conftest.er1
37366 grep -v '^ *+' conftest.er1
>conftest.err
37368 cat conftest.err
>&5
37369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37370 (exit $ac_status); } &&
37371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37373 (eval $ac_try) 2>&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); }; } &&
37377 { ac_try
='test -s conftest$ac_exeext'
37378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37379 (eval $ac_try) 2>&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); }; }; then
37383 ac_cv_func_sched_get_priority_max
=yes
37385 echo "$as_me: failed program was:" >&5
37386 sed 's/^/| /' conftest.
$ac_ext >&5
37388 ac_cv_func_sched_get_priority_max
=no
37390 rm -f conftest.err conftest.
$ac_objext \
37391 conftest
$ac_exeext conftest.
$ac_ext
37393 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37394 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37395 if test $ac_cv_func_sched_get_priority_max = yes; then
37398 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37399 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37400 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37401 echo $ECHO_N "(cached) $ECHO_C" >&6
37403 ac_check_lib_save_LIBS
=$LIBS
37404 LIBS
="-lposix4 $LIBS"
37405 cat >conftest.
$ac_ext <<_ACEOF
37408 cat confdefs.h
>>conftest.
$ac_ext
37409 cat >>conftest.
$ac_ext <<_ACEOF
37410 /* end confdefs.h. */
37412 /* Override any gcc2 internal prototype to avoid an error. */
37416 /* We use char because int might match the return type of a gcc2
37417 builtin and then its argument prototype would still apply. */
37418 char sched_get_priority_max ();
37422 sched_get_priority_max ();
37427 rm -f conftest.
$ac_objext conftest
$ac_exeext
37428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37429 (eval $ac_link) 2>conftest.er1
37431 grep -v '^ *+' conftest.er1
>conftest.err
37433 cat conftest.err
>&5
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); } &&
37436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37438 (eval $ac_try) 2>&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); }; } &&
37442 { ac_try
='test -s conftest$ac_exeext'
37443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37444 (eval $ac_try) 2>&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); }; }; then
37448 ac_cv_lib_posix4_sched_get_priority_max
=yes
37450 echo "$as_me: failed program was:" >&5
37451 sed 's/^/| /' conftest.
$ac_ext >&5
37453 ac_cv_lib_posix4_sched_get_priority_max
=no
37455 rm -f conftest.err conftest.
$ac_objext \
37456 conftest
$ac_exeext conftest.
$ac_ext
37457 LIBS
=$ac_check_lib_save_LIBS
37459 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37460 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37461 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37464 POSIX4_LINK
=" -lposix4"
37478 if test "$HAVE_PRIOR_FUNCS" = 1; then
37479 cat >>confdefs.h
<<\_ACEOF
37480 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37484 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37485 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37488 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37489 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37490 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37491 echo $ECHO_N "(cached) $ECHO_C" >&6
37493 cat >conftest.
$ac_ext <<_ACEOF
37496 cat confdefs.h
>>conftest.
$ac_ext
37497 cat >>conftest.
$ac_ext <<_ACEOF
37498 /* end confdefs.h. */
37499 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37501 #define pthread_cancel innocuous_pthread_cancel
37503 /* System header to define __stub macros and hopefully few prototypes,
37504 which can conflict with char pthread_cancel (); below.
37505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37506 <limits.h> exists even on freestanding compilers. */
37509 # include <limits.h>
37511 # include <assert.h>
37514 #undef pthread_cancel
37516 /* Override any gcc2 internal prototype to avoid an error. */
37521 /* We use char because int might match the return type of a gcc2
37522 builtin and then its argument prototype would still apply. */
37523 char pthread_cancel ();
37524 /* The GNU C library defines this for functions which it implements
37525 to always fail with ENOSYS. Some functions are actually named
37526 something starting with __ and the normal name is an alias. */
37527 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37530 char (*f) () = pthread_cancel;
37539 return f != pthread_cancel;
37544 rm -f conftest.
$ac_objext conftest
$ac_exeext
37545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37546 (eval $ac_link) 2>conftest.er1
37548 grep -v '^ *+' conftest.er1
>conftest.err
37550 cat conftest.err
>&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } &&
37553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; } &&
37559 { ac_try
='test -s conftest$ac_exeext'
37560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37561 (eval $ac_try) 2>&5
37563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37564 (exit $ac_status); }; }; then
37565 ac_cv_func_pthread_cancel
=yes
37567 echo "$as_me: failed program was:" >&5
37568 sed 's/^/| /' conftest.
$ac_ext >&5
37570 ac_cv_func_pthread_cancel
=no
37572 rm -f conftest.err conftest.
$ac_objext \
37573 conftest
$ac_exeext conftest.
$ac_ext
37575 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37576 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37577 if test $ac_cv_func_pthread_cancel = yes; then
37578 cat >>confdefs.h
<<\_ACEOF
37579 #define HAVE_PTHREAD_CANCEL 1
37583 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37584 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37588 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37589 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37590 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37591 echo $ECHO_N "(cached) $ECHO_C" >&6
37593 cat >conftest.
$ac_ext <<_ACEOF
37596 cat confdefs.h
>>conftest.
$ac_ext
37597 cat >>conftest.
$ac_ext <<_ACEOF
37598 /* end confdefs.h. */
37599 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37601 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37603 /* System header to define __stub macros and hopefully few prototypes,
37604 which can conflict with char pthread_attr_setstacksize (); below.
37605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37606 <limits.h> exists even on freestanding compilers. */
37609 # include <limits.h>
37611 # include <assert.h>
37614 #undef pthread_attr_setstacksize
37616 /* Override any gcc2 internal prototype to avoid an error. */
37621 /* We use char because int might match the return type of a gcc2
37622 builtin and then its argument prototype would still apply. */
37623 char pthread_attr_setstacksize ();
37624 /* The GNU C library defines this for functions which it implements
37625 to always fail with ENOSYS. Some functions are actually named
37626 something starting with __ and the normal name is an alias. */
37627 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37630 char (*f) () = pthread_attr_setstacksize;
37639 return f != pthread_attr_setstacksize;
37644 rm -f conftest.
$ac_objext conftest
$ac_exeext
37645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37646 (eval $ac_link) 2>conftest.er1
37648 grep -v '^ *+' conftest.er1
>conftest.err
37650 cat conftest.err
>&5
37651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37652 (exit $ac_status); } &&
37653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37655 (eval $ac_try) 2>&5
37657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37658 (exit $ac_status); }; } &&
37659 { ac_try
='test -s conftest$ac_exeext'
37660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37661 (eval $ac_try) 2>&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); }; }; then
37665 ac_cv_func_pthread_attr_setstacksize
=yes
37667 echo "$as_me: failed program was:" >&5
37668 sed 's/^/| /' conftest.
$ac_ext >&5
37670 ac_cv_func_pthread_attr_setstacksize
=no
37672 rm -f conftest.err conftest.
$ac_objext \
37673 conftest
$ac_exeext conftest.
$ac_ext
37675 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37676 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37677 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37678 cat >>confdefs.h
<<\_ACEOF
37679 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37686 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37687 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37688 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37689 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 cat >conftest.
$ac_ext <<_ACEOF
37695 cat confdefs.h
>>conftest.
$ac_ext
37696 cat >>conftest.
$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37698 #include <pthread.h>
37703 pthread_mutexattr_t attr;
37704 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37710 rm -f conftest.
$ac_objext
37711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37712 (eval $ac_compile) 2>conftest.er1
37714 grep -v '^ *+' conftest.er1
>conftest.err
37716 cat conftest.err
>&5
37717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37718 (exit $ac_status); } &&
37719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37721 (eval $ac_try) 2>&5
37723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724 (exit $ac_status); }; } &&
37725 { ac_try
='test -s conftest.$ac_objext'
37726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37727 (eval $ac_try) 2>&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); }; }; then
37731 wx_cv_type_pthread_mutexattr_t
=yes
37733 echo "$as_me: failed program was:" >&5
37734 sed 's/^/| /' conftest.
$ac_ext >&5
37736 wx_cv_type_pthread_mutexattr_t
=no
37739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37742 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37743 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37745 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37746 cat >>confdefs.h
<<\_ACEOF
37747 #define HAVE_PTHREAD_MUTEXATTR_T 1
37751 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37752 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37753 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37754 echo $ECHO_N "(cached) $ECHO_C" >&6
37757 cat >conftest.
$ac_ext <<_ACEOF
37760 cat confdefs.h
>>conftest.
$ac_ext
37761 cat >>conftest.
$ac_ext <<_ACEOF
37762 /* end confdefs.h. */
37763 #include <pthread.h>
37768 pthread_mutexattr_t attr;
37769 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37775 rm -f conftest.
$ac_objext
37776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37777 (eval $ac_compile) 2>conftest.er1
37779 grep -v '^ *+' conftest.er1
>conftest.err
37781 cat conftest.err
>&5
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); } &&
37784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37786 (eval $ac_try) 2>&5
37788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37789 (exit $ac_status); }; } &&
37790 { ac_try
='test -s conftest.$ac_objext'
37791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37792 (eval $ac_try) 2>&5
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); }; }; then
37796 wx_cv_func_pthread_mutexattr_settype_decl
=yes
37798 echo "$as_me: failed program was:" >&5
37799 sed 's/^/| /' conftest.
$ac_ext >&5
37801 wx_cv_func_pthread_mutexattr_settype_decl
=no
37804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37807 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37808 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37809 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37810 cat >>confdefs.h
<<\_ACEOF
37811 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37816 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37817 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37818 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37819 echo $ECHO_N "(cached) $ECHO_C" >&6
37822 cat >conftest.
$ac_ext <<_ACEOF
37825 cat confdefs.h
>>conftest.
$ac_ext
37826 cat >>conftest.
$ac_ext <<_ACEOF
37827 /* end confdefs.h. */
37828 #include <pthread.h>
37833 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37839 rm -f conftest.
$ac_objext
37840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37841 (eval $ac_compile) 2>conftest.er1
37843 grep -v '^ *+' conftest.er1
>conftest.err
37845 cat conftest.err
>&5
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); } &&
37848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850 (eval $ac_try) 2>&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); }; } &&
37854 { ac_try
='test -s conftest.$ac_objext'
37855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37856 (eval $ac_try) 2>&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); }; }; then
37861 wx_cv_type_pthread_rec_mutex_init
=yes
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.
$ac_ext >&5
37868 wx_cv_type_pthread_rec_mutex_init
=no
37872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37875 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37876 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37877 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37878 cat >>confdefs.h
<<\_ACEOF
37879 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37883 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37884 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37890 if test "$wxUSE_THREADS" = "yes" ; then
37893 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37894 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37895 if test "${wx_cv_cflags_mthread+set}" = set; then
37896 echo $ECHO_N "(cached) $ECHO_C" >&6
37899 CFLAGS_OLD
="$CFLAGS"
37900 CFLAGS
="$CFLAGS -mthreads"
37901 cat >conftest.
$ac_ext <<_ACEOF
37904 cat confdefs.h
>>conftest.
$ac_ext
37905 cat >>conftest.
$ac_ext <<_ACEOF
37906 /* end confdefs.h. */
37916 rm -f conftest.
$ac_objext
37917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37918 (eval $ac_compile) 2>conftest.er1
37920 grep -v '^ *+' conftest.er1
>conftest.err
37922 cat conftest.err
>&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); } &&
37925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; } &&
37931 { ac_try
='test -s conftest.$ac_objext'
37932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37933 (eval $ac_try) 2>&5
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); }; }; then
37937 wx_cv_cflags_mthread
=yes
37939 echo "$as_me: failed program was:" >&5
37940 sed 's/^/| /' conftest.
$ac_ext >&5
37942 wx_cv_cflags_mthread
=no
37945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37949 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37950 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37952 if test "$wx_cv_cflags_mthread" = "yes"; then
37953 CXXFLAGS
="$CXXFLAGS -mthreads"
37954 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
37955 LDFLAGS
="$LDFLAGS -mthreads"
37957 CFLAGS
="$CFLAGS_OLD"
37961 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37962 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37963 LDFLAGS
="$LDFLAGS -Zmt"
37969 if test "$wxUSE_THREADS" = "yes"; then
37970 cat >>confdefs.h
<<\_ACEOF
37971 #define wxUSE_THREADS 1
37975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
37977 if test "$ac_cv_func_strtok_r" = "yes"; then
37978 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37979 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37980 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37981 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
37982 echo "$as_me:$LINENO: result: yes" >&5
37983 echo "${ECHO_T}yes" >&6
37985 echo "$as_me:$LINENO: result: no" >&5
37986 echo "${ECHO_T}no" >&6
37991 if test "$WXGTK20" = 1 ; then
37992 cat >>confdefs.h
<<_ACEOF
37993 #define __WXGTK20__ $WXGTK20
37999 if test "$WXGTK12" = 1 ; then
38000 cat >>confdefs.h
<<_ACEOF
38001 #define __WXGTK12__ $WXGTK12
38006 if test "$WXGTK127" = 1 ; then
38007 cat >>confdefs.h
<<_ACEOF
38008 #define __WXGTK127__ $WXGTK127
38013 if test "$WXGPE" = 1 ; then
38014 cat >>confdefs.h
<<_ACEOF
38015 #define __WXGPE__ $WXGPE
38022 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
38027 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
38028 wxUSE_DEBUG_INFO
=yes
38029 if test "$GCC" = yes; then
38034 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
38035 cat >>confdefs.h
<<\_ACEOF
38039 WXDEBUG_DEFINE
="-D__WXDEBUG__"
38041 if test "$wxUSE_GTK" = 1 ; then
38042 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
38046 if test "$wxUSE_MEM_TRACING" = "yes" ; then
38047 cat >>confdefs.h
<<\_ACEOF
38048 #define wxUSE_MEMORY_TRACING 1
38051 cat >>confdefs.h
<<\_ACEOF
38052 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
38055 cat >>confdefs.h
<<\_ACEOF
38056 #define wxUSE_DEBUG_NEW_ALWAYS 1
38059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
38062 if test "$wxUSE_DMALLOC" = "yes" ; then
38063 DMALLOC_LIBS
="-ldmallocthcxx"
38067 if test "$wxUSE_PROFILE" = "yes" ; then
38072 CODE_GEN_FLAGS_CXX
=
38073 if test "$GCC" = "yes" ; then
38074 if test "$wxUSE_NO_RTTI" = "yes" ; then
38075 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
38077 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38078 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
38080 if test "$wxUSE_PERMISSIVE" = "yes" ; then
38081 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
38086 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
38089 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
38095 if test "$wxUSE_OPTIMISE" = "no" ; then
38096 if test "$GCC" = yes ; then
38100 if test "$GCC" = yes ; then
38104 i586
-*-*|i686
-*-* )
38105 OPTIMISE
="${OPTIMISE} "
38114 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
38115 cat >>confdefs.h
<<\_ACEOF
38116 #define WXWIN_COMPATIBILITY_2_4 1
38120 WXWIN_COMPATIBILITY_2_6
="yes"
38123 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
38124 cat >>confdefs.h
<<\_ACEOF
38125 #define WXWIN_COMPATIBILITY_2_6 1
38131 if test "$wxUSE_GUI" = "yes"; then
38132 cat >>confdefs.h
<<\_ACEOF
38133 #define wxUSE_GUI 1
38140 if test "$wxUSE_UNIX" = "yes"; then
38141 cat >>confdefs.h
<<\_ACEOF
38142 #define wxUSE_UNIX 1
38148 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38152 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38153 if test "$USE_DARWIN" = 1; then
38155 elif test "$USE_DOS" = 1; then
38159 for ac_func
in dlopen
38161 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38162 echo "$as_me:$LINENO: checking for $ac_func" >&5
38163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38164 if eval "test \"\${$as_ac_var+set}\" = set"; then
38165 echo $ECHO_N "(cached) $ECHO_C" >&6
38167 cat >conftest.
$ac_ext <<_ACEOF
38170 cat confdefs.h
>>conftest.
$ac_ext
38171 cat >>conftest.
$ac_ext <<_ACEOF
38172 /* end confdefs.h. */
38173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38175 #define $ac_func innocuous_$ac_func
38177 /* System header to define __stub macros and hopefully few prototypes,
38178 which can conflict with char $ac_func (); below.
38179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38180 <limits.h> exists even on freestanding compilers. */
38183 # include <limits.h>
38185 # include <assert.h>
38190 /* Override any gcc2 internal prototype to avoid an error. */
38195 /* We use char because int might match the return type of a gcc2
38196 builtin and then its argument prototype would still apply. */
38198 /* The GNU C library defines this for functions which it implements
38199 to always fail with ENOSYS. Some functions are actually named
38200 something starting with __ and the normal name is an alias. */
38201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38204 char (*f) () = $ac_func;
38213 return f != $ac_func;
38218 rm -f conftest.
$ac_objext conftest
$ac_exeext
38219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38220 (eval $ac_link) 2>conftest.er1
38222 grep -v '^ *+' conftest.er1
>conftest.err
38224 cat conftest.err
>&5
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); } &&
38227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38229 (eval $ac_try) 2>&5
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); }; } &&
38233 { ac_try
='test -s conftest$ac_exeext'
38234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38235 (eval $ac_try) 2>&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); }; }; then
38239 eval "$as_ac_var=yes"
38241 echo "$as_me: failed program was:" >&5
38242 sed 's/^/| /' conftest.
$ac_ext >&5
38244 eval "$as_ac_var=no"
38246 rm -f conftest.err conftest.
$ac_objext \
38247 conftest
$ac_exeext conftest.
$ac_ext
38249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38251 if test `eval echo '${'$as_ac_var'}'` = yes; then
38252 cat >>confdefs.h
<<_ACEOF
38253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38256 cat >>confdefs.h
<<\_ACEOF
38257 #define HAVE_DLOPEN 1
38264 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38265 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38266 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38267 echo $ECHO_N "(cached) $ECHO_C" >&6
38269 ac_check_lib_save_LIBS
=$LIBS
38271 cat >conftest.
$ac_ext <<_ACEOF
38274 cat confdefs.h
>>conftest.
$ac_ext
38275 cat >>conftest.
$ac_ext <<_ACEOF
38276 /* end confdefs.h. */
38278 /* Override any gcc2 internal prototype to avoid an error. */
38282 /* We use char because int might match the return type of a gcc2
38283 builtin and then its argument prototype would still apply. */
38293 rm -f conftest.
$ac_objext conftest
$ac_exeext
38294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38295 (eval $ac_link) 2>conftest.er1
38297 grep -v '^ *+' conftest.er1
>conftest.err
38299 cat conftest.err
>&5
38300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38301 (exit $ac_status); } &&
38302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38304 (eval $ac_try) 2>&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); }; } &&
38308 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
38314 ac_cv_lib_dl_dlopen
=yes
38316 echo "$as_me: failed program was:" >&5
38317 sed 's/^/| /' conftest.
$ac_ext >&5
38319 ac_cv_lib_dl_dlopen
=no
38321 rm -f conftest.err conftest.
$ac_objext \
38322 conftest
$ac_exeext conftest.
$ac_ext
38323 LIBS
=$ac_check_lib_save_LIBS
38325 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38326 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38327 if test $ac_cv_lib_dl_dlopen = yes; then
38329 cat >>confdefs.h
<<\_ACEOF
38330 #define HAVE_DLOPEN 1
38334 DL_LINK
=" -ldl$DL_LINK"
38339 for ac_func
in shl_load
38341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38342 echo "$as_me:$LINENO: checking for $ac_func" >&5
38343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38344 if eval "test \"\${$as_ac_var+set}\" = set"; then
38345 echo $ECHO_N "(cached) $ECHO_C" >&6
38347 cat >conftest.
$ac_ext <<_ACEOF
38350 cat confdefs.h
>>conftest.
$ac_ext
38351 cat >>conftest.
$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38355 #define $ac_func innocuous_$ac_func
38357 /* System header to define __stub macros and hopefully few prototypes,
38358 which can conflict with char $ac_func (); below.
38359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38360 <limits.h> exists even on freestanding compilers. */
38363 # include <limits.h>
38365 # include <assert.h>
38370 /* Override any gcc2 internal prototype to avoid an error. */
38375 /* We use char because int might match the return type of a gcc2
38376 builtin and then its argument prototype would still apply. */
38378 /* The GNU C library defines this for functions which it implements
38379 to always fail with ENOSYS. Some functions are actually named
38380 something starting with __ and the normal name is an alias. */
38381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38384 char (*f) () = $ac_func;
38393 return f != $ac_func;
38398 rm -f conftest.
$ac_objext conftest
$ac_exeext
38399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38400 (eval $ac_link) 2>conftest.er1
38402 grep -v '^ *+' conftest.er1
>conftest.err
38404 cat conftest.err
>&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); } &&
38407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38409 (eval $ac_try) 2>&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); }; } &&
38413 { ac_try
='test -s conftest$ac_exeext'
38414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38415 (eval $ac_try) 2>&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); }; }; then
38419 eval "$as_ac_var=yes"
38421 echo "$as_me: failed program was:" >&5
38422 sed 's/^/| /' conftest.
$ac_ext >&5
38424 eval "$as_ac_var=no"
38426 rm -f conftest.err conftest.
$ac_objext \
38427 conftest
$ac_exeext conftest.
$ac_ext
38429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38431 if test `eval echo '${'$as_ac_var'}'` = yes; then
38432 cat >>confdefs.h
<<_ACEOF
38433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38436 cat >>confdefs.h
<<\_ACEOF
38437 #define HAVE_SHL_LOAD 1
38444 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38445 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38446 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38449 ac_check_lib_save_LIBS
=$LIBS
38450 LIBS
="-lshl_load $LIBS"
38451 cat >conftest.
$ac_ext <<_ACEOF
38454 cat confdefs.h
>>conftest.
$ac_ext
38455 cat >>conftest.
$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38458 /* Override any gcc2 internal prototype to avoid an error. */
38462 /* We use char because int might match the return type of a gcc2
38463 builtin and then its argument prototype would still apply. */
38473 rm -f conftest.
$ac_objext conftest
$ac_exeext
38474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38475 (eval $ac_link) 2>conftest.er1
38477 grep -v '^ *+' conftest.er1
>conftest.err
38479 cat conftest.err
>&5
38480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481 (exit $ac_status); } &&
38482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; } &&
38488 { ac_try
='test -s conftest$ac_exeext'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; }; then
38494 ac_cv_lib_shl_load_dld
=yes
38496 echo "$as_me: failed program was:" >&5
38497 sed 's/^/| /' conftest.
$ac_ext >&5
38499 ac_cv_lib_shl_load_dld
=no
38501 rm -f conftest.err conftest.
$ac_objext \
38502 conftest
$ac_exeext conftest.
$ac_ext
38503 LIBS
=$ac_check_lib_save_LIBS
38505 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38506 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38507 if test $ac_cv_lib_shl_load_dld = yes; then
38510 DL_LINK
=" -ldld$DL_LINK"
38526 if test "$HAVE_DL_FUNCS" = 1; then
38528 for ac_func
in dlerror
38530 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38531 echo "$as_me:$LINENO: checking for $ac_func" >&5
38532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38533 if eval "test \"\${$as_ac_var+set}\" = set"; then
38534 echo $ECHO_N "(cached) $ECHO_C" >&6
38536 cat >conftest.
$ac_ext <<_ACEOF
38539 cat confdefs.h
>>conftest.
$ac_ext
38540 cat >>conftest.
$ac_ext <<_ACEOF
38541 /* end confdefs.h. */
38542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38544 #define $ac_func innocuous_$ac_func
38546 /* System header to define __stub macros and hopefully few prototypes,
38547 which can conflict with char $ac_func (); below.
38548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38549 <limits.h> exists even on freestanding compilers. */
38552 # include <limits.h>
38554 # include <assert.h>
38559 /* Override any gcc2 internal prototype to avoid an error. */
38564 /* We use char because int might match the return type of a gcc2
38565 builtin and then its argument prototype would still apply. */
38567 /* The GNU C library defines this for functions which it implements
38568 to always fail with ENOSYS. Some functions are actually named
38569 something starting with __ and the normal name is an alias. */
38570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38573 char (*f) () = $ac_func;
38582 return f != $ac_func;
38587 rm -f conftest.
$ac_objext conftest
$ac_exeext
38588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38589 (eval $ac_link) 2>conftest.er1
38591 grep -v '^ *+' conftest.er1
>conftest.err
38593 cat conftest.err
>&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } &&
38596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; } &&
38602 { ac_try
='test -s conftest$ac_exeext'
38603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38604 (eval $ac_try) 2>&5
38606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38607 (exit $ac_status); }; }; then
38608 eval "$as_ac_var=yes"
38610 echo "$as_me: failed program was:" >&5
38611 sed 's/^/| /' conftest.
$ac_ext >&5
38613 eval "$as_ac_var=no"
38615 rm -f conftest.err conftest.
$ac_objext \
38616 conftest
$ac_exeext conftest.
$ac_ext
38618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38620 if test `eval echo '${'$as_ac_var'}'` = yes; then
38621 cat >>confdefs.h
<<_ACEOF
38622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38624 cat >>confdefs.h
<<\_ACEOF
38625 #define HAVE_DLERROR 1
38630 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38631 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38632 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38633 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 ac_check_lib_save_LIBS
=$LIBS
38637 cat >conftest.
$ac_ext <<_ACEOF
38640 cat confdefs.h
>>conftest.
$ac_ext
38641 cat >>conftest.
$ac_ext <<_ACEOF
38642 /* end confdefs.h. */
38644 /* Override any gcc2 internal prototype to avoid an error. */
38648 /* We use char because int might match the return type of a gcc2
38649 builtin and then its argument prototype would still apply. */
38659 rm -f conftest.
$ac_objext conftest
$ac_exeext
38660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38661 (eval $ac_link) 2>conftest.er1
38663 grep -v '^ *+' conftest.er1
>conftest.err
38665 cat conftest.err
>&5
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); } &&
38668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38670 (eval $ac_try) 2>&5
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; } &&
38674 { ac_try
='test -s conftest$ac_exeext'
38675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38676 (eval $ac_try) 2>&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); }; }; then
38680 ac_cv_lib_dl_dlerror
=yes
38682 echo "$as_me: failed program was:" >&5
38683 sed 's/^/| /' conftest.
$ac_ext >&5
38685 ac_cv_lib_dl_dlerror
=no
38687 rm -f conftest.err conftest.
$ac_objext \
38688 conftest
$ac_exeext conftest.
$ac_ext
38689 LIBS
=$ac_check_lib_save_LIBS
38691 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38692 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38693 if test $ac_cv_lib_dl_dlerror = yes; then
38694 cat >>confdefs.h
<<\_ACEOF
38695 #define HAVE_DLERROR 1
38708 if test "$HAVE_DL_FUNCS" = 0; then
38709 if test "$HAVE_SHL_FUNCS" = 0; then
38710 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38711 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38712 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38713 wxUSE_DYNAMIC_LOADER
=no
38714 wxUSE_DYNLIB_CLASS
=no
38716 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38717 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38724 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38725 cat >>confdefs.h
<<\_ACEOF
38726 #define wxUSE_DYNAMIC_LOADER 1
38730 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38731 cat >>confdefs.h
<<\_ACEOF
38732 #define wxUSE_DYNLIB_CLASS 1
38739 if test "$wxUSE_PLUGINS" = "yes" ; then
38740 if test "$wxUSE_SHARED" = "no" ; then
38741 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38742 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38745 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38746 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38747 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38750 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38751 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38752 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38755 if test "$wxUSE_PLUGINS" = "yes" ; then
38756 cat >>confdefs.h
<<\_ACEOF
38757 #define wxUSE_PLUGINS 1
38764 if test "$wxUSE_STL" = "yes"; then
38765 cat >>confdefs.h
<<\_ACEOF
38766 #define wxUSE_STL 1
38771 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38772 cat >>confdefs.h
<<\_ACEOF
38773 #define wxUSE_APPLE_IEEE 1
38778 if test "$wxUSE_TIMER" = "yes"; then
38779 cat >>confdefs.h
<<\_ACEOF
38780 #define wxUSE_TIMER 1
38785 if test "$USE_UNIX" = "1" ; then
38786 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38787 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38788 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38789 echo $ECHO_N "(cached) $ECHO_C" >&6
38792 cat >conftest.
$ac_ext <<_ACEOF
38795 cat confdefs.h
>>conftest.
$ac_ext
38796 cat >>conftest.
$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38799 #include <sys/soundcard.h>
38805 ioctl(0, SNDCTL_DSP_SYNC, 0);
38811 rm -f conftest.
$ac_objext conftest
$ac_exeext
38812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38813 (eval $ac_link) 2>conftest.er1
38815 grep -v '^ *+' conftest.er1
>conftest.err
38817 cat conftest.err
>&5
38818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38819 (exit $ac_status); } &&
38820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38822 (eval $ac_try) 2>&5
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); }; } &&
38826 { ac_try
='test -s conftest$ac_exeext'
38827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38828 (eval $ac_try) 2>&5
38830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38831 (exit $ac_status); }; }; then
38832 ac_cv_header_sys_soundcard
=yes
38834 echo "$as_me: failed program was:" >&5
38835 sed 's/^/| /' conftest.
$ac_ext >&5
38839 LIBS
="$saveLibs -lossaudio"
38840 cat >conftest.
$ac_ext <<_ACEOF
38843 cat confdefs.h
>>conftest.
$ac_ext
38844 cat >>conftest.
$ac_ext <<_ACEOF
38845 /* end confdefs.h. */
38847 #include <sys/soundcard.h>
38853 ioctl(0, SNDCTL_DSP_SYNC, 0);
38859 rm -f conftest.
$ac_objext conftest
$ac_exeext
38860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38861 (eval $ac_link) 2>conftest.er1
38863 grep -v '^ *+' conftest.er1
>conftest.err
38865 cat conftest.err
>&5
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); } &&
38868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38870 (eval $ac_try) 2>&5
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); }; } &&
38874 { ac_try
='test -s conftest$ac_exeext'
38875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38876 (eval $ac_try) 2>&5
38878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38879 (exit $ac_status); }; }; then
38880 ac_cv_header_sys_soundcard
=yes
38882 echo "$as_me: failed program was:" >&5
38883 sed 's/^/| /' conftest.
$ac_ext >&5
38887 ac_cv_header_sys_soundcard
=no
38891 rm -f conftest.err conftest.
$ac_objext \
38892 conftest
$ac_exeext conftest.
$ac_ext
38896 rm -f conftest.err conftest.
$ac_objext \
38897 conftest
$ac_exeext conftest.
$ac_ext
38900 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38901 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38903 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38904 cat >>confdefs.h
<<\_ACEOF
38905 #define HAVE_SYS_SOUNDCARD_H 1
38909 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
38913 if test "$wxUSE_SOUND" = "yes"; then
38914 if test "$USE_UNIX" = "1" ; then
38915 if test "$wxUSE_LIBSDL" != "no"; then
38917 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38918 if test "${with_sdl_prefix+set}" = set; then
38919 withval
="$with_sdl_prefix"
38920 sdl_prefix
="$withval"
38925 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38926 if test "${with_sdl_exec_prefix+set}" = set; then
38927 withval
="$with_sdl_exec_prefix"
38928 sdl_exec_prefix
="$withval"
38932 # Check whether --enable-sdltest or --disable-sdltest was given.
38933 if test "${enable_sdltest+set}" = set; then
38934 enableval
="$enable_sdltest"
38940 if test x
$sdl_exec_prefix != x
; then
38941 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
38942 if test x
${SDL_CONFIG+set} != xset
; then
38943 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
38946 if test x
$sdl_prefix != x
; then
38947 sdl_args
="$sdl_args --prefix=$sdl_prefix"
38948 if test x
${SDL_CONFIG+set} != xset
; then
38949 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
38954 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
38955 # Extract the first word of "sdl-config", so it can be a program name with args.
38956 set dummy sdl
-config; ac_word
=$2
38957 echo "$as_me:$LINENO: checking for $ac_word" >&5
38958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38959 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38960 echo $ECHO_N "(cached) $ECHO_C" >&6
38962 case $SDL_CONFIG in
38964 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
38967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38968 for as_dir
in $PATH
38971 test -z "$as_dir" && as_dir
=.
38972 for ac_exec_ext
in '' $ac_executable_extensions; do
38973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38974 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38981 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
38985 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
38987 if test -n "$SDL_CONFIG"; then
38988 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38989 echo "${ECHO_T}$SDL_CONFIG" >&6
38991 echo "$as_me:$LINENO: result: no" >&5
38992 echo "${ECHO_T}no" >&6
38995 min_sdl_version
=1.2.0
38996 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38997 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38999 if test "$SDL_CONFIG" = "no" ; then
39002 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
39003 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
39005 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
39006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39007 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
39008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39009 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
39010 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39011 if test "x$enable_sdltest" = "xyes" ; then
39012 ac_save_CFLAGS
="$CFLAGS"
39013 ac_save_CXXFLAGS
="$CXXFLAGS"
39014 ac_save_LIBS
="$LIBS"
39015 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39016 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39017 LIBS
="$LIBS $SDL_LIBS"
39019 if test "$cross_compiling" = yes; then
39020 echo $ac_n "cross compiling; assumed OK... $ac_c"
39022 cat >conftest.
$ac_ext <<_ACEOF
39025 cat confdefs.h
>>conftest.
$ac_ext
39026 cat >>conftest.
$ac_ext <<_ACEOF
39027 /* end confdefs.h. */
39030 #include <stdlib.h>
39031 #include <string.h>
39035 my_strdup (char *str)
39041 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
39042 strcpy (new_str, str);
39050 int main (int argc, char *argv[])
39052 int major, minor, micro;
39055 /* This hangs on some systems (?)
39056 system ("touch conf.sdltest");
39058 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
39060 /* HP/UX 9 (%@#!) writes to sscanf strings */
39061 tmp_version = my_strdup("$min_sdl_version");
39062 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
39063 printf("%s, bad version string\n", "$min_sdl_version");
39067 if (($sdl_major_version > major) ||
39068 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
39069 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
39075 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
39076 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
39077 printf("*** best to upgrade to the required version.\n");
39078 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
39079 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
39080 printf("*** config.cache before re-running configure\n");
39087 rm -f conftest
$ac_exeext
39088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39089 (eval $ac_link) 2>&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
39093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39094 (eval $ac_try) 2>&5
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); }; }; then
39100 echo "$as_me: program exited with status $ac_status" >&5
39101 echo "$as_me: failed program was:" >&5
39102 sed 's/^/| /' conftest.
$ac_ext >&5
39104 ( exit $ac_status )
39107 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
39109 CFLAGS
="$ac_save_CFLAGS"
39110 CXXFLAGS
="$ac_save_CXXFLAGS"
39111 LIBS
="$ac_save_LIBS"
39114 if test "x$no_sdl" = x
; then
39115 echo "$as_me:$LINENO: result: yes" >&5
39116 echo "${ECHO_T}yes" >&6
39118 EXTRALIBS_SDL
="$SDL_LIBS"
39119 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39120 cat >>confdefs.h
<<\_ACEOF
39121 #define wxUSE_LIBSDL 1
39126 echo "$as_me:$LINENO: result: no" >&5
39127 echo "${ECHO_T}no" >&6
39128 if test "$SDL_CONFIG" = "no" ; then
39129 echo "*** The sdl-config script installed by SDL could not be found"
39130 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39131 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39132 echo "*** full path to sdl-config."
39134 if test -f conf.sdltest
; then
39137 echo "*** Could not run SDL test program, checking why..."
39138 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39139 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39140 LIBS
="$LIBS $SDL_LIBS"
39141 cat >conftest.
$ac_ext <<_ACEOF
39144 cat confdefs.h
>>conftest.
$ac_ext
39145 cat >>conftest.
$ac_ext <<_ACEOF
39146 /* end confdefs.h. */
39151 int main(int argc, char *argv[])
39154 #define main K_and_R_C_main
39164 rm -f conftest.
$ac_objext conftest
$ac_exeext
39165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39166 (eval $ac_link) 2>conftest.er1
39168 grep -v '^ *+' conftest.er1
>conftest.err
39170 cat conftest.err
>&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } &&
39173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39175 (eval $ac_try) 2>&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); }; } &&
39179 { ac_try
='test -s conftest$ac_exeext'
39180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39181 (eval $ac_try) 2>&5
39183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184 (exit $ac_status); }; }; then
39185 echo "*** The test program compiled, but did not run. This usually means"
39186 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39187 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39188 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39189 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39190 echo "*** is required on your system"
39192 echo "*** If you have an old version installed, it is best to remove it, although"
39193 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39195 echo "$as_me: failed program was:" >&5
39196 sed 's/^/| /' conftest.
$ac_ext >&5
39198 echo "*** The test program failed to compile or link. See the file config.log for the"
39199 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39200 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39201 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39203 rm -f conftest.err conftest.
$ac_objext \
39204 conftest
$ac_exeext conftest.
$ac_ext
39205 CFLAGS
="$ac_save_CFLAGS"
39206 CXXFLAGS
="$ac_save_CXXFLAGS"
39207 LIBS
="$ac_save_LIBS"
39218 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39224 cat >>confdefs.h
<<\_ACEOF
39225 #define wxUSE_SOUND 1
39228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
39231 if test "$WXGTK20" = 1; then
39232 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39233 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39238 if test -z "$PKG_CONFIG"; then
39239 # Extract the first word of "pkg-config", so it can be a program name with args.
39240 set dummy pkg
-config; ac_word
=$2
39241 echo "$as_me:$LINENO: checking for $ac_word" >&5
39242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39243 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39244 echo $ECHO_N "(cached) $ECHO_C" >&6
39246 case $PKG_CONFIG in
39248 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39252 for as_dir
in $PATH
39255 test -z "$as_dir" && as_dir
=.
39256 for ac_exec_ext
in '' $ac_executable_extensions; do
39257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39258 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39265 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39269 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39271 if test -n "$PKG_CONFIG"; then
39272 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39273 echo "${ECHO_T}$PKG_CONFIG" >&6
39275 echo "$as_me:$LINENO: result: no" >&5
39276 echo "${ECHO_T}no" >&6
39281 if test "$PKG_CONFIG" = "no" ; then
39282 echo "*** The pkg-config script could not be found. Make sure it is"
39283 echo "*** in your path, or set the PKG_CONFIG environment variable"
39284 echo "*** to the full path to pkg-config."
39285 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39287 PKG_CONFIG_MIN_VERSION
=0.9.0
39288 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39289 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39290 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39292 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39293 echo "$as_me:$LINENO: result: yes" >&5
39294 echo "${ECHO_T}yes" >&6
39297 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39298 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39299 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39300 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39301 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39303 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39304 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39305 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39306 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39307 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39309 LIBGNOMEPRINTUI_CFLAGS
=""
39310 LIBGNOMEPRINTUI_LIBS
=""
39311 ## If we have a custom action on failure, don't print errors, but
39312 ## do set a variable so people can do so.
39313 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39320 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39321 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39325 if test $succeeded = yes; then
39327 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39328 cat >>confdefs.h
<<\_ACEOF
39329 #define wxUSE_LIBGNOMEPRINT 1
39335 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39336 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39337 wxUSE_LIBGNOMEPRINT
="no"
39347 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39348 cat >>confdefs.h
<<\_ACEOF
39349 #define wxUSE_CMDLINE_PARSER 1
39354 if test "$wxUSE_STOPWATCH" = "yes"; then
39355 cat >>confdefs.h
<<\_ACEOF
39356 #define wxUSE_STOPWATCH 1
39361 if test "$wxUSE_DATETIME" = "yes"; then
39362 cat >>confdefs.h
<<\_ACEOF
39363 #define wxUSE_DATETIME 1
39368 if test "$wxUSE_FILE" = "yes"; then
39369 cat >>confdefs.h
<<\_ACEOF
39370 #define wxUSE_FILE 1
39375 if test "$wxUSE_FFILE" = "yes"; then
39376 cat >>confdefs.h
<<\_ACEOF
39377 #define wxUSE_FFILE 1
39382 if test "$wxUSE_FILESYSTEM" = "yes"; then
39383 cat >>confdefs.h
<<\_ACEOF
39384 #define wxUSE_FILESYSTEM 1
39389 if test "$wxUSE_FS_ZIP" = "yes"; then
39390 cat >>confdefs.h
<<\_ACEOF
39391 #define wxUSE_FS_ZIP 1
39396 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39397 cat >>confdefs.h
<<\_ACEOF
39398 #define wxUSE_ARCHIVE_STREAMS 1
39403 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39404 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39405 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39406 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39407 elif test "$wxUSE_ZLIB" = "no"; then
39408 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39409 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39411 cat >>confdefs.h
<<\_ACEOF
39412 #define wxUSE_ZIPSTREAM 1
39418 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39419 if test "$USE_UNIX" != 1; then
39420 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39421 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39422 wxUSE_ON_FATAL_EXCEPTION
=no
39424 cat >>confdefs.h
<<\_ACEOF
39425 #define wxUSE_ON_FATAL_EXCEPTION 1
39431 if test "$wxUSE_STACKWALKER" = "yes"; then
39432 cat >>confdefs.h
<<\_ACEOF
39433 #define wxUSE_STACKWALKER 1
39438 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39439 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39440 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39441 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39442 wxUSE_DEBUGREPORT
=no
39444 cat >>confdefs.h
<<\_ACEOF
39445 #define wxUSE_DEBUGREPORT 1
39448 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
39454 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39455 cat >>confdefs.h
<<\_ACEOF
39456 #define wxUSE_SNGLINST_CHECKER 1
39461 if test "$wxUSE_BUSYINFO" = "yes"; then
39462 cat >>confdefs.h
<<\_ACEOF
39463 #define wxUSE_BUSYINFO 1
39468 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39469 cat >>confdefs.h
<<\_ACEOF
39470 #define wxUSE_STD_IOSTREAM 1
39475 if test "$wxUSE_STD_STRING" = "yes"; then
39476 cat >>confdefs.h
<<\_ACEOF
39477 #define wxUSE_STD_STRING 1
39482 if test "$wxUSE_STDPATHS" = "yes"; then
39483 cat >>confdefs.h
<<\_ACEOF
39484 #define wxUSE_STDPATHS 1
39489 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39490 cat >>confdefs.h
<<\_ACEOF
39491 #define wxUSE_TEXTBUFFER 1
39496 if test "$wxUSE_TEXTFILE" = "yes"; then
39497 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39498 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39499 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39501 cat >>confdefs.h
<<\_ACEOF
39502 #define wxUSE_TEXTFILE 1
39508 if test "$wxUSE_CONFIG" = "yes" ; then
39509 if test "$wxUSE_TEXTFILE" != "yes"; then
39510 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39511 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39513 cat >>confdefs.h
<<\_ACEOF
39514 #define wxUSE_CONFIG 1
39517 cat >>confdefs.h
<<\_ACEOF
39518 #define wxUSE_CONFIG_NATIVE 1
39521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
39525 if test "$wxUSE_INTL" = "yes" ; then
39526 if test "$wxUSE_FILE" != "yes"; then
39527 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39528 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39530 cat >>confdefs.h
<<\_ACEOF
39531 #define wxUSE_INTL 1
39534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
39535 GUIDIST
="$GUIDIST INTL_DIST"
39539 if test "$wxUSE_LOG" = "yes"; then
39540 cat >>confdefs.h
<<\_ACEOF
39541 #define wxUSE_LOG 1
39545 if test "$wxUSE_LOGGUI" = "yes"; then
39546 cat >>confdefs.h
<<\_ACEOF
39547 #define wxUSE_LOGGUI 1
39552 if test "$wxUSE_LOGWINDOW" = "yes"; then
39553 cat >>confdefs.h
<<\_ACEOF
39554 #define wxUSE_LOGWINDOW 1
39559 if test "$wxUSE_LOGDIALOG" = "yes"; then
39560 cat >>confdefs.h
<<\_ACEOF
39561 #define wxUSE_LOG_DIALOG 1
39566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
39569 if test "$wxUSE_LONGLONG" = "yes"; then
39570 cat >>confdefs.h
<<\_ACEOF
39571 #define wxUSE_LONGLONG 1
39576 if test "$wxUSE_GEOMETRY" = "yes"; then
39577 cat >>confdefs.h
<<\_ACEOF
39578 #define wxUSE_GEOMETRY 1
39583 if test "$wxUSE_STREAMS" = "yes" ; then
39584 cat >>confdefs.h
<<\_ACEOF
39585 #define wxUSE_STREAMS 1
39591 if test "$wxUSE_DATETIME" = "yes"; then
39593 for ac_func
in strptime
39595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39596 echo "$as_me:$LINENO: checking for $ac_func" >&5
39597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39598 if eval "test \"\${$as_ac_var+set}\" = set"; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 cat >conftest.
$ac_ext <<_ACEOF
39604 cat confdefs.h
>>conftest.
$ac_ext
39605 cat >>conftest.
$ac_ext <<_ACEOF
39606 /* end confdefs.h. */
39607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39609 #define $ac_func innocuous_$ac_func
39611 /* System header to define __stub macros and hopefully few prototypes,
39612 which can conflict with char $ac_func (); below.
39613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39614 <limits.h> exists even on freestanding compilers. */
39617 # include <limits.h>
39619 # include <assert.h>
39624 /* Override any gcc2 internal prototype to avoid an error. */
39629 /* We use char because int might match the return type of a gcc2
39630 builtin and then its argument prototype would still apply. */
39632 /* The GNU C library defines this for functions which it implements
39633 to always fail with ENOSYS. Some functions are actually named
39634 something starting with __ and the normal name is an alias. */
39635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39638 char (*f) () = $ac_func;
39647 return f != $ac_func;
39652 rm -f conftest.
$ac_objext conftest
$ac_exeext
39653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39654 (eval $ac_link) 2>conftest.er1
39656 grep -v '^ *+' conftest.er1
>conftest.err
39658 cat conftest.err
>&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } &&
39661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39663 (eval $ac_try) 2>&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); }; } &&
39667 { ac_try
='test -s conftest$ac_exeext'
39668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39669 (eval $ac_try) 2>&5
39671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672 (exit $ac_status); }; }; then
39673 eval "$as_ac_var=yes"
39675 echo "$as_me: failed program was:" >&5
39676 sed 's/^/| /' conftest.
$ac_ext >&5
39678 eval "$as_ac_var=no"
39680 rm -f conftest.err conftest.
$ac_objext \
39681 conftest
$ac_exeext conftest.
$ac_ext
39683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39685 if test `eval echo '${'$as_ac_var'}'` = yes; then
39686 cat >>confdefs.h
<<_ACEOF
39687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39693 if test "$ac_cv_func_strptime" = "yes"; then
39694 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39695 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39696 if test "${wx_cv_func_strptime_decl+set}" = set; then
39697 echo $ECHO_N "(cached) $ECHO_C" >&6
39703 ac_cpp
='$CXXCPP $CPPFLAGS'
39704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39708 cat >conftest.
$ac_ext <<_ACEOF
39711 cat confdefs.h
>>conftest.
$ac_ext
39712 cat >>conftest.
$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39722 strptime("foo", "bar", &t);
39728 rm -f conftest.
$ac_objext
39729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39730 (eval $ac_compile) 2>conftest.er1
39732 grep -v '^ *+' conftest.er1
>conftest.err
39734 cat conftest.err
>&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); } &&
39737 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; } &&
39743 { ac_try
='test -s conftest.$ac_objext'
39744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39745 (eval $ac_try) 2>&5
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); }; }; then
39749 wx_cv_func_strptime_decl
=yes
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.
$ac_ext >&5
39754 wx_cv_func_strptime_decl
=no
39757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39759 ac_cpp
='$CPP $CPPFLAGS'
39760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39767 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39768 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39770 if test "$wx_cv_func_strptime_decl" = "yes"; then
39771 cat >>confdefs.h
<<\_ACEOF
39772 #define HAVE_STRPTIME_DECL 1
39777 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39778 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39779 if test "${wx_cv_var_timezone+set}" = set; then
39780 echo $ECHO_N "(cached) $ECHO_C" >&6
39783 cat >conftest.
$ac_ext <<_ACEOF
39786 cat confdefs.h
>>conftest.
$ac_ext
39787 cat >>conftest.
$ac_ext <<_ACEOF
39788 /* end confdefs.h. */
39803 rm -f conftest.
$ac_objext
39804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39805 (eval $ac_compile) 2>conftest.er1
39807 grep -v '^ *+' conftest.er1
>conftest.err
39809 cat conftest.err
>&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); } &&
39812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; } &&
39818 { ac_try
='test -s conftest.$ac_objext'
39819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39820 (eval $ac_try) 2>&5
39822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823 (exit $ac_status); }; }; then
39825 wx_cv_var_timezone
=timezone
39828 echo "$as_me: failed program was:" >&5
39829 sed 's/^/| /' conftest.
$ac_ext >&5
39832 cat >conftest.
$ac_ext <<_ACEOF
39835 cat confdefs.h
>>conftest.
$ac_ext
39836 cat >>conftest.
$ac_ext <<_ACEOF
39837 /* end confdefs.h. */
39852 rm -f conftest.
$ac_objext
39853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39854 (eval $ac_compile) 2>conftest.er1
39856 grep -v '^ *+' conftest.er1
>conftest.err
39858 cat conftest.err
>&5
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); } &&
39861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39863 (eval $ac_try) 2>&5
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); }; } &&
39867 { ac_try
='test -s conftest.$ac_objext'
39868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39869 (eval $ac_try) 2>&5
39871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39872 (exit $ac_status); }; }; then
39874 wx_cv_var_timezone
=_timezone
39877 echo "$as_me: failed program was:" >&5
39878 sed 's/^/| /' conftest.
$ac_ext >&5
39881 cat >conftest.
$ac_ext <<_ACEOF
39884 cat confdefs.h
>>conftest.
$ac_ext
39885 cat >>conftest.
$ac_ext <<_ACEOF
39886 /* end confdefs.h. */
39901 rm -f conftest.
$ac_objext
39902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39903 (eval $ac_compile) 2>conftest.er1
39905 grep -v '^ *+' conftest.er1
>conftest.err
39907 cat conftest.err
>&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); } &&
39910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; } &&
39916 { ac_try
='test -s conftest.$ac_objext'
39917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39918 (eval $ac_try) 2>&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); }; }; then
39923 wx_cv_var_timezone
=__timezone
39926 echo "$as_me: failed program was:" >&5
39927 sed 's/^/| /' conftest.
$ac_ext >&5
39930 if test "$USE_DOS" = 0 ; then
39931 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39932 echo "$as_me: WARNING: no timezone variable" >&2;}
39937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39949 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39950 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39952 if test "x$wx_cv_var_timezone" != x
; then
39953 cat >>confdefs.h
<<_ACEOF
39954 #define WX_TIMEZONE $wx_cv_var_timezone
39960 for ac_func
in localtime
39962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39963 echo "$as_me:$LINENO: checking for $ac_func" >&5
39964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39965 if eval "test \"\${$as_ac_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39976 #define $ac_func innocuous_$ac_func
39978 /* System header to define __stub macros and hopefully few prototypes,
39979 which can conflict with char $ac_func (); 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>
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. */
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_$ac_func) || defined (__stub___$ac_func)
40005 char (*f) () = $ac_func;
40014 return f != $ac_func;
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_c_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 eval "$as_ac_var=yes"
40042 echo "$as_me: failed program was:" >&5
40043 sed 's/^/| /' conftest.
$ac_ext >&5
40045 eval "$as_ac_var=no"
40047 rm -f conftest.err conftest.
$ac_objext \
40048 conftest
$ac_exeext conftest.
$ac_ext
40050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40052 if test `eval echo '${'$as_ac_var'}'` = yes; then
40053 cat >>confdefs.h
<<_ACEOF
40054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40061 if test "$ac_cv_func_localtime" = "yes"; then
40062 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
40063 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
40064 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
40065 echo $ECHO_N "(cached) $ECHO_C" >&6
40068 cat >conftest.
$ac_ext <<_ACEOF
40071 cat confdefs.h
>>conftest.
$ac_ext
40072 cat >>conftest.
$ac_ext <<_ACEOF
40073 /* end confdefs.h. */
40088 rm -f conftest.
$ac_objext
40089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40090 (eval $ac_compile) 2>conftest.er1
40092 grep -v '^ *+' conftest.er1
>conftest.err
40094 cat conftest.err
>&5
40095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40096 (exit $ac_status); } &&
40097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40099 (eval $ac_try) 2>&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); }; } &&
40103 { ac_try
='test -s conftest.$ac_objext'
40104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40105 (eval $ac_try) 2>&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); }; }; then
40110 wx_cv_struct_tm_has_gmtoff
=yes
40113 echo "$as_me: failed program was:" >&5
40114 sed 's/^/| /' conftest.
$ac_ext >&5
40116 wx_cv_struct_tm_has_gmtoff
=no
40119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40122 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40123 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40126 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40127 cat >>confdefs.h
<<\_ACEOF
40128 #define WX_GMTOFF_IN_TM 1
40135 for ac_func
in gettimeofday ftime
40137 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40138 echo "$as_me:$LINENO: checking for $ac_func" >&5
40139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40140 if eval "test \"\${$as_ac_var+set}\" = set"; then
40141 echo $ECHO_N "(cached) $ECHO_C" >&6
40143 cat >conftest.
$ac_ext <<_ACEOF
40146 cat confdefs.h
>>conftest.
$ac_ext
40147 cat >>conftest.
$ac_ext <<_ACEOF
40148 /* end confdefs.h. */
40149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40151 #define $ac_func innocuous_$ac_func
40153 /* System header to define __stub macros and hopefully few prototypes,
40154 which can conflict with char $ac_func (); below.
40155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40156 <limits.h> exists even on freestanding compilers. */
40159 # include <limits.h>
40161 # include <assert.h>
40166 /* Override any gcc2 internal prototype to avoid an error. */
40171 /* We use char because int might match the return type of a gcc2
40172 builtin and then its argument prototype would still apply. */
40174 /* The GNU C library defines this for functions which it implements
40175 to always fail with ENOSYS. Some functions are actually named
40176 something starting with __ and the normal name is an alias. */
40177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40180 char (*f) () = $ac_func;
40189 return f != $ac_func;
40194 rm -f conftest.
$ac_objext conftest
$ac_exeext
40195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40196 (eval $ac_link) 2>conftest.er1
40198 grep -v '^ *+' conftest.er1
>conftest.err
40200 cat conftest.err
>&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); } &&
40203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40205 (eval $ac_try) 2>&5
40207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208 (exit $ac_status); }; } &&
40209 { ac_try
='test -s conftest$ac_exeext'
40210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40211 (eval $ac_try) 2>&5
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); }; }; then
40215 eval "$as_ac_var=yes"
40217 echo "$as_me: failed program was:" >&5
40218 sed 's/^/| /' conftest.
$ac_ext >&5
40220 eval "$as_ac_var=no"
40222 rm -f conftest.err conftest.
$ac_objext \
40223 conftest
$ac_exeext conftest.
$ac_ext
40225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40227 if test `eval echo '${'$as_ac_var'}'` = yes; then
40228 cat >>confdefs.h
<<_ACEOF
40229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40236 if test "$ac_cv_func_gettimeofday" = "yes"; then
40237 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40238 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40239 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40240 echo $ECHO_N "(cached) $ECHO_C" >&6
40246 ac_cpp
='$CXXCPP $CPPFLAGS'
40247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40252 cat >conftest.
$ac_ext <<_ACEOF
40255 cat confdefs.h
>>conftest.
$ac_ext
40256 cat >>conftest.
$ac_ext <<_ACEOF
40257 /* end confdefs.h. */
40259 #include <sys/time.h>
40260 #include <unistd.h>
40267 gettimeofday(&tv, NULL);
40273 rm -f conftest.
$ac_objext
40274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40275 (eval $ac_compile) 2>conftest.er1
40277 grep -v '^ *+' conftest.er1
>conftest.err
40279 cat conftest.err
>&5
40280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281 (exit $ac_status); } &&
40282 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40284 (eval $ac_try) 2>&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); }; } &&
40288 { ac_try
='test -s conftest.$ac_objext'
40289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40290 (eval $ac_try) 2>&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); }; }; then
40294 wx_cv_func_gettimeofday_has_2_args
=yes
40296 echo "$as_me: failed program was:" >&5
40297 sed 's/^/| /' conftest.
$ac_ext >&5
40299 cat >conftest.
$ac_ext <<_ACEOF
40302 cat confdefs.h
>>conftest.
$ac_ext
40303 cat >>conftest.
$ac_ext <<_ACEOF
40304 /* end confdefs.h. */
40306 #include <sys/time.h>
40307 #include <unistd.h>
40320 rm -f conftest.
$ac_objext
40321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40322 (eval $ac_compile) 2>conftest.er1
40324 grep -v '^ *+' conftest.er1
>conftest.err
40326 cat conftest.err
>&5
40327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40328 (exit $ac_status); } &&
40329 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40331 (eval $ac_try) 2>&5
40333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40334 (exit $ac_status); }; } &&
40335 { ac_try
='test -s conftest.$ac_objext'
40336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40337 (eval $ac_try) 2>&5
40339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40340 (exit $ac_status); }; }; then
40341 wx_cv_func_gettimeofday_has_2_args
=no
40343 echo "$as_me: failed program was:" >&5
40344 sed 's/^/| /' conftest.
$ac_ext >&5
40347 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40348 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40349 wx_cv_func_gettimeofday_has_2_args
=unknown
40353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40358 ac_cpp
='$CPP $CPPFLAGS'
40359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40365 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40366 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40368 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40369 cat >>confdefs.h
<<\_ACEOF
40370 #define WX_GETTIMEOFDAY_NO_TZ 1
40376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
40380 if test "$wxUSE_SOCKETS" = "yes"; then
40381 if test "$wxUSE_MGL" = "1"; then
40382 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40383 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40388 if test "$wxUSE_SOCKETS" = "yes"; then
40389 if test "$TOOLKIT" != "MSW"; then
40390 echo "$as_me:$LINENO: checking for socket" >&5
40391 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40392 if test "${ac_cv_func_socket+set}" = set; then
40393 echo $ECHO_N "(cached) $ECHO_C" >&6
40395 cat >conftest.
$ac_ext <<_ACEOF
40398 cat confdefs.h
>>conftest.
$ac_ext
40399 cat >>conftest.
$ac_ext <<_ACEOF
40400 /* end confdefs.h. */
40401 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40403 #define socket innocuous_socket
40405 /* System header to define __stub macros and hopefully few prototypes,
40406 which can conflict with char socket (); below.
40407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40408 <limits.h> exists even on freestanding compilers. */
40411 # include <limits.h>
40413 # include <assert.h>
40418 /* Override any gcc2 internal prototype to avoid an error. */
40423 /* We use char because int might match the return type of a gcc2
40424 builtin and then its argument prototype would still apply. */
40426 /* The GNU C library defines this for functions which it implements
40427 to always fail with ENOSYS. Some functions are actually named
40428 something starting with __ and the normal name is an alias. */
40429 #if defined (__stub_socket) || defined (__stub___socket)
40432 char (*f) () = socket;
40441 return f != socket;
40446 rm -f conftest.
$ac_objext conftest
$ac_exeext
40447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40448 (eval $ac_link) 2>conftest.er1
40450 grep -v '^ *+' conftest.er1
>conftest.err
40452 cat conftest.err
>&5
40453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454 (exit $ac_status); } &&
40455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40457 (eval $ac_try) 2>&5
40459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460 (exit $ac_status); }; } &&
40461 { ac_try
='test -s conftest$ac_exeext'
40462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40463 (eval $ac_try) 2>&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); }; }; then
40467 ac_cv_func_socket
=yes
40469 echo "$as_me: failed program was:" >&5
40470 sed 's/^/| /' conftest.
$ac_ext >&5
40472 ac_cv_func_socket
=no
40474 rm -f conftest.err conftest.
$ac_objext \
40475 conftest
$ac_exeext conftest.
$ac_ext
40477 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40478 echo "${ECHO_T}$ac_cv_func_socket" >&6
40479 if test $ac_cv_func_socket = yes; then
40483 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40484 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40485 if test "${ac_cv_lib_socket_socket+set}" = set; then
40486 echo $ECHO_N "(cached) $ECHO_C" >&6
40488 ac_check_lib_save_LIBS
=$LIBS
40489 LIBS
="-lsocket $LIBS"
40490 cat >conftest.
$ac_ext <<_ACEOF
40493 cat confdefs.h
>>conftest.
$ac_ext
40494 cat >>conftest.
$ac_ext <<_ACEOF
40495 /* end confdefs.h. */
40497 /* Override any gcc2 internal prototype to avoid an error. */
40501 /* We use char because int might match the return type of a gcc2
40502 builtin and then its argument prototype would still apply. */
40512 rm -f conftest.
$ac_objext conftest
$ac_exeext
40513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40514 (eval $ac_link) 2>conftest.er1
40516 grep -v '^ *+' conftest.er1
>conftest.err
40518 cat conftest.err
>&5
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); } &&
40521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40523 (eval $ac_try) 2>&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); }; } &&
40527 { ac_try
='test -s conftest$ac_exeext'
40528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40529 (eval $ac_try) 2>&5
40531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40532 (exit $ac_status); }; }; then
40533 ac_cv_lib_socket_socket
=yes
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.
$ac_ext >&5
40538 ac_cv_lib_socket_socket
=no
40540 rm -f conftest.err conftest.
$ac_objext \
40541 conftest
$ac_exeext conftest.
$ac_ext
40542 LIBS
=$ac_check_lib_save_LIBS
40544 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40545 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40546 if test $ac_cv_lib_socket_socket = yes; then
40547 if test "$INET_LINK" != " -lsocket"; then
40548 INET_LINK
="$INET_LINK -lsocket"
40552 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40553 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40566 if test "$wxUSE_SOCKETS" = "yes" ; then
40567 if test "$TOOLKIT" != "MSW"; then
40569 ac_cpp
='$CXXCPP $CPPFLAGS'
40570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40574 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40575 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40576 if test "${wx_cv_type_getsockname3+set}" = set; then
40577 echo $ECHO_N "(cached) $ECHO_C" >&6
40580 cat >conftest.
$ac_ext <<_ACEOF
40583 cat confdefs.h
>>conftest.
$ac_ext
40584 cat >>conftest.
$ac_ext <<_ACEOF
40585 /* end confdefs.h. */
40587 #include <sys/types.h>
40588 #include <sys/socket.h>
40595 getsockname(0, 0, &len);
40601 rm -f conftest.
$ac_objext
40602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40603 (eval $ac_compile) 2>conftest.er1
40605 grep -v '^ *+' conftest.er1
>conftest.err
40607 cat conftest.err
>&5
40608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609 (exit $ac_status); } &&
40610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40612 (eval $ac_try) 2>&5
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); }; } &&
40616 { ac_try
='test -s conftest.$ac_objext'
40617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40618 (eval $ac_try) 2>&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); }; }; then
40622 wx_cv_type_getsockname3
=socklen_t
40624 echo "$as_me: failed program was:" >&5
40625 sed 's/^/| /' conftest.
$ac_ext >&5
40628 CXXFLAGS_OLD
="$CXXFLAGS"
40629 if test "$GCC" = yes ; then
40630 CXXFLAGS
="$CXXFLAGS -Werror"
40633 cat >conftest.
$ac_ext <<_ACEOF
40636 cat confdefs.h
>>conftest.
$ac_ext
40637 cat >>conftest.
$ac_ext <<_ACEOF
40638 /* end confdefs.h. */
40640 #include <sys/types.h>
40641 #include <sys/socket.h>
40648 getsockname(0, 0, &len);
40654 rm -f conftest.
$ac_objext
40655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40656 (eval $ac_compile) 2>conftest.er1
40658 grep -v '^ *+' conftest.er1
>conftest.err
40660 cat conftest.err
>&5
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); } &&
40663 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40665 (eval $ac_try) 2>&5
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); }; } &&
40669 { ac_try
='test -s conftest.$ac_objext'
40670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40671 (eval $ac_try) 2>&5
40673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674 (exit $ac_status); }; }; then
40675 wx_cv_type_getsockname3
=size_t
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.
$ac_ext >&5
40680 cat >conftest.
$ac_ext <<_ACEOF
40683 cat confdefs.h
>>conftest.
$ac_ext
40684 cat >>conftest.
$ac_ext <<_ACEOF
40685 /* end confdefs.h. */
40687 #include <sys/types.h>
40688 #include <sys/socket.h>
40695 getsockname(0, 0, &len);
40701 rm -f conftest.
$ac_objext
40702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40703 (eval $ac_compile) 2>conftest.er1
40705 grep -v '^ *+' conftest.er1
>conftest.err
40707 cat conftest.err
>&5
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); } &&
40710 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40712 (eval $ac_try) 2>&5
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); }; } &&
40716 { ac_try
='test -s conftest.$ac_objext'
40717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40718 (eval $ac_try) 2>&5
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); }; }; then
40722 wx_cv_type_getsockname3
=int
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.
$ac_ext >&5
40727 wx_cv_type_getsockname3
=unknown
40730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40735 CXXFLAGS
="$CXXFLAGS_OLD"
40739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40742 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40743 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40745 if test "$wx_cv_type_getsockname3" = "unknown"; then
40747 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40748 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40750 cat >>confdefs.h
<<_ACEOF
40751 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40755 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40756 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40757 if test "${wx_cv_type_getsockopt5+set}" = set; then
40758 echo $ECHO_N "(cached) $ECHO_C" >&6
40761 cat >conftest.
$ac_ext <<_ACEOF
40764 cat confdefs.h
>>conftest.
$ac_ext
40765 cat >>conftest.
$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40768 #include <sys/types.h>
40769 #include <sys/socket.h>
40776 getsockopt(0, 0, 0, 0, &len);
40782 rm -f conftest.
$ac_objext
40783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40784 (eval $ac_compile) 2>conftest.er1
40786 grep -v '^ *+' conftest.er1
>conftest.err
40788 cat conftest.err
>&5
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); } &&
40791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40793 (eval $ac_try) 2>&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); }; } &&
40797 { ac_try
='test -s conftest.$ac_objext'
40798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40799 (eval $ac_try) 2>&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); }; }; then
40803 wx_cv_type_getsockopt5
=socklen_t
40805 echo "$as_me: failed program was:" >&5
40806 sed 's/^/| /' conftest.
$ac_ext >&5
40809 CXXFLAGS_OLD
="$CXXFLAGS"
40810 if test "$GCC" = yes ; then
40811 CXXFLAGS
="$CXXFLAGS -Werror"
40814 cat >conftest.
$ac_ext <<_ACEOF
40817 cat confdefs.h
>>conftest.
$ac_ext
40818 cat >>conftest.
$ac_ext <<_ACEOF
40819 /* end confdefs.h. */
40821 #include <sys/types.h>
40822 #include <sys/socket.h>
40829 getsockopt(0, 0, 0, 0, &len);
40835 rm -f conftest.
$ac_objext
40836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40837 (eval $ac_compile) 2>conftest.er1
40839 grep -v '^ *+' conftest.er1
>conftest.err
40841 cat conftest.err
>&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } &&
40844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40846 (eval $ac_try) 2>&5
40848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40849 (exit $ac_status); }; } &&
40850 { ac_try
='test -s conftest.$ac_objext'
40851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40852 (eval $ac_try) 2>&5
40854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40855 (exit $ac_status); }; }; then
40856 wx_cv_type_getsockopt5
=size_t
40858 echo "$as_me: failed program was:" >&5
40859 sed 's/^/| /' conftest.
$ac_ext >&5
40861 cat >conftest.
$ac_ext <<_ACEOF
40864 cat confdefs.h
>>conftest.
$ac_ext
40865 cat >>conftest.
$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40868 #include <sys/types.h>
40869 #include <sys/socket.h>
40876 getsockopt(0, 0, 0, 0, &len);
40882 rm -f conftest.
$ac_objext
40883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40884 (eval $ac_compile) 2>conftest.er1
40886 grep -v '^ *+' conftest.er1
>conftest.err
40888 cat conftest.err
>&5
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); } &&
40891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; } &&
40897 { ac_try
='test -s conftest.$ac_objext'
40898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40899 (eval $ac_try) 2>&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); }; }; then
40903 wx_cv_type_getsockopt5
=int
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.
$ac_ext >&5
40908 wx_cv_type_getsockopt5
=unknown
40911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40916 CXXFLAGS
="$CXXFLAGS_OLD"
40920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40923 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40924 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40926 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40928 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40929 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40931 cat >>confdefs.h
<<_ACEOF
40932 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40937 ac_cpp
='$CPP $CPPFLAGS'
40938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40945 if test "$wxUSE_SOCKETS" = "yes" ; then
40946 cat >>confdefs.h
<<\_ACEOF
40947 #define wxUSE_SOCKETS 1
40950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
40953 if test "$wxUSE_PROTOCOL" = "yes"; then
40954 if test "$wxUSE_SOCKETS" != "yes"; then
40955 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40956 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40961 if test "$wxUSE_PROTOCOL" = "yes"; then
40962 cat >>confdefs.h
<<\_ACEOF
40963 #define wxUSE_PROTOCOL 1
40967 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40968 cat >>confdefs.h
<<\_ACEOF
40969 #define wxUSE_PROTOCOL_HTTP 1
40973 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40974 cat >>confdefs.h
<<\_ACEOF
40975 #define wxUSE_PROTOCOL_FTP 1
40979 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40980 cat >>confdefs.h
<<\_ACEOF
40981 #define wxUSE_PROTOCOL_FILE 1
40986 if test "$wxUSE_FS_INET" = "yes"; then
40987 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40988 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40993 if test "$wxUSE_URL" = "yes"; then
40994 if test "$wxUSE_PROTOCOL" != "yes"; then
40995 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40996 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40999 if test "$wxUSE_URL" = "yes"; then
41000 cat >>confdefs.h
<<\_ACEOF
41001 #define wxUSE_URL 1
41007 if test "$wxUSE_FS_INET" = "yes"; then
41008 cat >>confdefs.h
<<\_ACEOF
41009 #define wxUSE_FS_INET 1
41015 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
41018 if test "$TOOLKIT" = "MSW"; then
41021 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
41022 if test "$USE_DARWIN" = 1; then
41023 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
41024 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
41026 ac_cpp
='$CXXCPP $CPPFLAGS'
41027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41031 cat >conftest.
$ac_ext <<_ACEOF
41034 cat confdefs.h
>>conftest.
$ac_ext
41035 cat >>conftest.
$ac_ext <<_ACEOF
41036 /* end confdefs.h. */
41037 #include <IOKit/hid/IOHIDLib.h>
41041 IOHIDQueueInterface *qi = NULL;
41042 IOHIDCallbackFunction cb = NULL;
41043 qi->setEventCallout(NULL, cb, NULL, NULL);
41048 rm -f conftest.
$ac_objext
41049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41050 (eval $ac_compile) 2>conftest.er1
41052 grep -v '^ *+' conftest.er1
>conftest.err
41054 cat conftest.err
>&5
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); } &&
41057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059 (eval $ac_try) 2>&5
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); }; } &&
41063 { ac_try
='test -s conftest.$ac_objext'
41064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41065 (eval $ac_try) 2>&5
41067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41068 (exit $ac_status); }; }; then
41072 echo "$as_me: failed program was:" >&5
41073 sed 's/^/| /' conftest.
$ac_ext >&5
41076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41078 ac_cpp
='$CPP $CPPFLAGS'
41079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41083 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
41084 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
41089 for ac_header
in linux
/joystick.h
41091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41093 echo "$as_me:$LINENO: checking for $ac_header" >&5
41094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41096 echo $ECHO_N "(cached) $ECHO_C" >&6
41098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41101 # Is the header compilable?
41102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41104 cat >conftest.
$ac_ext <<_ACEOF
41107 cat confdefs.h
>>conftest.
$ac_ext
41108 cat >>conftest.
$ac_ext <<_ACEOF
41109 /* end confdefs.h. */
41110 $ac_includes_default
41111 #include <$ac_header>
41113 rm -f conftest.
$ac_objext
41114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41115 (eval $ac_compile) 2>conftest.er1
41117 grep -v '^ *+' conftest.er1
>conftest.err
41119 cat conftest.err
>&5
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); } &&
41122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41124 (eval $ac_try) 2>&5
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); }; } &&
41128 { ac_try
='test -s conftest.$ac_objext'
41129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41130 (eval $ac_try) 2>&5
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); }; }; then
41134 ac_header_compiler
=yes
41136 echo "$as_me: failed program was:" >&5
41137 sed 's/^/| /' conftest.
$ac_ext >&5
41139 ac_header_compiler
=no
41141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41143 echo "${ECHO_T}$ac_header_compiler" >&6
41145 # Is the header present?
41146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41148 cat >conftest.
$ac_ext <<_ACEOF
41151 cat confdefs.h
>>conftest.
$ac_ext
41152 cat >>conftest.
$ac_ext <<_ACEOF
41153 /* end confdefs.h. */
41154 #include <$ac_header>
41156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41157 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41159 grep -v '^ *+' conftest.er1
>conftest.err
41161 cat conftest.err
>&5
41162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163 (exit $ac_status); } >/dev
/null
; then
41164 if test -s conftest.err
; then
41165 ac_cpp_err
=$ac_c_preproc_warn_flag
41166 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41173 if test -z "$ac_cpp_err"; then
41174 ac_header_preproc
=yes
41176 echo "$as_me: failed program was:" >&5
41177 sed 's/^/| /' conftest.
$ac_ext >&5
41179 ac_header_preproc
=no
41181 rm -f conftest.err conftest.
$ac_ext
41182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41183 echo "${ECHO_T}$ac_header_preproc" >&6
41185 # So? What about this header?
41186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41192 ac_header_preproc
=yes
41195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41209 ## ----------------------------------------- ##
41210 ## Report this to wx-dev@lists.wxwidgets.org ##
41211 ## ----------------------------------------- ##
41214 sed "s/^/$as_me: WARNING: /" >&2
41217 echo "$as_me:$LINENO: checking for $ac_header" >&5
41218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41220 echo $ECHO_N "(cached) $ECHO_C" >&6
41222 eval "$as_ac_Header=\$ac_header_preproc"
41224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41229 cat >>confdefs.h
<<_ACEOF
41230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41239 if test "$wxUSE_JOYSTICK" = "yes"; then
41240 cat >>confdefs.h
<<\_ACEOF
41241 #define wxUSE_JOYSTICK 1
41244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
41246 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41247 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41253 if test "$wxUSE_FONTMAP" = "yes" ; then
41254 cat >>confdefs.h
<<\_ACEOF
41255 #define wxUSE_FONTMAP 1
41260 if test "$wxUSE_UNICODE" = "yes" ; then
41261 cat >>confdefs.h
<<\_ACEOF
41262 #define wxUSE_UNICODE 1
41266 if test "$USE_WIN32" != 1; then
41267 wxUSE_UNICODE_MSLU
=no
41270 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41271 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41272 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41273 if test "${ac_cv_lib_unicows_main+set}" = set; then
41274 echo $ECHO_N "(cached) $ECHO_C" >&6
41276 ac_check_lib_save_LIBS
=$LIBS
41277 LIBS
="-lunicows $LIBS"
41278 cat >conftest.
$ac_ext <<_ACEOF
41281 cat confdefs.h
>>conftest.
$ac_ext
41282 cat >>conftest.
$ac_ext <<_ACEOF
41283 /* end confdefs.h. */
41294 rm -f conftest.
$ac_objext conftest
$ac_exeext
41295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41296 (eval $ac_link) 2>conftest.er1
41298 grep -v '^ *+' conftest.er1
>conftest.err
41300 cat conftest.err
>&5
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); } &&
41303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41305 (eval $ac_try) 2>&5
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); }; } &&
41309 { ac_try
='test -s conftest$ac_exeext'
41310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41311 (eval $ac_try) 2>&5
41313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314 (exit $ac_status); }; }; then
41315 ac_cv_lib_unicows_main
=yes
41317 echo "$as_me: failed program was:" >&5
41318 sed 's/^/| /' conftest.
$ac_ext >&5
41320 ac_cv_lib_unicows_main
=no
41322 rm -f conftest.err conftest.
$ac_objext \
41323 conftest
$ac_exeext conftest.
$ac_ext
41324 LIBS
=$ac_check_lib_save_LIBS
41326 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41327 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41328 if test $ac_cv_lib_unicows_main = yes; then
41330 cat >>confdefs.h
<<\_ACEOF
41331 #define wxUSE_UNICODE_MSLU 1
41337 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41338 Applications will only run on Windows NT/2000/XP!" >&5
41339 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41340 Applications will only run on Windows NT/2000/XP!" >&2;}
41341 wxUSE_UNICODE_MSLU
=no
41348 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41349 cat >>confdefs.h
<<\_ACEOF
41350 #define wxUSE_EXPERIMENTAL_PRINTF 1
41356 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41357 cat >>confdefs.h
<<\_ACEOF
41358 #define wxUSE_POSTSCRIPT 1
41363 cat >>confdefs.h
<<\_ACEOF
41364 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41368 cat >>confdefs.h
<<\_ACEOF
41369 #define wxUSE_NORMALIZED_PS_FONTS 1
41374 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41375 cat >>confdefs.h
<<\_ACEOF
41376 #define wxUSE_CONSTRAINTS 1
41379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
41382 if test "$wxUSE_MDI" = "yes"; then
41383 cat >>confdefs.h
<<\_ACEOF
41384 #define wxUSE_MDI 1
41388 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41389 cat >>confdefs.h
<<\_ACEOF
41390 #define wxUSE_MDI_ARCHITECTURE 1
41393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
41397 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41398 cat >>confdefs.h
<<\_ACEOF
41399 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
41403 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
41408 if test "$wxUSE_HELP" = "yes"; then
41409 cat >>confdefs.h
<<\_ACEOF
41410 #define wxUSE_HELP 1
41413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
41415 if test "$wxUSE_MSW" = 1; then
41416 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41417 cat >>confdefs.h
<<\_ACEOF
41418 #define wxUSE_MS_HTML_HELP 1
41424 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41425 if test "$wxUSE_HTML" = "yes"; then
41426 cat >>confdefs.h
<<\_ACEOF
41427 #define wxUSE_WXHTML_HELP 1
41431 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41432 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41433 wxUSE_WXHTML_HELP
=no
41438 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41439 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41440 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41441 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41443 cat >>confdefs.h
<<\_ACEOF
41444 #define wxUSE_PRINTING_ARCHITECTURE 1
41448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
41451 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41452 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41453 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41454 { (exit 1); exit 1; }; }
41458 if test "$wxUSE_METAFILE" = "yes"; then
41459 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41460 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41461 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41467 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
41468 -o "$wxUSE_CLIPBOARD" = "yes" \
41469 -o "$wxUSE_OLE" = "yes" \
41470 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
41472 for ac_header
in ole2.h
41474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41476 echo "$as_me:$LINENO: checking for $ac_header" >&5
41477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41479 echo $ECHO_N "(cached) $ECHO_C" >&6
41481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41484 # Is the header compilable?
41485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41487 cat >conftest.
$ac_ext <<_ACEOF
41490 cat confdefs.h
>>conftest.
$ac_ext
41491 cat >>conftest.
$ac_ext <<_ACEOF
41492 /* end confdefs.h. */
41493 $ac_includes_default
41494 #include <$ac_header>
41496 rm -f conftest.
$ac_objext
41497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41498 (eval $ac_compile) 2>conftest.er1
41500 grep -v '^ *+' conftest.er1
>conftest.err
41502 cat conftest.err
>&5
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); } &&
41505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41507 (eval $ac_try) 2>&5
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); }; } &&
41511 { ac_try
='test -s conftest.$ac_objext'
41512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41513 (eval $ac_try) 2>&5
41515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516 (exit $ac_status); }; }; then
41517 ac_header_compiler
=yes
41519 echo "$as_me: failed program was:" >&5
41520 sed 's/^/| /' conftest.
$ac_ext >&5
41522 ac_header_compiler
=no
41524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41526 echo "${ECHO_T}$ac_header_compiler" >&6
41528 # Is the header present?
41529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41531 cat >conftest.
$ac_ext <<_ACEOF
41534 cat confdefs.h
>>conftest.
$ac_ext
41535 cat >>conftest.
$ac_ext <<_ACEOF
41536 /* end confdefs.h. */
41537 #include <$ac_header>
41539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41542 grep -v '^ *+' conftest.er1
>conftest.err
41544 cat conftest.err
>&5
41545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41546 (exit $ac_status); } >/dev
/null
; then
41547 if test -s conftest.err
; then
41548 ac_cpp_err
=$ac_c_preproc_warn_flag
41549 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41556 if test -z "$ac_cpp_err"; then
41557 ac_header_preproc
=yes
41559 echo "$as_me: failed program was:" >&5
41560 sed 's/^/| /' conftest.
$ac_ext >&5
41562 ac_header_preproc
=no
41564 rm -f conftest.err conftest.
$ac_ext
41565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41566 echo "${ECHO_T}$ac_header_preproc" >&6
41568 # So? What about this header?
41569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41575 ac_header_preproc
=yes
41578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41592 ## ----------------------------------------- ##
41593 ## Report this to wx-dev@lists.wxwidgets.org ##
41594 ## ----------------------------------------- ##
41597 sed "s/^/$as_me: WARNING: /" >&2
41600 echo "$as_me:$LINENO: checking for $ac_header" >&5
41601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41603 echo $ECHO_N "(cached) $ECHO_C" >&6
41605 eval "$as_ac_Header=\$ac_header_preproc"
41607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41612 cat >>confdefs.h
<<_ACEOF
41613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41621 if test "$ac_cv_header_ole2_h" = "yes" ; then
41622 if test "$GCC" = yes ; then
41626 ac_cpp
='$CXXCPP $CPPFLAGS'
41627 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41628 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41629 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41632 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41633 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41634 cat >conftest.
$ac_ext <<_ACEOF
41637 cat confdefs.h
>>conftest.
$ac_ext
41638 cat >>conftest.
$ac_ext <<_ACEOF
41639 /* end confdefs.h. */
41640 #include <windows.h>
41650 rm -f conftest.
$ac_objext
41651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41652 (eval $ac_compile) 2>conftest.er1
41654 grep -v '^ *+' conftest.er1
>conftest.err
41656 cat conftest.err
>&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } &&
41659 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41661 (eval $ac_try) 2>&5
41663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41664 (exit $ac_status); }; } &&
41665 { ac_try
='test -s conftest.$ac_objext'
41666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41667 (eval $ac_try) 2>&5
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); }; }; then
41671 echo "$as_me:$LINENO: result: no" >&5
41672 echo "${ECHO_T}no" >&6
41674 echo "$as_me: failed program was:" >&5
41675 sed 's/^/| /' conftest.
$ac_ext >&5
41677 echo "$as_me:$LINENO: result: yes" >&5
41678 echo "${ECHO_T}yes" >&6
41679 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
41681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41683 ac_cpp
='$CPP $CPPFLAGS'
41684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41688 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41689 if test "$wxUSE_OLE" = "yes" ; then
41690 cat >>confdefs.h
<<\_ACEOF
41691 #define wxUSE_OLE 1
41694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
41698 if test "$wxUSE_DATAOBJ" = "yes" ; then
41699 cat >>confdefs.h
<<\_ACEOF
41700 #define wxUSE_DATAOBJ 1
41705 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41706 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41709 wxUSE_DRAG_AND_DROP
=no
41714 if test "$wxUSE_METAFILE" = "yes"; then
41715 cat >>confdefs.h
<<\_ACEOF
41716 #define wxUSE_METAFILE 1
41720 cat >>confdefs.h
<<\_ACEOF
41721 #define wxUSE_ENH_METAFILE 1
41727 if test "$wxUSE_IPC" = "yes"; then
41728 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41729 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41730 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41734 if test "$wxUSE_IPC" = "yes"; then
41735 cat >>confdefs.h
<<\_ACEOF
41736 #define wxUSE_IPC 1
41739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
41743 if test "$wxUSE_DATAOBJ" = "yes"; then
41744 if test "$wxUSE_MGL" = 1; then
41745 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41746 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41749 cat >>confdefs.h
<<\_ACEOF
41750 #define wxUSE_DATAOBJ 1
41755 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41756 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41758 wxUSE_DRAG_AND_DROP
=no
41761 if test "$wxUSE_CLIPBOARD" = "yes"; then
41762 if test "$wxUSE_MGL" = 1; then
41763 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41764 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41768 if test "$wxUSE_CLIPBOARD" = "yes"; then
41769 cat >>confdefs.h
<<\_ACEOF
41770 #define wxUSE_CLIPBOARD 1
41776 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41777 if test "$wxUSE_GTK" = 1; then
41778 if test "$WXGTK12" != 1; then
41779 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41780 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41781 wxUSE_DRAG_AND_DROP
=no
41785 if test "$wxUSE_MOTIF" = 1; then
41786 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41787 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41788 wxUSE_DRAG_AND_DROP
=no
41791 if test "$wxUSE_X11" = 1; then
41792 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41793 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41794 wxUSE_DRAG_AND_DROP
=no
41797 if test "$wxUSE_MGL" = 1; then
41798 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41799 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41800 wxUSE_DRAG_AND_DROP
=no
41803 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41804 cat >>confdefs.h
<<\_ACEOF
41805 #define wxUSE_DRAG_AND_DROP 1
41812 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
41816 if test "$wxUSE_SPLINES" = "yes" ; then
41817 cat >>confdefs.h
<<\_ACEOF
41818 #define wxUSE_SPLINES 1
41823 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41824 cat >>confdefs.h
<<\_ACEOF
41825 #define wxUSE_MOUSEWHEEL 1
41832 if test "$wxUSE_CONTROLS" = "yes"; then
41836 if test "$wxUSE_ACCEL" = "yes"; then
41837 cat >>confdefs.h
<<\_ACEOF
41838 #define wxUSE_ACCEL 1
41844 if test "$wxUSE_BUTTON" = "yes"; then
41845 cat >>confdefs.h
<<\_ACEOF
41846 #define wxUSE_BUTTON 1
41852 if test "$wxUSE_BMPBUTTON" = "yes"; then
41853 cat >>confdefs.h
<<\_ACEOF
41854 #define wxUSE_BMPBUTTON 1
41860 if test "$wxUSE_CALCTRL" = "yes"; then
41861 cat >>confdefs.h
<<\_ACEOF
41862 #define wxUSE_CALENDARCTRL 1
41866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
41869 if test "$wxUSE_CARET" = "yes"; then
41870 cat >>confdefs.h
<<\_ACEOF
41871 #define wxUSE_CARET 1
41875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
41878 if test "$wxUSE_COMBOBOX" = "yes"; then
41879 cat >>confdefs.h
<<\_ACEOF
41880 #define wxUSE_COMBOBOX 1
41886 if test "$wxUSE_CHOICE" = "yes"; then
41887 cat >>confdefs.h
<<\_ACEOF
41888 #define wxUSE_CHOICE 1
41894 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41895 cat >>confdefs.h
<<\_ACEOF
41896 #define wxUSE_CHOICEBOOK 1
41902 if test "$wxUSE_CHECKBOX" = "yes"; then
41903 cat >>confdefs.h
<<\_ACEOF
41904 #define wxUSE_CHECKBOX 1
41910 if test "$wxUSE_CHECKLST" = "yes"; then
41911 cat >>confdefs.h
<<\_ACEOF
41912 #define wxUSE_CHECKLISTBOX 1
41916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
41919 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41920 cat >>confdefs.h
<<\_ACEOF
41921 #define wxUSE_DATEPICKCTRL 1
41927 if test "$wxUSE_DISPLAY" = "yes"; then
41928 cat >>confdefs.h
<<\_ACEOF
41929 #define wxUSE_DISPLAY 1
41932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
41935 if test "$wxUSE_GAUGE" = "yes"; then
41936 cat >>confdefs.h
<<\_ACEOF
41937 #define wxUSE_GAUGE 1
41943 if test "$wxUSE_GRID" = "yes"; then
41944 cat >>confdefs.h
<<\_ACEOF
41945 #define wxUSE_GRID 1
41949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
41952 if test "$wxUSE_IMAGLIST" = "yes"; then
41953 cat >>confdefs.h
<<\_ACEOF
41954 #define wxUSE_IMAGLIST 1
41959 if test "$wxUSE_LISTBOOK" = "yes"; then
41960 cat >>confdefs.h
<<\_ACEOF
41961 #define wxUSE_LISTBOOK 1
41967 if test "$wxUSE_LISTBOX" = "yes"; then
41968 cat >>confdefs.h
<<\_ACEOF
41969 #define wxUSE_LISTBOX 1
41973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
41976 if test "$wxUSE_LISTCTRL" = "yes"; then
41977 if test "$wxUSE_IMAGLIST" = "yes"; then
41978 cat >>confdefs.h
<<\_ACEOF
41979 #define wxUSE_LISTCTRL 1
41983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
41985 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41986 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41990 if test "$wxUSE_NOTEBOOK" = "yes"; then
41991 cat >>confdefs.h
<<\_ACEOF
41992 #define wxUSE_NOTEBOOK 1
41996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
42000 if test "$wxUSE_RADIOBOX" = "yes"; then
42001 cat >>confdefs.h
<<\_ACEOF
42002 #define wxUSE_RADIOBOX 1
42008 if test "$wxUSE_RADIOBTN" = "yes"; then
42009 cat >>confdefs.h
<<\_ACEOF
42010 #define wxUSE_RADIOBTN 1
42016 if test "$wxUSE_SASH" = "yes"; then
42017 cat >>confdefs.h
<<\_ACEOF
42018 #define wxUSE_SASH 1
42021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
42024 if test "$wxUSE_SCROLLBAR" = "yes"; then
42025 cat >>confdefs.h
<<\_ACEOF
42026 #define wxUSE_SCROLLBAR 1
42030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
42033 if test "$wxUSE_SLIDER" = "yes"; then
42034 cat >>confdefs.h
<<\_ACEOF
42035 #define wxUSE_SLIDER 1
42041 if test "$wxUSE_SPINBTN" = "yes"; then
42042 cat >>confdefs.h
<<\_ACEOF
42043 #define wxUSE_SPINBTN 1
42049 if test "$wxUSE_SPINCTRL" = "yes"; then
42050 cat >>confdefs.h
<<\_ACEOF
42051 #define wxUSE_SPINCTRL 1
42057 if test "$wxUSE_SPLITTER" = "yes"; then
42058 cat >>confdefs.h
<<\_ACEOF
42059 #define wxUSE_SPLITTER 1
42062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
42065 if test "$wxUSE_STATBMP" = "yes"; then
42066 cat >>confdefs.h
<<\_ACEOF
42067 #define wxUSE_STATBMP 1
42073 if test "$wxUSE_STATBOX" = "yes"; then
42074 cat >>confdefs.h
<<\_ACEOF
42075 #define wxUSE_STATBOX 1
42081 if test "$wxUSE_STATTEXT" = "yes"; then
42082 cat >>confdefs.h
<<\_ACEOF
42083 #define wxUSE_STATTEXT 1
42089 if test "$wxUSE_STATLINE" = "yes"; then
42090 cat >>confdefs.h
<<\_ACEOF
42091 #define wxUSE_STATLINE 1
42097 if test "$wxUSE_STATUSBAR" = "yes"; then
42098 cat >>confdefs.h
<<\_ACEOF
42099 #define wxUSE_NATIVE_STATUSBAR 1
42102 cat >>confdefs.h
<<\_ACEOF
42103 #define wxUSE_STATUSBAR 1
42108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
42111 if test "$wxUSE_TABDIALOG" = "yes"; then
42112 cat >>confdefs.h
<<\_ACEOF
42113 #define wxUSE_TAB_DIALOG 1
42118 if test "$wxUSE_TEXTCTRL" = "yes"; then
42119 cat >>confdefs.h
<<\_ACEOF
42120 #define wxUSE_TEXTCTRL 1
42124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
42127 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42128 if test "$wxUSE_COCOA" = 1 ; then
42129 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42130 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42133 if test "$wxUSE_UNIVERSAL" = "yes"; then
42134 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42135 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42139 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42140 cat >>confdefs.h
<<\_ACEOF
42141 #define wxUSE_TOGGLEBTN 1
42148 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42149 cat >>confdefs.h
<<\_ACEOF
42150 #define wxUSE_TOOLBAR_SIMPLE 1
42153 wxUSE_TOOLBAR
="yes"
42157 if test "$wxUSE_TOOLBAR" = "yes"; then
42158 cat >>confdefs.h
<<\_ACEOF
42159 #define wxUSE_TOOLBAR 1
42164 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42165 wxUSE_TOOLBAR_NATIVE
="yes"
42168 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42169 cat >>confdefs.h
<<\_ACEOF
42170 #define wxUSE_TOOLBAR_NATIVE 1
42176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
42179 if test "$wxUSE_TOOLTIPS" = "yes"; then
42180 if test "$wxUSE_MOTIF" = 1; then
42181 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42182 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42184 if test "$wxUSE_UNIVERSAL" = "yes"; then
42185 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42186 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42188 cat >>confdefs.h
<<\_ACEOF
42189 #define wxUSE_TOOLTIPS 1
42196 if test "$wxUSE_TREEBOOK" = "yes"; then
42197 cat >>confdefs.h
<<\_ACEOF
42198 #define wxUSE_TREEBOOK 1
42204 if test "$wxUSE_TREECTRL" = "yes"; then
42205 if test "$wxUSE_IMAGLIST" = "yes"; then
42206 cat >>confdefs.h
<<\_ACEOF
42207 #define wxUSE_TREECTRL 1
42211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
42213 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42214 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42218 if test "$wxUSE_POPUPWIN" = "yes"; then
42219 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42220 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42221 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42223 if test "$wxUSE_PM" = 1; then
42224 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42225 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42227 cat >>confdefs.h
<<\_ACEOF
42228 #define wxUSE_POPUPWIN 1
42231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
42238 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42239 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42240 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42241 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42243 cat >>confdefs.h
<<\_ACEOF
42244 #define wxUSE_DIALUP_MANAGER 1
42247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
42251 if test "$wxUSE_TIPWINDOW" = "yes"; then
42252 if test "$wxUSE_PM" = 1; then
42253 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42254 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42256 cat >>confdefs.h
<<\_ACEOF
42257 #define wxUSE_TIPWINDOW 1
42263 if test "$USES_CONTROLS" = 1; then
42264 cat >>confdefs.h
<<\_ACEOF
42265 #define wxUSE_CONTROLS 1
42271 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42272 cat >>confdefs.h
<<\_ACEOF
42273 #define wxUSE_ACCESSIBILITY 1
42276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
42279 if test "$wxUSE_DC_CACHEING" = "yes"; then
42280 cat >>confdefs.h
<<\_ACEOF
42281 #define wxUSE_DC_CACHEING 1
42286 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42287 cat >>confdefs.h
<<\_ACEOF
42288 #define wxUSE_DRAGIMAGE 1
42291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
42294 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42295 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42296 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42297 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42299 cat >>confdefs.h
<<\_ACEOF
42300 #define wxUSE_EXCEPTIONS 1
42303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
42308 if test "$wxUSE_HTML" = "yes"; then
42309 cat >>confdefs.h
<<\_ACEOF
42310 #define wxUSE_HTML 1
42314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42315 if test "$wxUSE_MAC" = 1; then
42316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
42319 if test "$wxUSE_WEBKIT" = "yes"; then
42320 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42321 old_CPPFLAGS
="$CPPFLAGS"
42322 CPPFLAGS
="$CPPFLAGS -x objective-c++"
42323 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42324 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42325 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42326 echo $ECHO_N "(cached) $ECHO_C" >&6
42328 cat >conftest.
$ac_ext <<_ACEOF
42331 cat confdefs.h
>>conftest.
$ac_ext
42332 cat >>conftest.
$ac_ext <<_ACEOF
42333 /* end confdefs.h. */
42334 #include <Carbon/Carbon.h>
42336 #include <WebKit/HIWebView.h>
42338 rm -f conftest.
$ac_objext
42339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42340 (eval $ac_compile) 2>conftest.er1
42342 grep -v '^ *+' conftest.er1
>conftest.err
42344 cat conftest.err
>&5
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); } &&
42347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42349 (eval $ac_try) 2>&5
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); }; } &&
42353 { ac_try
='test -s conftest.$ac_objext'
42354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42355 (eval $ac_try) 2>&5
42357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42358 (exit $ac_status); }; }; then
42359 ac_cv_header_WebKit_HIWebView_h
=yes
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.
$ac_ext >&5
42364 ac_cv_header_WebKit_HIWebView_h
=no
42366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42368 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42369 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42370 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42372 cat >>confdefs.h
<<\_ACEOF
42373 #define wxUSE_WEBKIT 1
42376 WEBKIT_LINK
="-framework WebKit"
42380 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42381 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42387 CPPFLAGS
="$old_CPPFLAGS"
42388 elif test "$wxUSE_COCOA" = 1; then
42389 cat >>confdefs.h
<<\_ACEOF
42390 #define wxUSE_WEBKIT 1
42399 if test "$wxUSE_XRC" = "yes"; then
42400 if test "$wxUSE_XML" != "yes"; then
42401 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42402 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42405 cat >>confdefs.h
<<\_ACEOF
42406 #define wxUSE_XRC 1
42410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
42414 if test "$wxUSE_MENUS" = "yes"; then
42415 cat >>confdefs.h
<<\_ACEOF
42416 #define wxUSE_MENUS 1
42419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
42422 if test "$wxUSE_METAFILE" = "yes"; then
42423 cat >>confdefs.h
<<\_ACEOF
42424 #define wxUSE_METAFILE 1
42429 if test "$wxUSE_MIMETYPE" = "yes"; then
42430 cat >>confdefs.h
<<\_ACEOF
42431 #define wxUSE_MIMETYPE 1
42436 if test "$wxUSE_MINIFRAME" = "yes"; then
42437 cat >>confdefs.h
<<\_ACEOF
42438 #define wxUSE_MINIFRAME 1
42441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
42444 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42445 cat >>confdefs.h
<<\_ACEOF
42446 #define wxUSE_SYSTEM_OPTIONS 1
42449 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42450 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
42456 if test "$wxUSE_VALIDATORS" = "yes"; then
42457 cat >>confdefs.h
<<\_ACEOF
42458 #define wxUSE_VALIDATORS 1
42461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
42464 if test "$wxUSE_PALETTE" = "yes" ; then
42465 cat >>confdefs.h
<<\_ACEOF
42466 #define wxUSE_PALETTE 1
42471 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42472 LIBS
=" -lunicows $LIBS"
42476 if test "$wxUSE_IMAGE" = "yes" ; then
42477 cat >>confdefs.h
<<\_ACEOF
42478 #define wxUSE_IMAGE 1
42482 if test "$wxUSE_GIF" = "yes" ; then
42483 cat >>confdefs.h
<<\_ACEOF
42484 #define wxUSE_GIF 1
42489 if test "$wxUSE_PCX" = "yes" ; then
42490 cat >>confdefs.h
<<\_ACEOF
42491 #define wxUSE_PCX 1
42496 if test "$wxUSE_IFF" = "yes" ; then
42497 cat >>confdefs.h
<<\_ACEOF
42498 #define wxUSE_IFF 1
42503 if test "$wxUSE_PNM" = "yes" ; then
42504 cat >>confdefs.h
<<\_ACEOF
42505 #define wxUSE_PNM 1
42510 if test "$wxUSE_XPM" = "yes" ; then
42511 cat >>confdefs.h
<<\_ACEOF
42512 #define wxUSE_XPM 1
42517 if test "$wxUSE_ICO_CUR" = "yes" ; then
42518 cat >>confdefs.h
<<\_ACEOF
42519 #define wxUSE_ICO_CUR 1
42526 if test "$wxUSE_CHOICEDLG" = "yes"; then
42527 cat >>confdefs.h
<<\_ACEOF
42528 #define wxUSE_CHOICEDLG 1
42533 if test "$wxUSE_COLOURDLG" = "yes"; then
42534 cat >>confdefs.h
<<\_ACEOF
42535 #define wxUSE_COLOURDLG 1
42540 if test "$wxUSE_FILEDLG" = "yes"; then
42541 cat >>confdefs.h
<<\_ACEOF
42542 #define wxUSE_FILEDLG 1
42547 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42548 cat >>confdefs.h
<<\_ACEOF
42549 #define wxUSE_FINDREPLDLG 1
42554 if test "$wxUSE_FONTDLG" = "yes"; then
42555 cat >>confdefs.h
<<\_ACEOF
42556 #define wxUSE_FONTDLG 1
42561 if test "$wxUSE_DIRDLG" = "yes"; then
42562 if test "$wxUSE_TREECTRL" != "yes"; then
42563 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42564 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42566 cat >>confdefs.h
<<\_ACEOF
42567 #define wxUSE_DIRDLG 1
42573 if test "$wxUSE_MSGDLG" = "yes"; then
42574 cat >>confdefs.h
<<\_ACEOF
42575 #define wxUSE_MSGDLG 1
42580 if test "$wxUSE_NUMBERDLG" = "yes"; then
42581 cat >>confdefs.h
<<\_ACEOF
42582 #define wxUSE_NUMBERDLG 1
42587 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42588 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42589 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42590 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42592 cat >>confdefs.h
<<\_ACEOF
42593 #define wxUSE_PROGRESSDLG 1
42599 if test "$wxUSE_SPLASH" = "yes"; then
42600 cat >>confdefs.h
<<\_ACEOF
42601 #define wxUSE_SPLASH 1
42604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
42607 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42608 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42609 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42610 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42612 cat >>confdefs.h
<<\_ACEOF
42613 #define wxUSE_STARTUP_TIPS 1
42619 if test "$wxUSE_TEXTDLG" = "yes"; then
42620 cat >>confdefs.h
<<\_ACEOF
42621 #define wxUSE_TEXTDLG 1
42626 if test "$wxUSE_WIZARDDLG" = "yes"; then
42627 cat >>confdefs.h
<<\_ACEOF
42628 #define wxUSE_WIZARDDLG 1
42631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
42635 if test "$wxUSE_MEDIACTRL" = "yes"; then
42636 if test "$wxUSE_GTK" = 1; then
42637 wxUSE_GSTREAMER
="yes"
42642 if test -z "$PKG_CONFIG"; then
42643 # Extract the first word of "pkg-config", so it can be a program name with args.
42644 set dummy pkg
-config; ac_word
=$2
42645 echo "$as_me:$LINENO: checking for $ac_word" >&5
42646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42647 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42648 echo $ECHO_N "(cached) $ECHO_C" >&6
42650 case $PKG_CONFIG in
42652 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42656 for as_dir
in $PATH
42659 test -z "$as_dir" && as_dir
=.
42660 for ac_exec_ext
in '' $ac_executable_extensions; do
42661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42662 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42669 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
42673 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42675 if test -n "$PKG_CONFIG"; then
42676 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42677 echo "${ECHO_T}$PKG_CONFIG" >&6
42679 echo "$as_me:$LINENO: result: no" >&5
42680 echo "${ECHO_T}no" >&6
42685 if test "$PKG_CONFIG" = "no" ; then
42686 echo "*** The pkg-config script could not be found. Make sure it is"
42687 echo "*** in your path, or set the PKG_CONFIG environment variable"
42688 echo "*** to the full path to pkg-config."
42689 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42691 PKG_CONFIG_MIN_VERSION
=0.9.0
42692 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42693 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42694 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42696 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42697 echo "$as_me:$LINENO: result: yes" >&5
42698 echo "${ECHO_T}yes" >&6
42701 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42702 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42703 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42704 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42705 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42707 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42708 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42709 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
42710 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42711 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42713 GSTREAMER_CFLAGS
=""
42715 ## If we have a custom action on failure, don't print errors, but
42716 ## do set a variable so people can do so.
42717 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42724 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42725 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42729 if test $succeeded = yes; then
42731 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
42732 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42736 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42737 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42738 wxUSE_GSTREAMER
="no"
42746 if test "x$GST_INSPECT" == "x"; then
42747 # Extract the first word of "gst-inspect", so it can be a program name with args.
42748 set dummy gst
-inspect; ac_word
=$2
42749 echo "$as_me:$LINENO: checking for $ac_word" >&5
42750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42751 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42752 echo $ECHO_N "(cached) $ECHO_C" >&6
42754 if test -n "$GST_INSPECT"; then
42755 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
42757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42758 for as_dir
in $PATH
42761 test -z "$as_dir" && as_dir
=.
42762 for ac_exec_ext
in '' $ac_executable_extensions; do
42763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42764 ac_cv_prog_GST_INSPECT
="gst-inspect"
42765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42773 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
42774 if test -n "$GST_INSPECT"; then
42775 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42776 echo "${ECHO_T}$GST_INSPECT" >&6
42778 echo "$as_me:$LINENO: result: no" >&5
42779 echo "${ECHO_T}no" >&6
42784 if test "x$GST_INSPECT" != "x"; then
42785 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42786 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42787 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
42788 echo "$as_me:$LINENO: result: found." >&5
42789 echo "${ECHO_T}found." >&6
42792 echo "$as_me:$LINENO: result: not found." >&5
42793 echo "${ECHO_T}not found." >&6
42795 wxUSE_GSTREAMER
="no"
42796 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42797 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42803 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42804 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42805 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42806 echo $ECHO_N "(cached) $ECHO_C" >&6
42808 cat >conftest.
$ac_ext <<_ACEOF
42811 cat confdefs.h
>>conftest.
$ac_ext
42812 cat >>conftest.
$ac_ext <<_ACEOF
42813 /* end confdefs.h. */
42814 #include <gst/gst.h>
42816 #include <gst/xoverlay/xoverlay.h>
42818 rm -f conftest.
$ac_objext
42819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42820 (eval $ac_compile) 2>conftest.er1
42822 grep -v '^ *+' conftest.er1
>conftest.err
42824 cat conftest.err
>&5
42825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42826 (exit $ac_status); } &&
42827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42829 (eval $ac_try) 2>&5
42831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42832 (exit $ac_status); }; } &&
42833 { ac_try
='test -s conftest.$ac_objext'
42834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42835 (eval $ac_try) 2>&5
42837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42838 (exit $ac_status); }; }; then
42839 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
42841 echo "$as_me: failed program was:" >&5
42842 sed 's/^/| /' conftest.
$ac_ext >&5
42844 ac_cv_header_gst_xoverlay_xoverlay_h
=no
42846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42848 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42849 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42850 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42854 wxUSE_GSTREAMER
="no"
42855 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42856 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42862 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42863 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42866 for ac_dir
in $SEARCH_LIB;
42868 for ac_extension
in a so sl dylib dll.a
; do
42869 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42870 ac_find_libraries
=$ac_dir
42877 if test "$ac_find_libraries" = "" ; then
42878 echo "$as_me:$LINENO: result: no" >&5
42879 echo "${ECHO_T}no" >&6
42880 wxUSE_GSTREAMER
="no"
42882 echo "$as_me:$LINENO: result: yes" >&5
42883 echo "${ECHO_T}yes" >&6
42886 if test "$wxUSE_GSTREAMER" = "yes"; then
42887 cat >>confdefs.h
<<\_ACEOF
42888 #define wxUSE_GSTREAMER 1
42891 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42892 echo "${ECHO_T}GStreamer detection successful" >&6
42895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
42896 cat >>confdefs.h
<<\_ACEOF
42897 #define wxUSE_MEDIACTRL 1
42903 if test "$cross_compiling" = "yes"; then
42906 OSINFO
=`uname -s -r -m`
42907 OSINFO
="\"$OSINFO\""
42910 cat >>confdefs.h
<<_ACEOF
42911 #define WXWIN_OS_DESCRIPTION $OSINFO
42916 if test "x$prefix" != "xNONE"; then
42919 wxPREFIX
=$ac_default_prefix
42922 cat >>confdefs.h
<<_ACEOF
42923 #define wxINSTALL_PREFIX "$wxPREFIX"
42929 CORE_BASE_LIBS
="net base"
42930 CORE_GUI_LIBS
="adv core"
42932 if test "$wxUSE_XML" = "yes" ; then
42933 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
42935 if test "$wxUSE_ODBC" != "no" ; then
42936 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
42937 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
42939 if test "$wxUSE_HTML" = "yes" ; then
42940 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
42942 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42943 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
42945 if test "$wxUSE_XRC" = "yes" ; then
42946 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
42949 if test "$wxUSE_GUI" != "yes"; then
42960 if test "$wxUSE_MAC" = 1 ; then
42961 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42962 if test "$USE_DARWIN" = 1; then
42963 LDFLAGS
="$LDFLAGS -framework QuickTime"
42965 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
42968 if test "$USE_DARWIN" = 1; then
42969 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42971 LDFLAGS
="$LDFLAGS -lCarbonLib"
42974 if test "$wxUSE_COCOA" = 1 ; then
42975 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
42976 if test "$wxUSE_MEDIACTRL" = "yes"; then
42977 LDFLAGS
="$LDFLAGS -framework QuickTime"
42980 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42981 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42985 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42993 echo "$as_me:$LINENO: checking for $ac_func" >&5
42994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42995 if eval "test \"\${$as_ac_var+set}\" = set"; then
42996 echo $ECHO_N "(cached) $ECHO_C" >&6
42998 cat >conftest.
$ac_ext <<_ACEOF
43001 cat confdefs.h
>>conftest.
$ac_ext
43002 cat >>conftest.
$ac_ext <<_ACEOF
43003 /* end confdefs.h. */
43004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43006 #define $ac_func innocuous_$ac_func
43008 /* System header to define __stub macros and hopefully few prototypes,
43009 which can conflict with char $ac_func (); below.
43010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43011 <limits.h> exists even on freestanding compilers. */
43014 # include <limits.h>
43016 # include <assert.h>
43021 /* Override any gcc2 internal prototype to avoid an error. */
43026 /* We use char because int might match the return type of a gcc2
43027 builtin and then its argument prototype would still apply. */
43029 /* The GNU C library defines this for functions which it implements
43030 to always fail with ENOSYS. Some functions are actually named
43031 something starting with __ and the normal name is an alias. */
43032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43035 char (*f) () = $ac_func;
43044 return f != $ac_func;
43049 rm -f conftest.
$ac_objext conftest
$ac_exeext
43050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43051 (eval $ac_link) 2>conftest.er1
43053 grep -v '^ *+' conftest.er1
>conftest.err
43055 cat conftest.err
>&5
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); } &&
43058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43060 (eval $ac_try) 2>&5
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; } &&
43064 { ac_try
='test -s conftest$ac_exeext'
43065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43066 (eval $ac_try) 2>&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); }; }; then
43070 eval "$as_ac_var=yes"
43072 echo "$as_me: failed program was:" >&5
43073 sed 's/^/| /' conftest.
$ac_ext >&5
43075 eval "$as_ac_var=no"
43077 rm -f conftest.err conftest.
$ac_objext \
43078 conftest
$ac_exeext conftest.
$ac_ext
43080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43082 if test `eval echo '${'$as_ac_var'}'` = yes; then
43083 cat >>confdefs.h
<<_ACEOF
43084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43091 for ac_func
in floor
43093 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43094 echo "$as_me:$LINENO: checking for $ac_func" >&5
43095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43096 if eval "test \"\${$as_ac_var+set}\" = set"; then
43097 echo $ECHO_N "(cached) $ECHO_C" >&6
43099 cat >conftest.
$ac_ext <<_ACEOF
43102 cat confdefs.h
>>conftest.
$ac_ext
43103 cat >>conftest.
$ac_ext <<_ACEOF
43104 /* end confdefs.h. */
43105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43107 #define $ac_func innocuous_$ac_func
43109 /* System header to define __stub macros and hopefully few prototypes,
43110 which can conflict with char $ac_func (); below.
43111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43112 <limits.h> exists even on freestanding compilers. */
43115 # include <limits.h>
43117 # include <assert.h>
43122 /* Override any gcc2 internal prototype to avoid an error. */
43127 /* We use char because int might match the return type of a gcc2
43128 builtin and then its argument prototype would still apply. */
43130 /* The GNU C library defines this for functions which it implements
43131 to always fail with ENOSYS. Some functions are actually named
43132 something starting with __ and the normal name is an alias. */
43133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43136 char (*f) () = $ac_func;
43145 return f != $ac_func;
43150 rm -f conftest.
$ac_objext conftest
$ac_exeext
43151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43152 (eval $ac_link) 2>conftest.er1
43154 grep -v '^ *+' conftest.er1
>conftest.err
43156 cat conftest.err
>&5
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); } &&
43159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43161 (eval $ac_try) 2>&5
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); }; } &&
43165 { ac_try
='test -s conftest$ac_exeext'
43166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43167 (eval $ac_try) 2>&5
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); }; }; then
43171 eval "$as_ac_var=yes"
43173 echo "$as_me: failed program was:" >&5
43174 sed 's/^/| /' conftest.
$ac_ext >&5
43176 eval "$as_ac_var=no"
43178 rm -f conftest.err conftest.
$ac_objext \
43179 conftest
$ac_exeext conftest.
$ac_ext
43181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43183 if test `eval echo '${'$as_ac_var'}'` = yes; then
43184 cat >>confdefs.h
<<_ACEOF
43185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43191 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43192 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43193 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43194 echo "$as_me:$LINENO: result: yes" >&5
43195 echo "${ECHO_T}yes" >&6
43197 echo "$as_me:$LINENO: result: no" >&5
43198 echo "${ECHO_T}no" >&6
43200 # use different functions to avoid configure caching
43206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43207 echo "$as_me:$LINENO: checking for $ac_func" >&5
43208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43209 if eval "test \"\${$as_ac_var+set}\" = set"; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43212 cat >conftest.
$ac_ext <<_ACEOF
43215 cat confdefs.h
>>conftest.
$ac_ext
43216 cat >>conftest.
$ac_ext <<_ACEOF
43217 /* end confdefs.h. */
43218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43220 #define $ac_func innocuous_$ac_func
43222 /* System header to define __stub macros and hopefully few prototypes,
43223 which can conflict with char $ac_func (); below.
43224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43225 <limits.h> exists even on freestanding compilers. */
43228 # include <limits.h>
43230 # include <assert.h>
43235 /* Override any gcc2 internal prototype to avoid an error. */
43240 /* We use char because int might match the return type of a gcc2
43241 builtin and then its argument prototype would still apply. */
43243 /* The GNU C library defines this for functions which it implements
43244 to always fail with ENOSYS. Some functions are actually named
43245 something starting with __ and the normal name is an alias. */
43246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43249 char (*f) () = $ac_func;
43258 return f != $ac_func;
43263 rm -f conftest.
$ac_objext conftest
$ac_exeext
43264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43265 (eval $ac_link) 2>conftest.er1
43267 grep -v '^ *+' conftest.er1
>conftest.err
43269 cat conftest.err
>&5
43270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43271 (exit $ac_status); } &&
43272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43274 (eval $ac_try) 2>&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); }; } &&
43278 { ac_try
='test -s conftest$ac_exeext'
43279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43280 (eval $ac_try) 2>&5
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); }; }; then
43284 eval "$as_ac_var=yes"
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.
$ac_ext >&5
43289 eval "$as_ac_var=no"
43291 rm -f conftest.err conftest.
$ac_objext \
43292 conftest
$ac_exeext conftest.
$ac_ext
43294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43296 if test `eval echo '${'$as_ac_var'}'` = yes; then
43297 cat >>confdefs.h
<<_ACEOF
43298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43305 for ac_func
in ceil
43307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43308 echo "$as_me:$LINENO: checking for $ac_func" >&5
43309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43310 if eval "test \"\${$as_ac_var+set}\" = set"; then
43311 echo $ECHO_N "(cached) $ECHO_C" >&6
43313 cat >conftest.
$ac_ext <<_ACEOF
43316 cat confdefs.h
>>conftest.
$ac_ext
43317 cat >>conftest.
$ac_ext <<_ACEOF
43318 /* end confdefs.h. */
43319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43321 #define $ac_func innocuous_$ac_func
43323 /* System header to define __stub macros and hopefully few prototypes,
43324 which can conflict with char $ac_func (); below.
43325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43326 <limits.h> exists even on freestanding compilers. */
43329 # include <limits.h>
43331 # include <assert.h>
43336 /* Override any gcc2 internal prototype to avoid an error. */
43341 /* We use char because int might match the return type of a gcc2
43342 builtin and then its argument prototype would still apply. */
43344 /* The GNU C library defines this for functions which it implements
43345 to always fail with ENOSYS. Some functions are actually named
43346 something starting with __ and the normal name is an alias. */
43347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43350 char (*f) () = $ac_func;
43359 return f != $ac_func;
43364 rm -f conftest.
$ac_objext conftest
$ac_exeext
43365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43366 (eval $ac_link) 2>conftest.er1
43368 grep -v '^ *+' conftest.er1
>conftest.err
43370 cat conftest.err
>&5
43371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43372 (exit $ac_status); } &&
43373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43375 (eval $ac_try) 2>&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); }; } &&
43379 { ac_try
='test -s conftest$ac_exeext'
43380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43381 (eval $ac_try) 2>&5
43383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43384 (exit $ac_status); }; }; then
43385 eval "$as_ac_var=yes"
43387 echo "$as_me: failed program was:" >&5
43388 sed 's/^/| /' conftest.
$ac_ext >&5
43390 eval "$as_ac_var=no"
43392 rm -f conftest.err conftest.
$ac_objext \
43393 conftest
$ac_exeext conftest.
$ac_ext
43395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43397 if test `eval echo '${'$as_ac_var'}'` = yes; then
43398 cat >>confdefs.h
<<_ACEOF
43399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43405 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43406 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43407 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43408 echo "$as_me:$LINENO: result: yes" >&5
43409 echo "${ECHO_T}yes" >&6
43411 echo "$as_me:$LINENO: result: no" >&5
43412 echo "${ECHO_T}no" >&6
43413 # not sure we should warn the user, crash, etc.
43417 if test "$wxUSE_GUI" = "yes"; then
43420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43421 dynamic erase event exec font image minimal mobile \
43422 mobile/wxedit mobile/styles propsize render \
43423 richedit rotate shaped vscroll widgets"
43425 if test "$wxUSE_MONOLITHIC" != "yes"; then
43426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
43428 if test "$TOOLKIT" = "MSW"; then
43429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
43430 if test "$wxUSE_UNIVERSAL" != "yes"; then
43431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43434 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
43438 SAMPLES_SUBDIRS
="console"
43442 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43443 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
43445 if test "x$INTELCC" = "xyes" ; then
43446 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
43447 elif test "$GCC" = yes ; then
43448 CWARNINGS
="-Wall -Wundef"
43451 if test "x$INTELCXX" = "xyes" ; then
43452 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
43453 elif test "$GXX" = yes ; then
43454 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
43457 *-*-cygwin* | *-*-mingw32* )
43458 CXXWARNINGS
="$CXXWARNINGS -Wno-format"
43462 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
43464 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
43465 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
43466 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
43468 if test "x$MWCC" = "xyes"; then
43470 CC
="$CC -cwd source -I-"
43471 CXX
="$CXX -cwd source -I-"
43476 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43477 EXTRALIBS_XML
="$EXPAT_LINK"
43478 EXTRALIBS_HTML
="$MSPACK_LINK"
43479 EXTRALIBS_ODBC
="$ODBC_LINK"
43480 if test "$wxUSE_GUI" = "yes"; then
43481 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43483 if test "$wxUSE_OPENGL" = "yes"; then
43484 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
43487 LDFLAGS
="$LDFLAGS $PROFILE"
43489 if test "$wxUSE_GTK" = 1; then
43492 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
43495 WXCONFIG_EXTRALIBS
="$LIBS"
43497 if test "$wxUSE_REGEX" = "builtin" ; then
43498 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43500 if test "$wxUSE_EXPAT" = "builtin" ; then
43501 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
43503 if test "$wxUSE_ODBC" = "builtin" ; then
43504 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
43506 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43507 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
43509 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43510 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
43512 if test "$wxUSE_LIBPNG" = "builtin" ; then
43513 wxconfig_3rdparty
="png $wxconfig_3rdparty"
43515 if test "$wxUSE_ZLIB" = "builtin" ; then
43516 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
43519 for i
in $wxconfig_3rdparty ; do
43520 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
43524 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43538 if test $wxUSE_MONOLITHIC = "yes" ; then
43544 if test $wxUSE_PLUGINS = "yes" ; then
43550 if test $wxUSE_ODBC != "no" ; then
43556 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43562 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43590 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43601 TOOLKIT_USER
="GTK+"
43602 if test "$WXGTK20" = 1; then
43603 TOOLKIT_USER
="$TOOLKIT_USER 2"
43608 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
43612 if test "$wxUSE_WINE" = "yes"; then
43613 BAKEFILE_FORCE_PLATFORM
=win32
43619 if test "x$BAKEFILE_HOST" = "x"; then
43620 BAKEFILE_HOST
="${host}"
43623 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43625 if test -n "$ac_tool_prefix"; then
43626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43627 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
43628 echo "$as_me:$LINENO: checking for $ac_word" >&5
43629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43630 if test "${ac_cv_prog_RANLIB+set}" = set; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43633 if test -n "$RANLIB"; then
43634 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
43636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43637 for as_dir
in $PATH
43640 test -z "$as_dir" && as_dir
=.
43641 for ac_exec_ext
in '' $ac_executable_extensions; do
43642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43643 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
43644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43652 RANLIB
=$ac_cv_prog_RANLIB
43653 if test -n "$RANLIB"; then
43654 echo "$as_me:$LINENO: result: $RANLIB" >&5
43655 echo "${ECHO_T}$RANLIB" >&6
43657 echo "$as_me:$LINENO: result: no" >&5
43658 echo "${ECHO_T}no" >&6
43662 if test -z "$ac_cv_prog_RANLIB"; then
43663 ac_ct_RANLIB
=$RANLIB
43664 # Extract the first word of "ranlib", so it can be a program name with args.
43665 set dummy ranlib
; ac_word
=$2
43666 echo "$as_me:$LINENO: checking for $ac_word" >&5
43667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43669 echo $ECHO_N "(cached) $ECHO_C" >&6
43671 if test -n "$ac_ct_RANLIB"; then
43672 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
43674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43675 for as_dir
in $PATH
43678 test -z "$as_dir" && as_dir
=.
43679 for ac_exec_ext
in '' $ac_executable_extensions; do
43680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43681 ac_cv_prog_ac_ct_RANLIB
="ranlib"
43682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43688 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
43691 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
43692 if test -n "$ac_ct_RANLIB"; then
43693 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43694 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43696 echo "$as_me:$LINENO: result: no" >&5
43697 echo "${ECHO_T}no" >&6
43700 RANLIB
=$ac_ct_RANLIB
43702 RANLIB
="$ac_cv_prog_RANLIB"
43705 # Find a good install program. We prefer a C program (faster),
43706 # so one script is as good as another. But avoid the broken or
43707 # incompatible versions:
43708 # SysV /etc/install, /usr/sbin/install
43709 # SunOS /usr/etc/install
43710 # IRIX /sbin/install
43712 # AmigaOS /C/install, which installs bootblocks on floppy discs
43713 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43714 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43715 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43716 # OS/2's system install, which has a completely different semantic
43717 # ./install, which can be erroneously created by make from ./install.sh.
43718 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43719 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43720 if test -z "$INSTALL"; then
43721 if test "${ac_cv_path_install+set}" = set; then
43722 echo $ECHO_N "(cached) $ECHO_C" >&6
43724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43725 for as_dir
in $PATH
43728 test -z "$as_dir" && as_dir
=.
43729 # Account for people who put trailing slashes in PATH elements.
43731 .
/ | .
// | /cC
/* | \
43732 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
43733 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
43736 # OSF1 and SCO ODT 3.0 have their own names for install.
43737 # Don't use installbsd from OSF since it installs stuff as root
43739 for ac_prog
in ginstall scoinst
install; do
43740 for ac_exec_ext
in '' $ac_executable_extensions; do
43741 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43742 if test $ac_prog = install &&
43743 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43744 # AIX install. It has an incompatible calling convention.
43746 elif test $ac_prog = install &&
43747 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43748 # program-specific install script used by HP pwplus--don't use.
43751 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
43763 if test "${ac_cv_path_install+set}" = set; then
43764 INSTALL
=$ac_cv_path_install
43766 # As a last resort, use the slow shell script. We don't cache a
43767 # path for INSTALL within a source directory, because that will
43768 # break other packages using the cache if that directory is
43769 # removed, or if the path is relative.
43770 INSTALL
=$ac_install_sh
43773 echo "$as_me:$LINENO: result: $INSTALL" >&5
43774 echo "${ECHO_T}$INSTALL" >&6
43776 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43777 # It thinks the first close brace ends the variable substitution.
43778 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
43780 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
43782 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
43784 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43785 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43787 if test "$LN_S" = "ln -s"; then
43788 echo "$as_me:$LINENO: result: yes" >&5
43789 echo "${ECHO_T}yes" >&6
43791 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43792 echo "${ECHO_T}no, using $LN_S" >&6
43796 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43798 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43799 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43800 echo $ECHO_N "(cached) $ECHO_C" >&6
43802 cat >conftest.
make <<\_ACEOF
43804 @
echo 'ac_maketemp="$(MAKE)"'
43806 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43807 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43808 if test -n "$ac_maketemp"; then
43809 eval ac_cv_prog_make_
${ac_make}_set
=yes
43811 eval ac_cv_prog_make_
${ac_make}_set
=no
43813 rm -f conftest.
make
43815 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43816 echo "$as_me:$LINENO: result: yes" >&5
43817 echo "${ECHO_T}yes" >&6
43820 echo "$as_me:$LINENO: result: no" >&5
43821 echo "${ECHO_T}no" >&6
43822 SET_MAKE
="MAKE=${MAKE-make}"
43827 if test -n "$ac_tool_prefix"; then
43828 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43829 set dummy
${ac_tool_prefix}ar; ac_word
=$2
43830 echo "$as_me:$LINENO: checking for $ac_word" >&5
43831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43832 if test "${ac_cv_prog_AR+set}" = set; then
43833 echo $ECHO_N "(cached) $ECHO_C" >&6
43835 if test -n "$AR"; then
43836 ac_cv_prog_AR
="$AR" # Let the user override the test.
43838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43839 for as_dir
in $PATH
43842 test -z "$as_dir" && as_dir
=.
43843 for ac_exec_ext
in '' $ac_executable_extensions; do
43844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43845 ac_cv_prog_AR
="${ac_tool_prefix}ar"
43846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43855 if test -n "$AR"; then
43856 echo "$as_me:$LINENO: result: $AR" >&5
43857 echo "${ECHO_T}$AR" >&6
43859 echo "$as_me:$LINENO: result: no" >&5
43860 echo "${ECHO_T}no" >&6
43864 if test -z "$ac_cv_prog_AR"; then
43866 # Extract the first word of "ar", so it can be a program name with args.
43867 set dummy
ar; ac_word
=$2
43868 echo "$as_me:$LINENO: checking for $ac_word" >&5
43869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43870 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43871 echo $ECHO_N "(cached) $ECHO_C" >&6
43873 if test -n "$ac_ct_AR"; then
43874 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
43876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43877 for as_dir
in $PATH
43880 test -z "$as_dir" && as_dir
=.
43881 for ac_exec_ext
in '' $ac_executable_extensions; do
43882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43883 ac_cv_prog_ac_ct_AR
="ar"
43884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43890 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
43893 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
43894 if test -n "$ac_ct_AR"; then
43895 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43896 echo "${ECHO_T}$ac_ct_AR" >&6
43898 echo "$as_me:$LINENO: result: no" >&5
43899 echo "${ECHO_T}no" >&6
43904 AR
="$ac_cv_prog_AR"
43907 if test -n "$ac_tool_prefix"; then
43908 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43909 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
43910 echo "$as_me:$LINENO: checking for $ac_word" >&5
43911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43912 if test "${ac_cv_prog_STRIP+set}" = set; then
43913 echo $ECHO_N "(cached) $ECHO_C" >&6
43915 if test -n "$STRIP"; then
43916 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
43918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43919 for as_dir
in $PATH
43922 test -z "$as_dir" && as_dir
=.
43923 for ac_exec_ext
in '' $ac_executable_extensions; do
43924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43925 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
43926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43934 STRIP
=$ac_cv_prog_STRIP
43935 if test -n "$STRIP"; then
43936 echo "$as_me:$LINENO: result: $STRIP" >&5
43937 echo "${ECHO_T}$STRIP" >&6
43939 echo "$as_me:$LINENO: result: no" >&5
43940 echo "${ECHO_T}no" >&6
43944 if test -z "$ac_cv_prog_STRIP"; then
43946 # Extract the first word of "strip", so it can be a program name with args.
43947 set dummy strip
; ac_word
=$2
43948 echo "$as_me:$LINENO: checking for $ac_word" >&5
43949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43950 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43951 echo $ECHO_N "(cached) $ECHO_C" >&6
43953 if test -n "$ac_ct_STRIP"; then
43954 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
43956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43957 for as_dir
in $PATH
43960 test -z "$as_dir" && as_dir
=.
43961 for ac_exec_ext
in '' $ac_executable_extensions; do
43962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43963 ac_cv_prog_ac_ct_STRIP
="strip"
43964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43970 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
43973 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
43974 if test -n "$ac_ct_STRIP"; then
43975 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43976 echo "${ECHO_T}$ac_ct_STRIP" >&6
43978 echo "$as_me:$LINENO: result: no" >&5
43979 echo "${ECHO_T}no" >&6
43984 STRIP
="$ac_cv_prog_STRIP"
43987 if test -n "$ac_tool_prefix"; then
43988 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43989 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
43990 echo "$as_me:$LINENO: checking for $ac_word" >&5
43991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43992 if test "${ac_cv_prog_NM+set}" = set; then
43993 echo $ECHO_N "(cached) $ECHO_C" >&6
43995 if test -n "$NM"; then
43996 ac_cv_prog_NM
="$NM" # Let the user override the test.
43998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43999 for as_dir
in $PATH
44002 test -z "$as_dir" && as_dir
=.
44003 for ac_exec_ext
in '' $ac_executable_extensions; do
44004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44005 ac_cv_prog_NM
="${ac_tool_prefix}nm"
44006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44015 if test -n "$NM"; then
44016 echo "$as_me:$LINENO: result: $NM" >&5
44017 echo "${ECHO_T}$NM" >&6
44019 echo "$as_me:$LINENO: result: no" >&5
44020 echo "${ECHO_T}no" >&6
44024 if test -z "$ac_cv_prog_NM"; then
44026 # Extract the first word of "nm", so it can be a program name with args.
44027 set dummy nm
; ac_word
=$2
44028 echo "$as_me:$LINENO: checking for $ac_word" >&5
44029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44030 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
44031 echo $ECHO_N "(cached) $ECHO_C" >&6
44033 if test -n "$ac_ct_NM"; then
44034 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
44036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44037 for as_dir
in $PATH
44040 test -z "$as_dir" && as_dir
=.
44041 for ac_exec_ext
in '' $ac_executable_extensions; do
44042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44043 ac_cv_prog_ac_ct_NM
="nm"
44044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44050 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
44053 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
44054 if test -n "$ac_ct_NM"; then
44055 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
44056 echo "${ECHO_T}$ac_ct_NM" >&6
44058 echo "$as_me:$LINENO: result: no" >&5
44059 echo "${ECHO_T}no" >&6
44064 NM
="$ac_cv_prog_NM"
44068 case ${BAKEFILE_HOST} in
44070 INSTALL_DIR
="mkdir -p"
44072 *) INSTALL_DIR
="$INSTALL -d"
44078 case ${BAKEFILE_HOST} in
44079 *-*-cygwin* | *-*-mingw32* )
44080 LDFLAGS_GUI
="-mwindows"
44086 echo "$as_me:$LINENO: checking if make is GNU make" >&5
44087 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
44088 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
44089 echo $ECHO_N "(cached) $ECHO_C" >&6
44092 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
44093 egrep -s GNU
> /dev
/null
); then
44094 bakefile_cv_prog_makeisgnu
="yes"
44096 bakefile_cv_prog_makeisgnu
="no"
44100 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
44101 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
44103 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
44120 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44121 case "${BAKEFILE_HOST}" in
44128 *-pc-os2_emx | *-pc-os2-emx )
44138 powerpc
-apple-macos* )
44147 case "$BAKEFILE_FORCE_PLATFORM" in
44168 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44169 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44170 { (exit 1); exit 1; }; }
44185 # Check whether --enable-omf or --disable-omf was given.
44186 if test "${enable_omf+set}" = set; then
44187 enableval
="$enable_omf"
44188 bk_os2_use_omf
="$enableval"
44191 case "${BAKEFILE_HOST}" in
44193 if test "x$GCC" = "xyes"; then
44194 CFLAGS
="$CFLAGS -fno-common"
44195 CXXFLAGS
="$CXXFLAGS -fno-common"
44197 if test "x$XLCC" = "xyes"; then
44198 CFLAGS
="$CFLAGS -qnocommon"
44199 CXXFLAGS
="$CXXFLAGS -qnocommon"
44203 *-pc-os2_emx | *-pc-os2-emx )
44204 if test "x$bk_os2_use_omf" = "xyes" ; then
44207 LDFLAGS
="-Zomf $LDFLAGS"
44208 CFLAGS
="-Zomf $CFLAGS"
44209 CXXFLAGS
="-Zomf $CXXFLAGS"
44217 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
44223 SO_SUFFIX_MODULE
="so"
44228 DLLPREFIX_MODULE
=""
44232 case "${BAKEFILE_HOST}" in
44235 SO_SUFFIX_MODULE
="sl"
44239 SO_SUFFIX_MODULE
="a"
44243 SO_SUFFIX_MODULE
="dll"
44244 DLLIMP_SUFFIX
="dll.a"
44251 SO_SUFFIX_MODULE
="dll"
44252 DLLIMP_SUFFIX
="dll.a"
44262 *-pc-os2_emx | *-pc-os2-emx )
44264 SO_SUFFIX_MODULE
="dll"
44265 DLLIMP_SUFFIX
=$OS2_LIBEXT
44269 LIBEXT
=".$OS2_LIBEXT"
44274 SO_SUFFIX_MODULE
="bundle"
44278 if test "x$DLLIMP_SUFFIX" = "x" ; then
44279 DLLIMP_SUFFIX
="$SO_SUFFIX"
44294 if test "x$GCC" = "xyes"; then
44298 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
44299 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
44302 case "${BAKEFILE_HOST}" in
44304 if test "x$GCC" != "xyes"; then
44305 LDFLAGS
="$LDFLAGS -L/usr/lib"
44307 SHARED_LD_CC
="${CC} -b -o"
44308 SHARED_LD_CXX
="${CXX} -b -o"
44314 if test "x$GCC" != "xyes"; then
44315 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44316 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44317 if test "${bakefile_cv_prog_icc+set}" = set; then
44318 echo $ECHO_N "(cached) $ECHO_C" >&6
44321 cat >conftest.
$ac_ext <<_ACEOF
44324 cat confdefs.h
>>conftest.
$ac_ext
44325 cat >>conftest.
$ac_ext <<_ACEOF
44326 /* end confdefs.h. */
44332 #ifndef __INTEL_COMPILER
44340 rm -f conftest.
$ac_objext
44341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44342 (eval $ac_compile) 2>conftest.er1
44344 grep -v '^ *+' conftest.er1
>conftest.err
44346 cat conftest.err
>&5
44347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44348 (exit $ac_status); } &&
44349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44351 (eval $ac_try) 2>&5
44353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44354 (exit $ac_status); }; } &&
44355 { ac_try
='test -s conftest.$ac_objext'
44356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44357 (eval $ac_try) 2>&5
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }; }; then
44361 bakefile_cv_prog_icc
=yes
44363 echo "$as_me: failed program was:" >&5
44364 sed 's/^/| /' conftest.
$ac_ext >&5
44366 bakefile_cv_prog_icc
=no
44369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44372 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44373 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44374 if test "$bakefile_cv_prog_icc" = "yes"; then
44381 if test "x$GCC" != xyes
; then
44382 SHARED_LD_CC
="${CC} -G -o"
44383 SHARED_LD_CXX
="${CXX} -G -o"
44391 cat <<EOF >shared-ld-sh
44393 #-----------------------------------------------------------------------------
44394 #-- Name: distrib/mac/shared-ld-sh
44395 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44396 #-- Author: Gilles Depeyrot
44397 #-- Copyright: (c) 2002 Gilles Depeyrot
44398 #-- Licence: any use permitted
44399 #-----------------------------------------------------------------------------
44404 linking_flag="-dynamiclib"
44405 ldargs="-r -keep_private_externs -nostdlib"
44407 while test ${D}# -gt 0; do
44414 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44415 # collect these options and values
44416 args="${D}{args} ${D}1 ${D}2"
44421 # collect these load args
44422 ldargs="${D}{ldargs} ${D}1"
44425 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44426 # collect these options
44427 args="${D}{args} ${D}1"
44430 -dynamiclib|-bundle)
44431 linking_flag="${D}1"
44435 echo "shared-ld: unhandled option '${D}1'"
44439 *.o | *.a | *.dylib)
44440 # collect object files
44441 objects="${D}{objects} ${D}1"
44445 echo "shared-ld: unhandled argument '${D}1'"
44456 # Link one module containing all the others
44458 if test ${D}{verbose} = 1; then
44459 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44461 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44465 # Link the shared library from the single module created, but only if the
44466 # previous command didn't fail:
44468 if test ${D}{status} = 0; then
44469 if test ${D}{verbose} = 1; then
44470 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44472 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44477 # Remove intermediate module
44479 rm -f master.${D}${D}.o
44484 chmod +x shared
-ld-sh
44486 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44487 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
44490 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44491 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44492 if test "${bakefile_cv_gcc31+set}" = set; then
44493 echo $ECHO_N "(cached) $ECHO_C" >&6
44496 cat >conftest.
$ac_ext <<_ACEOF
44499 cat confdefs.h
>>conftest.
$ac_ext
44500 cat >>conftest.
$ac_ext <<_ACEOF
44501 /* end confdefs.h. */
44507 #if (__GNUC__ < 3) || \
44508 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44516 rm -f conftest.
$ac_objext
44517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44518 (eval $ac_compile) 2>conftest.er1
44520 grep -v '^ *+' conftest.er1
>conftest.err
44522 cat conftest.err
>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); } &&
44525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44527 (eval $ac_try) 2>&5
44529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44530 (exit $ac_status); }; } &&
44531 { ac_try
='test -s conftest.$ac_objext'
44532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44533 (eval $ac_try) 2>&5
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); }; }; then
44538 bakefile_cv_gcc31
=yes
44541 echo "$as_me: failed program was:" >&5
44542 sed 's/^/| /' conftest.
$ac_ext >&5
44545 bakefile_cv_gcc31
=no
44549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44552 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44553 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44554 if test "$bakefile_cv_gcc31" = "no"; then
44555 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44556 SHARED_LD_CXX
="$SHARED_LD_CC"
44558 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44559 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44562 if test "x$GCC" == "xyes"; then
44563 PIC_FLAG
="-dynamic -fPIC"
44565 if test "x$XLCC" = "xyes"; then
44566 PIC_FLAG
="-dynamic -DPIC"
44571 if test "x$GCC" = "xyes"; then
44574 case "${BAKEFILE_HOST}" in
44576 LD_EXPFULL
="-Wl,-bexpfull"
44580 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
44581 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
44583 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44584 set dummy makeC
++SharedLib
; ac_word
=$2
44585 echo "$as_me:$LINENO: checking for $ac_word" >&5
44586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44587 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44588 echo $ECHO_N "(cached) $ECHO_C" >&6
44590 if test -n "$AIX_CXX_LD"; then
44591 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
44593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44594 for as_dir
in $PATH
44597 test -z "$as_dir" && as_dir
=.
44598 for ac_exec_ext
in '' $ac_executable_extensions; do
44599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44600 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
44601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44607 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
44610 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
44611 if test -n "$AIX_CXX_LD"; then
44612 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44613 echo "${ECHO_T}$AIX_CXX_LD" >&6
44615 echo "$as_me:$LINENO: result: no" >&5
44616 echo "${ECHO_T}no" >&6
44619 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
44620 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
44625 SHARED_LD_CC
="${LD} -nostart -o"
44626 SHARED_LD_CXX
="${LD} -nostart -o"
44630 if test "x$GCC" != "xyes"; then
44635 *-*-cygwin* | *-*-mingw32* )
44637 SHARED_LD_CC
="\$(CC) -shared -o"
44638 SHARED_LD_CXX
="\$(CXX) -shared -o"
44642 *-pc-os2_emx | *-pc-os2-emx )
44643 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44644 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44648 cat <<EOF >dllar.sh
44651 # dllar - a tool to build both a .dll and an .a file
44652 # from a set of object (.o) files for EMX/OS2.
44654 # Written by Andrew Zabolotny, bit@freya.etu.ru
44655 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44657 # This script will accept a set of files on the command line.
44658 # All the public symbols from the .o files will be exported into
44659 # a .DEF file, then linker will be run (through gcc) against them to
44660 # build a shared library consisting of all given .o files. All libraries
44661 # (.a) will be first decompressed into component .o files then act as
44662 # described above. You can optionally give a description (-d "description")
44663 # which will be put into .DLL. To see the list of accepted options (as well
44664 # as command-line format) simply run this program without options. The .DLL
44665 # is built to be imported by name (there is no guarantee that new versions
44666 # of the library you build will have same ordinals for same symbols).
44668 # dllar is free software; you can redistribute it and/or modify
44669 # it under the terms of the GNU General Public License as published by
44670 # the Free Software Foundation; either version 2, or (at your option)
44671 # any later version.
44673 # dllar is distributed in the hope that it will be useful,
44674 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44675 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44676 # GNU General Public License for more details.
44678 # You should have received a copy of the GNU General Public License
44679 # along with dllar; see the file COPYING. If not, write to the Free
44680 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44683 # To successfuly run this program you will need:
44684 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44685 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44687 # (used to build the .dll)
44689 # (used to create .def file from .o files)
44691 # (used to create .a file from .def file)
44692 # - GNU text utilites (cat, sort, uniq)
44693 # used to process emxexp output
44694 # - GNU file utilities (mv, rm)
44696 # - lxlite (optional, see flag below)
44697 # (used for general .dll cleanup)
44704 # basnam, variant of basename, which does _not_ remove the path, _iff_
44705 # second argument (suffix to remove) is given
44709 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44712 echo ${D}1 | sed 's/'${D}2'${D}//'
44715 echo "error in basnam ${D}*"
44721 # Cleanup temporary files and output
44724 for i in ${D}inputFiles ; do
44727 rm -rf \`basnam ${D}i !\`
44734 # Kill result in case of failure as there is just to many stupid make/nmake
44735 # things out there which doesn't do this.
44736 if [ ${D}# -eq 0 ]; then
44737 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44741 # Print usage and exit script with rc=1.
44743 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44744 echo ' [-name-mangler-script script.sh]'
44745 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44746 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44747 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44748 echo ' [*.o] [*.a]'
44749 echo '*> "output_file" should have no extension.'
44750 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44751 echo ' The import library name is derived from this and is set to "name".a,'
44752 echo ' unless overridden by -import'
44753 echo '*> "importlib_name" should have no extension.'
44754 echo ' If it has the .o, or .a extension, it is automatically removed.'
44755 echo ' This name is used as the import library name and may be longer and'
44756 echo ' more descriptive than the DLL name which has to follow the old '
44757 echo ' 8.3 convention of FAT.'
44758 echo '*> "script.sh may be given to override the output_file name by a'
44759 echo ' different name. It is mainly useful if the regular make process'
44760 echo ' of some package does not take into account OS/2 restriction of'
44761 echo ' DLL name lengths. It takes the importlib name as input and is'
44762 echo ' supposed to procude a shorter name as output. The script should'
44763 echo ' expect to get importlib_name without extension and should produce'
44764 echo ' a (max.) 8 letter name without extension.'
44765 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44766 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44767 echo ' These flags will be put at the start of GCC command line.'
44768 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44769 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44770 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44771 echo ' If the last character of a symbol is "*", all symbols beginning'
44772 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44773 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44774 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44775 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44776 echo ' C runtime DLLs.'
44777 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44778 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44779 echo ' unchanged to GCC at the end of command line.'
44780 echo '*> If you create a DLL from a library and you do not specify -o,'
44781 echo ' the basename for DLL and import library will be set to library name,'
44782 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44783 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44784 echo ' library will be renamed into gcc_s.a.'
44787 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44788 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44793 # Execute a command.
44794 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44795 # @Uses Whatever CleanUp() uses.
44801 if [ ${D}rcCmd -ne 0 ]; then
44802 echo "command failed, exit code="${D}rcCmd
44817 CFLAGS="-s -Zcrtdll"
44819 EXPORT_BY_ORDINALS=0
44824 case ${D}curDirS in
44828 curDirS=${D}{curDirS}"/"
44831 # Parse commandline
44834 while [ ${D}1 ]; do
44837 EXPORT_BY_ORDINALS=1;
44847 -name-mangler-script)
44868 exclude_symbols=${D}{exclude_symbols}${D}1" "
44872 library_flags=${D}{library_flags}${D}1" "
44891 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44894 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44895 if [ ${D}omfLinking -eq 1 ]; then
44896 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44898 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44903 if [ ${D}libsToLink -ne 0 ]; then
44904 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44906 for file in ${D}1 ; do
44907 if [ -f ${D}file ]; then
44908 inputFiles="${D}{inputFiles} ${D}file"
44912 if [ ${D}found -eq 0 ]; then
44913 echo "ERROR: No file(s) found: "${D}1
44920 done # iterate cmdline words
44923 if [ -z "${D}inputFiles" ]; then
44924 echo "dllar: no input files"
44928 # Now extract all .o files from .a files
44930 for file in ${D}inputFiles ; do
44941 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44946 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44948 if [ ${D}? -ne 0 ]; then
44949 echo "Failed to create subdirectory ./${D}dirname"
44953 # Append '!' to indicate archive
44954 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44955 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44958 for subfile in ${D}dirname/*.o* ; do
44959 if [ -f ${D}subfile ]; then
44961 if [ -s ${D}subfile ]; then
44962 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44963 newInputFiles="${D}newInputFiles ${D}subfile"
44967 if [ ${D}found -eq 0 ]; then
44968 echo "WARNING: there are no files in archive \\'${D}file\\'"
44972 newInputFiles="${D}{newInputFiles} ${D}file"
44976 inputFiles="${D}newInputFiles"
44978 # Output filename(s).
44980 if [ -z ${D}outFile ]; then
44982 set outFile ${D}inputFiles; outFile=${D}2
44985 # If it is an archive, remove the '!' and the '_%' suffixes
44986 case ${D}outFile in
44988 outFile=\`basnam ${D}outFile _%!\`
44993 case ${D}outFile in
44995 outFile=\`basnam ${D}outFile .dll\`
44998 outFile=\`basnam ${D}outFile .DLL\`
45001 outFile=\`basnam ${D}outFile .o\`
45004 outFile=\`basnam ${D}outFile .obj\`
45007 outFile=\`basnam ${D}outFile .a\`
45010 outFile=\`basnam ${D}outFile .lib\`
45015 case ${D}outimpFile in
45017 outimpFile=\`basnam ${D}outimpFile .a\`
45020 outimpFile=\`basnam ${D}outimpFile .lib\`
45025 if [ -z ${D}outimpFile ]; then
45026 outimpFile=${D}outFile
45028 defFile="${D}{outFile}.def"
45029 arcFile="${D}{outimpFile}.a"
45030 arcFile2="${D}{outimpFile}.lib"
45032 #create ${D}dllFile as something matching 8.3 restrictions,
45033 if [ -z ${D}renameScript ] ; then
45034 dllFile="${D}outFile"
45036 dllFile=\`${D}renameScript ${D}outimpFile\`
45039 if [ ${D}do_backup -ne 0 ] ; then
45040 if [ -f ${D}arcFile ] ; then
45041 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
45043 if [ -f ${D}arcFile2 ] ; then
45044 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
45048 # Extract public symbols from all the object files.
45049 tmpdefFile=${D}{defFile}_%
45050 rm -f ${D}tmpdefFile
45051 for file in ${D}inputFiles ; do
45056 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
45061 # Create the def file.
45063 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
45064 dllFile="${D}{dllFile}.dll"
45065 if [ ! -z ${D}description ]; then
45066 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
45068 echo "EXPORTS" >> ${D}defFile
45070 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
45071 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
45073 # Checks if the export is ok or not.
45074 for word in ${D}exclude_symbols; do
45075 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
45076 mv ${D}{tmpdefFile}% ${D}tmpdefFile
45080 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45081 sed "=" < ${D}tmpdefFile | \\
45085 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
45087 ' > ${D}{tmpdefFile}%
45088 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
45090 rm -f ${D}{tmpdefFile}%
45092 cat ${D}tmpdefFile >> ${D}defFile
45093 rm -f ${D}tmpdefFile
45095 # Do linking, create implib, and apply lxlite.
45097 for file in ${D}inputFiles ; do
45102 gccCmdl="${D}gccCmdl ${D}file"
45106 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
45107 touch "${D}{outFile}.dll"
45109 doCommand "emximp -o ${D}arcFile ${D}defFile"
45110 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
45112 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45115 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45117 doCommand "emxomf -s -l ${D}arcFile"
45127 powerpc
-apple-macos* | \
45128 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
45137 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45138 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45139 { (exit 1); exit 1; }; }
45142 if test "x$PIC_FLAG" != "x" ; then
45143 PIC_FLAG
="$PIC_FLAG -DPIC"
45146 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45147 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
45149 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45150 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
45169 case "${BAKEFILE_HOST}" in
45170 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
45171 SONAME_FLAG
="-Wl,-soname,"
45205 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45206 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45209 if test "x$GCC" = "xyes"; then
45211 case "${BAKEFILE_HOST}" in
45213 DEPSFLAG
="-no-cpp-precomp -MMD"
45219 echo "$as_me:$LINENO: result: gcc" >&5
45220 echo "${ECHO_T}gcc" >&6
45221 elif test "x$MWCC" = "xyes"; then
45224 echo "$as_me:$LINENO: result: mwcc" >&5
45225 echo "${ECHO_T}mwcc" >&6
45226 elif test "x$SUNCC" = "xyes"; then
45229 echo "$as_me:$LINENO: result: Sun cc" >&5
45230 echo "${ECHO_T}Sun cc" >&6
45231 elif test "x$SGICC" = "xyes"; then
45234 echo "$as_me:$LINENO: result: SGI cc" >&5
45235 echo "${ECHO_T}SGI cc" >&6
45236 elif test "x$HPCC" = "xyes"; then
45239 echo "$as_me:$LINENO: result: HP cc" >&5
45240 echo "${ECHO_T}HP cc" >&6
45241 elif test "x$COMPAQCC" = "xyes"; then
45244 echo "$as_me:$LINENO: result: Compaq cc" >&5
45245 echo "${ECHO_T}Compaq cc" >&6
45248 echo "$as_me:$LINENO: result: none" >&5
45249 echo "${ECHO_T}none" >&6
45252 if test $DEPS_TRACKING = 1 ; then
45258 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45259 # script. It is used to track C/C++ files dependencies in portable way.
45261 # Permission is given to use this file in any way.
45263 DEPSMODE=${DEPSMODE}
45265 DEPSFLAG="${DEPSFLAG}"
45267 mkdir -p ${D}DEPSDIR
45269 if test ${D}DEPSMODE = gcc ; then
45270 ${D}* ${D}{DEPSFLAG}
45272 if test ${D}{status} != 0 ; then
45275 # move created file to the location we want it in:
45276 while test ${D}# -gt 0; do
45290 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45291 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45292 if test -f ${D}depfile ; then
45293 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45296 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45297 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45298 if test ! -f ${D}depfile ; then
45299 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45300 depfile="${D}objfile.d"
45302 if test -f ${D}depfile ; then
45303 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45308 elif test ${D}DEPSMODE = mwcc ; then
45309 ${D}* || exit ${D}?
45310 # Run mwcc again with -MM and redirect into the dep file we want
45311 # NOTE: We can't use shift here because we need ${D}* to be valid
45313 for arg in ${D}* ; do
45314 if test "${D}prevarg" = "-o"; then
45327 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45329 elif test ${D}DEPSMODE = unixcc; then
45330 ${D}* || exit ${D}?
45331 # Run compiler again with deps flag and redirect into the dep file.
45332 # It doesn't work if the '-o FILE' option is used, but without it the
45333 # dependency file will contain the wrong name for the object. So it is
45334 # removed from the command line, and the dep file is fixed with sed.
45336 while test ${D}# -gt 0; do
45343 eval arg${D}#=\\${D}1
45344 cmd="${D}cmd \\${D}arg${D}#"
45349 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45366 case ${BAKEFILE_HOST} in
45367 *-*-cygwin* | *-*-mingw32* )
45368 if test "$build" != "$host" ; then
45369 RESCOMP
=$host_alias-windres
45371 # Extract the first word of "windres", so it can be a program name with args.
45372 set dummy windres
; ac_word
=$2
45373 echo "$as_me:$LINENO: checking for $ac_word" >&5
45374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45375 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45376 echo $ECHO_N "(cached) $ECHO_C" >&6
45378 if test -n "$RESCOMP"; then
45379 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45382 for as_dir
in $PATH
45385 test -z "$as_dir" && as_dir
=.
45386 for ac_exec_ext
in '' $ac_executable_extensions; do
45387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45388 ac_cv_prog_RESCOMP
="windres"
45389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45395 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
45398 RESCOMP
=$ac_cv_prog_RESCOMP
45399 if test -n "$RESCOMP"; then
45400 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45401 echo "${ECHO_T}$RESCOMP" >&6
45403 echo "$as_me:$LINENO: result: no" >&5
45404 echo "${ECHO_T}no" >&6
45410 *-*-darwin* | powerpc
-apple-macos* )
45411 # Extract the first word of "Rez", so it can be a program name with args.
45412 set dummy Rez
; ac_word
=$2
45413 echo "$as_me:$LINENO: checking for $ac_word" >&5
45414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45415 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45416 echo $ECHO_N "(cached) $ECHO_C" >&6
45418 if test -n "$RESCOMP"; then
45419 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45422 for as_dir
in $PATH
45425 test -z "$as_dir" && as_dir
=.
45426 for ac_exec_ext
in '' $ac_executable_extensions; do
45427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45428 ac_cv_prog_RESCOMP
="Rez"
45429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45435 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
45438 RESCOMP
=$ac_cv_prog_RESCOMP
45439 if test -n "$RESCOMP"; then
45440 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45441 echo "${ECHO_T}$RESCOMP" >&6
45443 echo "$as_me:$LINENO: result: no" >&5
45444 echo "${ECHO_T}no" >&6
45447 # Extract the first word of "SetFile", so it can be a program name with args.
45448 set dummy SetFile
; ac_word
=$2
45449 echo "$as_me:$LINENO: checking for $ac_word" >&5
45450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45451 if test "${ac_cv_prog_SETFILE+set}" = set; then
45452 echo $ECHO_N "(cached) $ECHO_C" >&6
45454 if test -n "$SETFILE"; then
45455 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
45457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45458 for as_dir
in $PATH
45461 test -z "$as_dir" && as_dir
=.
45462 for ac_exec_ext
in '' $ac_executable_extensions; do
45463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45464 ac_cv_prog_SETFILE
="SetFile"
45465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45471 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
45474 SETFILE
=$ac_cv_prog_SETFILE
45475 if test -n "$SETFILE"; then
45476 echo "$as_me:$LINENO: result: $SETFILE" >&5
45477 echo "${ECHO_T}$SETFILE" >&6
45479 echo "$as_me:$LINENO: result: no" >&5
45480 echo "${ECHO_T}no" >&6
45490 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
45493 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
45497 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45498 if test "${enable_precomp_headers+set}" = set; then
45499 enableval
="$enable_precomp_headers"
45500 bk_use_pch
="$enableval"
45505 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45506 if test "x$GCC" = "xyes"; then
45507 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45508 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45509 cat >conftest.
$ac_ext <<_ACEOF
45512 cat confdefs.h
>>conftest.
$ac_ext
45513 cat >>conftest.
$ac_ext <<_ACEOF
45514 /* end confdefs.h. */
45520 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45521 #error "no pch support"
45524 #error "no pch support"
45526 #if (__GNUC__ == 3) && \
45527 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45528 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45529 #error "no pch support"
45536 rm -f conftest.
$ac_objext
45537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45538 (eval $ac_compile) 2>conftest.er1
45540 grep -v '^ *+' conftest.er1
>conftest.err
45542 cat conftest.err
>&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } &&
45545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45547 (eval $ac_try) 2>&5
45549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45550 (exit $ac_status); }; } &&
45551 { ac_try
='test -s conftest.$ac_objext'
45552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45553 (eval $ac_try) 2>&5
45555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45556 (exit $ac_status); }; }; then
45558 echo "$as_me:$LINENO: result: yes" >&5
45559 echo "${ECHO_T}yes" >&6
45563 echo "$as_me: failed program was:" >&5
45564 sed 's/^/| /' conftest.
$ac_ext >&5
45567 echo "$as_me:$LINENO: result: no" >&5
45568 echo "${ECHO_T}no" >&6
45571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45572 if test $GCC_PCH = 1 ; then
45575 cat <<EOF >bk-make-pch
45578 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45579 # script. It is used to generated precompiled headers.
45581 # Permission is given to use this file in any way.
45590 while test ${D}{#} -gt 0; do
45593 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45594 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45595 headerfile="${D}{incdir}/${D}{header}"
45599 compiler="${D}{compiler} ${D}{1}"
45603 if test "x${D}{headerfile}" = "x" ; then
45604 echo "error: can't find header ${D}{header} in include paths" >2
45606 if test -f ${D}{outfile} ; then
45607 rm -f ${D}{outfile}
45609 mkdir -p \`dirname ${D}{outfile}\`
45611 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45613 # can do this because gcc is >= 3.4:
45614 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45619 chmod +x bk
-make-pch
45626 COND_BUILD_DEBUG
="#"
45627 if test "x$BUILD" = "xdebug" ; then
45628 COND_BUILD_DEBUG
=""
45631 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
45632 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
45633 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
45636 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
45637 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
45638 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
45641 COND_BUILD_DEBUG_UNICODE_0
="#"
45642 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45643 COND_BUILD_DEBUG_UNICODE_0
=""
45646 COND_BUILD_DEBUG_UNICODE_1
="#"
45647 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45648 COND_BUILD_DEBUG_UNICODE_1
=""
45651 COND_BUILD_RELEASE
="#"
45652 if test "x$BUILD" = "xrelease" ; then
45653 COND_BUILD_RELEASE
=""
45656 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
45657 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45658 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
45661 COND_BUILD_RELEASE_UNICODE_0
="#"
45662 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45663 COND_BUILD_RELEASE_UNICODE_0
=""
45666 COND_BUILD_RELEASE_UNICODE_1
="#"
45667 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45668 COND_BUILD_RELEASE_UNICODE_1
=""
45671 COND_DEBUG_FLAG_1
="#"
45672 if test "x$DEBUG_FLAG" = "x1" ; then
45673 COND_DEBUG_FLAG_1
=""
45676 COND_DEBUG_INFO_0
="#"
45677 if test "x$DEBUG_INFO" = "x0" ; then
45678 COND_DEBUG_INFO_0
=""
45681 COND_DEBUG_INFO_1
="#"
45682 if test "x$DEBUG_INFO" = "x1" ; then
45683 COND_DEBUG_INFO_1
=""
45686 COND_DEPS_TRACKING_0
="#"
45687 if test "x$DEPS_TRACKING" = "x0" ; then
45688 COND_DEPS_TRACKING_0
=""
45691 COND_DEPS_TRACKING_1
="#"
45692 if test "x$DEPS_TRACKING" = "x1" ; then
45693 COND_DEPS_TRACKING_1
=""
45697 if test "x$GCC_PCH" = "x1" ; then
45701 COND_MONOLITHIC_0
="#"
45702 if test "x$MONOLITHIC" = "x0" ; then
45703 COND_MONOLITHIC_0
=""
45706 COND_MONOLITHIC_0_SHARED_0
="#"
45707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45708 COND_MONOLITHIC_0_SHARED_0
=""
45711 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
45712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
45716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
45717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
45721 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
45722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
45726 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
45727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
45731 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
45732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45733 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
45736 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
45737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45738 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
45741 COND_MONOLITHIC_0_SHARED_1
="#"
45742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45743 COND_MONOLITHIC_0_SHARED_1
=""
45746 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
45747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45748 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
45751 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
45752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45753 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
45756 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
45757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45758 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
45761 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
45762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
45766 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
45767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45768 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
45771 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
45772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45773 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
45776 COND_MONOLITHIC_0_USE_ODBC_1
="#"
45777 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45778 COND_MONOLITHIC_0_USE_ODBC_1
=""
45781 COND_MONOLITHIC_1
="#"
45782 if test "x$MONOLITHIC" = "x1" ; then
45783 COND_MONOLITHIC_1
=""
45786 COND_MONOLITHIC_1_SHARED_0
="#"
45787 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45788 COND_MONOLITHIC_1_SHARED_0
=""
45791 COND_MONOLITHIC_1_SHARED_1
="#"
45792 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45793 COND_MONOLITHIC_1_SHARED_1
=""
45796 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
45797 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45798 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
45801 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
45802 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45803 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
45806 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
45807 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45808 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
45811 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
45812 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45813 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
45816 COND_PLATFORM_MACOSX_1
="#"
45817 if test "x$PLATFORM_MACOSX" = "x1" ; then
45818 COND_PLATFORM_MACOSX_1
=""
45821 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
45822 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45823 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
45826 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
45827 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45828 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
45831 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
45832 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45833 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
45836 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
45837 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45838 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
45841 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
45842 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45843 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
45846 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45847 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45848 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45851 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
45852 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45853 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
45856 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
45857 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45858 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
45861 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
45862 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45863 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
45866 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
45867 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45868 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
45871 COND_PLATFORM_MACOS_1
="#"
45872 if test "x$PLATFORM_MACOS" = "x1" ; then
45873 COND_PLATFORM_MACOS_1
=""
45876 COND_PLATFORM_MAC_1
="#"
45877 if test "x$PLATFORM_MAC" = "x1" ; then
45878 COND_PLATFORM_MAC_1
=""
45881 COND_PLATFORM_MSDOS_1
="#"
45882 if test "x$PLATFORM_MSDOS" = "x1" ; then
45883 COND_PLATFORM_MSDOS_1
=""
45886 COND_PLATFORM_OS2_1
="#"
45887 if test "x$PLATFORM_OS2" = "x1" ; then
45888 COND_PLATFORM_OS2_1
=""
45891 COND_PLATFORM_UNIX_0
="#"
45892 if test "x$PLATFORM_UNIX" = "x0" ; then
45893 COND_PLATFORM_UNIX_0
=""
45896 COND_PLATFORM_UNIX_1
="#"
45897 if test "x$PLATFORM_UNIX" = "x1" ; then
45898 COND_PLATFORM_UNIX_1
=""
45901 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
45902 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45903 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
45906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
45907 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45908 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
45911 COND_PLATFORM_WIN32_0
="#"
45912 if test "x$PLATFORM_WIN32" = "x0" ; then
45913 COND_PLATFORM_WIN32_0
=""
45916 COND_PLATFORM_WIN32_1
="#"
45917 if test "x$PLATFORM_WIN32" = "x1" ; then
45918 COND_PLATFORM_WIN32_1
=""
45922 if test "x$SHARED" = "x0" ; then
45926 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
45927 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45928 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
45931 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
45932 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45933 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
45936 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
45937 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45938 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
45941 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
45942 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45943 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
45946 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45947 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45948 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45951 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45952 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45953 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45956 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45957 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45958 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45961 COND_SHARED_0_USE_XRC_1
="#"
45962 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45963 COND_SHARED_0_USE_XRC_1
=""
45966 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
45967 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45968 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
45971 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
45972 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45973 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
45976 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
45977 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45978 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
45981 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
45982 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45983 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
45987 if test "x$SHARED" = "x1" ; then
45991 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
45992 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45993 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
45996 COND_SHARED_1_USE_XRC_1
="#"
45997 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45998 COND_SHARED_1_USE_XRC_1
=""
46002 if test "x$TOOLKIT" = "x" ; then
46006 COND_TOOLKIT_COCOA
="#"
46007 if test "x$TOOLKIT" = "xCOCOA" ; then
46008 COND_TOOLKIT_COCOA
=""
46011 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
46012 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
46013 COND_TOOLKIT_COCOA_USE_GUI_1
=""
46016 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
46017 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46018 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
46021 COND_TOOLKIT_GTK
="#"
46022 if test "x$TOOLKIT" = "xGTK" ; then
46023 COND_TOOLKIT_GTK
=""
46026 COND_TOOLKIT_GTK_USE_GUI_1
="#"
46027 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
46028 COND_TOOLKIT_GTK_USE_GUI_1
=""
46031 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
46032 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46033 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
46036 COND_TOOLKIT_MAC
="#"
46037 if test "x$TOOLKIT" = "xMAC" ; then
46038 COND_TOOLKIT_MAC
=""
46041 COND_TOOLKIT_MAC_USE_GUI_1
="#"
46042 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
46043 COND_TOOLKIT_MAC_USE_GUI_1
=""
46046 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
46047 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46048 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
46051 COND_TOOLKIT_MGL
="#"
46052 if test "x$TOOLKIT" = "xMGL" ; then
46053 COND_TOOLKIT_MGL
=""
46056 COND_TOOLKIT_MGL_USE_GUI_1
="#"
46057 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
46058 COND_TOOLKIT_MGL_USE_GUI_1
=""
46061 COND_TOOLKIT_MOTIF
="#"
46062 if test "x$TOOLKIT" = "xMOTIF" ; then
46063 COND_TOOLKIT_MOTIF
=""
46066 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
46067 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
46068 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
46071 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
46072 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46073 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
46076 COND_TOOLKIT_MSW
="#"
46077 if test "x$TOOLKIT" = "xMSW" ; then
46078 COND_TOOLKIT_MSW
=""
46081 COND_TOOLKIT_MSW_USE_GUI_1
="#"
46082 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
46083 COND_TOOLKIT_MSW_USE_GUI_1
=""
46086 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
46087 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46088 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
46091 COND_TOOLKIT_MSW_WXUNIV_0
="#"
46092 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
46093 COND_TOOLKIT_MSW_WXUNIV_0
=""
46096 COND_TOOLKIT_PM
="#"
46097 if test "x$TOOLKIT" = "xPM" ; then
46101 COND_TOOLKIT_PM_USE_GUI_1
="#"
46102 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
46103 COND_TOOLKIT_PM_USE_GUI_1
=""
46106 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
46107 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46108 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
46111 COND_TOOLKIT_WINCE
="#"
46112 if test "x$TOOLKIT" = "xWINCE" ; then
46113 COND_TOOLKIT_WINCE
=""
46116 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
46117 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46118 COND_TOOLKIT_WINCE_USE_GUI_1
=""
46121 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
46122 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46123 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
46126 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
46127 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46128 COND_TOOLKIT_WINCE_WXUNIV_0
=""
46131 COND_TOOLKIT_X11
="#"
46132 if test "x$TOOLKIT" = "xX11" ; then
46133 COND_TOOLKIT_X11
=""
46136 COND_TOOLKIT_X11_USE_GUI_1
="#"
46137 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46138 COND_TOOLKIT_X11_USE_GUI_1
=""
46142 if test "x$UNICODE" = "x1" ; then
46146 COND_USE_EXCEPTIONS_0
="#"
46147 if test "x$USE_EXCEPTIONS" = "x0" ; then
46148 COND_USE_EXCEPTIONS_0
=""
46151 COND_USE_EXCEPTIONS_1
="#"
46152 if test "x$USE_EXCEPTIONS" = "x1" ; then
46153 COND_USE_EXCEPTIONS_1
=""
46157 if test "x$USE_GUI" = "x0" ; then
46162 if test "x$USE_GUI" = "x1" ; then
46166 COND_USE_GUI_1_WXUNIV_0
="#"
46167 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46168 COND_USE_GUI_1_WXUNIV_0
=""
46171 COND_USE_GUI_1_WXUNIV_1
="#"
46172 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46173 COND_USE_GUI_1_WXUNIV_1
=""
46176 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
46177 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46178 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
46181 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
46182 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46183 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
46186 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
46187 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46188 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46191 COND_USE_ODBC_1
="#"
46192 if test "x$USE_ODBC" = "x1" ; then
46196 COND_USE_OPENGL_1
="#"
46197 if test "x$USE_OPENGL" = "x1" ; then
46198 COND_USE_OPENGL_1
=""
46201 COND_USE_PLUGINS_0
="#"
46202 if test "x$USE_PLUGINS" = "x0" ; then
46203 COND_USE_PLUGINS_0
=""
46206 COND_USE_RTTI_0
="#"
46207 if test "x$USE_RTTI" = "x0" ; then
46211 COND_USE_RTTI_1
="#"
46212 if test "x$USE_RTTI" = "x1" ; then
46216 COND_USE_SOSYMLINKS_1
="#"
46217 if test "x$USE_SOSYMLINKS" = "x1" ; then
46218 COND_USE_SOSYMLINKS_1
=""
46221 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
46222 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46223 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
46226 COND_USE_SOVERLINUX_1
="#"
46227 if test "x$USE_SOVERLINUX" = "x1" ; then
46228 COND_USE_SOVERLINUX_1
=""
46231 COND_USE_SOVERSION_0
="#"
46232 if test "x$USE_SOVERSION" = "x0" ; then
46233 COND_USE_SOVERSION_0
=""
46236 COND_USE_SOVERSOLARIS_1
="#"
46237 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46238 COND_USE_SOVERSOLARIS_1
=""
46241 COND_USE_THREADS_0
="#"
46242 if test "x$USE_THREADS" = "x0" ; then
46243 COND_USE_THREADS_0
=""
46246 COND_USE_THREADS_1
="#"
46247 if test "x$USE_THREADS" = "x1" ; then
46248 COND_USE_THREADS_1
=""
46252 if test "x$USE_XRC" = "x1" ; then
46256 COND_WINDOWS_IMPLIB_1
="#"
46257 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46258 COND_WINDOWS_IMPLIB_1
=""
46261 COND_WITH_PLUGIN_SDL_1
="#"
46262 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46263 COND_WITH_PLUGIN_SDL_1
=""
46267 if test "x$WXUNIV" = "x0" ; then
46272 if test "x$WXUNIV" = "x1" ; then
46276 COND_WXUSE_EXPAT_BUILTIN
="#"
46277 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46278 COND_WXUSE_EXPAT_BUILTIN
=""
46281 COND_WXUSE_LIBJPEG_BUILTIN
="#"
46282 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46283 COND_WXUSE_LIBJPEG_BUILTIN
=""
46286 COND_WXUSE_LIBPNG_BUILTIN
="#"
46287 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46288 COND_WXUSE_LIBPNG_BUILTIN
=""
46291 COND_WXUSE_LIBTIFF_BUILTIN
="#"
46292 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46293 COND_WXUSE_LIBTIFF_BUILTIN
=""
46296 COND_WXUSE_ODBC_BUILTIN
="#"
46297 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46298 COND_WXUSE_ODBC_BUILTIN
=""
46301 COND_WXUSE_REGEX_BUILTIN
="#"
46302 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46303 COND_WXUSE_REGEX_BUILTIN
=""
46306 COND_WXUSE_ZLIB_BUILTIN
="#"
46307 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46308 COND_WXUSE_ZLIB_BUILTIN
=""
46313 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46314 { { 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
46315 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;}
46316 { (exit 1); exit 1; }; }
46319 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46320 { { 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
46321 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;}
46322 { (exit 1); exit 1; }; }
46326 if test "$wxUSE_SHARED" = "yes"; then
46328 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
46329 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
46332 *-pc-os2_emx | *-pc-os2-emx )
46333 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46334 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46335 cp -p ${srcdir}/src
/os
2/dllnames.sh .
46336 cp -p ${srcdir}/src
/os
2/dllar.sh .
46341 EXE_LINKER
="$CXX -o"
46344 if test "$wxUSE_OMF" = "yes"; then
46346 *-pc-os2_emx | *-pc-os2-emx )
46347 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
46348 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46349 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46354 if test $GCC_PCH = 1 ; then
46355 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
46358 CPPFLAGS
="$CPPFLAGS $TOOLCHAIN_DEFS"
46360 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46424 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46425 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46426 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46427 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46428 echo $ECHO_N "(cached) $ECHO_C" >&6
46430 cat >conftest.
make <<\_ACEOF
46432 @
echo 'ac_maketemp="$(MAKE)"'
46434 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46435 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46436 if test -n "$ac_maketemp"; then
46437 eval ac_cv_prog_make_
${ac_make}_set
=yes
46439 eval ac_cv_prog_make_
${ac_make}_set
=no
46441 rm -f conftest.
make
46443 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46444 echo "$as_me:$LINENO: result: yes" >&5
46445 echo "${ECHO_T}yes" >&6
46448 echo "$as_me:$LINENO: result: no" >&5
46449 echo "${ECHO_T}no" >&6
46450 SET_MAKE
="MAKE=${MAKE-make}"
46455 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46458 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46461 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46464 ac_config_files
="$ac_config_files version-script Makefile"
46467 ac_config_commands
="$ac_config_commands wx-config
46472 if test "$wxWITH_SUBDIRS" != "no"; then
46473 if test "$wxUSE_GUI" = "yes"; then
46474 SUBDIRS
="samples demos utils contrib"
46475 else SUBDIRS
="samples utils"
46480 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46481 if test "${with_cppunit_prefix+set}" = set; then
46482 withval
="$with_cppunit_prefix"
46483 cppunit_config_prefix
="$withval"
46485 cppunit_config_prefix
=""
46488 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46489 if test "${with_cppunit_exec_prefix+set}" = set; then
46490 withval
="$with_cppunit_exec_prefix"
46491 cppunit_config_exec_prefix
="$withval"
46493 cppunit_config_exec_prefix
=""
46496 if test x
$cppunit_config_exec_prefix != x
; then
46497 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46498 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46499 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
46502 if test x
$cppunit_config_prefix != x
; then
46503 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
46504 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46505 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
46509 # Extract the first word of "cppunit-config", so it can be a program name with args.
46510 set dummy cppunit
-config; ac_word
=$2
46511 echo "$as_me:$LINENO: checking for $ac_word" >&5
46512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46513 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46514 echo $ECHO_N "(cached) $ECHO_C" >&6
46516 case $CPPUNIT_CONFIG in
46518 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46522 for as_dir
in $PATH
46525 test -z "$as_dir" && as_dir
=.
46526 for ac_exec_ext
in '' $ac_executable_extensions; do
46527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46528 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46535 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
46539 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
46541 if test -n "$CPPUNIT_CONFIG"; then
46542 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46543 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46545 echo "$as_me:$LINENO: result: no" >&5
46546 echo "${ECHO_T}no" >&6
46549 cppunit_version_min
=1.8.0
46551 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46552 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46554 if test "$CPPUNIT_CONFIG" = "no" ; then
46557 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
46558 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
46559 cppunit_version
=`$CPPUNIT_CONFIG --version`
46561 cppunit_major_version
=`echo $cppunit_version | \
46562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46563 cppunit_minor_version
=`echo $cppunit_version | \
46564 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46565 cppunit_micro_version
=`echo $cppunit_version | \
46566 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46568 cppunit_major_min
=`echo $cppunit_version_min | \
46569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46570 cppunit_minor_min
=`echo $cppunit_version_min | \
46571 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46572 cppunit_micro_min
=`echo $cppunit_version_min | \
46573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46575 cppunit_version_proper
=`expr \
46576 $cppunit_major_version \> $cppunit_major_min \| \
46577 $cppunit_major_version \= $cppunit_major_min \& \
46578 $cppunit_minor_version \> $cppunit_minor_min \| \
46579 $cppunit_major_version \= $cppunit_major_min \& \
46580 $cppunit_minor_version \= $cppunit_minor_min \& \
46581 $cppunit_micro_version \>= $cppunit_micro_min `
46583 if test "$cppunit_version_proper" = "1" ; then
46584 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46585 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46587 echo "$as_me:$LINENO: result: no" >&5
46588 echo "${ECHO_T}no" >&6
46593 if test "x$no_cppunit" = x
; then
46594 SUBDIRS
="$SUBDIRS tests"
46605 for subdir
in `echo $SUBDIRS`; do
46606 if test -d ${srcdir}/${subdir} ; then
46607 if test "$wxUSE_GUI" = "yes"; then
46608 if test ${subdir} = "samples"; then
46609 makefiles
="samples/Makefile.in $makefiles"
46610 for sample
in `echo $SAMPLES_SUBDIRS`; do
46611 if test -d $srcdir/samples
/$sample; then
46612 makefiles
="samples/$sample/Makefile.in $makefiles"
46616 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
46617 eval "disabled=\$$disabled_var"
46618 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
46619 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46621 else if test ${subdir} = "samples"; then
46622 makefiles
="samples/Makefile.in samples/console/Makefile.in"
46623 elif test ${subdir} = "utils"; then
46625 for util
in HelpGen tex2rtf
; do
46626 if test -d $srcdir/utils
/$util ; then
46627 makefiles
="utils/$util/Makefile.in \
46628 utils/$util/src/Makefile.in \
46632 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
46636 for mkin
in $makefiles ; do
46637 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
46638 ac_config_files
="$ac_config_files $mk"
46644 cat >confcache
<<\_ACEOF
46645 # This file is a shell script that caches the results of configure
46646 # tests run on this system so they can be shared between configure
46647 # scripts and configure runs, see configure's option --config-cache.
46648 # It is not useful on other systems. If it contains results you don't
46649 # want to keep, you may remove or edit it.
46651 # config.status only pays attention to the cache file if you give it
46652 # the --recheck option to rerun configure.
46654 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46655 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46656 # following values.
46660 # The following way of writing the cache mishandles newlines in values,
46661 # but we know of no workaround that is simple, portable, and efficient.
46662 # So, don't put newlines in cache variables' values.
46663 # Ultrix sh set writes to stderr and can't be redirected directly,
46664 # and sets the high bit in the cache file unless we assign to the vars.
46667 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46669 # `set' does not quote correctly, so add quotes (double-quote
46670 # substitution turns \\\\ into \\, and sed turns \\ into \).
46673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46676 # `set' quotes correctly as required by POSIX, so do not add quotes.
46678 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46685 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46687 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46689 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
46690 if test -w $cache_file; then
46691 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46692 cat confcache
>$cache_file
46694 echo "not updating unwritable cache $cache_file"
46699 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
46700 # Let make expand exec_prefix.
46701 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
46703 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46704 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46705 # trailing colons and then remove the whole line if VPATH becomes empty
46706 # (actually we leave an empty line to preserve line numbers).
46707 if test "x$srcdir" = x.
; then
46708 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
46709 s/:*\$(srcdir):*/:/;
46710 s/:*\${srcdir}:*/:/;
46712 s/^\([^=]*=[ ]*\):*/\1/;
46718 DEFS
=-DHAVE_CONFIG_H
46722 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
46723 # 1. Remove the extension, and $U if already installed.
46724 ac_i
=`echo "$ac_i" |
46725 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46727 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
46728 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
46730 LIBOBJS
=$ac_libobjs
46732 LTLIBOBJS
=$ac_ltlibobjs
46736 : ${CONFIG_STATUS=./config.status}
46737 ac_clean_files_save
=$ac_clean_files
46738 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
46739 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46740 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46741 cat >$CONFIG_STATUS <<_ACEOF
46743 # Generated by $as_me.
46744 # Run this file to recreate the current configuration.
46745 # Compiler output produced by configure, useful for debugging
46746 # configure, is in config.log if it exists.
46749 ac_cs_recheck=false
46751 SHELL=\${CONFIG_SHELL-$SHELL}
46754 cat >>$CONFIG_STATUS <<\_ACEOF
46755 ## --------------------- ##
46756 ## M4sh Initialization. ##
46757 ## --------------------- ##
46759 # Be Bourne compatible
46760 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
46763 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46764 # is contrary to our usage. Disable this feature.
46765 alias -g '${1+"$@"}'='"$@"'
46766 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
46769 DUALCASE
=1; export DUALCASE
# for MKS sh
46771 # Support unset when possible.
46772 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
46779 # Work around bugs in pre-3.0 UWIN ksh.
46780 $as_unset ENV MAIL MAILPATH
46787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46789 LC_TELEPHONE LC_TIME
46791 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46792 eval $as_var=C
; export $as_var
46798 # Required to use basename.
46799 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46805 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
46806 as_basename
=basename
46812 # Name of the executable.
46813 as_me
=`$as_basename "$0" ||
46814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46815 X"$0" : 'X\(//\)$' \| \
46816 X"$0" : 'X\(/\)$' \| \
46817 . : '\(.\)' 2>/dev/null ||
46819 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46820 /^X\/\(\/\/\)$/{ s//\1/; q; }
46821 /^X\/\(\/\).*/{ s//\1/; q; }
46825 # PATH needs CR, and LINENO needs CR and PATH.
46826 # Avoid depending upon Character Ranges.
46827 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
46828 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46829 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
46830 as_cr_digits
='0123456789'
46831 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46833 # The user is always right.
46834 if test "${PATH_SEPARATOR+set}" != set; then
46835 echo "#! /bin/sh" >conf$$.sh
46836 echo "exit 0" >>conf$$.sh
46838 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
46847 as_lineno_1
=$LINENO
46848 as_lineno_2
=$LINENO
46849 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
46850 test "x$as_lineno_1" != "x$as_lineno_2" &&
46851 test "x$as_lineno_3" = "x$as_lineno_2" || {
46852 # Find who we are. Look in the path if we contain no path at all
46855 *[\\/]* ) as_myself
=$0 ;;
46856 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46857 for as_dir
in $PATH
46860 test -z "$as_dir" && as_dir
=.
46861 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
46866 # We did not find ourselves, most probably we were run as `sh COMMAND'
46867 # in which case we are not to be found in the path.
46868 if test "x$as_myself" = x
; then
46871 if test ! -f "$as_myself"; then
46872 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46873 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46874 { (exit 1); exit 1; }; }
46876 case $CONFIG_SHELL in
46878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46879 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
46882 test -z "$as_dir" && as_dir
=.
46883 for as_base
in sh bash ksh sh5
; do
46886 if ("$as_dir/$as_base" -c '
46887 as_lineno_1=$LINENO
46888 as_lineno_2=$LINENO
46889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46890 test "x$as_lineno_1" != "x$as_lineno_2" &&
46891 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
46892 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
46893 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
46894 CONFIG_SHELL
=$as_dir/$as_base
46895 export CONFIG_SHELL
46896 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46905 # uniformly replaced by the line number. The first 'sed' inserts a
46906 # line-number line before each line; the second 'sed' does the real
46907 # work. The second script uses 'N' to pair each line-number line
46908 # with the numbered line, and appends trailing '-' during
46909 # substitution so that $LINENO is not a special case at line end.
46910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46911 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46912 sed '=' <$as_myself |
46917 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46920 s,^['$as_cr_digits']*\n,,
46921 ' >$as_me.lineno
&&
46922 chmod +x
$as_me.lineno
||
46923 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46924 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46925 { (exit 1); exit 1; }; }
46927 # Don't try to exec as it changes $[0], causing all sort of problems
46928 # (the dirname of $[0] is not the place where we might find the
46929 # original and so on. Autoconf is especially sensible to this).
46931 # Exit status is that of the last command.
46936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46937 *c
*,-n*) ECHO_N
= ECHO_C
='
46939 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
46940 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
46943 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46949 rm -f conf$$ conf$$.exe conf$$.
file
46951 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
46952 # We could just check for DJGPP; but this test a) works b) is more generic
46953 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46954 if test -f conf$$.exe
; then
46955 # Don't use ln at all; we don't have any links
46960 elif ln conf$$.
file conf$$
2>/dev
/null
; then
46965 rm -f conf$$ conf$$.exe conf$$.
file
46967 if mkdir -p .
2>/dev
/null
; then
46970 test -d .
/-p && rmdir .
/-p
46974 as_executable_p
="test -f"
46976 # Sed expression to map a string onto a valid CPP name.
46977 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46979 # Sed expression to map a string onto a valid variable name.
46980 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46984 # We need space, tab and new line, in precisely that order.
46994 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46995 # report actual input values of CONFIG_FILES etc. instead of their
46996 # values after options handling. Logging --version etc. is OK.
47000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47001 ## Running $as_me. ##
47006 This file was extended by wxWidgets $as_me 2.7.0, which was
47007 generated by GNU Autoconf 2.59. Invocation command line was
47009 CONFIG_FILES = $CONFIG_FILES
47010 CONFIG_HEADERS = $CONFIG_HEADERS
47011 CONFIG_LINKS = $CONFIG_LINKS
47012 CONFIG_COMMANDS = $CONFIG_COMMANDS
47016 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
47020 # Files that config.status was made for.
47021 if test -n "$ac_config_files"; then
47022 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
47025 if test -n "$ac_config_headers"; then
47026 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
47029 if test -n "$ac_config_links"; then
47030 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
47033 if test -n "$ac_config_commands"; then
47034 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
47037 cat >>$CONFIG_STATUS <<\_ACEOF
47040 \`$as_me' instantiates files from templates according to the
47041 current configuration.
47043 Usage: $0 [OPTIONS] [FILE]...
47045 -h, --help print this help, then exit
47046 -V, --version print version number, then exit
47047 -q, --quiet do not print progress messages
47048 -d, --debug don't remove temporary files
47049 --recheck update $as_me by reconfiguring in the same conditions
47050 --file=FILE[:TEMPLATE]
47051 instantiate the configuration file FILE
47052 --header=FILE[:TEMPLATE]
47053 instantiate the configuration header FILE
47055 Configuration files:
47058 Configuration headers:
47061 Configuration commands:
47064 Report bugs to <bug-autoconf@gnu.org>."
47067 cat >>$CONFIG_STATUS <<_ACEOF
47069 wxWidgets config.status 2.7.0
47070 configured by $0, generated by GNU Autoconf 2.59,
47071 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
47073 Copyright (C) 2003 Free Software Foundation, Inc.
47074 This config.status script is free software; the Free Software Foundation
47075 gives unlimited permission to copy, distribute and modify it."
47080 cat >>$CONFIG_STATUS <<\_ACEOF
47081 # If no file are specified by the user, then we need to provide default
47082 # value. By we need to know if files were specified by the user.
47088 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
47089 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
47097 *) # This is not an option, so the user has probably given explicit
47100 ac_need_defaults
=false
;;
47104 # Handling of the options.
47106 cat >>$CONFIG_STATUS <<\_ACEOF
47107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47109 --version | --vers* | -V )
47110 echo "$ac_cs_version"; exit 0 ;;
47112 # Conflict between --help and --header
47113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
47114 Try \`$0 --help' for more information." >&5
47115 echo "$as_me: error: ambiguous option: $1
47116 Try \`$0 --help' for more information." >&2;}
47117 { (exit 1); exit 1; }; };;
47118 --help | --hel | -h )
47119 echo "$ac_cs_usage"; exit 0 ;;
47120 --debug | --d* | -d )
47122 --file | --fil | --fi | --f )
47124 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
47125 ac_need_defaults
=false
;;
47126 --header | --heade | --head | --hea )
47128 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
47129 ac_need_defaults
=false
;;
47130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47134 # This is an error.
47135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47136 Try \`$0 --help' for more information." >&5
47137 echo "$as_me: error: unrecognized option: $1
47138 Try \`$0 --help' for more information." >&2;}
47139 { (exit 1); exit 1; }; } ;;
47141 *) ac_config_targets
="$ac_config_targets $1" ;;
47147 ac_configure_extra_args
=
47149 if $ac_cs_silent; then
47151 ac_configure_extra_args
="$ac_configure_extra_args --silent"
47155 cat >>$CONFIG_STATUS <<_ACEOF
47156 if \$ac_cs_recheck; then
47157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47163 cat >>$CONFIG_STATUS <<_ACEOF
47165 # INIT-COMMANDS section.
47168 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47169 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47170 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47178 cat >>$CONFIG_STATUS <<\_ACEOF
47179 for ac_config_target
in $ac_config_targets
47181 case "$ac_config_target" in
47182 # Handling of arguments.
47183 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47184 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47185 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
47186 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
47187 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
47188 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
47189 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47190 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47191 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47192 { (exit 1); exit 1; }; };;
47196 # If the user did not use the arguments to specify the items to instantiate,
47197 # then the envvar interface is used. Set only those that are not.
47198 # We use the long form for the default assignment because of an extremely
47199 # bizarre bug on SunOS 4.1.3.
47200 if $ac_need_defaults; then
47201 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
47202 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
47203 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
47206 # Have a temporary directory for convenience. Make it in the build tree
47207 # simply because there is no reason to put it here, and in addition,
47208 # creating and moving files from /tmp can sometimes cause problems.
47209 # Create a temporary directory, and hook for its removal unless debugging.
47212 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47213 trap '{ (exit 1); exit 1; }' 1 2 13 15
47216 # Create a (secure) tmp directory for tmp files.
47219 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47220 test -n "$tmp" && test -d "$tmp"
47223 tmp
=.
/confstat$$
-$RANDOM
47224 (umask 077 && mkdir $tmp)
47227 echo "$me: cannot create a temporary directory in ." >&2
47228 { (exit 1); exit 1; }
47233 cat >>$CONFIG_STATUS <<_ACEOF
47236 # CONFIG_FILES section.
47239 # No need to generate the scripts if there are no CONFIG_FILES.
47240 # This happens for instance when ./config.status config.h
47241 if test -n "\$CONFIG_FILES"; then
47242 # Protect against being on the right side of a sed subst in config.status.
47243 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47244 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47245 s,@SHELL@,$SHELL,;t t
47246 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47247 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47248 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47249 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47250 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47251 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47252 s,@exec_prefix@,$exec_prefix,;t t
47253 s,@prefix@,$prefix,;t t
47254 s,@program_transform_name@,$program_transform_name,;t t
47255 s,@bindir@,$bindir,;t t
47256 s,@sbindir@,$sbindir,;t t
47257 s,@libexecdir@,$libexecdir,;t t
47258 s,@datadir@,$datadir,;t t
47259 s,@sysconfdir@,$sysconfdir,;t t
47260 s,@sharedstatedir@,$sharedstatedir,;t t
47261 s,@localstatedir@,$localstatedir,;t t
47262 s,@libdir@,$libdir,;t t
47263 s,@includedir@,$includedir,;t t
47264 s,@oldincludedir@,$oldincludedir,;t t
47265 s,@infodir@,$infodir,;t t
47266 s,@mandir@,$mandir,;t t
47267 s,@build_alias@,$build_alias,;t t
47268 s,@host_alias@,$host_alias,;t t
47269 s,@target_alias@,$target_alias,;t t
47270 s,@DEFS@,$DEFS,;t t
47271 s,@ECHO_C@,$ECHO_C,;t t
47272 s,@ECHO_N@,$ECHO_N,;t t
47273 s,@ECHO_T@,$ECHO_T,;t t
47274 s,@LIBS@,$LIBS,;t t
47275 s,@build@,$build,;t t
47276 s,@build_cpu@,$build_cpu,;t t
47277 s,@build_vendor@,$build_vendor,;t t
47278 s,@build_os@,$build_os,;t t
47279 s,@host@,$host,;t t
47280 s,@host_cpu@,$host_cpu,;t t
47281 s,@host_vendor@,$host_vendor,;t t
47282 s,@host_os@,$host_os,;t t
47283 s,@target@,$target,;t t
47284 s,@target_cpu@,$target_cpu,;t t
47285 s,@target_vendor@,$target_vendor,;t t
47286 s,@target_os@,$target_os,;t t
47288 s,@CFLAGS@,$CFLAGS,;t t
47289 s,@LDFLAGS@,$LDFLAGS,;t t
47290 s,@CPPFLAGS@,$CPPFLAGS,;t t
47291 s,@ac_ct_CC@,$ac_ct_CC,;t t
47292 s,@EXEEXT@,$EXEEXT,;t t
47293 s,@OBJEXT@,$OBJEXT,;t t
47295 s,@EGREP@,$EGREP,;t t
47297 s,@CXXFLAGS@,$CXXFLAGS,;t t
47298 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47299 s,@RANLIB@,$RANLIB,;t t
47300 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47302 s,@ac_ct_AR@,$ac_ct_AR,;t t
47303 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47304 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47305 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47306 s,@STRIP@,$STRIP,;t t
47307 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47308 s,@RESCOMP@,$RESCOMP,;t t
47309 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47310 s,@DLLTOOL@,$DLLTOOL,;t t
47311 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47312 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47313 s,@LN_S@,$LN_S,;t t
47314 s,@LNDIR@,$LNDIR,;t t
47315 s,@CP_PR@,$CP_PR,;t t
47316 s,@CXXCPP@,$CXXCPP,;t t
47317 s,@subdirs@,$subdirs,;t t
47318 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47319 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47320 s,@GTK_LIBS@,$GTK_LIBS,;t t
47321 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47322 s,@X_CFLAGS@,$X_CFLAGS,;t t
47323 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47324 s,@X_LIBS@,$X_LIBS,;t t
47325 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47326 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47327 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47328 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47329 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47330 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47331 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47332 s,@DEREZ@,$DEREZ,;t t
47333 s,@SETFILE@,$SETFILE,;t t
47334 s,@LIBICONV@,$LIBICONV,;t t
47335 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47336 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47337 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47338 s,@SDL_LIBS@,$SDL_LIBS,;t t
47339 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47340 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47341 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47342 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47343 s,@GST_INSPECT@,$GST_INSPECT,;t t
47344 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47345 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47346 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47347 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47348 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47349 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47350 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47351 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47352 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47353 s,@VENDOR@,$VENDOR,;t t
47354 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47355 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47356 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47357 s,@WXUNIV@,$WXUNIV,;t t
47358 s,@MONOLITHIC@,$MONOLITHIC,;t t
47359 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47360 s,@EXTRALIBS@,$EXTRALIBS,;t t
47361 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47362 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47363 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47364 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47365 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47366 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47367 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47368 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47369 s,@UNICODE@,$UNICODE,;t t
47370 s,@BUILD@,$BUILD,;t t
47371 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47372 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47373 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47374 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47375 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47376 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47377 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47378 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47379 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47380 s,@SET_MAKE@,$SET_MAKE,;t t
47381 s,@MAKE_SET@,$MAKE_SET,;t t
47383 s,@ac_ct_NM@,$ac_ct_NM,;t t
47384 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47385 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47386 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47387 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47388 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47389 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47390 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47391 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47392 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47393 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47394 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47395 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47396 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47397 s,@LIBPREFIX@,$LIBPREFIX,;t t
47398 s,@LIBEXT@,$LIBEXT,;t t
47399 s,@DLLPREFIX@,$DLLPREFIX,;t t
47400 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47401 s,@dlldir@,$dlldir,;t t
47402 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47403 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47404 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47405 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47406 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47407 s,@PIC_FLAG@,$PIC_FLAG,;t t
47408 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47409 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47410 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47411 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47412 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47413 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47414 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47415 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47416 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47417 s,@GCC_PCH@,$GCC_PCH,;t t
47418 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47419 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47420 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47421 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47422 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47423 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47424 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47425 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47426 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47427 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47428 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47429 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47430 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47431 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47432 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47433 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47434 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47435 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47436 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
47437 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
47438 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
47439 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47440 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47441 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47442 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47443 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
47444 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
47445 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
47446 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47447 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47448 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47449 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47450 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47451 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47452 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47453 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47454 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47455 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47456 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47457 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47458 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47459 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47460 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47461 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47462 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
47463 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47464 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47465 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47466 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47467 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47468 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47469 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47470 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47471 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47472 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47473 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47474 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47475 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47476 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47477 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47478 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47479 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47480 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47481 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47482 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47483 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47484 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47485 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47486 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47487 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47488 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47489 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47490 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47491 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47492 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47493 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47494 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47495 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47496 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47497 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47498 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47499 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47500 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47501 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47502 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47503 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47504 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47505 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47506 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47507 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47508 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47509 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47510 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47511 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47512 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47513 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47514 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47515 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47516 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47517 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47518 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47519 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47520 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47521 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47522 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47523 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47524 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47525 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47526 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47527 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47528 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47529 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47530 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47531 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47532 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47533 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47534 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47535 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47536 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47537 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47538 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47539 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47540 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47541 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47542 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47543 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47544 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47545 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47546 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47547 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47548 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47549 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47550 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47551 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47552 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47553 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47554 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47555 s,@SHARED@,$SHARED,;t t
47556 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47557 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47558 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
47559 s,@USE_GUI@,$USE_GUI,;t t
47560 s,@AFMINSTALL@,$AFMINSTALL,;t t
47561 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47562 s,@TOOLKIT@,$TOOLKIT,;t t
47563 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47564 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47565 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47566 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
47567 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
47568 s,@cross_compiling@,$cross_compiling,;t t
47569 s,@WIDGET_SET@,$WIDGET_SET,;t t
47570 s,@WX_RELEASE@,$WX_RELEASE,;t t
47571 s,@WX_VERSION@,$WX_VERSION,;t t
47572 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47573 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47574 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47575 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
47576 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
47577 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47578 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47579 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
47580 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
47581 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
47582 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
47583 s,@EXE_LINKER@,$EXE_LINKER,;t t
47584 s,@GUIDIST@,$GUIDIST,;t t
47585 s,@DISTDIR@,$DISTDIR,;t t
47586 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47587 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47588 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47589 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47590 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47591 s,@RESFLAGS@,$RESFLAGS,;t t
47592 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47593 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47594 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47595 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47596 s,@MACRESCOMP@,$MACRESCOMP,;t t
47597 s,@MACSETFILE@,$MACSETFILE,;t t
47598 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47600 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47601 s,@LIBOBJS@,$LIBOBJS,;t t
47602 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47607 cat >>$CONFIG_STATUS <<\_ACEOF
47608 # Split the substitutions into bite-sized pieces for seds with
47609 # small command number limits, like on Digital OSF/1 and HP-UX.
47610 ac_max_sed_lines
=48
47611 ac_sed_frag
=1 # Number of current file.
47612 ac_beg
=1 # First line for current file.
47613 ac_end
=$ac_max_sed_lines # Line after last line for current file.
47616 while $ac_more_lines; do
47617 if test $ac_beg -gt 1; then
47618 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47620 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47622 if test ! -s $tmp/subs.frag
; then
47623 ac_more_lines
=false
47625 # The purpose of the label and of the branching condition is to
47626 # speed up the sed processing (if there are no `@' at all, there
47627 # is no need to browse any of the substitutions).
47628 # These are the two extra sed commands mentioned above.
47630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
47631 if test -z "$ac_sed_cmds"; then
47632 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
47634 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
47636 ac_sed_frag
=`expr $ac_sed_frag + 1`
47638 ac_end
=`expr $ac_end + $ac_max_sed_lines`
47641 if test -z "$ac_sed_cmds"; then
47644 fi # test -n "$CONFIG_FILES"
47647 cat >>$CONFIG_STATUS <<\_ACEOF
47648 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
47649 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47651 - | *:- | *:-:* ) # input from stdin
47653 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47654 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47655 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47656 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47657 * ) ac_file_in
=$ac_file.
in ;;
47660 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47661 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47663 X"$ac_file" : 'X\(//\)[^/]' \| \
47664 X"$ac_file" : 'X\(//\)$' \| \
47665 X"$ac_file" : 'X\(/\)' \| \
47666 . : '\(.\)' 2>/dev/null ||
47668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47670 /^X\(\/\/\)$/{ s//\1/; q; }
47671 /^X\(\/\).*/{ s//\1/; q; }
47673 { if $as_mkdir_p; then
47678 while test ! -d "$as_dir"; do
47679 as_dirs
="$as_dir $as_dirs"
47680 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47682 X"$as_dir" : 'X\(//\)[^/]' \| \
47683 X"$as_dir" : 'X\(//\)$' \| \
47684 X"$as_dir" : 'X\(/\)' \| \
47685 . : '\(.\)' 2>/dev/null ||
47687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47689 /^X\(\/\/\)$/{ s//\1/; q; }
47690 /^X\(\/\).*/{ s//\1/; q; }
47693 test ! -n "$as_dirs" || mkdir $as_dirs
47694 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47695 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47696 { (exit 1); exit 1; }; }; }
47700 if test "$ac_dir" != .
; then
47701 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47702 # A "../" for each directory in $ac_dir_suffix.
47703 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47705 ac_dir_suffix
= ac_top_builddir
=
47709 .
) # No --srcdir option. We are building in place.
47711 if test -z "$ac_top_builddir"; then
47714 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47716 [\\/]* | ?
:[\\/]* ) # Absolute path.
47717 ac_srcdir
=$srcdir$ac_dir_suffix;
47718 ac_top_srcdir
=$srcdir ;;
47719 *) # Relative path.
47720 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47721 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47724 # Do not use `cd foo && pwd` to compute absolute paths, because
47725 # the directories may not exist.
47727 .
) ac_abs_builddir
="$ac_dir";;
47730 .
) ac_abs_builddir
=`pwd`;;
47731 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47732 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47735 case $ac_abs_builddir in
47736 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47738 case ${ac_top_builddir}.
in
47739 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47740 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47741 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47744 case $ac_abs_builddir in
47745 .
) ac_abs_srcdir
=$ac_srcdir;;
47748 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47749 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47750 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47753 case $ac_abs_builddir in
47754 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47756 case $ac_top_srcdir in
47757 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47758 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47759 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47765 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
47766 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
47769 # Let's still pretend it is `configure' which instantiates (i.e., don't
47770 # use $as_me), people would be surprised to read:
47771 # /* config.h. Generated by config.status. */
47772 if test x
"$ac_file" = x
-; then
47775 configure_input
="$ac_file. "
47777 configure_input
=$configure_input"Generated from `echo $ac_file_in |
47778 sed 's,.*/,,'` by configure."
47780 # First look for the input files in the build tree, otherwise in the
47782 ac_file_inputs
=`IFS=:
47783 for f in $ac_file_in; do
47785 -) echo $tmp/stdin ;;
47787 # Absolute (can't be DOS-style, as IFS=:)
47788 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47789 echo "$as_me: error: cannot find input file: $f" >&2;}
47790 { (exit 1); exit 1; }; }
47793 if test -f "$f"; then
47796 elif test -f "$srcdir/$f"; then
47801 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47802 echo "$as_me: error: cannot find input file: $f" >&2;}
47803 { (exit 1); exit 1; }; }
47806 done` || { (exit 1); exit 1; }
47808 if test x
"$ac_file" != x
-; then
47809 { echo "$as_me:$LINENO: creating $ac_file" >&5
47810 echo "$as_me: creating $ac_file" >&6;}
47814 cat >>$CONFIG_STATUS <<_ACEOF
47818 cat >>$CONFIG_STATUS <<\_ACEOF
47820 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
47821 s
,@configure_input@
,$configure_input,;t t
47822 s
,@srcdir@
,$ac_srcdir,;t t
47823 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
47824 s
,@top_srcdir@
,$ac_top_srcdir,;t t
47825 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
47826 s
,@builddir@
,$ac_builddir,;t t
47827 s
,@abs_builddir@
,$ac_abs_builddir,;t t
47828 s
,@top_builddir@
,$ac_top_builddir,;t t
47829 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
47830 s
,@INSTALL@
,$ac_INSTALL,;t t
47831 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47833 if test x"$ac_file" != x-; then
47834 mv $tmp/out $ac_file
47840 # Run the commands associated with the file.
47842 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47843 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47847 cat >>$CONFIG_STATUS <<\_ACEOF
47850 # CONFIG_HEADER section.
47853 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
47854 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47856 # ac_d sets the value in "#define NAME VALUE" lines.
47857 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47858 ac_dB
='[ ].*$,\1#\2'
47861 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47862 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47863 ac_uB
='$,\1#\2define\3'
47867 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
47868 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47870 - | *:- | *:-:* ) # input from stdin
47872 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47873 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47874 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47875 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47876 * ) ac_file_in
=$ac_file.
in ;;
47879 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47880 echo "$as_me: creating $ac_file" >&6;}
47882 # First look for the input files in the build tree, otherwise in the
47884 ac_file_inputs
=`IFS=:
47885 for f in $ac_file_in; do
47887 -) echo $tmp/stdin ;;
47889 # Absolute (can't be DOS-style, as IFS=:)
47890 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47891 echo "$as_me: error: cannot find input file: $f" >&2;}
47892 { (exit 1); exit 1; }; }
47893 # Do quote $f, to prevent DOS paths from being IFS'd.
47896 if test -f "$f"; then
47899 elif test -f "$srcdir/$f"; then
47904 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47905 echo "$as_me: error: cannot find input file: $f" >&2;}
47906 { (exit 1); exit 1; }; }
47909 done` || { (exit 1); exit 1; }
47910 # Remove the trailing spaces.
47911 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47915 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47916 # `conftest.undefs', that substitutes the proper values into
47917 # config.h.in to produce config.h. The first handles `#define'
47918 # templates, and the second `#undef' templates.
47919 # And first: Protect against being on the right side of a sed subst in
47920 # config.status. Protect against being in an unquoted here document
47921 # in config.status.
47922 rm -f conftest.defines conftest.undefs
47923 # Using a here document instead of a string reduces the quoting nightmare.
47924 # Putting comments in sed scripts is not portable.
47926 # `end' is used to avoid that the second main sed command (meant for
47927 # 0-ary CPP macros) applies to n-ary macro definitions.
47928 # See the Autoconf documentation for `clear'.
47929 cat >confdef2sed.
sed <<\_ACEOF
47934 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47936 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47939 # If some macros were called several times there might be several times
47940 # the same #defines, which is useless. Nevertheless, we may not want to
47941 # sort them, since we want the *last* AC-DEFINE to be honored.
47942 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47943 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47944 rm -f confdef2sed.sed
47946 # This sed command replaces #undef with comments. This is necessary, for
47947 # example, in the case of _POSIX_SOURCE, which is predefined and required
47948 # on some systems where configure will not decide to define it.
47949 cat >>conftest.undefs <<\_ACEOF
47950 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47953 # Break up conftest.defines because some shells have a limit on the size
47954 # of here documents, and old seds have small limits too (100 cmds).
47955 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47956 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47957 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47958 echo ' :' >>$CONFIG_STATUS
47959 rm -f conftest.tail
47960 while grep . conftest.defines >/dev/null
47962 # Write a limited-size here document to $tmp/defines.sed.
47963 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47964 # Speed up: don't consider the non `#define' lines.
47965 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47966 # Work around the forget-to-reset-the-flag bug.
47967 echo 't clr' >>$CONFIG_STATUS
47968 echo ': clr' >>$CONFIG_STATUS
47969 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
47971 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47973 mv $tmp/out $tmp/in
47975 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
47976 rm -f conftest.defines
47977 mv conftest.
tail conftest.defines
47979 rm -f conftest.defines
47980 echo ' fi # grep' >>$CONFIG_STATUS
47981 echo >>$CONFIG_STATUS
47983 # Break up conftest.undefs because some shells have a limit on the size
47984 # of here documents, and old seds have small limits too (100 cmds).
47985 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47986 rm -f conftest.
tail
47987 while grep . conftest.undefs
>/dev
/null
47989 # Write a limited-size here document to $tmp/undefs.sed.
47990 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47991 # Speed up: don't consider the non
`#undef'
47992 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47993 # Work around the forget-to-reset-the-flag bug.
47994 echo 't clr' >>$CONFIG_STATUS
47995 echo ': clr' >>$CONFIG_STATUS
47996 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47998 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
48000 mv $tmp/out $tmp/in
48002 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
48003 rm -f conftest.undefs
48004 mv conftest.tail conftest.undefs
48006 rm -f conftest.undefs
48008 cat >>$CONFIG_STATUS <<\_ACEOF
48009 # Let's still pretend it is `configure
' which instantiates (i.e., don't
48010 # use $as_me), people would be surprised to read:
48011 # /* config.h. Generated by config.status. */
48012 if test x
"$ac_file" = x
-; then
48013 echo "/* Generated by configure. */" >$tmp/config.h
48015 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
48017 cat $tmp/in >>$tmp/config.h
48019 if test x
"$ac_file" != x
-; then
48020 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
48021 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
48022 echo "$as_me: $ac_file is unchanged" >&6;}
48024 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
48025 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48026 X"$ac_file" : 'X\(//\)[^/]' \| \
48027 X"$ac_file" : 'X\(//\)$' \| \
48028 X"$ac_file" : 'X\(/\)' \| \
48029 . : '\(.\)' 2>/dev/null ||
48031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48033 /^X\(\/\/\)$/{ s//\1/; q; }
48034 /^X\(\/\).*/{ s//\1/; q; }
48036 { if $as_mkdir_p; then
48041 while test ! -d "$as_dir"; do
48042 as_dirs
="$as_dir $as_dirs"
48043 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48044 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48045 X"$as_dir" : 'X\(//\)[^/]' \| \
48046 X"$as_dir" : 'X\(//\)$' \| \
48047 X"$as_dir" : 'X\(/\)' \| \
48048 . : '\(.\)' 2>/dev/null ||
48050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48051 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48052 /^X\(\/\/\)$/{ s//\1/; q; }
48053 /^X\(\/\).*/{ s//\1/; q; }
48056 test ! -n "$as_dirs" || mkdir $as_dirs
48057 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48058 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48059 { (exit 1); exit 1; }; }; }
48062 mv $tmp/config.h
$ac_file
48066 rm -f $tmp/config.h
48070 cat >>$CONFIG_STATUS <<\_ACEOF
48073 # CONFIG_COMMANDS section.
48075 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
48076 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
48077 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48078 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
48079 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48080 X"$ac_dest" : 'X\(//\)[^/]' \| \
48081 X"$ac_dest" : 'X\(//\)$' \| \
48082 X"$ac_dest" : 'X\(/\)' \| \
48083 . : '\(.\)' 2>/dev/null ||
48085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48086 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48087 /^X\(\/\/\)$/{ s//\1/; q; }
48088 /^X\(\/\).*/{ s//\1/; q; }
48090 { if $as_mkdir_p; then
48095 while test ! -d "$as_dir"; do
48096 as_dirs
="$as_dir $as_dirs"
48097 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48099 X"$as_dir" : 'X\(//\)[^/]' \| \
48100 X"$as_dir" : 'X\(//\)$' \| \
48101 X"$as_dir" : 'X\(/\)' \| \
48102 . : '\(.\)' 2>/dev/null ||
48104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48106 /^X\(\/\/\)$/{ s//\1/; q; }
48107 /^X\(\/\).*/{ s//\1/; q; }
48110 test ! -n "$as_dirs" || mkdir $as_dirs
48111 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48112 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48113 { (exit 1); exit 1; }; }; }
48117 if test "$ac_dir" != .
; then
48118 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48119 # A "../" for each directory in $ac_dir_suffix.
48120 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48122 ac_dir_suffix
= ac_top_builddir
=
48126 .
) # No --srcdir option. We are building in place.
48128 if test -z "$ac_top_builddir"; then
48131 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48133 [\\/]* | ?
:[\\/]* ) # Absolute path.
48134 ac_srcdir
=$srcdir$ac_dir_suffix;
48135 ac_top_srcdir
=$srcdir ;;
48136 *) # Relative path.
48137 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48138 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48141 # Do not use `cd foo && pwd` to compute absolute paths, because
48142 # the directories may not exist.
48144 .
) ac_abs_builddir
="$ac_dir";;
48147 .
) ac_abs_builddir
=`pwd`;;
48148 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48149 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48152 case $ac_abs_builddir in
48153 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48155 case ${ac_top_builddir}.
in
48156 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48157 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48158 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48161 case $ac_abs_builddir in
48162 .
) ac_abs_srcdir
=$ac_srcdir;;
48165 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48166 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48167 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48170 case $ac_abs_builddir in
48171 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48173 case $ac_top_srcdir in
48174 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48175 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48176 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48181 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48182 echo "$as_me: executing $ac_dest commands" >&6;}
48184 wx
-config ) rm -f wx
-config
48185 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
48191 cat >>$CONFIG_STATUS <<\_ACEOF
48193 { (exit 0); exit 0; }
48195 chmod +x
$CONFIG_STATUS
48196 ac_clean_files
=$ac_clean_files_save
48199 # configure is writing to config.log, and then calls config.status.
48200 # config.status does its own redirection, appending to config.log.
48201 # Unfortunately, on DOS this fails, as config.log is still kept open
48202 # by configure, so config.status won't be able to write to it; its
48203 # output is simply discarded. So we exec the FD to /dev/null,
48204 # effectively closing config.log, so it can be properly (re)opened and
48205 # appended to by config.status. When coming back to configure, we
48206 # need to make the FD available again.
48207 if test "$no_create" != yes; then
48209 ac_config_status_args
=
48210 test "$silent" = yes &&
48211 ac_config_status_args
="$ac_config_status_args --quiet"
48213 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
48215 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48216 # would make configure fail if this is the last instruction.
48217 $ac_cs_success || { (exit 1); exit 1; }
48221 # CONFIG_SUBDIRS section.
48223 if test "$no_recursion" != yes; then
48225 # Remove --cache-file and --srcdir arguments so they do not pile up.
48226 ac_sub_configure_args
=
48228 for ac_arg
in $ac_configure_args; do
48229 if test -n "$ac_prev"; then
48234 -cache-file | --cache-file | --cache-fil | --cache-fi \
48235 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48236 ac_prev
=cache_file
;;
48237 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48238 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48241 --config-cache | -C)
48243 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48245 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48247 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48249 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48251 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
48255 # Always prepend --prefix to ensure using the same prefix
48256 # in subdir configurations.
48257 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
48260 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
48262 # Do not complain, so a configure script can configure whichever
48263 # parts of a large source tree are present.
48264 test -d $srcdir/$ac_dir || continue
48266 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48267 echo "$as_me: configuring in $ac_dir" >&6;}
48268 { if $as_mkdir_p; then
48273 while test ! -d "$as_dir"; do
48274 as_dirs
="$as_dir $as_dirs"
48275 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48277 X"$as_dir" : 'X\(//\)[^/]' \| \
48278 X"$as_dir" : 'X\(//\)$' \| \
48279 X"$as_dir" : 'X\(/\)' \| \
48280 . : '\(.\)' 2>/dev/null ||
48282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48283 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48284 /^X\(\/\/\)$/{ s//\1/; q; }
48285 /^X\(\/\).*/{ s//\1/; q; }
48288 test ! -n "$as_dirs" || mkdir $as_dirs
48289 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48290 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48291 { (exit 1); exit 1; }; }; }
48295 if test "$ac_dir" != .
; then
48296 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48297 # A "../" for each directory in $ac_dir_suffix.
48298 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48300 ac_dir_suffix
= ac_top_builddir
=
48304 .
) # No --srcdir option. We are building in place.
48306 if test -z "$ac_top_builddir"; then
48309 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48311 [\\/]* | ?
:[\\/]* ) # Absolute path.
48312 ac_srcdir
=$srcdir$ac_dir_suffix;
48313 ac_top_srcdir
=$srcdir ;;
48314 *) # Relative path.
48315 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48316 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48319 # Do not use `cd foo && pwd` to compute absolute paths, because
48320 # the directories may not exist.
48322 .
) ac_abs_builddir
="$ac_dir";;
48325 .
) ac_abs_builddir
=`pwd`;;
48326 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48327 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48330 case $ac_abs_builddir in
48331 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48333 case ${ac_top_builddir}.
in
48334 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48335 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48336 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48339 case $ac_abs_builddir in
48340 .
) ac_abs_srcdir
=$ac_srcdir;;
48343 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48344 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48345 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48348 case $ac_abs_builddir in
48349 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48351 case $ac_top_srcdir in
48352 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48353 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48354 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48361 # Check for guested configure; otherwise get Cygnus style configure.
48362 if test -f $ac_srcdir/configure.gnu
; then
48363 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
48364 elif test -f $ac_srcdir/configure
; then
48365 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
48366 elif test -f $ac_srcdir/configure.
in; then
48367 ac_sub_configure
=$ac_configure
48369 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48370 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48374 # The recursion is here.
48375 if test -n "$ac_sub_configure"; then
48376 # Make the cache file name correct relative to the subdirectory.
48377 case $cache_file in
48378 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
48379 *) # Relative path.
48380 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
48383 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48384 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48385 # The eval makes quoting arguments work.
48386 eval $ac_sub_configure $ac_sub_configure_args \
48387 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48388 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48389 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48390 { (exit 1); exit 1; }; }
48399 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48401 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48402 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48404 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48405 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48406 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48408 echo " What level of wxWidgets compatibility should be enabled?"
48409 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
48410 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
48412 echo " Which libraries should wxWidgets use?"
48413 echo " jpeg ${wxUSE_LIBJPEG-none}"
48414 echo " png ${wxUSE_LIBPNG-none}"
48415 echo " regex ${wxUSE_REGEX}"
48416 echo " tiff ${wxUSE_LIBTIFF-none}"
48417 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48418 echo " xpm ${wxUSE_LIBXPM-none}"
48420 echo " zlib ${wxUSE_ZLIB}"
48421 echo " odbc ${wxUSE_ODBC}"
48422 echo " expat ${wxUSE_EXPAT}"
48423 echo " libmspack ${wxUSE_LIBMSPACK}"
48424 echo " sdl ${wxUSE_LIBSDL}"
48425 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"