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 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-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Win32 only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images
(GIF
file format
)
1039 --enable-pcx use pcx images
(PCX
file format
)
1040 --enable-iff use iff images
(IFF
file format
)
1041 --enable-pnm use pnm images
(PNM
file format
)
1042 --enable-xpm use xpm images
(XPM
file format
)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1045 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1046 --disable-largefile omit support
for large files
1047 --disable-gtktest do not try to compile and run a
test GTK
+ program
1048 --disable-gtktest Do not try to compile and run a
test GTK program
1049 --disable-sdltest Do not try to compile and run a
test SDL program
1050 --enable-omf use OMF object format
(OS
/2)
1051 --disable-precomp-headers
1052 don
't use precompiled headers even if compiler can
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --without-subdirs don't generate makefiles
for samples
/demos
/...
1058 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1059 --with-motif use Motif
/Lesstif
1060 --with-mac use Mac OS X
1061 --with-cocoa use Cocoa
1062 --with-wine use Wine
1063 --with-msw use MS
-Windows
1064 --with-pm use OS
/2 Presentation Manager
1065 --with-mgl use SciTech MGL
1066 --with-microwin use MicroWindows
1068 --with-libpng use libpng
(PNG image format
)
1069 --with-libjpeg use libjpeg
(JPEG
file format
)
1070 --with-libtiff use libtiff
(TIFF
file format
)
1071 --with-libxpm use libxpm
(XPM
file format
)
1072 --with-libmspack use libmspack
(CHM
help files loading
)
1073 --with-sdl use SDL
for audio on Unix
1074 --with-gnomeprint use GNOME print
for printing under Unix
1075 --with-opengl use OpenGL
(or Mesa
)
1076 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1077 --with-regex enable support
for wxRegEx class
1078 --with-zlib use zlib
for LZW compression
1079 --with-odbc use the IODBC and wxODBC classes
1080 --with-expat enable XML support using expat parser
1081 --with-flavour=NAME specify a name to identify this build
1082 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1083 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1084 --with-x use the X Window System
1085 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1086 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1087 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1088 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1089 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1091 Some influential environment variables
:
1092 CC C compiler
command
1093 CFLAGS C compiler flags
1094 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1095 nonstandard directory
<lib dir
>
1096 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1097 headers
in a nonstandard directory
<include dir
>
1099 CXX C
++ compiler
command
1100 CXXFLAGS C
++ compiler flags
1101 CXXCPP C
++ preprocessor
1103 Use these variables to override the choices made by
`configure' or to help
1104 it to find libraries and programs with nonstandard names/locations.
1106 Report bugs to <wx-dev@lists.wxwidgets.org>.
1110 if test "$ac_init_help" = "recursive"; then
1111 # If there are subdirs, report their specific --help.
1113 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1114 test -d $ac_dir || continue
1117 if test "$ac_dir" != .; then
1118 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1119 # A "../" for each directory in $ac_dir_suffix.
1120 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1122 ac_dir_suffix= ac_top_builddir=
1126 .) # No --srcdir option. We are building in place.
1128 if test -z "$ac_top_builddir"; then
1131 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1133 [\\/]* | ?:[\\/]* ) # Absolute path.
1134 ac_srcdir=$srcdir$ac_dir_suffix;
1135 ac_top_srcdir=$srcdir ;;
1137 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1138 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1141 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1142 # the directories may not exist.
1144 .) ac_abs_builddir="$ac_dir";;
1147 .) ac_abs_builddir=`pwd`;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1149 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1152 case $ac_abs_builddir in
1153 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1155 case ${ac_top_builddir}. in
1156 .) ac_abs_top_builddir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1158 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1161 case $ac_abs_builddir in
1162 .) ac_abs_srcdir=$ac_srcdir;;
1165 .) ac_abs_srcdir=$ac_abs_builddir;;
1166 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1167 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1170 case $ac_abs_builddir in
1171 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1173 case $ac_top_srcdir in
1174 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1175 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1176 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1181 # Check for guested configure; otherwise get Cygnus style configure.
1182 if test -f $ac_srcdir/configure.gnu; then
1184 $SHELL $ac_srcdir/configure.gnu --help=recursive
1185 elif test -f $ac_srcdir/configure; then
1187 $SHELL $ac_srcdir/configure --help=recursive
1188 elif test -f $ac_srcdir/configure.ac ||
1189 test -f $ac_srcdir/configure.in; then
1191 $ac_configure --help
1193 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1199 test -n "$ac_init_help" && exit 0
1200 if $ac_init_version; then
1202 wxWidgets configure 2.7.0
1203 generated by GNU Autoconf 2.59
1205 Copyright (C) 2003 Free Software Foundation, Inc.
1206 This configure script is free software; the Free Software Foundation
1207 gives unlimited permission to copy, distribute and modify it.
1213 This file contains any messages produced by compilers while
1214 running configure, to aid debugging if configure makes a mistake.
1216 It was created by wxWidgets $as_me 2.7.0, which was
1217 generated by GNU Autoconf 2.59. Invocation command line was
1228 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1229 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1230 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1231 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1232 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1234 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1235 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1237 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1238 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1239 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1240 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1241 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1242 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1243 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1251 test -z "$as_dir" && as_dir=.
1252 echo "PATH: $as_dir"
1267 # Keep a trace of the command line.
1268 # Strip out --no-create and --no-recursion so they do not pile up.
1269 # Strip out --silent because we don't want to record it for future runs.
1270 # Also quote any args containing shell meta-characters.
1271 # Make two passes to allow for proper duplicate-argument suppression.
1276 ac_must_keep_next=false
1282 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284 | -silent | --silent | --silen | --sile | --sil)
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1290 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1292 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1293 if test $ac_must_keep_next = true; then
1294 ac_must_keep_next=false # Got value, back to normal.
1297 *=* | --config-cache | -C | -disable-* | --disable-* \
1298 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1299 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1300 | -with-* | --with-* | -without-* | --without-* | --x)
1301 case "$ac_configure_args0 " in
1302 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1305 -* ) ac_must_keep_next=true ;;
1308 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1309 # Get rid of the leading space.
1315 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1316 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1318 # When interrupted or exit'd, cleanup temporary files, and complete
1319 # config.log. We remove comments because anyway the quotes in there
1320 # would cause problems or look ugly.
1321 # WARNING: Be sure not to use single quotes in there, as some shells,
1322 # such as our DU 5.0 friend, will then `close
' the trap.
1323 trap 'exit_status
=$?
1324 # Save into config.log some information that might help in debugging.
1329 ## ---------------- ##
1330 ## Cache variables. ##
1331 ## ---------------- ##
1334 # The following way of writing the cache mishandles newlines in values,
1337 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1340 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1352 ## ----------------- ##
1353 ## Output variables. ##
1354 ## ----------------- ##
1357 for ac_var
in $ac_subst_vars
1359 eval ac_val
=$
`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1364 if test -n "$ac_subst_files"; then
1371 for ac_var
in $ac_subst_files
1373 eval ac_val
=$
`echo $ac_var`
1374 echo "$ac_var='"'"'$ac_val'"'"'"
1379 if test -s confdefs.h
; then
1386 sed "/^$/d" confdefs.h
| sort
1389 test "$ac_signal" != 0 &&
1390 echo "$as_me: caught signal $ac_signal"
1391 echo "$as_me: exit $exit_status"
1393 rm -f core
*.core
&&
1394 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1397 for ac_signal in 1 2 13 15; do
1398 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1403 rm -rf conftest* confdefs.h
1404 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1407 # Predefined preprocessor variables.
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_NAME "$PACKAGE_NAME"
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1424 cat >>confdefs.h <<_ACEOF
1425 #define PACKAGE_STRING "$PACKAGE_STRING"
1429 cat >>confdefs.h <<_ACEOF
1430 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1434 # Let the site file select an alternate cache file if it wants to.
1435 # Prefer explicitly selected file to automatically selected ones.
1436 if test -z "$CONFIG_SITE"; then
1437 if test "x$prefix" != xNONE; then
1438 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1440 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1443 for ac_site_file in $CONFIG_SITE; do
1444 if test -r "$ac_site_file"; then
1445 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1446 echo "$as_me: loading site script $ac_site_file" >&6;}
1447 sed 's
/^
/| /' "$ac_site_file" >&5
1452 if test -r "$cache_file"; then
1453 # Some versions of bash will fail to source /dev/null (special
1454 # files actually), so we avoid doing that.
1455 if test -f "$cache_file"; then
1456 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1457 echo "$as_me: loading cache $cache_file" >&6;}
1459 [\\/]* | ?:[\\/]* ) . $cache_file;;
1460 *) . ./$cache_file;;
1464 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1465 echo "$as_me: creating cache $cache_file" >&6;}
1469 # Check that the precious variables saved in the cache have kept the same
1471 ac_cache_corrupted=false
1472 for ac_var in `(set) 2>&1 |
1473 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1474 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1475 eval ac_new_set=\$ac_env_${ac_var}_set
1476 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1477 eval ac_new_val="\$ac_env_${ac_var}_value"
1478 case $ac_old_set,$ac_new_set in
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1482 ac_cache_corrupted=: ;;
1484 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1485 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1486 ac_cache_corrupted=: ;;
1489 if test "x$ac_old_val" != "x$ac_new_val"; then
1490 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1491 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1492 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1493 echo "$as_me: former value: $ac_old_val" >&2;}
1494 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1495 echo "$as_me: current value: $ac_new_val" >&2;}
1496 ac_cache_corrupted=:
1499 # Pass precious variables to config.status.
1500 if test "$ac_new_set" = set; then
1502 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1503 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1504 *) ac_arg=$ac_var=$ac_new_val ;;
1506 case " $ac_configure_args " in
1507 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1508 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1512 if $ac_cache_corrupted; then
1513 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1514 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1515 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1516 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1517 { (exit 1); exit 1; }; }
1521 ac_cpp='$CPP $CPPFLAGS'
1522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1523 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1556 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1557 if test -f $ac_dir/install-sh; then
1559 ac_install_sh="$ac_aux_dir/install-sh -c"
1561 elif test -f $ac_dir/install.sh; then
1563 ac_install_sh="$ac_aux_dir/install.sh -c"
1565 elif test -f $ac_dir/shtool; then
1567 ac_install_sh="$ac_aux_dir/shtool install -c"
1571 if test -z "$ac_aux_dir"; then
1572 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1573 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1574 { (exit 1); exit 1; }; }
1576 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1577 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1578 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1580 # Make sure we can run config.sub.
1581 $ac_config_sub sun4 >/dev/null 2>&1 ||
1582 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1583 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1584 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: checking build system type" >&5
1587 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1588 if test "${ac_cv_build+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 ac_cv_build_alias=$build_alias
1592 test -z "$ac_cv_build_alias" &&
1593 ac_cv_build_alias=`$ac_config_guess`
1594 test -z "$ac_cv_build_alias" &&
1595 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1596 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1597 { (exit 1); exit 1; }; }
1598 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1599 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1600 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1601 { (exit 1); exit 1; }; }
1604 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1605 echo "${ECHO_T}$ac_cv_build" >&6
1607 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1608 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1609 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1612 echo "$as_me:$LINENO: checking host system type" >&5
1613 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1614 if test "${ac_cv_host+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 ac_cv_host_alias=$host_alias
1618 test -z "$ac_cv_host_alias" &&
1619 ac_cv_host_alias=$ac_cv_build_alias
1620 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1621 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1622 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1623 { (exit 1); exit 1; }; }
1626 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1627 echo "${ECHO_T}$ac_cv_host" >&6
1629 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1630 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1631 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1634 echo "$as_me:$LINENO: checking target system type" >&5
1635 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1636 if test "${ac_cv_target+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 ac_cv_target_alias=$target_alias
1640 test "x$ac_cv_target_alias" = "x" &&
1641 ac_cv_target_alias=$ac_cv_host_alias
1642 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1643 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1644 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1645 { (exit 1); exit 1; }; }
1648 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1649 echo "${ECHO_T}$ac_cv_target" >&6
1650 target=$ac_cv_target
1651 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1652 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1653 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1656 # The aliases save the names the user supplied, while $host etc.
1657 # will get canonicalized.
1658 test -n "$target_alias" &&
1659 test "$program_prefix$program_suffix$program_transform_name" = \
1661 program_prefix=${target_alias}-
1665 wx_major_version_number=2
1666 wx_minor_version_number=7
1668 wx_subrelease_number=0
1670 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1671 WX_VERSION=$WX_RELEASE.$wx_release_number
1672 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1674 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1687 USE_BSD= USE_DARWIN= USE_FREEBSD=
1693 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1699 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1701 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703 DEFAULT_wxUSE_COCOA=0
1707 DEFAULT_wxUSE_MICROWIN=0
1708 DEFAULT_wxUSE_MOTIF=0
1713 DEFAULT_DEFAULT_wxUSE_COCOA=0
1714 DEFAULT_DEFAULT_wxUSE_GTK=0
1715 DEFAULT_DEFAULT_wxUSE_MAC=0
1716 DEFAULT_DEFAULT_wxUSE_MGL=0
1717 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1718 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1719 DEFAULT_DEFAULT_wxUSE_MSW=0
1720 DEFAULT_DEFAULT_wxUSE_PM=0
1721 DEFAULT_DEFAULT_wxUSE_X11=0
1726 SAMPLES_RPATH_POSTLINK=
1728 DEFAULT_STD_FLAG=yes
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 cat >>confdefs.h <<\_ACEOF
1741 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
1745 cat >>confdefs.h <<\_ACEOF
1750 if test "x$TMP" = "xalpha"; then
1752 cat >>confdefs.h <<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_GTK=1
1759 *-*-gnu* | *-*-k*bsd*-gnu )
1762 if test "x$TMP" = "xalpha"; then
1764 cat >>confdefs.h <<\_ACEOF
1769 DEFAULT_DEFAULT_wxUSE_GTK=1
1771 *-*-irix5* | *-*-irix6* )
1774 cat >>confdefs.h <<\_ACEOF
1778 cat >>confdefs.h <<\_ACEOF
1782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1788 cat >>confdefs.h <<\_ACEOF
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __SOLARIS__ 1
1796 cat >>confdefs.h <<\_ACEOF
1800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1801 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1807 cat >>confdefs.h <<\_ACEOF
1811 cat >>confdefs.h <<\_ACEOF
1815 cat >>confdefs.h <<\_ACEOF
1819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1824 cat >>confdefs.h <<\_ACEOF
1825 #define __FREEBSD__ 1
1828 cat >>confdefs.h <<\_ACEOF
1832 DEFAULT_DEFAULT_wxUSE_GTK=1
1837 cat >>confdefs.h <<\_ACEOF
1838 #define __OPENBSD__ 1
1841 cat >>confdefs.h <<\_ACEOF
1845 DEFAULT_DEFAULT_wxUSE_GTK=1
1850 cat >>confdefs.h <<\_ACEOF
1851 #define __NETBSD__ 1
1854 cat >>confdefs.h <<\_ACEOF
1858 DEFAULT_DEFAULT_wxUSE_GTK=1
1863 cat >>confdefs.h <<\_ACEOF
1867 cat >>confdefs.h <<\_ACEOF
1871 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1872 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1877 cat >>confdefs.h <<\_ACEOF
1881 cat >>confdefs.h <<\_ACEOF
1885 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1890 cat >>confdefs.h <<\_ACEOF
1894 cat >>confdefs.h <<\_ACEOF
1898 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1905 cat >>confdefs.h <<\_ACEOF
1909 cat >>confdefs.h <<\_ACEOF
1913 cat >>confdefs.h <<\_ACEOF
1917 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1924 cat >>confdefs.h <<\_ACEOF
1925 #define __UNIXWARE__ 1
1930 *-*-cygwin* | *-*-mingw32* )
1933 DEFAULT_DEFAULT_wxUSE_MSW=1
1940 cat >>confdefs.h <<\_ACEOF
1945 DEFAULT_DEFAULT_wxUSE_MGL=1
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h <<\_ACEOF
1954 cat >>confdefs.h <<\_ACEOF
1959 DEFAULT_DEFAULT_wxUSE_PM=1
1961 LDFLAGS="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions=".exe"
1963 export ac_executable_extensions
1967 for ac_dir in $PATH; do
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH="$ac_dir"
1972 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1975 export PATH="$ac_TEMP_PATH"
1984 cat >>confdefs.h <<\_ACEOF
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __DARWIN__ 1
1992 cat >>confdefs.h <<\_ACEOF
1993 #define TARGET_CARBON 1
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1999 powerpc-apple-macos* )
2001 ac_cv_c_bigendian=yes
2003 DEFAULT_DEFAULT_wxUSE_MAC=1
2009 cat >>confdefs.h <<\_ACEOF
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2024 wx_arg_cache_file="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL=no
2034 DEFAULT_wxUSE_STL=no
2036 DEFAULT_wxUSE_NANOX=no
2038 DEFAULT_wxUSE_THREADS=yes
2040 DEFAULT_wxUSE_SHARED=yes
2041 DEFAULT_wxUSE_OPTIMISE=no
2042 DEFAULT_wxUSE_PROFILE=no
2043 DEFAULT_wxUSE_NO_DEPS=no
2044 DEFAULT_wxUSE_NO_RTTI=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2046 DEFAULT_wxUSE_RPATH=yes
2047 DEFAULT_wxUSE_PERMISSIVE=no
2048 DEFAULT_wxUSE_DEBUG_FLAG=yes
2049 DEFAULT_wxUSE_DEBUG_INFO=yes
2050 DEFAULT_wxUSE_DEBUG_GDB=yes
2051 DEFAULT_wxUSE_MEM_TRACING=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2053 DEFAULT_wxUSE_DMALLOC=no
2054 DEFAULT_wxUSE_APPLE_IEEE=no
2056 DEFAULT_wxUSE_EXCEPTIONS=no
2057 DEFAULT_wxUSE_LOG=yes
2058 DEFAULT_wxUSE_LOGWINDOW=no
2059 DEFAULT_wxUSE_LOGGUI=no
2060 DEFAULT_wxUSE_LOGDIALOG=no
2062 DEFAULT_wxUSE_GUI=yes
2063 DEFAULT_wxUSE_CONTROLS=no
2065 DEFAULT_wxUSE_REGEX=no
2066 DEFAULT_wxUSE_XML=no
2067 DEFAULT_wxUSE_EXPAT=no
2068 DEFAULT_wxUSE_ZLIB=no
2069 DEFAULT_wxUSE_LIBPNG=no
2070 DEFAULT_wxUSE_LIBJPEG=no
2071 DEFAULT_wxUSE_LIBTIFF=no
2072 DEFAULT_wxUSE_LIBXPM=no
2073 DEFAULT_wxUSE_LIBMSPACK=no
2074 DEFAULT_wxUSE_LIBSDL=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2076 DEFAULT_wxUSE_ODBC=no
2077 DEFAULT_wxUSE_OPENGL=no
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2080 DEFAULT_wxUSE_STACKWALKER=no
2081 DEFAULT_wxUSE_DEBUGREPORT=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2083 DEFAULT_wxUSE_STD_IOSTREAM=no
2084 DEFAULT_wxUSE_STD_STRING=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER=no
2086 DEFAULT_wxUSE_DATETIME=no
2087 DEFAULT_wxUSE_TIMER=no
2088 DEFAULT_wxUSE_STOPWATCH=no
2089 DEFAULT_wxUSE_FILE=no
2090 DEFAULT_wxUSE_FFILE=no
2091 DEFAULT_wxUSE_STDPATHS=no
2092 DEFAULT_wxUSE_TEXTBUFFER=no
2093 DEFAULT_wxUSE_TEXTFILE=no
2094 DEFAULT_wxUSE_SOUND=no
2095 DEFAULT_wxUSE_MEDIACTRL=no
2096 DEFAULT_wxUSE_INTL=no
2097 DEFAULT_wxUSE_CONFIG=no
2098 DEFAULT_wxUSE_FONTMAP=no
2099 DEFAULT_wxUSE_STREAMS=no
2100 DEFAULT_wxUSE_SOCKETS=no
2101 DEFAULT_wxUSE_OLE=no
2102 DEFAULT_wxUSE_DATAOBJ=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER=no
2104 DEFAULT_wxUSE_JOYSTICK=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2107 DEFAULT_wxUSE_LONGLONG=no
2108 DEFAULT_wxUSE_GEOMETRY=no
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2112 DEFAULT_wxUSE_POSTSCRIPT=no
2114 DEFAULT_wxUSE_CLIPBOARD=no
2115 DEFAULT_wxUSE_TOOLTIPS=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP=no
2117 DEFAULT_wxUSE_DRAGIMAGE=no
2118 DEFAULT_wxUSE_SPLINES=no
2119 DEFAULT_wxUSE_MOUSEWHEEL=no
2121 DEFAULT_wxUSE_MDI=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2126 DEFAULT_wxUSE_RESOURCES=no
2127 DEFAULT_wxUSE_CONSTRAINTS=no
2128 DEFAULT_wxUSE_IPC=no
2129 DEFAULT_wxUSE_HELP=no
2130 DEFAULT_wxUSE_MS_HTML_HELP=no
2131 DEFAULT_wxUSE_WXHTML_HELP=no
2132 DEFAULT_wxUSE_TREELAYOUT=no
2133 DEFAULT_wxUSE_METAFILE=no
2134 DEFAULT_wxUSE_MIMETYPE=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2136 DEFAULT_wxUSE_PROTOCOL=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE=no
2140 DEFAULT_wxUSE_URL=no
2142 DEFAULT_wxUSE_COMMONDLGS=no
2143 DEFAULT_wxUSE_CHOICEDLG=no
2144 DEFAULT_wxUSE_COLOURDLG=no
2145 DEFAULT_wxUSE_DIRDLG=no
2146 DEFAULT_wxUSE_FILEDLG=no
2147 DEFAULT_wxUSE_FINDREPLDLG=no
2148 DEFAULT_wxUSE_FONTDLG=no
2149 DEFAULT_wxUSE_MSGDLG=no
2150 DEFAULT_wxUSE_NUMBERDLG=no
2151 DEFAULT_wxUSE_TEXTDLG=no
2152 DEFAULT_wxUSE_SPLASH=no
2153 DEFAULT_wxUSE_STARTUP_TIPS=no
2154 DEFAULT_wxUSE_PROGRESSDLG=no
2155 DEFAULT_wxUSE_WIZARDDLG=no
2157 DEFAULT_wxUSE_MENUS=no
2158 DEFAULT_wxUSE_MINIFRAME=no
2159 DEFAULT_wxUSE_HTML=no
2160 DEFAULT_wxUSE_XRC=no
2161 DEFAULT_wxUSE_WEBKIT=no
2162 DEFAULT_wxUSE_FILESYSTEM=no
2163 DEFAULT_wxUSE_FS_INET=no
2164 DEFAULT_wxUSE_FS_ZIP=no
2165 DEFAULT_wxUSE_BUSYINFO=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2167 DEFAULT_wxUSE_ZIPSTREAM=no
2168 DEFAULT_wxUSE_VALIDATORS=no
2170 DEFAULT_wxUSE_ACCEL=no
2171 DEFAULT_wxUSE_BUTTON=no
2172 DEFAULT_wxUSE_BMPBUTTON=no
2173 DEFAULT_wxUSE_CALCTRL=no
2174 DEFAULT_wxUSE_CARET=no
2175 DEFAULT_wxUSE_CHECKBOX=no
2176 DEFAULT_wxUSE_CHECKLST=no
2177 DEFAULT_wxUSE_CHOICE=no
2178 DEFAULT_wxUSE_CHOICEBOOK=no
2179 DEFAULT_wxUSE_COMBOBOX=no
2180 DEFAULT_wxUSE_DATEPICKCTRL=no
2181 DEFAULT_wxUSE_DISPLAY=no
2182 DEFAULT_wxUSE_GAUGE=no
2183 DEFAULT_wxUSE_GRID=no
2184 DEFAULT_wxUSE_IMAGLIST=no
2185 DEFAULT_wxUSE_LISTBOOK=no
2186 DEFAULT_wxUSE_LISTBOX=no
2187 DEFAULT_wxUSE_LISTCTRL=no
2188 DEFAULT_wxUSE_NOTEBOOK=no
2189 DEFAULT_wxUSE_RADIOBOX=no
2190 DEFAULT_wxUSE_RADIOBTN=no
2191 DEFAULT_wxUSE_SASH=no
2192 DEFAULT_wxUSE_SCROLLBAR=no
2193 DEFAULT_wxUSE_SLIDER=no
2194 DEFAULT_wxUSE_SPINBTN=no
2195 DEFAULT_wxUSE_SPINCTRL=no
2196 DEFAULT_wxUSE_SPLITTER=no
2197 DEFAULT_wxUSE_STATBMP=no
2198 DEFAULT_wxUSE_STATBOX=no
2199 DEFAULT_wxUSE_STATLINE=no
2200 DEFAULT_wxUSE_STATTEXT=no
2201 DEFAULT_wxUSE_STATUSBAR=yes
2202 DEFAULT_wxUSE_TABDIALOG=no
2203 DEFAULT_wxUSE_TEXTCTRL=no
2204 DEFAULT_wxUSE_TOGGLEBTN=no
2205 DEFAULT_wxUSE_TOOLBAR=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2208 DEFAULT_wxUSE_TREECTRL=no
2209 DEFAULT_wxUSE_POPUPWIN=no
2210 DEFAULT_wxUSE_TIPWINDOW=no
2212 DEFAULT_wxUSE_UNICODE=no
2213 DEFAULT_wxUSE_UNICODE_MSLU=no
2214 DEFAULT_wxUSE_WCSRTOMBS=no
2216 DEFAULT_wxUSE_PALETTE=no
2217 DEFAULT_wxUSE_IMAGE=no
2218 DEFAULT_wxUSE_GIF=no
2219 DEFAULT_wxUSE_PCX=no
2220 DEFAULT_wxUSE_PNM=no
2221 DEFAULT_wxUSE_IFF=no
2222 DEFAULT_wxUSE_XPM=no
2223 DEFAULT_wxUSE_ICO_CUR=no
2224 DEFAULT_wxUSE_ACCESSIBILITY=no
2226 DEFAULT_wxUSE_MONOLITHIC=no
2227 DEFAULT_wxUSE_PLUGINS=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2230 DEFAULT_wxUSE_UNIVERSAL=no
2231 DEFAULT_wxUSE_STL=no
2233 DEFAULT_wxUSE_NANOX=no
2235 DEFAULT_wxUSE_THREADS=yes
2237 DEFAULT_wxUSE_SHARED=yes
2238 DEFAULT_wxUSE_OPTIMISE=yes
2239 DEFAULT_wxUSE_PROFILE=no
2240 DEFAULT_wxUSE_NO_DEPS=no
2241 DEFAULT_wxUSE_NO_RTTI=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2243 DEFAULT_wxUSE_RPATH=yes
2244 DEFAULT_wxUSE_PERMISSIVE=no
2245 DEFAULT_wxUSE_DEBUG_FLAG=no
2246 DEFAULT_wxUSE_DEBUG_INFO=no
2247 DEFAULT_wxUSE_DEBUG_GDB=no
2248 DEFAULT_wxUSE_MEM_TRACING=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2250 DEFAULT_wxUSE_DMALLOC=no
2251 DEFAULT_wxUSE_APPLE_IEEE=yes
2253 DEFAULT_wxUSE_EXCEPTIONS=yes
2254 DEFAULT_wxUSE_LOG=yes
2255 DEFAULT_wxUSE_LOGWINDOW=yes
2256 DEFAULT_wxUSE_LOGGUI=yes
2257 DEFAULT_wxUSE_LOGDIALOG=yes
2259 DEFAULT_wxUSE_GUI=yes
2261 DEFAULT_wxUSE_REGEX=yes
2262 DEFAULT_wxUSE_XML=yes
2263 DEFAULT_wxUSE_EXPAT=yes
2264 DEFAULT_wxUSE_ZLIB=yes
2265 DEFAULT_wxUSE_LIBPNG=yes
2266 DEFAULT_wxUSE_LIBJPEG=yes
2267 DEFAULT_wxUSE_LIBTIFF=yes
2268 DEFAULT_wxUSE_LIBXPM=yes
2269 DEFAULT_wxUSE_LIBMSPACK=yes
2270 DEFAULT_wxUSE_LIBSDL=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2272 DEFAULT_wxUSE_ODBC=no
2273 DEFAULT_wxUSE_OPENGL=no
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2276 DEFAULT_wxUSE_STACKWALKER=yes
2277 DEFAULT_wxUSE_DEBUGREPORT=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2282 DEFAULT_wxUSE_DATETIME=yes
2283 DEFAULT_wxUSE_TIMER=yes
2284 DEFAULT_wxUSE_STOPWATCH=yes
2285 DEFAULT_wxUSE_FILE=yes
2286 DEFAULT_wxUSE_FFILE=yes
2287 DEFAULT_wxUSE_STDPATHS=yes
2288 DEFAULT_wxUSE_TEXTBUFFER=yes
2289 DEFAULT_wxUSE_TEXTFILE=yes
2290 DEFAULT_wxUSE_SOUND=yes
2291 DEFAULT_wxUSE_MEDIACTRL=no
2292 DEFAULT_wxUSE_INTL=yes
2293 DEFAULT_wxUSE_CONFIG=yes
2294 DEFAULT_wxUSE_FONTMAP=yes
2295 DEFAULT_wxUSE_STREAMS=yes
2296 DEFAULT_wxUSE_SOCKETS=yes
2297 DEFAULT_wxUSE_OLE=yes
2298 DEFAULT_wxUSE_DATAOBJ=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2300 DEFAULT_wxUSE_JOYSTICK=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2303 DEFAULT_wxUSE_LONGLONG=yes
2304 DEFAULT_wxUSE_GEOMETRY=yes
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2308 DEFAULT_wxUSE_POSTSCRIPT=yes
2310 DEFAULT_wxUSE_CLIPBOARD=yes
2311 DEFAULT_wxUSE_TOOLTIPS=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2313 DEFAULT_wxUSE_DRAGIMAGE=yes
2314 DEFAULT_wxUSE_SPLINES=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL=yes
2317 DEFAULT_wxUSE_MDI=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2322 DEFAULT_wxUSE_RESOURCES=no
2323 DEFAULT_wxUSE_CONSTRAINTS=yes
2324 DEFAULT_wxUSE_IPC=yes
2325 DEFAULT_wxUSE_HELP=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP=yes
2327 DEFAULT_wxUSE_WXHTML_HELP=yes
2328 DEFAULT_wxUSE_TREELAYOUT=yes
2329 DEFAULT_wxUSE_METAFILE=yes
2330 DEFAULT_wxUSE_MIMETYPE=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2332 DEFAULT_wxUSE_PROTOCOL=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2336 DEFAULT_wxUSE_URL=yes
2338 DEFAULT_wxUSE_COMMONDLGS=yes
2339 DEFAULT_wxUSE_CHOICEDLG=yes
2340 DEFAULT_wxUSE_COLOURDLG=yes
2341 DEFAULT_wxUSE_DIRDLG=yes
2342 DEFAULT_wxUSE_FILEDLG=yes
2343 DEFAULT_wxUSE_FINDREPLDLG=yes
2344 DEFAULT_wxUSE_FONTDLG=yes
2345 DEFAULT_wxUSE_MSGDLG=yes
2346 DEFAULT_wxUSE_NUMBERDLG=yes
2347 DEFAULT_wxUSE_TEXTDLG=yes
2348 DEFAULT_wxUSE_SPLASH=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS=yes
2350 DEFAULT_wxUSE_PROGRESSDLG=yes
2351 DEFAULT_wxUSE_WIZARDDLG=yes
2353 DEFAULT_wxUSE_MENUS=yes
2354 DEFAULT_wxUSE_MINIFRAME=yes
2355 DEFAULT_wxUSE_HTML=yes
2356 DEFAULT_wxUSE_XRC=yes
2357 DEFAULT_wxUSE_WEBKIT=yes
2358 DEFAULT_wxUSE_FILESYSTEM=yes
2359 DEFAULT_wxUSE_FS_INET=yes
2360 DEFAULT_wxUSE_FS_ZIP=yes
2361 DEFAULT_wxUSE_BUSYINFO=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2363 DEFAULT_wxUSE_ZIPSTREAM=yes
2364 DEFAULT_wxUSE_VALIDATORS=yes
2366 DEFAULT_wxUSE_ACCEL=yes
2367 DEFAULT_wxUSE_BUTTON=yes
2368 DEFAULT_wxUSE_BMPBUTTON=yes
2369 DEFAULT_wxUSE_CALCTRL=yes
2370 DEFAULT_wxUSE_CARET=yes
2371 DEFAULT_wxUSE_CHECKBOX=yes
2372 DEFAULT_wxUSE_CHECKLST=yes
2373 DEFAULT_wxUSE_CHOICE=yes
2374 DEFAULT_wxUSE_CHOICEBOOK=yes
2375 DEFAULT_wxUSE_COMBOBOX=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL=yes
2377 DEFAULT_wxUSE_DISPLAY=yes
2378 DEFAULT_wxUSE_GAUGE=yes
2379 DEFAULT_wxUSE_GRID=yes
2380 DEFAULT_wxUSE_IMAGLIST=yes
2381 DEFAULT_wxUSE_LISTBOOK=yes
2382 DEFAULT_wxUSE_LISTBOX=yes
2383 DEFAULT_wxUSE_LISTCTRL=yes
2384 DEFAULT_wxUSE_NOTEBOOK=yes
2385 DEFAULT_wxUSE_RADIOBOX=yes
2386 DEFAULT_wxUSE_RADIOBTN=yes
2387 DEFAULT_wxUSE_SASH=yes
2388 DEFAULT_wxUSE_SCROLLBAR=yes
2389 DEFAULT_wxUSE_SLIDER=yes
2390 DEFAULT_wxUSE_SPINBTN=yes
2391 DEFAULT_wxUSE_SPINCTRL=yes
2392 DEFAULT_wxUSE_SPLITTER=yes
2393 DEFAULT_wxUSE_STATBMP=yes
2394 DEFAULT_wxUSE_STATBOX=yes
2395 DEFAULT_wxUSE_STATLINE=yes
2396 DEFAULT_wxUSE_STATTEXT=yes
2397 DEFAULT_wxUSE_STATUSBAR=yes
2398 DEFAULT_wxUSE_TABDIALOG=no
2399 DEFAULT_wxUSE_TEXTCTRL=yes
2400 DEFAULT_wxUSE_TOGGLEBTN=yes
2401 DEFAULT_wxUSE_TOOLBAR=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2404 DEFAULT_wxUSE_TREECTRL=yes
2405 DEFAULT_wxUSE_POPUPWIN=yes
2406 DEFAULT_wxUSE_TIPWINDOW=yes
2408 DEFAULT_wxUSE_UNICODE=no
2409 DEFAULT_wxUSE_UNICODE_MSLU=yes
2410 DEFAULT_wxUSE_WCSRTOMBS=no
2412 DEFAULT_wxUSE_PALETTE=yes
2413 DEFAULT_wxUSE_IMAGE=yes
2414 DEFAULT_wxUSE_GIF=yes
2415 DEFAULT_wxUSE_PCX=yes
2416 DEFAULT_wxUSE_IFF=no
2417 DEFAULT_wxUSE_PNM=yes
2418 DEFAULT_wxUSE_XPM=yes
2419 DEFAULT_wxUSE_ICO_CUR=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY=no
2422 DEFAULT_wxUSE_MONOLITHIC=no
2423 DEFAULT_wxUSE_PLUGINS=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2426 DEFAULT_wxUSE_GTK2=yes
2432 for toolkit in `echo $ALL_TOOLKITS`; do
2433 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2439 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval="$enable_gui"
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui='wxUSE_GUI
=yes'
2459 ac_cv_use_gui='wxUSE_GUI
=no
'
2464 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x ; then
2466 eval "DEFAULT_$LINE"
2471 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval="$enable_monolithic"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2500 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2505 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval="$enable_plugins"
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2541 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2546 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2553 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2572 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2573 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2576 # Check whether --with-subdirs or --without-subdirs was given.
2577 if test "${with_subdirs+set}" = set; then
2578 withval="$with_subdirs"
2580 if test "$withval" = yes; then
2581 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2583 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2588 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x ; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2599 eval "$ac_cv_use_subdirs"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2604 if test "$wxWITH_SUBDIRS" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2613 if test "$wxUSE_GUI" = "yes"; then
2617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2618 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2620 # Check whether --enable-universal or --disable-universal was given.
2621 if test "${enable_universal+set}" = set; then
2622 enableval="$enable_universal"
2624 if test "$enableval" = yes; then
2625 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2627 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2632 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2633 if test "x$LINE" != x ; then
2634 eval "DEFAULT_$LINE"
2639 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2643 eval "$ac_cv_use_universal"
2644 if test "$no_cache" != 1; then
2645 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2648 if test "$wxUSE_UNIVERSAL" = yes; then
2649 echo "$as_me:$LINENO: result: yes" >&5
2650 echo "${ECHO_T}yes" >&6
2652 echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6
2657 # Check whether --with-gtk or --without-gtk was given.
2658 if test "${with_gtk+set}" = set; then
2660 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2663 # Check whether --with-motif or --without-motif was given.
2664 if test "${with_motif+set}" = set; then
2665 withval="$with_motif"
2666 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2669 # Check whether --with-mac or --without-mac was given.
2670 if test "${with_mac+set}" = set; then
2672 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2675 # Check whether --with-cocoa or --without-cocoa was given.
2676 if test "${with_cocoa+set}" = set; then
2677 withval="$with_cocoa"
2678 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2681 # Check whether --with-wine or --without-wine was given.
2682 if test "${with_wine+set}" = set; then
2683 withval="$with_wine"
2684 wxUSE_WINE="$withval" CACHE_WINE=1
2687 # Check whether --with-msw or --without-msw was given.
2688 if test "${with_msw+set}" = set; then
2690 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2693 # Check whether --with-pm or --without-pm was given.
2694 if test "${with_pm+set}" = set; then
2696 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2699 # Check whether --with-mgl or --without-mgl was given.
2700 if test "${with_mgl+set}" = set; then
2702 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2705 # Check whether --with-microwin or --without-microwin was given.
2706 if test "${with_microwin+set}" = set; then
2707 withval="$with_microwin"
2708 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2711 # Check whether --with-x11 or --without-x11 was given.
2712 if test "${with_x11+set}" = set; then
2714 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2719 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2721 # Check whether --enable-nanox or --disable-nanox was given.
2722 if test "${enable_nanox+set}" = set; then
2723 enableval="$enable_nanox"
2725 if test "$enableval" = yes; then
2726 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2728 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2733 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2734 if test "x$LINE" != x ; then
2735 eval "DEFAULT_$LINE"
2740 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2744 eval "$ac_cv_use_nanox"
2745 if test "$no_cache" != 1; then
2746 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2749 if test "$wxUSE_NANOX" = yes; then
2750 echo "$as_me:$LINENO: result: yes" >&5
2751 echo "${ECHO_T}yes" >&6
2753 echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6
2758 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2759 if test "${enable_gtk2+set}" = set; then
2760 enableval="$enable_gtk2"
2761 wxUSE_GTK2="$enableval"
2765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2766 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2768 # Check whether --enable-gpe or --disable-gpe was given.
2769 if test "${enable_gpe+set}" = set; then
2770 enableval="$enable_gpe"
2772 if test "$enableval" = yes; then
2773 ac_cv_use_gpe='wxUSE_GPE
=yes'
2775 ac_cv_use_gpe='wxUSE_GPE
=no
'
2780 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2781 if test "x$LINE" != x ; then
2782 eval "DEFAULT_$LINE"
2787 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2791 eval "$ac_cv_use_gpe"
2792 if test "$no_cache" != 1; then
2793 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2796 if test "$wxUSE_GPE" = yes; then
2797 echo "$as_me:$LINENO: result: yes" >&5
2798 echo "${ECHO_T}yes" >&6
2800 echo "$as_me:$LINENO: result: no" >&5
2801 echo "${ECHO_T}no" >&6
2806 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2807 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2810 # Check whether --with-libpng or --without-libpng was given.
2811 if test "${with_libpng+set}" = set; then
2812 withval="$with_libpng"
2814 if test "$withval" = yes; then
2815 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2816 elif test "$withval" = no; then
2817 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2818 elif test "$withval" = sys; then
2819 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2820 elif test "$withval" = builtin; then
2821 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2824 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2825 { (exit 1); exit 1; }; }
2830 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2831 if test "x$LINE" != x ; then
2832 eval "DEFAULT_$LINE"
2837 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2841 eval "$ac_cv_use_libpng"
2842 if test "$no_cache" != 1; then
2843 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2846 if test "$wxUSE_LIBPNG" = yes; then
2847 echo "$as_me:$LINENO: result: yes" >&5
2848 echo "${ECHO_T}yes" >&6
2849 elif test "$wxUSE_LIBPNG" = no; then
2850 echo "$as_me:$LINENO: result: no" >&5
2851 echo "${ECHO_T}no" >&6
2852 elif test "$wxUSE_LIBPNG" = sys; then
2853 echo "$as_me:$LINENO: result: system version" >&5
2854 echo "${ECHO_T}system version" >&6
2855 elif test "$wxUSE_LIBPNG" = builtin; then
2856 echo "$as_me:$LINENO: result: builtin version" >&5
2857 echo "${ECHO_T}builtin version" >&6
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2860 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2865 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2866 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2869 # Check whether --with-libjpeg or --without-libjpeg was given.
2870 if test "${with_libjpeg+set}" = set; then
2871 withval="$with_libjpeg"
2873 if test "$withval" = yes; then
2874 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2875 elif test "$withval" = no; then
2876 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2877 elif test "$withval" = sys; then
2878 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2879 elif test "$withval" = builtin; then
2880 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2883 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2884 { (exit 1); exit 1; }; }
2889 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2890 if test "x$LINE" != x ; then
2891 eval "DEFAULT_$LINE"
2896 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2900 eval "$ac_cv_use_libjpeg"
2901 if test "$no_cache" != 1; then
2902 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2905 if test "$wxUSE_LIBJPEG" = yes; then
2906 echo "$as_me:$LINENO: result: yes" >&5
2907 echo "${ECHO_T}yes" >&6
2908 elif test "$wxUSE_LIBJPEG" = no; then
2909 echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6
2911 elif test "$wxUSE_LIBJPEG" = sys; then
2912 echo "$as_me:$LINENO: result: system version" >&5
2913 echo "${ECHO_T}system version" >&6
2914 elif test "$wxUSE_LIBJPEG" = builtin; then
2915 echo "$as_me:$LINENO: result: builtin version" >&5
2916 echo "${ECHO_T}builtin version" >&6
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2924 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2925 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2928 # Check whether --with-libtiff or --without-libtiff was given.
2929 if test "${with_libtiff+set}" = set; then
2930 withval="$with_libtiff"
2932 if test "$withval" = yes; then
2933 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2934 elif test "$withval" = no; then
2935 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2936 elif test "$withval" = sys; then
2937 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2938 elif test "$withval" = builtin; then
2939 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2941 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2942 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2943 { (exit 1); exit 1; }; }
2948 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x ; then
2950 eval "DEFAULT_$LINE"
2955 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2959 eval "$ac_cv_use_libtiff"
2960 if test "$no_cache" != 1; then
2961 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2964 if test "$wxUSE_LIBTIFF" = yes; then
2965 echo "$as_me:$LINENO: result: yes" >&5
2966 echo "${ECHO_T}yes" >&6
2967 elif test "$wxUSE_LIBTIFF" = no; then
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2970 elif test "$wxUSE_LIBTIFF" = sys; then
2971 echo "$as_me:$LINENO: result: system version" >&5
2972 echo "${ECHO_T}system version" >&6
2973 elif test "$wxUSE_LIBTIFF" = builtin; then
2974 echo "$as_me:$LINENO: result: builtin version" >&5
2975 echo "${ECHO_T}builtin version" >&6
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2983 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2984 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2987 # Check whether --with-libxpm or --without-libxpm was given.
2988 if test "${with_libxpm+set}" = set; then
2989 withval="$with_libxpm"
2991 if test "$withval" = yes; then
2992 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2993 elif test "$withval" = no; then
2994 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
2995 elif test "$withval" = sys; then
2996 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
2997 elif test "$withval" = builtin; then
2998 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3000 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3001 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3002 { (exit 1); exit 1; }; }
3007 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3008 if test "x$LINE" != x ; then
3009 eval "DEFAULT_$LINE"
3014 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3018 eval "$ac_cv_use_libxpm"
3019 if test "$no_cache" != 1; then
3020 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3023 if test "$wxUSE_LIBXPM" = yes; then
3024 echo "$as_me:$LINENO: result: yes" >&5
3025 echo "${ECHO_T}yes" >&6
3026 elif test "$wxUSE_LIBXPM" = no; then
3027 echo "$as_me:$LINENO: result: no" >&5
3028 echo "${ECHO_T}no" >&6
3029 elif test "$wxUSE_LIBXPM" = sys; then
3030 echo "$as_me:$LINENO: result: system version" >&5
3031 echo "${ECHO_T}system version" >&6
3032 elif test "$wxUSE_LIBXPM" = builtin; then
3033 echo "$as_me:$LINENO: result: builtin version" >&5
3034 echo "${ECHO_T}builtin version" >&6
3036 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3037 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3038 { (exit 1); exit 1; }; }
3043 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3044 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3047 # Check whether --with-libmspack or --without-libmspack was given.
3048 if test "${with_libmspack+set}" = set; then
3049 withval="$with_libmspack"
3051 if test "$withval" = yes; then
3052 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3054 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3059 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x ; then
3061 eval "DEFAULT_$LINE"
3066 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3070 eval "$ac_cv_use_libmspack"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3075 if test "$wxUSE_LIBMSPACK" = yes; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3085 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3086 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3089 # Check whether --with-sdl or --without-sdl was given.
3090 if test "${with_sdl+set}" = set; then
3093 if test "$withval" = yes; then
3094 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3096 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3101 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x ; then
3103 eval "DEFAULT_$LINE"
3108 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3112 eval "$ac_cv_use_sdl"
3113 if test "$no_cache" != 1; then
3114 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3117 if test "$wxUSE_LIBSDL" = yes; then
3118 echo "$as_me:$LINENO: result: yes" >&5
3119 echo "${ECHO_T}yes" >&6
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3127 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3128 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3131 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3132 if test "${with_gnomeprint+set}" = set; then
3133 withval="$with_gnomeprint"
3135 if test "$withval" = yes; then
3136 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3138 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3143 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x ; then
3145 eval "DEFAULT_$LINE"
3150 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3154 eval "$ac_cv_use_gnomeprint"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3159 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3160 echo "$as_me:$LINENO: result: yes" >&5
3161 echo "${ECHO_T}yes" >&6
3163 echo "$as_me:$LINENO: result: no" >&5
3164 echo "${ECHO_T}no" >&6
3169 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3170 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3173 # Check whether --with-opengl or --without-opengl was given.
3174 if test "${with_opengl+set}" = set; then
3175 withval="$with_opengl"
3177 if test "$withval" = yes; then
3178 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3180 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3185 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x ; then
3187 eval "DEFAULT_$LINE"
3192 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3196 eval "$ac_cv_use_opengl"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3201 if test "$wxUSE_OPENGL" = yes; then
3202 echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3214 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3215 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3218 # Check whether --with-dmalloc or --without-dmalloc was given.
3219 if test "${with_dmalloc+set}" = set; then
3220 withval="$with_dmalloc"
3222 if test "$withval" = yes; then
3223 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3225 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3230 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x ; then
3232 eval "DEFAULT_$LINE"
3237 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3241 eval "$ac_cv_use_dmalloc"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3246 if test "$wxUSE_DMALLOC" = yes; then
3247 echo "$as_me:$LINENO: result: yes" >&5
3248 echo "${ECHO_T}yes" >&6
3250 echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6
3255 echo "$as_me:$LINENO: checking for --with-regex" >&5
3256 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3259 # Check whether --with-regex or --without-regex was given.
3260 if test "${with_regex+set}" = set; then
3261 withval="$with_regex"
3263 if test "$withval" = yes; then
3264 ac_cv_use_regex='wxUSE_REGEX
=yes'
3265 elif test "$withval" = no; then
3266 ac_cv_use_regex='wxUSE_REGEX
=no
'
3267 elif test "$withval" = sys; then
3268 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3269 elif test "$withval" = builtin; then
3270 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3272 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3273 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3274 { (exit 1); exit 1; }; }
3279 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3280 if test "x$LINE" != x ; then
3281 eval "DEFAULT_$LINE"
3286 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3290 eval "$ac_cv_use_regex"
3291 if test "$no_cache" != 1; then
3292 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3295 if test "$wxUSE_REGEX" = yes; then
3296 echo "$as_me:$LINENO: result: yes" >&5
3297 echo "${ECHO_T}yes" >&6
3298 elif test "$wxUSE_REGEX" = no; then
3299 echo "$as_me:$LINENO: result: no" >&5
3300 echo "${ECHO_T}no" >&6
3301 elif test "$wxUSE_REGEX" = sys; then
3302 echo "$as_me:$LINENO: result: system version" >&5
3303 echo "${ECHO_T}system version" >&6
3304 elif test "$wxUSE_REGEX" = builtin; then
3305 echo "$as_me:$LINENO: result: builtin version" >&5
3306 echo "${ECHO_T}builtin version" >&6
3308 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3309 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3310 { (exit 1); exit 1; }; }
3314 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3315 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3318 # Check whether --with-zlib or --without-zlib was given.
3319 if test "${with_zlib+set}" = set; then
3320 withval="$with_zlib"
3322 if test "$withval" = yes; then
3323 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3324 elif test "$withval" = no; then
3325 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3326 elif test "$withval" = sys; then
3327 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3328 elif test "$withval" = builtin; then
3329 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3331 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3332 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3333 { (exit 1); exit 1; }; }
3338 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x ; then
3340 eval "DEFAULT_$LINE"
3345 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3349 eval "$ac_cv_use_zlib"
3350 if test "$no_cache" != 1; then
3351 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3354 if test "$wxUSE_ZLIB" = yes; then
3355 echo "$as_me:$LINENO: result: yes" >&5
3356 echo "${ECHO_T}yes" >&6
3357 elif test "$wxUSE_ZLIB" = no; then
3358 echo "$as_me:$LINENO: result: no" >&5
3359 echo "${ECHO_T}no" >&6
3360 elif test "$wxUSE_ZLIB" = sys; then
3361 echo "$as_me:$LINENO: result: system version" >&5
3362 echo "${ECHO_T}system version" >&6
3363 elif test "$wxUSE_ZLIB" = builtin; then
3364 echo "$as_me:$LINENO: result: builtin version" >&5
3365 echo "${ECHO_T}builtin version" >&6
3367 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3368 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3369 { (exit 1); exit 1; }; }
3373 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3374 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3377 # Check whether --with-odbc or --without-odbc was given.
3378 if test "${with_odbc+set}" = set; then
3379 withval="$with_odbc"
3381 if test "$withval" = yes; then
3382 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3383 elif test "$withval" = no; then
3384 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3385 elif test "$withval" = sys; then
3386 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3387 elif test "$withval" = builtin; then
3388 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3390 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3391 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3392 { (exit 1); exit 1; }; }
3397 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x ; then
3399 eval "DEFAULT_$LINE"
3404 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3408 eval "$ac_cv_use_odbc"
3409 if test "$no_cache" != 1; then
3410 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3413 if test "$wxUSE_ODBC" = yes; then
3414 echo "$as_me:$LINENO: result: yes" >&5
3415 echo "${ECHO_T}yes" >&6
3416 elif test "$wxUSE_ODBC" = no; then
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3419 elif test "$wxUSE_ODBC" = sys; then
3420 echo "$as_me:$LINENO: result: system version" >&5
3421 echo "${ECHO_T}system version" >&6
3422 elif test "$wxUSE_ODBC" = builtin; then
3423 echo "$as_me:$LINENO: result: builtin version" >&5
3424 echo "${ECHO_T}builtin version" >&6
3426 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3427 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3428 { (exit 1); exit 1; }; }
3432 echo "$as_me:$LINENO: checking for --with-expat" >&5
3433 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3436 # Check whether --with-expat or --without-expat was given.
3437 if test "${with_expat+set}" = set; then
3438 withval="$with_expat"
3440 if test "$withval" = yes; then
3441 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3442 elif test "$withval" = no; then
3443 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3444 elif test "$withval" = sys; then
3445 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3446 elif test "$withval" = builtin; then
3447 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3449 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3450 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3451 { (exit 1); exit 1; }; }
3456 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3467 eval "$ac_cv_use_expat"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_EXPAT" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3475 elif test "$wxUSE_EXPAT" = no; then
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3478 elif test "$wxUSE_EXPAT" = sys; then
3479 echo "$as_me:$LINENO: result: system version" >&5
3480 echo "${ECHO_T}system version" >&6
3481 elif test "$wxUSE_EXPAT" = builtin; then
3482 echo "$as_me:$LINENO: result: builtin version" >&5
3483 echo "${ECHO_T}builtin version" >&6
3485 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3486 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3487 { (exit 1); exit 1; }; }
3494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3495 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3497 # Check whether --enable-shared or --disable-shared was given.
3498 if test "${enable_shared+set}" = set; then
3499 enableval="$enable_shared"
3501 if test "$enableval" = yes; then
3502 ac_cv_use_shared='wxUSE_SHARED
=yes'
3504 ac_cv_use_shared='wxUSE_SHARED
=no
'
3509 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3510 if test "x$LINE" != x ; then
3511 eval "DEFAULT_$LINE"
3516 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3520 eval "$ac_cv_use_shared"
3521 if test "$no_cache" != 1; then
3522 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3525 if test "$wxUSE_SHARED" = yes; then
3526 echo "$as_me:$LINENO: result: yes" >&5
3527 echo "${ECHO_T}yes" >&6
3529 echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3536 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3538 # Check whether --enable-optimise or --disable-optimise was given.
3539 if test "${enable_optimise+set}" = set; then
3540 enableval="$enable_optimise"
3542 if test "$enableval" = yes; then
3543 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3545 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3550 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3551 if test "x$LINE" != x ; then
3552 eval "DEFAULT_$LINE"
3557 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3561 eval "$ac_cv_use_optimise"
3562 if test "$no_cache" != 1; then
3563 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3566 if test "$wxUSE_OPTIMISE" = yes; then
3567 echo "$as_me:$LINENO: result: yes" >&5
3568 echo "${ECHO_T}yes" >&6
3570 echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6
3576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3577 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3579 # Check whether --enable-debug or --disable-debug was given.
3580 if test "${enable_debug+set}" = set; then
3581 enableval="$enable_debug"
3583 if test "$enableval" = yes; then
3584 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3586 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3591 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3592 if test "x$LINE" != x ; then
3593 eval "DEFAULT_$LINE"
3598 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3602 eval "$ac_cv_use_debug"
3603 if test "$no_cache" != 1; then
3604 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3607 if test "$wxUSE_DEBUG" = yes; then
3608 echo "$as_me:$LINENO: result: yes" >&5
3609 echo "${ECHO_T}yes" >&6
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3618 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3620 # Check whether --enable-stl or --disable-stl was given.
3621 if test "${enable_stl+set}" = set; then
3622 enableval="$enable_stl"
3624 if test "$enableval" = yes; then
3625 ac_cv_use_stl='wxUSE_STL
=yes'
3627 ac_cv_use_stl='wxUSE_STL
=no
'
3632 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3633 if test "x$LINE" != x ; then
3634 eval "DEFAULT_$LINE"
3639 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3643 eval "$ac_cv_use_stl"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3648 if test "$wxUSE_STL" = yes; then
3649 echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6
3652 echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6
3656 if test "$USE_OS2" = "1"; then
3657 DEFAULT_wxUSE_OMF=no
3660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3661 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3663 # Check whether --enable-omf or --disable-omf was given.
3664 if test "${enable_omf+set}" = set; then
3665 enableval="$enable_omf"
3667 if test "$enableval" = yes; then
3668 ac_cv_use_omf='wxUSE_OMF
=yes'
3670 ac_cv_use_omf='wxUSE_OMF
=no
'
3675 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3676 if test "x$LINE" != x ; then
3677 eval "DEFAULT_$LINE"
3682 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3686 eval "$ac_cv_use_omf"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3691 if test "$wxUSE_OMF" = yes; then
3692 echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6
3695 echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6
3701 if test "$wxUSE_DEBUG" = "yes"; then
3702 DEFAULT_wxUSE_DEBUG_FLAG=yes
3703 DEFAULT_wxUSE_DEBUG_INFO=yes
3705 elif test "$wxUSE_DEBUG" = "no"; then
3706 DEFAULT_wxUSE_DEBUG_FLAG=no
3707 DEFAULT_wxUSE_DEBUG_INFO=no
3713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3714 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3716 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3717 if test "${enable_debug_flag+set}" = set; then
3718 enableval="$enable_debug_flag"
3720 if test "$enableval" = yes; then
3721 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3723 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3728 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3729 if test "x$LINE" != x ; then
3730 eval "DEFAULT_$LINE"
3735 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3739 eval "$ac_cv_use_debug_flag"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_DEBUG_FLAG" = yes; then
3745 echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3755 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3757 # Check whether --enable-debug_info or --disable-debug_info was given.
3758 if test "${enable_debug_info+set}" = set; then
3759 enableval="$enable_debug_info"
3761 if test "$enableval" = yes; then
3762 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3764 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3769 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3770 if test "x$LINE" != x ; then
3771 eval "DEFAULT_$LINE"
3776 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3780 eval "$ac_cv_use_debug_info"
3781 if test "$no_cache" != 1; then
3782 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3785 if test "$wxUSE_DEBUG_INFO" = yes; then
3786 echo "$as_me:$LINENO: result: yes" >&5
3787 echo "${ECHO_T}yes" >&6
3789 echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6
3795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3796 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3798 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3799 if test "${enable_debug_gdb+set}" = set; then
3800 enableval="$enable_debug_gdb"
3802 if test "$enableval" = yes; then
3803 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3805 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3810 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3811 if test "x$LINE" != x ; then
3812 eval "DEFAULT_$LINE"
3817 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3821 eval "$ac_cv_use_debug_gdb"
3822 if test "$no_cache" != 1; then
3823 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3826 if test "$wxUSE_DEBUG_GDB" = yes; then
3827 echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3837 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3839 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3840 if test "${enable_debug_cntxt+set}" = set; then
3841 enableval="$enable_debug_cntxt"
3843 if test "$enableval" = yes; then
3844 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3846 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3851 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x ; then
3853 eval "DEFAULT_$LINE"
3858 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3862 eval "$ac_cv_use_debug_cntxt"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3867 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3868 echo "$as_me:$LINENO: result: yes" >&5
3869 echo "${ECHO_T}yes" >&6
3871 echo "$as_me:$LINENO: result: no" >&5
3872 echo "${ECHO_T}no" >&6
3877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3878 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3880 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3881 if test "${enable_mem_tracing+set}" = set; then
3882 enableval="$enable_mem_tracing"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3887 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3892 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3903 eval "$ac_cv_use_mem_tracing"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3908 if test "$wxUSE_MEM_TRACING" = yes; then
3909 echo "$as_me:$LINENO: result: yes" >&5
3910 echo "${ECHO_T}yes" >&6
3912 echo "$as_me:$LINENO: result: no" >&5
3913 echo "${ECHO_T}no" >&6
3918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3919 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3921 # Check whether --enable-profile or --disable-profile was given.
3922 if test "${enable_profile+set}" = set; then
3923 enableval="$enable_profile"
3925 if test "$enableval" = yes; then
3926 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3928 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3933 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3940 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3944 eval "$ac_cv_use_profile"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3949 if test "$wxUSE_PROFILE" = yes; then
3950 echo "$as_me:$LINENO: result: yes" >&5
3951 echo "${ECHO_T}yes" >&6
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3962 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3963 if test "${enable_no_rtti+set}" = set; then
3964 enableval="$enable_no_rtti"
3966 if test "$enableval" = yes; then
3967 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3969 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3974 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3981 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3985 eval "$ac_cv_use_no_rtti"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3990 if test "$wxUSE_NO_RTTI" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
4000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4001 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4003 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4004 if test "${enable_no_exceptions+set}" = set; then
4005 enableval="$enable_no_exceptions"
4007 if test "$enableval" = yes; then
4008 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4010 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4015 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4016 if test "x$LINE" != x ; then
4017 eval "DEFAULT_$LINE"
4022 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4026 eval "$ac_cv_use_no_exceptions"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4031 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4032 echo "$as_me:$LINENO: result: yes" >&5
4033 echo "${ECHO_T}yes" >&6
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4042 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4044 # Check whether --enable-permissive or --disable-permissive was given.
4045 if test "${enable_permissive+set}" = set; then
4046 enableval="$enable_permissive"
4048 if test "$enableval" = yes; then
4049 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4051 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4056 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4063 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4067 eval "$ac_cv_use_permissive"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4072 if test "$wxUSE_PERMISSIVE" = yes; then
4073 echo "$as_me:$LINENO: result: yes" >&5
4074 echo "${ECHO_T}yes" >&6
4076 echo "$as_me:$LINENO: result: no" >&5
4077 echo "${ECHO_T}no" >&6
4082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4083 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4085 # Check whether --enable-no_deps or --disable-no_deps was given.
4086 if test "${enable_no_deps+set}" = set; then
4087 enableval="$enable_no_deps"
4089 if test "$enableval" = yes; then
4090 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4092 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4097 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x ; then
4099 eval "DEFAULT_$LINE"
4104 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4108 eval "$ac_cv_use_no_deps"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4113 if test "$wxUSE_NO_DEPS" = yes; then
4114 echo "$as_me:$LINENO: result: yes" >&5
4115 echo "${ECHO_T}yes" >&6
4117 echo "$as_me:$LINENO: result: no" >&5
4118 echo "${ECHO_T}no" >&6
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4127 # Check whether --enable-compat24 or --disable-compat24 was given.
4128 if test "${enable_compat24+set}" = set; then
4129 enableval="$enable_compat24"
4131 if test "$enableval" = yes; then
4132 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4134 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4139 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x ; then
4141 eval "DEFAULT_$LINE"
4146 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4150 eval "$ac_cv_use_compat24"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4155 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4164 enablestring=disable
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4168 # Check whether --enable-compat26 or --disable-compat26 was given.
4169 if test "${enable_compat26+set}" = set; then
4170 enableval="$enable_compat26"
4172 if test "$enableval" = yes; then
4173 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4175 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4180 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4187 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4191 eval "$ac_cv_use_compat26"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4196 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4210 # Check whether --enable-rpath or --disable-rpath was given.
4211 if test "${enable_rpath+set}" = set; then
4212 enableval="$enable_rpath"
4214 if test "$enableval" = yes; then
4215 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4217 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4222 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4229 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4233 eval "$ac_cv_use_rpath"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4238 if test "$wxUSE_RPATH" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4252 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4254 # Check whether --enable-intl or --disable-intl was given.
4255 if test "${enable_intl+set}" = set; then
4256 enableval="$enable_intl"
4258 if test "$enableval" = yes; then
4259 ac_cv_use_intl='wxUSE_INTL
=yes'
4261 ac_cv_use_intl='wxUSE_INTL
=no
'
4266 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x ; then
4268 eval "DEFAULT_$LINE"
4273 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4277 eval "$ac_cv_use_intl"
4278 if test "$no_cache" != 1; then
4279 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4282 if test "$wxUSE_INTL" = yes; then
4283 echo "$as_me:$LINENO: result: yes" >&5
4284 echo "${ECHO_T}yes" >&6
4286 echo "$as_me:$LINENO: result: no" >&5
4287 echo "${ECHO_T}no" >&6
4292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4293 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4295 # Check whether --enable-config or --disable-config was given.
4296 if test "${enable_config+set}" = set; then
4297 enableval="$enable_config"
4299 if test "$enableval" = yes; then
4300 ac_cv_use_config='wxUSE_CONFIG
=yes'
4302 ac_cv_use_config='wxUSE_CONFIG
=no
'
4307 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x ; then
4309 eval "DEFAULT_$LINE"
4314 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4318 eval "$ac_cv_use_config"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4323 if test "$wxUSE_CONFIG" = yes; then
4324 echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6
4327 echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6
4334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4335 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4337 # Check whether --enable-protocols or --disable-protocols was given.
4338 if test "${enable_protocols+set}" = set; then
4339 enableval="$enable_protocols"
4341 if test "$enableval" = yes; then
4342 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4344 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4349 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4350 if test "x$LINE" != x ; then
4351 eval "DEFAULT_$LINE"
4356 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4360 eval "$ac_cv_use_protocols"
4361 if test "$no_cache" != 1; then
4362 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4365 if test "$wxUSE_PROTOCOL" = yes; then
4366 echo "$as_me:$LINENO: result: yes" >&5
4367 echo "${ECHO_T}yes" >&6
4369 echo "$as_me:$LINENO: result: no" >&5
4370 echo "${ECHO_T}no" >&6
4375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4376 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4378 # Check whether --enable-ftp or --disable-ftp was given.
4379 if test "${enable_ftp+set}" = set; then
4380 enableval="$enable_ftp"
4382 if test "$enableval" = yes; then
4383 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4385 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4390 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4391 if test "x$LINE" != x ; then
4392 eval "DEFAULT_$LINE"
4397 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4401 eval "$ac_cv_use_ftp"
4402 if test "$no_cache" != 1; then
4403 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4406 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4407 echo "$as_me:$LINENO: result: yes" >&5
4408 echo "${ECHO_T}yes" >&6
4410 echo "$as_me:$LINENO: result: no" >&5
4411 echo "${ECHO_T}no" >&6
4416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4417 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4419 # Check whether --enable-http or --disable-http was given.
4420 if test "${enable_http+set}" = set; then
4421 enableval="$enable_http"
4423 if test "$enableval" = yes; then
4424 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4426 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4431 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x ; then
4433 eval "DEFAULT_$LINE"
4438 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4442 eval "$ac_cv_use_http"
4443 if test "$no_cache" != 1; then
4444 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4447 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4448 echo "$as_me:$LINENO: result: yes" >&5
4449 echo "${ECHO_T}yes" >&6
4451 echo "$as_me:$LINENO: result: no" >&5
4452 echo "${ECHO_T}no" >&6
4457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4460 # Check whether --enable-fileproto or --disable-fileproto was given.
4461 if test "${enable_fileproto+set}" = set; then
4462 enableval="$enable_fileproto"
4464 if test "$enableval" = yes; then
4465 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4467 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4472 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4473 if test "x$LINE" != x ; then
4474 eval "DEFAULT_$LINE"
4479 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4483 eval "$ac_cv_use_fileproto"
4484 if test "$no_cache" != 1; then
4485 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4488 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4489 echo "$as_me:$LINENO: result: yes" >&5
4490 echo "${ECHO_T}yes" >&6
4492 echo "$as_me:$LINENO: result: no" >&5
4493 echo "${ECHO_T}no" >&6
4498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4499 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4501 # Check whether --enable-sockets or --disable-sockets was given.
4502 if test "${enable_sockets+set}" = set; then
4503 enableval="$enable_sockets"
4505 if test "$enableval" = yes; then
4506 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4508 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4513 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4514 if test "x$LINE" != x ; then
4515 eval "DEFAULT_$LINE"
4520 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4524 eval "$ac_cv_use_sockets"
4525 if test "$no_cache" != 1; then
4526 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4529 if test "$wxUSE_SOCKETS" = yes; then
4530 echo "$as_me:$LINENO: result: yes" >&5
4531 echo "${ECHO_T}yes" >&6
4533 echo "$as_me:$LINENO: result: no" >&5
4534 echo "${ECHO_T}no" >&6
4539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4540 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4542 # Check whether --enable-ole or --disable-ole was given.
4543 if test "${enable_ole+set}" = set; then
4544 enableval="$enable_ole"
4546 if test "$enableval" = yes; then
4547 ac_cv_use_ole='wxUSE_OLE
=yes'
4549 ac_cv_use_ole='wxUSE_OLE
=no
'
4554 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x ; then
4556 eval "DEFAULT_$LINE"
4561 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4565 eval "$ac_cv_use_ole"
4566 if test "$no_cache" != 1; then
4567 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4570 if test "$wxUSE_OLE" = yes; then
4571 echo "$as_me:$LINENO: result: yes" >&5
4572 echo "${ECHO_T}yes" >&6
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4581 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4583 # Check whether --enable-dataobj or --disable-dataobj was given.
4584 if test "${enable_dataobj+set}" = set; then
4585 enableval="$enable_dataobj"
4587 if test "$enableval" = yes; then
4588 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4590 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4595 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4596 if test "x$LINE" != x ; then
4597 eval "DEFAULT_$LINE"
4602 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4606 eval "$ac_cv_use_dataobj"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4611 if test "$wxUSE_DATAOBJ" = yes; then
4612 echo "$as_me:$LINENO: result: yes" >&5
4613 echo "${ECHO_T}yes" >&6
4615 echo "$as_me:$LINENO: result: no" >&5
4616 echo "${ECHO_T}no" >&6
4622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4623 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4625 # Check whether --enable-ipc or --disable-ipc was given.
4626 if test "${enable_ipc+set}" = set; then
4627 enableval="$enable_ipc"
4629 if test "$enableval" = yes; then
4630 ac_cv_use_ipc='wxUSE_IPC
=yes'
4632 ac_cv_use_ipc='wxUSE_IPC
=no
'
4637 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4638 if test "x$LINE" != x ; then
4639 eval "DEFAULT_$LINE"
4644 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4648 eval "$ac_cv_use_ipc"
4649 if test "$no_cache" != 1; then
4650 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4653 if test "$wxUSE_IPC" = yes; then
4654 echo "$as_me:$LINENO: result: yes" >&5
4655 echo "${ECHO_T}yes" >&6
4657 echo "$as_me:$LINENO: result: no" >&5
4658 echo "${ECHO_T}no" >&6
4664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4665 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4667 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4668 if test "${enable_apple_ieee+set}" = set; then
4669 enableval="$enable_apple_ieee"
4671 if test "$enableval" = yes; then
4672 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4674 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4679 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4680 if test "x$LINE" != x ; then
4681 eval "DEFAULT_$LINE"
4686 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4690 eval "$ac_cv_use_apple_ieee"
4691 if test "$no_cache" != 1; then
4692 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4695 if test "$wxUSE_APPLE_IEEE" = yes; then
4696 echo "$as_me:$LINENO: result: yes" >&5
4697 echo "${ECHO_T}yes" >&6
4699 echo "$as_me:$LINENO: result: no" >&5
4700 echo "${ECHO_T}no" >&6
4705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4708 # Check whether --enable-arcstream or --disable-arcstream was given.
4709 if test "${enable_arcstream+set}" = set; then
4710 enableval="$enable_arcstream"
4712 if test "$enableval" = yes; then
4713 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4715 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4720 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4721 if test "x$LINE" != x ; then
4722 eval "DEFAULT_$LINE"
4727 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4731 eval "$ac_cv_use_arcstream"
4732 if test "$no_cache" != 1; then
4733 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4736 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4737 echo "$as_me:$LINENO: result: yes" >&5
4738 echo "${ECHO_T}yes" >&6
4740 echo "$as_me:$LINENO: result: no" >&5
4741 echo "${ECHO_T}no" >&6
4746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4749 # Check whether --enable-backtrace or --disable-backtrace was given.
4750 if test "${enable_backtrace+set}" = set; then
4751 enableval="$enable_backtrace"
4753 if test "$enableval" = yes; then
4754 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4756 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4761 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4762 if test "x$LINE" != x ; then
4763 eval "DEFAULT_$LINE"
4768 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4772 eval "$ac_cv_use_backtrace"
4773 if test "$no_cache" != 1; then
4774 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4777 if test "$wxUSE_STACKWALKER" = yes; then
4778 echo "$as_me:$LINENO: result: yes" >&5
4779 echo "${ECHO_T}yes" >&6
4781 echo "$as_me:$LINENO: result: no" >&5
4782 echo "${ECHO_T}no" >&6
4787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4788 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4790 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4791 if test "${enable_catch_segvs+set}" = set; then
4792 enableval="$enable_catch_segvs"
4794 if test "$enableval" = yes; then
4795 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4797 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4802 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4803 if test "x$LINE" != x ; then
4804 eval "DEFAULT_$LINE"
4809 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4813 eval "$ac_cv_use_catch_segvs"
4814 if test "$no_cache" != 1; then
4815 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4818 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4819 echo "$as_me:$LINENO: result: yes" >&5
4820 echo "${ECHO_T}yes" >&6
4822 echo "$as_me:$LINENO: result: no" >&5
4823 echo "${ECHO_T}no" >&6
4828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4829 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4831 # Check whether --enable-cmdline or --disable-cmdline was given.
4832 if test "${enable_cmdline+set}" = set; then
4833 enableval="$enable_cmdline"
4835 if test "$enableval" = yes; then
4836 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4838 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4843 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4844 if test "x$LINE" != x ; then
4845 eval "DEFAULT_$LINE"
4850 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4854 eval "$ac_cv_use_cmdline"
4855 if test "$no_cache" != 1; then
4856 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4859 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4860 echo "$as_me:$LINENO: result: yes" >&5
4861 echo "${ECHO_T}yes" >&6
4863 echo "$as_me:$LINENO: result: no" >&5
4864 echo "${ECHO_T}no" >&6
4869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4872 # Check whether --enable-datetime or --disable-datetime was given.
4873 if test "${enable_datetime+set}" = set; then
4874 enableval="$enable_datetime"
4876 if test "$enableval" = yes; then
4877 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4879 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4884 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4885 if test "x$LINE" != x ; then
4886 eval "DEFAULT_$LINE"
4891 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4895 eval "$ac_cv_use_datetime"
4896 if test "$no_cache" != 1; then
4897 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4900 if test "$wxUSE_DATETIME" = yes; then
4901 echo "$as_me:$LINENO: result: yes" >&5
4902 echo "${ECHO_T}yes" >&6
4904 echo "$as_me:$LINENO: result: no" >&5
4905 echo "${ECHO_T}no" >&6
4910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4911 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4913 # Check whether --enable-debugreport or --disable-debugreport was given.
4914 if test "${enable_debugreport+set}" = set; then
4915 enableval="$enable_debugreport"
4917 if test "$enableval" = yes; then
4918 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4920 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4925 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4926 if test "x$LINE" != x ; then
4927 eval "DEFAULT_$LINE"
4932 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4936 eval "$ac_cv_use_debugreport"
4937 if test "$no_cache" != 1; then
4938 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4941 if test "$wxUSE_DEBUGREPORT" = yes; then
4942 echo "$as_me:$LINENO: result: yes" >&5
4943 echo "${ECHO_T}yes" >&6
4945 echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6
4951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4952 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4954 # Check whether --enable-dialupman or --disable-dialupman was given.
4955 if test "${enable_dialupman+set}" = set; then
4956 enableval="$enable_dialupman"
4958 if test "$enableval" = yes; then
4959 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4961 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4966 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4967 if test "x$LINE" != x ; then
4968 eval "DEFAULT_$LINE"
4973 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4977 eval "$ac_cv_use_dialupman"
4978 if test "$no_cache" != 1; then
4979 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4982 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4983 echo "$as_me:$LINENO: result: yes" >&5
4984 echo "${ECHO_T}yes" >&6
4986 echo "$as_me:$LINENO: result: no" >&5
4987 echo "${ECHO_T}no" >&6
4992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4995 # Check whether --enable-dynlib or --disable-dynlib was given.
4996 if test "${enable_dynlib+set}" = set; then
4997 enableval="$enable_dynlib"
4999 if test "$enableval" = yes; then
5000 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5002 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5007 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x ; then
5009 eval "DEFAULT_$LINE"
5014 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5018 eval "$ac_cv_use_dynlib"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5023 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5024 echo "$as_me:$LINENO: result: yes" >&5
5025 echo "${ECHO_T}yes" >&6
5027 echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6
5033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5036 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5037 if test "${enable_dynamicloader+set}" = set; then
5038 enableval="$enable_dynamicloader"
5040 if test "$enableval" = yes; then
5041 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5043 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5048 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x ; then
5050 eval "DEFAULT_$LINE"
5055 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5059 eval "$ac_cv_use_dynamicloader"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5064 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5065 echo "$as_me:$LINENO: result: yes" >&5
5066 echo "${ECHO_T}yes" >&6
5068 echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6
5074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5077 # Check whether --enable-exceptions or --disable-exceptions was given.
5078 if test "${enable_exceptions+set}" = set; then
5079 enableval="$enable_exceptions"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5084 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5089 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x ; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5100 eval "$ac_cv_use_exceptions"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5105 if test "$wxUSE_EXCEPTIONS" = yes; then
5106 echo "$as_me:$LINENO: result: yes" >&5
5107 echo "${ECHO_T}yes" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5118 # Check whether --enable-ffile or --disable-ffile was given.
5119 if test "${enable_ffile+set}" = set; then
5120 enableval="$enable_ffile"
5122 if test "$enableval" = yes; then
5123 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5125 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5130 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5137 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5141 eval "$ac_cv_use_ffile"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5146 if test "$wxUSE_FFILE" = yes; then
5147 echo "$as_me:$LINENO: result: yes" >&5
5148 echo "${ECHO_T}yes" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5159 # Check whether --enable-file or --disable-file was given.
5160 if test "${enable_file+set}" = set; then
5161 enableval="$enable_file"
5163 if test "$enableval" = yes; then
5164 ac_cv_use_file='wxUSE_FILE
=yes'
5166 ac_cv_use_file='wxUSE_FILE
=no
'
5171 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x ; then
5173 eval "DEFAULT_$LINE"
5178 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5182 eval "$ac_cv_use_file"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_FILE" = yes; then
5188 echo "$as_me:$LINENO: result: yes" >&5
5189 echo "${ECHO_T}yes" >&6
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5200 # Check whether --enable-filesystem or --disable-filesystem was given.
5201 if test "${enable_filesystem+set}" = set; then
5202 enableval="$enable_filesystem"
5204 if test "$enableval" = yes; then
5205 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5207 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5212 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x ; then
5214 eval "DEFAULT_$LINE"
5219 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5223 eval "$ac_cv_use_filesystem"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5228 if test "$wxUSE_FILESYSTEM" = yes; then
5229 echo "$as_me:$LINENO: result: yes" >&5
5230 echo "${ECHO_T}yes" >&6
5232 echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6
5238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5239 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5241 # Check whether --enable-fontmap or --disable-fontmap was given.
5242 if test "${enable_fontmap+set}" = set; then
5243 enableval="$enable_fontmap"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5248 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5253 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5264 eval "$ac_cv_use_fontmap"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_FONTMAP" = yes; then
5270 echo "$as_me:$LINENO: result: yes" >&5
5271 echo "${ECHO_T}yes" >&6
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5282 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5283 if test "${enable_fs_inet+set}" = set; then
5284 enableval="$enable_fs_inet"
5286 if test "$enableval" = yes; then
5287 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5289 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5294 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x ; then
5296 eval "DEFAULT_$LINE"
5301 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5305 eval "$ac_cv_use_fs_inet"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_FS_INET" = yes; then
5311 echo "$as_me:$LINENO: result: yes" >&5
5312 echo "${ECHO_T}yes" >&6
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5323 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5324 if test "${enable_fs_zip+set}" = set; then
5325 enableval="$enable_fs_zip"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5330 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5335 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x ; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5346 eval "$ac_cv_use_fs_zip"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_FS_ZIP" = yes; then
5352 echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5364 # Check whether --enable-geometry or --disable-geometry was given.
5365 if test "${enable_geometry+set}" = set; then
5366 enableval="$enable_geometry"
5368 if test "$enableval" = yes; then
5369 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5371 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5376 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5387 eval "$ac_cv_use_geometry"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_GEOMETRY" = yes; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5396 echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6
5402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5405 # Check whether --enable-log or --disable-log was given.
5406 if test "${enable_log+set}" = set; then
5407 enableval="$enable_log"
5409 if test "$enableval" = yes; then
5410 ac_cv_use_log='wxUSE_LOG
=yes'
5412 ac_cv_use_log='wxUSE_LOG
=no
'
5417 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5428 eval "$ac_cv_use_log"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_LOG" = yes; then
5434 echo "$as_me:$LINENO: result: yes" >&5
5435 echo "${ECHO_T}yes" >&6
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5446 # Check whether --enable-longlong or --disable-longlong was given.
5447 if test "${enable_longlong+set}" = set; then
5448 enableval="$enable_longlong"
5450 if test "$enableval" = yes; then
5451 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5453 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5458 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5469 eval "$ac_cv_use_longlong"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_LONGLONG" = yes; then
5475 echo "$as_me:$LINENO: result: yes" >&5
5476 echo "${ECHO_T}yes" >&6
5478 echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5487 # Check whether --enable-mimetype or --disable-mimetype was given.
5488 if test "${enable_mimetype+set}" = set; then
5489 enableval="$enable_mimetype"
5491 if test "$enableval" = yes; then
5492 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5494 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5499 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5510 eval "$ac_cv_use_mimetype"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_MIMETYPE" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517 echo "${ECHO_T}yes" >&6
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5528 # Check whether --enable-mslu or --disable-mslu was given.
5529 if test "${enable_mslu+set}" = set; then
5530 enableval="$enable_mslu"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5535 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5540 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5551 eval "$ac_cv_use_mslu"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_UNICODE_MSLU" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5560 echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5569 # Check whether --enable-snglinst or --disable-snglinst was given.
5570 if test "${enable_snglinst+set}" = set; then
5571 enableval="$enable_snglinst"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5576 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5581 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x ; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5592 eval "$ac_cv_use_snglinst"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5610 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5611 if test "${enable_std_iostreams+set}" = set; then
5612 enableval="$enable_std_iostreams"
5614 if test "$enableval" = yes; then
5615 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5617 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5622 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5633 eval "$ac_cv_use_std_iostreams"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5638 if test "$wxUSE_STD_IOSTREAM" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640 echo "${ECHO_T}yes" >&6
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5651 # Check whether --enable-std_string or --disable-std_string was given.
5652 if test "${enable_std_string+set}" = set; then
5653 enableval="$enable_std_string"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5658 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5663 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x ; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5674 eval "$ac_cv_use_std_string"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5679 if test "$wxUSE_STD_STRING" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681 echo "${ECHO_T}yes" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5692 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5693 if test "${enable_stdpaths+set}" = set; then
5694 enableval="$enable_stdpaths"
5696 if test "$enableval" = yes; then
5697 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5699 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5704 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x ; then
5706 eval "DEFAULT_$LINE"
5711 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5715 eval "$ac_cv_use_stdpaths"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_STDPATHS" = yes; then
5721 echo "$as_me:$LINENO: result: yes" >&5
5722 echo "${ECHO_T}yes" >&6
5724 echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5733 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5734 if test "${enable_stopwatch+set}" = set; then
5735 enableval="$enable_stopwatch"
5737 if test "$enableval" = yes; then
5738 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5740 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5745 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x ; then
5747 eval "DEFAULT_$LINE"
5752 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5756 eval "$ac_cv_use_stopwatch"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5761 if test "$wxUSE_STOPWATCH" = yes; then
5762 echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6
5765 echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5774 # Check whether --enable-streams or --disable-streams was given.
5775 if test "${enable_streams+set}" = set; then
5776 enableval="$enable_streams"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5781 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5786 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x ; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5797 eval "$ac_cv_use_streams"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_STREAMS" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5815 # Check whether --enable-system_options or --disable-system_options was given.
5816 if test "${enable_system_options+set}" = set; then
5817 enableval="$enable_system_options"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5822 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5827 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5838 eval "$ac_cv_use_system_options"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5844 echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6
5847 echo "$as_me:$LINENO: result: no" >&5
5848 echo "${ECHO_T}no" >&6
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5856 # Check whether --enable-textbuf or --disable-textbuf was given.
5857 if test "${enable_textbuf+set}" = set; then
5858 enableval="$enable_textbuf"
5860 if test "$enableval" = yes; then
5861 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5863 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5868 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5879 eval "$ac_cv_use_textbuf"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5884 if test "$wxUSE_TEXTBUFFER" = yes; then
5885 echo "$as_me:$LINENO: result: yes" >&5
5886 echo "${ECHO_T}yes" >&6
5888 echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6
5894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5897 # Check whether --enable-textfile or --disable-textfile was given.
5898 if test "${enable_textfile+set}" = set; then
5899 enableval="$enable_textfile"
5901 if test "$enableval" = yes; then
5902 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5904 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5909 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5916 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5920 eval "$ac_cv_use_textfile"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5925 if test "$wxUSE_TEXTFILE" = yes; then
5926 echo "$as_me:$LINENO: result: yes" >&5
5927 echo "${ECHO_T}yes" >&6
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5938 # Check whether --enable-timer or --disable-timer was given.
5939 if test "${enable_timer+set}" = set; then
5940 enableval="$enable_timer"
5942 if test "$enableval" = yes; then
5943 ac_cv_use_timer='wxUSE_TIMER
=yes'
5945 ac_cv_use_timer='wxUSE_TIMER
=no
'
5950 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5961 eval "$ac_cv_use_timer"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5966 if test "$wxUSE_TIMER" = yes; then
5967 echo "$as_me:$LINENO: result: yes" >&5
5968 echo "${ECHO_T}yes" >&6
5970 echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6
5976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5979 # Check whether --enable-unicode or --disable-unicode was given.
5980 if test "${enable_unicode+set}" = set; then
5981 enableval="$enable_unicode"
5983 if test "$enableval" = yes; then
5984 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5986 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5991 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5998 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6002 eval "$ac_cv_use_unicode"
6003 if test "$no_cache" != 1; then
6004 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6007 if test "$wxUSE_UNICODE" = yes; then
6008 echo "$as_me:$LINENO: result: yes" >&5
6009 echo "${ECHO_T}yes" >&6
6011 echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6020 # Check whether --enable-sound or --disable-sound was given.
6021 if test "${enable_sound+set}" = set; then
6022 enableval="$enable_sound"
6024 if test "$enableval" = yes; then
6025 ac_cv_use_sound='wxUSE_SOUND
=yes'
6027 ac_cv_use_sound='wxUSE_SOUND
=no
'
6032 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6043 eval "$ac_cv_use_sound"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_SOUND" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6061 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6062 if test "${enable_mediactrl+set}" = set; then
6063 enableval="$enable_mediactrl"
6065 if test "$enableval" = yes; then
6066 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6068 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6073 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6080 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6084 eval "$ac_cv_use_mediactrl"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6089 if test "$wxUSE_MEDIACTRL" = yes; then
6090 echo "$as_me:$LINENO: result: yes" >&5
6091 echo "${ECHO_T}yes" >&6
6093 echo "$as_me:$LINENO: result: no" >&5
6094 echo "${ECHO_T}no" >&6
6099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6102 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6103 if test "${enable_wxprintfv+set}" = set; then
6104 enableval="$enable_wxprintfv"
6106 if test "$enableval" = yes; then
6107 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6109 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6114 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6125 eval "$ac_cv_use_wxprintfv"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6130 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6131 echo "$as_me:$LINENO: result: yes" >&5
6132 echo "${ECHO_T}yes" >&6
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6143 # Check whether --enable-zipstream or --disable-zipstream was given.
6144 if test "${enable_zipstream+set}" = set; then
6145 enableval="$enable_zipstream"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6150 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6155 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6166 eval "$ac_cv_use_zipstream"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_ZIPSTREAM" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6185 # Check whether --enable-url or --disable-url was given.
6186 if test "${enable_url+set}" = set; then
6187 enableval="$enable_url"
6189 if test "$enableval" = yes; then
6190 ac_cv_use_url='wxUSE_URL
=yes'
6192 ac_cv_use_url='wxUSE_URL
=no
'
6197 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6198 if test "x$LINE" != x ; then
6199 eval "DEFAULT_$LINE"
6204 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6208 eval "$ac_cv_use_url"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6213 if test "$wxUSE_URL" = yes; then
6214 echo "$as_me:$LINENO: result: yes" >&5
6215 echo "${ECHO_T}yes" >&6
6217 echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6
6223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6226 # Check whether --enable-protocol or --disable-protocol was given.
6227 if test "${enable_protocol+set}" = set; then
6228 enableval="$enable_protocol"
6230 if test "$enableval" = yes; then
6231 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6233 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6238 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6239 if test "x$LINE" != x ; then
6240 eval "DEFAULT_$LINE"
6245 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6249 eval "$ac_cv_use_protocol"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6254 if test "$wxUSE_PROTOCOL" = yes; then
6255 echo "$as_me:$LINENO: result: yes" >&5
6256 echo "${ECHO_T}yes" >&6
6258 echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6
6264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6265 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6267 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6268 if test "${enable_protocol_http+set}" = set; then
6269 enableval="$enable_protocol_http"
6271 if test "$enableval" = yes; then
6272 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6274 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6279 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x ; then
6281 eval "DEFAULT_$LINE"
6286 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6290 eval "$ac_cv_use_protocol_http"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6295 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6296 echo "$as_me:$LINENO: result: yes" >&5
6297 echo "${ECHO_T}yes" >&6
6299 echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6
6305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6308 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6309 if test "${enable_protocol_ftp+set}" = set; then
6310 enableval="$enable_protocol_ftp"
6312 if test "$enableval" = yes; then
6313 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6315 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6320 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6321 if test "x$LINE" != x ; then
6322 eval "DEFAULT_$LINE"
6327 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6331 eval "$ac_cv_use_protocol_ftp"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6336 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6337 echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6
6340 echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6
6346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6349 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6350 if test "${enable_protocol_file+set}" = set; then
6351 enableval="$enable_protocol_file"
6353 if test "$enableval" = yes; then
6354 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6356 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6361 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x ; then
6363 eval "DEFAULT_$LINE"
6368 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6372 eval "$ac_cv_use_protocol_file"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6378 echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6
6381 echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6
6390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6393 # Check whether --enable-threads or --disable-threads was given.
6394 if test "${enable_threads+set}" = set; then
6395 enableval="$enable_threads"
6397 if test "$enableval" = yes; then
6398 ac_cv_use_threads='wxUSE_THREADS
=yes'
6400 ac_cv_use_threads='wxUSE_THREADS
=no
'
6405 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x ; then
6407 eval "DEFAULT_$LINE"
6412 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6416 eval "$ac_cv_use_threads"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6421 if test "$wxUSE_THREADS" = yes; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6425 echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6
6430 if test "$wxUSE_GUI" = "yes"; then
6435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6438 # Check whether --enable-docview or --disable-docview was given.
6439 if test "${enable_docview+set}" = set; then
6440 enableval="$enable_docview"
6442 if test "$enableval" = yes; then
6443 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6445 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6450 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6457 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6461 eval "$ac_cv_use_docview"
6462 if test "$no_cache" != 1; then
6463 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6466 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6467 echo "$as_me:$LINENO: result: yes" >&5
6468 echo "${ECHO_T}yes" >&6
6470 echo "$as_me:$LINENO: result: no" >&5
6471 echo "${ECHO_T}no" >&6
6476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6477 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6479 # Check whether --enable-help or --disable-help was given.
6480 if test "${enable_help+set}" = set; then
6481 enableval="$enable_help"
6483 if test "$enableval" = yes; then
6484 ac_cv_use_help='wxUSE_HELP
=yes'
6486 ac_cv_use_help='wxUSE_HELP
=no
'
6491 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6492 if test "x$LINE" != x ; then
6493 eval "DEFAULT_$LINE"
6498 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6502 eval "$ac_cv_use_help"
6503 if test "$no_cache" != 1; then
6504 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6507 if test "$wxUSE_HELP" = yes; then
6508 echo "$as_me:$LINENO: result: yes" >&5
6509 echo "${ECHO_T}yes" >&6
6511 echo "$as_me:$LINENO: result: no" >&5
6512 echo "${ECHO_T}no" >&6
6517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6518 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6520 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6521 if test "${enable_mshtmlhelp+set}" = set; then
6522 enableval="$enable_mshtmlhelp"
6524 if test "$enableval" = yes; then
6525 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6527 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6532 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6533 if test "x$LINE" != x ; then
6534 eval "DEFAULT_$LINE"
6539 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6543 eval "$ac_cv_use_mshtmlhelp"
6544 if test "$no_cache" != 1; then
6545 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6548 if test "$wxUSE_MS_HTML_HELP" = yes; then
6549 echo "$as_me:$LINENO: result: yes" >&5
6550 echo "${ECHO_T}yes" >&6
6552 echo "$as_me:$LINENO: result: no" >&5
6553 echo "${ECHO_T}no" >&6
6558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6559 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6561 # Check whether --enable-html or --disable-html was given.
6562 if test "${enable_html+set}" = set; then
6563 enableval="$enable_html"
6565 if test "$enableval" = yes; then
6566 ac_cv_use_html='wxUSE_HTML
=yes'
6568 ac_cv_use_html='wxUSE_HTML
=no
'
6573 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6574 if test "x$LINE" != x ; then
6575 eval "DEFAULT_$LINE"
6580 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6584 eval "$ac_cv_use_html"
6585 if test "$no_cache" != 1; then
6586 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6589 if test "$wxUSE_HTML" = yes; then
6590 echo "$as_me:$LINENO: result: yes" >&5
6591 echo "${ECHO_T}yes" >&6
6593 echo "$as_me:$LINENO: result: no" >&5
6594 echo "${ECHO_T}no" >&6
6599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6600 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6602 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6603 if test "${enable_htmlhelp+set}" = set; then
6604 enableval="$enable_htmlhelp"
6606 if test "$enableval" = yes; then
6607 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6609 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6614 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6615 if test "x$LINE" != x ; then
6616 eval "DEFAULT_$LINE"
6621 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6625 eval "$ac_cv_use_htmlhelp"
6626 if test "$no_cache" != 1; then
6627 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6630 if test "$wxUSE_WXHTML_HELP" = yes; then
6631 echo "$as_me:$LINENO: result: yes" >&5
6632 echo "${ECHO_T}yes" >&6
6634 echo "$as_me:$LINENO: result: no" >&5
6635 echo "${ECHO_T}no" >&6
6640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6643 # Check whether --enable-xrc or --disable-xrc was given.
6644 if test "${enable_xrc+set}" = set; then
6645 enableval="$enable_xrc"
6647 if test "$enableval" = yes; then
6648 ac_cv_use_xrc='wxUSE_XRC
=yes'
6650 ac_cv_use_xrc='wxUSE_XRC
=no
'
6655 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x ; then
6657 eval "DEFAULT_$LINE"
6662 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6666 eval "$ac_cv_use_xrc"
6667 if test "$no_cache" != 1; then
6668 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6671 if test "$wxUSE_XRC" = yes; then
6672 echo "$as_me:$LINENO: result: yes" >&5
6673 echo "${ECHO_T}yes" >&6
6675 echo "$as_me:$LINENO: result: no" >&5
6676 echo "${ECHO_T}no" >&6
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6684 # Check whether --enable-constraints or --disable-constraints was given.
6685 if test "${enable_constraints+set}" = set; then
6686 enableval="$enable_constraints"
6688 if test "$enableval" = yes; then
6689 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6691 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6696 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6703 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6707 eval "$ac_cv_use_constraints"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6712 if test "$wxUSE_CONSTRAINTS" = yes; then
6713 echo "$as_me:$LINENO: result: yes" >&5
6714 echo "${ECHO_T}yes" >&6
6716 echo "$as_me:$LINENO: result: no" >&5
6717 echo "${ECHO_T}no" >&6
6722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6725 # Check whether --enable-printarch or --disable-printarch was given.
6726 if test "${enable_printarch+set}" = set; then
6727 enableval="$enable_printarch"
6729 if test "$enableval" = yes; then
6730 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6732 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6737 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6744 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6748 eval "$ac_cv_use_printarch"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6753 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6754 echo "$as_me:$LINENO: result: yes" >&5
6755 echo "${ECHO_T}yes" >&6
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6764 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6766 # Check whether --enable-mdi or --disable-mdi was given.
6767 if test "${enable_mdi+set}" = set; then
6768 enableval="$enable_mdi"
6770 if test "$enableval" = yes; then
6771 ac_cv_use_mdi='wxUSE_MDI
=yes'
6773 ac_cv_use_mdi='wxUSE_MDI
=no
'
6778 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x ; then
6780 eval "DEFAULT_$LINE"
6785 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6789 eval "$ac_cv_use_mdi"
6790 if test "$no_cache" != 1; then
6791 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6794 if test "$wxUSE_MDI" = yes; then
6795 echo "$as_me:$LINENO: result: yes" >&5
6796 echo "${ECHO_T}yes" >&6
6798 echo "$as_me:$LINENO: result: no" >&5
6799 echo "${ECHO_T}no" >&6
6804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6807 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6808 if test "${enable_mdidoc+set}" = set; then
6809 enableval="$enable_mdidoc"
6811 if test "$enableval" = yes; then
6812 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6814 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6819 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6826 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6830 eval "$ac_cv_use_mdidoc"
6831 if test "$no_cache" != 1; then
6832 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6835 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6836 echo "$as_me:$LINENO: result: yes" >&5
6837 echo "${ECHO_T}yes" >&6
6839 echo "$as_me:$LINENO: result: no" >&5
6840 echo "${ECHO_T}no" >&6
6845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6846 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6848 # Check whether --enable-loggui or --disable-loggui was given.
6849 if test "${enable_loggui+set}" = set; then
6850 enableval="$enable_loggui"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6855 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6860 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6871 eval "$ac_cv_use_loggui"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6876 if test "$wxUSE_LOGGUI" = yes; then
6877 echo "$as_me:$LINENO: result: yes" >&5
6878 echo "${ECHO_T}yes" >&6
6880 echo "$as_me:$LINENO: result: no" >&5
6881 echo "${ECHO_T}no" >&6
6886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6889 # Check whether --enable-logwin or --disable-logwin was given.
6890 if test "${enable_logwin+set}" = set; then
6891 enableval="$enable_logwin"
6893 if test "$enableval" = yes; then
6894 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6896 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6901 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x ; then
6903 eval "DEFAULT_$LINE"
6908 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6912 eval "$ac_cv_use_logwin"
6913 if test "$no_cache" != 1; then
6914 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6917 if test "$wxUSE_LOGWINDOW" = yes; then
6918 echo "$as_me:$LINENO: result: yes" >&5
6919 echo "${ECHO_T}yes" >&6
6921 echo "$as_me:$LINENO: result: no" >&5
6922 echo "${ECHO_T}no" >&6
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6930 # Check whether --enable-logdialog or --disable-logdialog was given.
6931 if test "${enable_logdialog+set}" = set; then
6932 enableval="$enable_logdialog"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6937 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6942 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6953 eval "$ac_cv_use_logdialog"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6958 if test "$wxUSE_LOGDIALOG" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960 echo "${ECHO_T}yes" >&6
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6971 # Check whether --enable-webkit or --disable-webkit was given.
6972 if test "${enable_webkit+set}" = set; then
6973 enableval="$enable_webkit"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
6978 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
6983 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
6994 eval "$ac_cv_use_webkit"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_WEBKIT" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7013 # Check whether --enable-postscript or --disable-postscript was given.
7014 if test "${enable_postscript+set}" = set; then
7015 enableval="$enable_postscript"
7017 if test "$enableval" = yes; then
7018 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7020 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7025 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x ; then
7027 eval "DEFAULT_$LINE"
7032 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7036 eval "$ac_cv_use_postscript"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_POSTSCRIPT" = yes; then
7042 echo "$as_me:$LINENO: result: yes" >&5
7043 echo "${ECHO_T}yes" >&6
7045 echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6
7054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7055 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7057 # Check whether --enable-prologio or --disable-prologio was given.
7058 if test "${enable_prologio+set}" = set; then
7059 enableval="$enable_prologio"
7061 if test "$enableval" = yes; then
7062 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7064 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7069 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7070 if test "x$LINE" != x ; then
7071 eval "DEFAULT_$LINE"
7076 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7080 eval "$ac_cv_use_prologio"
7081 if test "$no_cache" != 1; then
7082 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7085 if test "$wxUSE_PROLOGIO" = yes; then
7086 echo "$as_me:$LINENO: result: yes" >&5
7087 echo "${ECHO_T}yes" >&6
7089 echo "$as_me:$LINENO: result: no" >&5
7090 echo "${ECHO_T}no" >&6
7095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7096 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7098 # Check whether --enable-resources or --disable-resources was given.
7099 if test "${enable_resources+set}" = set; then
7100 enableval="$enable_resources"
7102 if test "$enableval" = yes; then
7103 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7105 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7110 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x ; then
7112 eval "DEFAULT_$LINE"
7117 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7121 eval "$ac_cv_use_resources"
7122 if test "$no_cache" != 1; then
7123 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7126 if test "$wxUSE_RESOURCES" = yes; then
7127 echo "$as_me:$LINENO: result: yes" >&5
7128 echo "${ECHO_T}yes" >&6
7130 echo "$as_me:$LINENO: result: no" >&5
7131 echo "${ECHO_T}no" >&6
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7141 # Check whether --enable-clipboard or --disable-clipboard was given.
7142 if test "${enable_clipboard+set}" = set; then
7143 enableval="$enable_clipboard"
7145 if test "$enableval" = yes; then
7146 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7148 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7153 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7160 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7164 eval "$ac_cv_use_clipboard"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_CLIPBOARD" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7182 # Check whether --enable-dnd or --disable-dnd was given.
7183 if test "${enable_dnd+set}" = set; then
7184 enableval="$enable_dnd"
7186 if test "$enableval" = yes; then
7187 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7189 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7194 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7201 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7205 eval "$ac_cv_use_dnd"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7223 # Check whether --enable-metafile or --disable-metafile was given.
7224 if test "${enable_metafile+set}" = set; then
7225 enableval="$enable_metafile"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7230 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7235 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7246 eval "$ac_cv_use_metafile"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_METAFILE" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7267 # Check whether --enable-controls or --disable-controls was given.
7268 if test "${enable_controls+set}" = set; then
7269 enableval="$enable_controls"
7271 if test "$enableval" = yes; then
7272 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7274 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7279 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7280 if test "x$LINE" != x ; then
7281 eval "DEFAULT_$LINE"
7286 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7290 eval "$ac_cv_use_controls"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7295 if test "$wxUSE_CONTROLS" = yes; then
7296 echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6
7299 echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6
7304 if test "$wxUSE_CONTROLS" = "yes"; then
7305 DEFAULT_wxUSE_ACCEL=yes
7306 DEFAULT_wxUSE_BMPBUTTON=yes
7307 DEFAULT_wxUSE_BUTTON=yes
7308 DEFAULT_wxUSE_CALCTRL=yes
7309 DEFAULT_wxUSE_CARET=yes
7310 DEFAULT_wxUSE_COMBOBOX=yes
7311 DEFAULT_wxUSE_CHECKBOX=yes
7312 DEFAULT_wxUSE_CHECKLISTBOX=yes
7313 DEFAULT_wxUSE_CHOICE=yes
7314 DEFAULT_wxUSE_CHOICEBOOK=yes
7315 DEFAULT_wxUSE_DATEPICKCTRL=yes
7316 DEFAULT_wxUSE_GAUGE=yes
7317 DEFAULT_wxUSE_GRID=yes
7318 DEFAULT_wxUSE_IMAGLIST=yes
7319 DEFAULT_wxUSE_LISTBOOK=yes
7320 DEFAULT_wxUSE_LISTBOX=yes
7321 DEFAULT_wxUSE_LISTCTRL=yes
7322 DEFAULT_wxUSE_NOTEBOOK=yes
7323 DEFAULT_wxUSE_RADIOBOX=yes
7324 DEFAULT_wxUSE_RADIOBTN=yes
7325 DEFAULT_wxUSE_SASH=yes
7326 DEFAULT_wxUSE_SCROLLBAR=yes
7327 DEFAULT_wxUSE_SLIDER=yes
7328 DEFAULT_wxUSE_SPINBTN=yes
7329 DEFAULT_wxUSE_SPINCTRL=yes
7330 DEFAULT_wxUSE_SPLITTER=yes
7331 DEFAULT_wxUSE_STATBMP=yes
7332 DEFAULT_wxUSE_STATBOX=yes
7333 DEFAULT_wxUSE_STATLINE=yes
7334 DEFAULT_wxUSE_STATUSBAR=yes
7335 DEFAULT_wxUSE_TAB_DIALOG=yes
7336 DEFAULT_wxUSE_TOGGLEBTN=yes
7337 DEFAULT_wxUSE_TOOLBAR=yes
7338 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7339 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7340 DEFAULT_wxUSE_TOOLTIPS=yes
7341 DEFAULT_wxUSE_TREECTRL=yes
7342 DEFAULT_wxUSE_POPUPWIN=yes
7343 DEFAULT_wxUSE_TIPWINDOW=yes
7344 elif test "$wxUSE_CONTROLS" = "no"; then
7345 DEFAULT_wxUSE_ACCEL=no
7346 DEFAULT_wxUSE_BMPBUTTON=no
7347 DEFAULT_wxUSE_BUTTON=no
7348 DEFAULT_wxUSE_CALCTRL=no
7349 DEFAULT_wxUSE_CARET=no
7350 DEFAULT_wxUSE_COMBOBOX=no
7351 DEFAULT_wxUSE_CHECKBOX=no
7352 DEFAULT_wxUSE_CHECKLISTBOX=no
7353 DEFAULT_wxUSE_CHOICE=no
7354 DEFAULT_wxUSE_CHOICEBOOK=no
7355 DEFAULT_wxUSE_DATEPICKCTRL=no
7356 DEFAULT_wxUSE_GAUGE=no
7357 DEFAULT_wxUSE_GRID=no
7358 DEFAULT_wxUSE_IMAGLIST=no
7359 DEFAULT_wxUSE_LISTBOOK=no
7360 DEFAULT_wxUSE_LISTBOX=no
7361 DEFAULT_wxUSE_LISTCTRL=no
7362 DEFAULT_wxUSE_NOTEBOOK=no
7363 DEFAULT_wxUSE_RADIOBOX=no
7364 DEFAULT_wxUSE_RADIOBTN=no
7365 DEFAULT_wxUSE_SASH=no
7366 DEFAULT_wxUSE_SCROLLBAR=no
7367 DEFAULT_wxUSE_SLIDER=no
7368 DEFAULT_wxUSE_SPINBTN=no
7369 DEFAULT_wxUSE_SPINCTRL=no
7370 DEFAULT_wxUSE_SPLITTER=no
7371 DEFAULT_wxUSE_STATBMP=no
7372 DEFAULT_wxUSE_STATBOX=no
7373 DEFAULT_wxUSE_STATLINE=no
7374 DEFAULT_wxUSE_STATUSBAR=no
7375 DEFAULT_wxUSE_TAB_DIALOG=no
7376 DEFAULT_wxUSE_TOGGLEBTN=no
7377 DEFAULT_wxUSE_TOOLBAR=no
7378 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7379 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7380 DEFAULT_wxUSE_TOOLTIPS=no
7381 DEFAULT_wxUSE_TREECTRL=no
7382 DEFAULT_wxUSE_POPUPWIN=no
7383 DEFAULT_wxUSE_TIPWINDOW=no
7388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7391 # Check whether --enable-accel or --disable-accel was given.
7392 if test "${enable_accel+set}" = set; then
7393 enableval="$enable_accel"
7395 if test "$enableval" = yes; then
7396 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7398 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7403 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7404 if test "x$LINE" != x ; then
7405 eval "DEFAULT_$LINE"
7410 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7414 eval "$ac_cv_use_accel"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7419 if test "$wxUSE_ACCEL" = yes; then
7420 echo "$as_me:$LINENO: result: yes" >&5
7421 echo "${ECHO_T}yes" >&6
7423 echo "$as_me:$LINENO: result: no" >&5
7424 echo "${ECHO_T}no" >&6
7429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7432 # Check whether --enable-button or --disable-button was given.
7433 if test "${enable_button+set}" = set; then
7434 enableval="$enable_button"
7436 if test "$enableval" = yes; then
7437 ac_cv_use_button='wxUSE_BUTTON
=yes'
7439 ac_cv_use_button='wxUSE_BUTTON
=no
'
7444 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7445 if test "x$LINE" != x ; then
7446 eval "DEFAULT_$LINE"
7451 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7455 eval "$ac_cv_use_button"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7460 if test "$wxUSE_BUTTON" = yes; then
7461 echo "$as_me:$LINENO: result: yes" >&5
7462 echo "${ECHO_T}yes" >&6
7464 echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6
7470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7473 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7474 if test "${enable_bmpbutton+set}" = set; then
7475 enableval="$enable_bmpbutton"
7477 if test "$enableval" = yes; then
7478 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7480 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7485 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7486 if test "x$LINE" != x ; then
7487 eval "DEFAULT_$LINE"
7492 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7496 eval "$ac_cv_use_bmpbutton"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7501 if test "$wxUSE_BMPBUTTON" = yes; then
7502 echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6
7505 echo "$as_me:$LINENO: result: no" >&5
7506 echo "${ECHO_T}no" >&6
7511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7514 # Check whether --enable-calendar or --disable-calendar was given.
7515 if test "${enable_calendar+set}" = set; then
7516 enableval="$enable_calendar"
7518 if test "$enableval" = yes; then
7519 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7521 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7526 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7527 if test "x$LINE" != x ; then
7528 eval "DEFAULT_$LINE"
7533 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7537 eval "$ac_cv_use_calendar"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7542 if test "$wxUSE_CALCTRL" = yes; then
7543 echo "$as_me:$LINENO: result: yes" >&5
7544 echo "${ECHO_T}yes" >&6
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7555 # Check whether --enable-caret or --disable-caret was given.
7556 if test "${enable_caret+set}" = set; then
7557 enableval="$enable_caret"
7559 if test "$enableval" = yes; then
7560 ac_cv_use_caret='wxUSE_CARET
=yes'
7562 ac_cv_use_caret='wxUSE_CARET
=no
'
7567 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7568 if test "x$LINE" != x ; then
7569 eval "DEFAULT_$LINE"
7574 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7578 eval "$ac_cv_use_caret"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7583 if test "$wxUSE_CARET" = yes; then
7584 echo "$as_me:$LINENO: result: yes" >&5
7585 echo "${ECHO_T}yes" >&6
7587 echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6
7593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7594 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7596 # Check whether --enable-checkbox or --disable-checkbox was given.
7597 if test "${enable_checkbox+set}" = set; then
7598 enableval="$enable_checkbox"
7600 if test "$enableval" = yes; then
7601 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7603 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7608 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x ; then
7610 eval "DEFAULT_$LINE"
7615 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7619 eval "$ac_cv_use_checkbox"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7624 if test "$wxUSE_CHECKBOX" = yes; then
7625 echo "$as_me:$LINENO: result: yes" >&5
7626 echo "${ECHO_T}yes" >&6
7628 echo "$as_me:$LINENO: result: no" >&5
7629 echo "${ECHO_T}no" >&6
7634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7635 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7637 # Check whether --enable-checklst or --disable-checklst was given.
7638 if test "${enable_checklst+set}" = set; then
7639 enableval="$enable_checklst"
7641 if test "$enableval" = yes; then
7642 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7644 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7649 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7656 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7660 eval "$ac_cv_use_checklst"
7661 if test "$no_cache" != 1; then
7662 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7665 if test "$wxUSE_CHECKLST" = yes; then
7666 echo "$as_me:$LINENO: result: yes" >&5
7667 echo "${ECHO_T}yes" >&6
7669 echo "$as_me:$LINENO: result: no" >&5
7670 echo "${ECHO_T}no" >&6
7675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7676 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7678 # Check whether --enable-choice or --disable-choice was given.
7679 if test "${enable_choice+set}" = set; then
7680 enableval="$enable_choice"
7682 if test "$enableval" = yes; then
7683 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7685 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7690 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7691 if test "x$LINE" != x ; then
7692 eval "DEFAULT_$LINE"
7697 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7701 eval "$ac_cv_use_choice"
7702 if test "$no_cache" != 1; then
7703 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7706 if test "$wxUSE_CHOICE" = yes; then
7707 echo "$as_me:$LINENO: result: yes" >&5
7708 echo "${ECHO_T}yes" >&6
7710 echo "$as_me:$LINENO: result: no" >&5
7711 echo "${ECHO_T}no" >&6
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7717 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7719 # Check whether --enable-choicebook or --disable-choicebook was given.
7720 if test "${enable_choicebook+set}" = set; then
7721 enableval="$enable_choicebook"
7723 if test "$enableval" = yes; then
7724 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7726 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7731 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x ; then
7733 eval "DEFAULT_$LINE"
7738 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7742 eval "$ac_cv_use_choicebook"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7747 if test "$wxUSE_CHOICEBOOK" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749 echo "${ECHO_T}yes" >&6
7751 echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7760 # Check whether --enable-combobox or --disable-combobox was given.
7761 if test "${enable_combobox+set}" = set; then
7762 enableval="$enable_combobox"
7764 if test "$enableval" = yes; then
7765 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7767 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7772 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7779 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7783 eval "$ac_cv_use_combobox"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7788 if test "$wxUSE_COMBOBOX" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790 echo "${ECHO_T}yes" >&6
7792 echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6
7798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7799 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7801 # Check whether --enable-datepick or --disable-datepick was given.
7802 if test "${enable_datepick+set}" = set; then
7803 enableval="$enable_datepick"
7805 if test "$enableval" = yes; then
7806 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7808 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7813 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7814 if test "x$LINE" != x ; then
7815 eval "DEFAULT_$LINE"
7820 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7824 eval "$ac_cv_use_datepick"
7825 if test "$no_cache" != 1; then
7826 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7829 if test "$wxUSE_DATEPICKCTRL" = yes; then
7830 echo "$as_me:$LINENO: result: yes" >&5
7831 echo "${ECHO_T}yes" >&6
7833 echo "$as_me:$LINENO: result: no" >&5
7834 echo "${ECHO_T}no" >&6
7839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7840 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7842 # Check whether --enable-display or --disable-display was given.
7843 if test "${enable_display+set}" = set; then
7844 enableval="$enable_display"
7846 if test "$enableval" = yes; then
7847 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7849 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7854 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7855 if test "x$LINE" != x ; then
7856 eval "DEFAULT_$LINE"
7861 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7865 eval "$ac_cv_use_display"
7866 if test "$no_cache" != 1; then
7867 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7870 if test "$wxUSE_DISPLAY" = yes; then
7871 echo "$as_me:$LINENO: result: yes" >&5
7872 echo "${ECHO_T}yes" >&6
7874 echo "$as_me:$LINENO: result: no" >&5
7875 echo "${ECHO_T}no" >&6
7880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7883 # Check whether --enable-gauge or --disable-gauge was given.
7884 if test "${enable_gauge+set}" = set; then
7885 enableval="$enable_gauge"
7887 if test "$enableval" = yes; then
7888 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7890 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7895 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7896 if test "x$LINE" != x ; then
7897 eval "DEFAULT_$LINE"
7902 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7906 eval "$ac_cv_use_gauge"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7911 if test "$wxUSE_GAUGE" = yes; then
7912 echo "$as_me:$LINENO: result: yes" >&5
7913 echo "${ECHO_T}yes" >&6
7915 echo "$as_me:$LINENO: result: no" >&5
7916 echo "${ECHO_T}no" >&6
7921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7924 # Check whether --enable-grid or --disable-grid was given.
7925 if test "${enable_grid+set}" = set; then
7926 enableval="$enable_grid"
7928 if test "$enableval" = yes; then
7929 ac_cv_use_grid='wxUSE_GRID
=yes'
7931 ac_cv_use_grid='wxUSE_GRID
=no
'
7936 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x ; then
7938 eval "DEFAULT_$LINE"
7943 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7947 eval "$ac_cv_use_grid"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7952 if test "$wxUSE_GRID" = yes; then
7953 echo "$as_me:$LINENO: result: yes" >&5
7954 echo "${ECHO_T}yes" >&6
7956 echo "$as_me:$LINENO: result: no" >&5
7957 echo "${ECHO_T}no" >&6
7962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7965 # Check whether --enable-imaglist or --disable-imaglist was given.
7966 if test "${enable_imaglist+set}" = set; then
7967 enableval="$enable_imaglist"
7969 if test "$enableval" = yes; then
7970 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7972 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7977 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x ; then
7979 eval "DEFAULT_$LINE"
7984 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7988 eval "$ac_cv_use_imaglist"
7989 if test "$no_cache" != 1; then
7990 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7993 if test "$wxUSE_IMAGLIST" = yes; then
7994 echo "$as_me:$LINENO: result: yes" >&5
7995 echo "${ECHO_T}yes" >&6
7997 echo "$as_me:$LINENO: result: no" >&5
7998 echo "${ECHO_T}no" >&6
8003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8004 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8006 # Check whether --enable-listbook or --disable-listbook was given.
8007 if test "${enable_listbook+set}" = set; then
8008 enableval="$enable_listbook"
8010 if test "$enableval" = yes; then
8011 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8013 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8018 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8019 if test "x$LINE" != x ; then
8020 eval "DEFAULT_$LINE"
8025 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8029 eval "$ac_cv_use_listbook"
8030 if test "$no_cache" != 1; then
8031 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8034 if test "$wxUSE_LISTBOOK" = yes; then
8035 echo "$as_me:$LINENO: result: yes" >&5
8036 echo "${ECHO_T}yes" >&6
8038 echo "$as_me:$LINENO: result: no" >&5
8039 echo "${ECHO_T}no" >&6
8044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8045 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8047 # Check whether --enable-listbox or --disable-listbox was given.
8048 if test "${enable_listbox+set}" = set; then
8049 enableval="$enable_listbox"
8051 if test "$enableval" = yes; then
8052 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8054 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8059 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8060 if test "x$LINE" != x ; then
8061 eval "DEFAULT_$LINE"
8066 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8070 eval "$ac_cv_use_listbox"
8071 if test "$no_cache" != 1; then
8072 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8075 if test "$wxUSE_LISTBOX" = yes; then
8076 echo "$as_me:$LINENO: result: yes" >&5
8077 echo "${ECHO_T}yes" >&6
8079 echo "$as_me:$LINENO: result: no" >&5
8080 echo "${ECHO_T}no" >&6
8085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8086 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8088 # Check whether --enable-listctrl or --disable-listctrl was given.
8089 if test "${enable_listctrl+set}" = set; then
8090 enableval="$enable_listctrl"
8092 if test "$enableval" = yes; then
8093 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8095 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8100 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x ; then
8102 eval "DEFAULT_$LINE"
8107 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8111 eval "$ac_cv_use_listctrl"
8112 if test "$no_cache" != 1; then
8113 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8116 if test "$wxUSE_LISTCTRL" = yes; then
8117 echo "$as_me:$LINENO: result: yes" >&5
8118 echo "${ECHO_T}yes" >&6
8120 echo "$as_me:$LINENO: result: no" >&5
8121 echo "${ECHO_T}no" >&6
8126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8129 # Check whether --enable-notebook or --disable-notebook was given.
8130 if test "${enable_notebook+set}" = set; then
8131 enableval="$enable_notebook"
8133 if test "$enableval" = yes; then
8134 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8136 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8141 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8142 if test "x$LINE" != x ; then
8143 eval "DEFAULT_$LINE"
8148 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8152 eval "$ac_cv_use_notebook"
8153 if test "$no_cache" != 1; then
8154 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8157 if test "$wxUSE_NOTEBOOK" = yes; then
8158 echo "$as_me:$LINENO: result: yes" >&5
8159 echo "${ECHO_T}yes" >&6
8161 echo "$as_me:$LINENO: result: no" >&5
8162 echo "${ECHO_T}no" >&6
8167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8168 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8170 # Check whether --enable-radiobox or --disable-radiobox was given.
8171 if test "${enable_radiobox+set}" = set; then
8172 enableval="$enable_radiobox"
8174 if test "$enableval" = yes; then
8175 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8177 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8182 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8183 if test "x$LINE" != x ; then
8184 eval "DEFAULT_$LINE"
8189 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8193 eval "$ac_cv_use_radiobox"
8194 if test "$no_cache" != 1; then
8195 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8198 if test "$wxUSE_RADIOBOX" = yes; then
8199 echo "$as_me:$LINENO: result: yes" >&5
8200 echo "${ECHO_T}yes" >&6
8202 echo "$as_me:$LINENO: result: no" >&5
8203 echo "${ECHO_T}no" >&6
8208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8209 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8211 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8212 if test "${enable_radiobtn+set}" = set; then
8213 enableval="$enable_radiobtn"
8215 if test "$enableval" = yes; then
8216 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8218 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8223 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8224 if test "x$LINE" != x ; then
8225 eval "DEFAULT_$LINE"
8230 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8234 eval "$ac_cv_use_radiobtn"
8235 if test "$no_cache" != 1; then
8236 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8239 if test "$wxUSE_RADIOBTN" = yes; then
8240 echo "$as_me:$LINENO: result: yes" >&5
8241 echo "${ECHO_T}yes" >&6
8243 echo "$as_me:$LINENO: result: no" >&5
8244 echo "${ECHO_T}no" >&6
8249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8250 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8252 # Check whether --enable-sash or --disable-sash was given.
8253 if test "${enable_sash+set}" = set; then
8254 enableval="$enable_sash"
8256 if test "$enableval" = yes; then
8257 ac_cv_use_sash='wxUSE_SASH
=yes'
8259 ac_cv_use_sash='wxUSE_SASH
=no
'
8264 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8265 if test "x$LINE" != x ; then
8266 eval "DEFAULT_$LINE"
8271 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8275 eval "$ac_cv_use_sash"
8276 if test "$no_cache" != 1; then
8277 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8280 if test "$wxUSE_SASH" = yes; then
8281 echo "$as_me:$LINENO: result: yes" >&5
8282 echo "${ECHO_T}yes" >&6
8284 echo "$as_me:$LINENO: result: no" >&5
8285 echo "${ECHO_T}no" >&6
8290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8291 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8293 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8294 if test "${enable_scrollbar+set}" = set; then
8295 enableval="$enable_scrollbar"
8297 if test "$enableval" = yes; then
8298 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8300 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8305 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x ; then
8307 eval "DEFAULT_$LINE"
8312 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8316 eval "$ac_cv_use_scrollbar"
8317 if test "$no_cache" != 1; then
8318 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8321 if test "$wxUSE_SCROLLBAR" = yes; then
8322 echo "$as_me:$LINENO: result: yes" >&5
8323 echo "${ECHO_T}yes" >&6
8325 echo "$as_me:$LINENO: result: no" >&5
8326 echo "${ECHO_T}no" >&6
8331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8332 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8334 # Check whether --enable-slider or --disable-slider was given.
8335 if test "${enable_slider+set}" = set; then
8336 enableval="$enable_slider"
8338 if test "$enableval" = yes; then
8339 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8341 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8346 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8347 if test "x$LINE" != x ; then
8348 eval "DEFAULT_$LINE"
8353 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8357 eval "$ac_cv_use_slider"
8358 if test "$no_cache" != 1; then
8359 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8362 if test "$wxUSE_SLIDER" = yes; then
8363 echo "$as_me:$LINENO: result: yes" >&5
8364 echo "${ECHO_T}yes" >&6
8366 echo "$as_me:$LINENO: result: no" >&5
8367 echo "${ECHO_T}no" >&6
8372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8373 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8375 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8376 if test "${enable_spinbtn+set}" = set; then
8377 enableval="$enable_spinbtn"
8379 if test "$enableval" = yes; then
8380 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8382 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8387 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x ; then
8389 eval "DEFAULT_$LINE"
8394 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8398 eval "$ac_cv_use_spinbtn"
8399 if test "$no_cache" != 1; then
8400 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8403 if test "$wxUSE_SPINBTN" = yes; then
8404 echo "$as_me:$LINENO: result: yes" >&5
8405 echo "${ECHO_T}yes" >&6
8407 echo "$as_me:$LINENO: result: no" >&5
8408 echo "${ECHO_T}no" >&6
8413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8416 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8417 if test "${enable_spinctrl+set}" = set; then
8418 enableval="$enable_spinctrl"
8420 if test "$enableval" = yes; then
8421 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8423 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8428 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8429 if test "x$LINE" != x ; then
8430 eval "DEFAULT_$LINE"
8435 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8439 eval "$ac_cv_use_spinctrl"
8440 if test "$no_cache" != 1; then
8441 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8444 if test "$wxUSE_SPINCTRL" = yes; then
8445 echo "$as_me:$LINENO: result: yes" >&5
8446 echo "${ECHO_T}yes" >&6
8448 echo "$as_me:$LINENO: result: no" >&5
8449 echo "${ECHO_T}no" >&6
8454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8455 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8457 # Check whether --enable-splitter or --disable-splitter was given.
8458 if test "${enable_splitter+set}" = set; then
8459 enableval="$enable_splitter"
8461 if test "$enableval" = yes; then
8462 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8464 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8469 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8470 if test "x$LINE" != x ; then
8471 eval "DEFAULT_$LINE"
8476 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8480 eval "$ac_cv_use_splitter"
8481 if test "$no_cache" != 1; then
8482 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8485 if test "$wxUSE_SPLITTER" = yes; then
8486 echo "$as_me:$LINENO: result: yes" >&5
8487 echo "${ECHO_T}yes" >&6
8489 echo "$as_me:$LINENO: result: no" >&5
8490 echo "${ECHO_T}no" >&6
8495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8496 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8498 # Check whether --enable-statbmp or --disable-statbmp was given.
8499 if test "${enable_statbmp+set}" = set; then
8500 enableval="$enable_statbmp"
8502 if test "$enableval" = yes; then
8503 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8505 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8510 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8511 if test "x$LINE" != x ; then
8512 eval "DEFAULT_$LINE"
8517 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8521 eval "$ac_cv_use_statbmp"
8522 if test "$no_cache" != 1; then
8523 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8526 if test "$wxUSE_STATBMP" = yes; then
8527 echo "$as_me:$LINENO: result: yes" >&5
8528 echo "${ECHO_T}yes" >&6
8530 echo "$as_me:$LINENO: result: no" >&5
8531 echo "${ECHO_T}no" >&6
8536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8537 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8539 # Check whether --enable-statbox or --disable-statbox was given.
8540 if test "${enable_statbox+set}" = set; then
8541 enableval="$enable_statbox"
8543 if test "$enableval" = yes; then
8544 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8546 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8551 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8552 if test "x$LINE" != x ; then
8553 eval "DEFAULT_$LINE"
8558 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8562 eval "$ac_cv_use_statbox"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8567 if test "$wxUSE_STATBOX" = yes; then
8568 echo "$as_me:$LINENO: result: yes" >&5
8569 echo "${ECHO_T}yes" >&6
8571 echo "$as_me:$LINENO: result: no" >&5
8572 echo "${ECHO_T}no" >&6
8577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8578 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8580 # Check whether --enable-statline or --disable-statline was given.
8581 if test "${enable_statline+set}" = set; then
8582 enableval="$enable_statline"
8584 if test "$enableval" = yes; then
8585 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8587 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8592 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8593 if test "x$LINE" != x ; then
8594 eval "DEFAULT_$LINE"
8599 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8603 eval "$ac_cv_use_statline"
8604 if test "$no_cache" != 1; then
8605 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8608 if test "$wxUSE_STATLINE" = yes; then
8609 echo "$as_me:$LINENO: result: yes" >&5
8610 echo "${ECHO_T}yes" >&6
8612 echo "$as_me:$LINENO: result: no" >&5
8613 echo "${ECHO_T}no" >&6
8618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8621 # Check whether --enable-stattext or --disable-stattext was given.
8622 if test "${enable_stattext+set}" = set; then
8623 enableval="$enable_stattext"
8625 if test "$enableval" = yes; then
8626 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8628 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8633 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8634 if test "x$LINE" != x ; then
8635 eval "DEFAULT_$LINE"
8640 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8644 eval "$ac_cv_use_stattext"
8645 if test "$no_cache" != 1; then
8646 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8649 if test "$wxUSE_STATTEXT" = yes; then
8650 echo "$as_me:$LINENO: result: yes" >&5
8651 echo "${ECHO_T}yes" >&6
8653 echo "$as_me:$LINENO: result: no" >&5
8654 echo "${ECHO_T}no" >&6
8659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8660 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8662 # Check whether --enable-statusbar or --disable-statusbar was given.
8663 if test "${enable_statusbar+set}" = set; then
8664 enableval="$enable_statusbar"
8666 if test "$enableval" = yes; then
8667 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8669 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8674 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8675 if test "x$LINE" != x ; then
8676 eval "DEFAULT_$LINE"
8681 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8685 eval "$ac_cv_use_statusbar"
8686 if test "$no_cache" != 1; then
8687 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8690 if test "$wxUSE_STATUSBAR" = yes; then
8691 echo "$as_me:$LINENO: result: yes" >&5
8692 echo "${ECHO_T}yes" >&6
8694 echo "$as_me:$LINENO: result: no" >&5
8695 echo "${ECHO_T}no" >&6
8700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8701 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8703 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8704 if test "${enable_tabdialog+set}" = set; then
8705 enableval="$enable_tabdialog"
8707 if test "$enableval" = yes; then
8708 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8710 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8715 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8716 if test "x$LINE" != x ; then
8717 eval "DEFAULT_$LINE"
8722 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8726 eval "$ac_cv_use_tabdialog"
8727 if test "$no_cache" != 1; then
8728 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8731 if test "$wxUSE_TABDIALOG" = yes; then
8732 echo "$as_me:$LINENO: result: yes" >&5
8733 echo "${ECHO_T}yes" >&6
8735 echo "$as_me:$LINENO: result: no" >&5
8736 echo "${ECHO_T}no" >&6
8741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8742 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8744 # Check whether --enable-textctrl or --disable-textctrl was given.
8745 if test "${enable_textctrl+set}" = set; then
8746 enableval="$enable_textctrl"
8748 if test "$enableval" = yes; then
8749 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8751 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8756 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8757 if test "x$LINE" != x ; then
8758 eval "DEFAULT_$LINE"
8763 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8767 eval "$ac_cv_use_textctrl"
8768 if test "$no_cache" != 1; then
8769 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8772 if test "$wxUSE_TEXTCTRL" = yes; then
8773 echo "$as_me:$LINENO: result: yes" >&5
8774 echo "${ECHO_T}yes" >&6
8776 echo "$as_me:$LINENO: result: no" >&5
8777 echo "${ECHO_T}no" >&6
8782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8783 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8785 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8786 if test "${enable_togglebtn+set}" = set; then
8787 enableval="$enable_togglebtn"
8789 if test "$enableval" = yes; then
8790 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8792 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8797 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8798 if test "x$LINE" != x ; then
8799 eval "DEFAULT_$LINE"
8804 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8808 eval "$ac_cv_use_togglebtn"
8809 if test "$no_cache" != 1; then
8810 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8813 if test "$wxUSE_TOGGLEBTN" = yes; then
8814 echo "$as_me:$LINENO: result: yes" >&5
8815 echo "${ECHO_T}yes" >&6
8817 echo "$as_me:$LINENO: result: no" >&5
8818 echo "${ECHO_T}no" >&6
8823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8824 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8826 # Check whether --enable-toolbar or --disable-toolbar was given.
8827 if test "${enable_toolbar+set}" = set; then
8828 enableval="$enable_toolbar"
8830 if test "$enableval" = yes; then
8831 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8833 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8838 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8839 if test "x$LINE" != x ; then
8840 eval "DEFAULT_$LINE"
8845 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8849 eval "$ac_cv_use_toolbar"
8850 if test "$no_cache" != 1; then
8851 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8854 if test "$wxUSE_TOOLBAR" = yes; then
8855 echo "$as_me:$LINENO: result: yes" >&5
8856 echo "${ECHO_T}yes" >&6
8858 echo "$as_me:$LINENO: result: no" >&5
8859 echo "${ECHO_T}no" >&6
8864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8865 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8867 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8868 if test "${enable_tbarnative+set}" = set; then
8869 enableval="$enable_tbarnative"
8871 if test "$enableval" = yes; then
8872 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8874 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8879 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8880 if test "x$LINE" != x ; then
8881 eval "DEFAULT_$LINE"
8886 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8890 eval "$ac_cv_use_tbarnative"
8891 if test "$no_cache" != 1; then
8892 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8895 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8896 echo "$as_me:$LINENO: result: yes" >&5
8897 echo "${ECHO_T}yes" >&6
8899 echo "$as_me:$LINENO: result: no" >&5
8900 echo "${ECHO_T}no" >&6
8905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8906 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8908 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8909 if test "${enable_tbarsmpl+set}" = set; then
8910 enableval="$enable_tbarsmpl"
8912 if test "$enableval" = yes; then
8913 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8915 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8920 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8921 if test "x$LINE" != x ; then
8922 eval "DEFAULT_$LINE"
8927 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8931 eval "$ac_cv_use_tbarsmpl"
8932 if test "$no_cache" != 1; then
8933 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8936 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8937 echo "$as_me:$LINENO: result: yes" >&5
8938 echo "${ECHO_T}yes" >&6
8940 echo "$as_me:$LINENO: result: no" >&5
8941 echo "${ECHO_T}no" >&6
8946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8947 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8949 # Check whether --enable-treectrl or --disable-treectrl was given.
8950 if test "${enable_treectrl+set}" = set; then
8951 enableval="$enable_treectrl"
8953 if test "$enableval" = yes; then
8954 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8956 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8961 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8962 if test "x$LINE" != x ; then
8963 eval "DEFAULT_$LINE"
8968 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8972 eval "$ac_cv_use_treectrl"
8973 if test "$no_cache" != 1; then
8974 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8977 if test "$wxUSE_TREECTRL" = yes; then
8978 echo "$as_me:$LINENO: result: yes" >&5
8979 echo "${ECHO_T}yes" >&6
8981 echo "$as_me:$LINENO: result: no" >&5
8982 echo "${ECHO_T}no" >&6
8987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8988 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8990 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8991 if test "${enable_tipwindow+set}" = set; then
8992 enableval="$enable_tipwindow"
8994 if test "$enableval" = yes; then
8995 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8997 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9002 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9003 if test "x$LINE" != x ; then
9004 eval "DEFAULT_$LINE"
9009 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9013 eval "$ac_cv_use_tipwindow"
9014 if test "$no_cache" != 1; then
9015 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9018 if test "$wxUSE_TIPWINDOW" = yes; then
9019 echo "$as_me:$LINENO: result: yes" >&5
9020 echo "${ECHO_T}yes" >&6
9022 echo "$as_me:$LINENO: result: no" >&5
9023 echo "${ECHO_T}no" >&6
9028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9029 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9031 # Check whether --enable-popupwin or --disable-popupwin was given.
9032 if test "${enable_popupwin+set}" = set; then
9033 enableval="$enable_popupwin"
9035 if test "$enableval" = yes; then
9036 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9038 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9043 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9044 if test "x$LINE" != x ; then
9045 eval "DEFAULT_$LINE"
9050 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9054 eval "$ac_cv_use_popupwin"
9055 if test "$no_cache" != 1; then
9056 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9059 if test "$wxUSE_POPUPWIN" = yes; then
9060 echo "$as_me:$LINENO: result: yes" >&5
9061 echo "${ECHO_T}yes" >&6
9063 echo "$as_me:$LINENO: result: no" >&5
9064 echo "${ECHO_T}no" >&6
9071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9074 # Check whether --enable-commondlg or --disable-commondlg was given.
9075 if test "${enable_commondlg+set}" = set; then
9076 enableval="$enable_commondlg"
9078 if test "$enableval" = yes; then
9079 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9081 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9086 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9087 if test "x$LINE" != x ; then
9088 eval "DEFAULT_$LINE"
9093 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9097 eval "$ac_cv_use_commondlg"
9098 if test "$no_cache" != 1; then
9099 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9102 if test "$wxUSE_COMMONDLGS" = yes; then
9103 echo "$as_me:$LINENO: result: yes" >&5
9104 echo "${ECHO_T}yes" >&6
9106 echo "$as_me:$LINENO: result: no" >&5
9107 echo "${ECHO_T}no" >&6
9112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9115 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9116 if test "${enable_choicedlg+set}" = set; then
9117 enableval="$enable_choicedlg"
9119 if test "$enableval" = yes; then
9120 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9122 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9127 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9128 if test "x$LINE" != x ; then
9129 eval "DEFAULT_$LINE"
9134 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9138 eval "$ac_cv_use_choicedlg"
9139 if test "$no_cache" != 1; then
9140 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9143 if test "$wxUSE_CHOICEDLG" = yes; then
9144 echo "$as_me:$LINENO: result: yes" >&5
9145 echo "${ECHO_T}yes" >&6
9147 echo "$as_me:$LINENO: result: no" >&5
9148 echo "${ECHO_T}no" >&6
9153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9156 # Check whether --enable-coldlg or --disable-coldlg was given.
9157 if test "${enable_coldlg+set}" = set; then
9158 enableval="$enable_coldlg"
9160 if test "$enableval" = yes; then
9161 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9163 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9168 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9169 if test "x$LINE" != x ; then
9170 eval "DEFAULT_$LINE"
9175 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9179 eval "$ac_cv_use_coldlg"
9180 if test "$no_cache" != 1; then
9181 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9184 if test "$wxUSE_COLOURDLG" = yes; then
9185 echo "$as_me:$LINENO: result: yes" >&5
9186 echo "${ECHO_T}yes" >&6
9188 echo "$as_me:$LINENO: result: no" >&5
9189 echo "${ECHO_T}no" >&6
9194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9197 # Check whether --enable-filedlg or --disable-filedlg was given.
9198 if test "${enable_filedlg+set}" = set; then
9199 enableval="$enable_filedlg"
9201 if test "$enableval" = yes; then
9202 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9204 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9209 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9210 if test "x$LINE" != x ; then
9211 eval "DEFAULT_$LINE"
9216 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9220 eval "$ac_cv_use_filedlg"
9221 if test "$no_cache" != 1; then
9222 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9225 if test "$wxUSE_FILEDLG" = yes; then
9226 echo "$as_me:$LINENO: result: yes" >&5
9227 echo "${ECHO_T}yes" >&6
9229 echo "$as_me:$LINENO: result: no" >&5
9230 echo "${ECHO_T}no" >&6
9235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9236 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9238 # Check whether --enable-finddlg or --disable-finddlg was given.
9239 if test "${enable_finddlg+set}" = set; then
9240 enableval="$enable_finddlg"
9242 if test "$enableval" = yes; then
9243 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9245 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9250 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9251 if test "x$LINE" != x ; then
9252 eval "DEFAULT_$LINE"
9257 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9261 eval "$ac_cv_use_finddlg"
9262 if test "$no_cache" != 1; then
9263 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9266 if test "$wxUSE_FINDREPLDLG" = yes; then
9267 echo "$as_me:$LINENO: result: yes" >&5
9268 echo "${ECHO_T}yes" >&6
9270 echo "$as_me:$LINENO: result: no" >&5
9271 echo "${ECHO_T}no" >&6
9276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9279 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9280 if test "${enable_fontdlg+set}" = set; then
9281 enableval="$enable_fontdlg"
9283 if test "$enableval" = yes; then
9284 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9286 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9291 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9292 if test "x$LINE" != x ; then
9293 eval "DEFAULT_$LINE"
9298 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9302 eval "$ac_cv_use_fontdlg"
9303 if test "$no_cache" != 1; then
9304 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9307 if test "$wxUSE_FONTDLG" = yes; then
9308 echo "$as_me:$LINENO: result: yes" >&5
9309 echo "${ECHO_T}yes" >&6
9311 echo "$as_me:$LINENO: result: no" >&5
9312 echo "${ECHO_T}no" >&6
9317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9320 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9321 if test "${enable_dirdlg+set}" = set; then
9322 enableval="$enable_dirdlg"
9324 if test "$enableval" = yes; then
9325 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9327 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9332 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9333 if test "x$LINE" != x ; then
9334 eval "DEFAULT_$LINE"
9339 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9343 eval "$ac_cv_use_dirdlg"
9344 if test "$no_cache" != 1; then
9345 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9348 if test "$wxUSE_DIRDLG" = yes; then
9349 echo "$as_me:$LINENO: result: yes" >&5
9350 echo "${ECHO_T}yes" >&6
9352 echo "$as_me:$LINENO: result: no" >&5
9353 echo "${ECHO_T}no" >&6
9358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9359 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9361 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9362 if test "${enable_msgdlg+set}" = set; then
9363 enableval="$enable_msgdlg"
9365 if test "$enableval" = yes; then
9366 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9368 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9373 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9374 if test "x$LINE" != x ; then
9375 eval "DEFAULT_$LINE"
9380 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9384 eval "$ac_cv_use_msgdlg"
9385 if test "$no_cache" != 1; then
9386 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9389 if test "$wxUSE_MSGDLG" = yes; then
9390 echo "$as_me:$LINENO: result: yes" >&5
9391 echo "${ECHO_T}yes" >&6
9393 echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6
9399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9402 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9403 if test "${enable_numberdlg+set}" = set; then
9404 enableval="$enable_numberdlg"
9406 if test "$enableval" = yes; then
9407 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9409 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9414 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9415 if test "x$LINE" != x ; then
9416 eval "DEFAULT_$LINE"
9421 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9425 eval "$ac_cv_use_numberdlg"
9426 if test "$no_cache" != 1; then
9427 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9430 if test "$wxUSE_NUMBERDLG" = yes; then
9431 echo "$as_me:$LINENO: result: yes" >&5
9432 echo "${ECHO_T}yes" >&6
9434 echo "$as_me:$LINENO: result: no" >&5
9435 echo "${ECHO_T}no" >&6
9440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9443 # Check whether --enable-splash or --disable-splash was given.
9444 if test "${enable_splash+set}" = set; then
9445 enableval="$enable_splash"
9447 if test "$enableval" = yes; then
9448 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9450 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9455 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9456 if test "x$LINE" != x ; then
9457 eval "DEFAULT_$LINE"
9462 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9466 eval "$ac_cv_use_splash"
9467 if test "$no_cache" != 1; then
9468 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9471 if test "$wxUSE_SPLASH" = yes; then
9472 echo "$as_me:$LINENO: result: yes" >&5
9473 echo "${ECHO_T}yes" >&6
9475 echo "$as_me:$LINENO: result: no" >&5
9476 echo "${ECHO_T}no" >&6
9481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9484 # Check whether --enable-textdlg or --disable-textdlg was given.
9485 if test "${enable_textdlg+set}" = set; then
9486 enableval="$enable_textdlg"
9488 if test "$enableval" = yes; then
9489 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9491 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9496 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9497 if test "x$LINE" != x ; then
9498 eval "DEFAULT_$LINE"
9503 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9507 eval "$ac_cv_use_textdlg"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9512 if test "$wxUSE_TEXTDLG" = yes; then
9513 echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6
9516 echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6
9522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9525 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9526 if test "${enable_tipdlg+set}" = set; then
9527 enableval="$enable_tipdlg"
9529 if test "$enableval" = yes; then
9530 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9532 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9537 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9538 if test "x$LINE" != x ; then
9539 eval "DEFAULT_$LINE"
9544 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9548 eval "$ac_cv_use_tipdlg"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9553 if test "$wxUSE_STARTUP_TIPS" = yes; then
9554 echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6
9557 echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6
9563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9566 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9567 if test "${enable_progressdlg+set}" = set; then
9568 enableval="$enable_progressdlg"
9570 if test "$enableval" = yes; then
9571 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9573 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9578 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9579 if test "x$LINE" != x ; then
9580 eval "DEFAULT_$LINE"
9585 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9589 eval "$ac_cv_use_progressdlg"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9594 if test "$wxUSE_PROGRESSDLG" = yes; then
9595 echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6
9598 echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6
9604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9607 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9608 if test "${enable_wizarddlg+set}" = set; then
9609 enableval="$enable_wizarddlg"
9611 if test "$enableval" = yes; then
9612 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9614 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9619 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x ; then
9621 eval "DEFAULT_$LINE"
9626 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9630 eval "$ac_cv_use_wizarddlg"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9635 if test "$wxUSE_WIZARDDLG" = yes; then
9636 echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6
9639 echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6
9647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9648 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9650 # Check whether --enable-menus or --disable-menus was given.
9651 if test "${enable_menus+set}" = set; then
9652 enableval="$enable_menus"
9654 if test "$enableval" = yes; then
9655 ac_cv_use_menus='wxUSE_MENUS
=yes'
9657 ac_cv_use_menus='wxUSE_MENUS
=no
'
9662 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9663 if test "x$LINE" != x ; then
9664 eval "DEFAULT_$LINE"
9669 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9673 eval "$ac_cv_use_menus"
9674 if test "$no_cache" != 1; then
9675 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9678 if test "$wxUSE_MENUS" = yes; then
9679 echo "$as_me:$LINENO: result: yes" >&5
9680 echo "${ECHO_T}yes" >&6
9682 echo "$as_me:$LINENO: result: no" >&5
9683 echo "${ECHO_T}no" >&6
9688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9689 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9691 # Check whether --enable-miniframe or --disable-miniframe was given.
9692 if test "${enable_miniframe+set}" = set; then
9693 enableval="$enable_miniframe"
9695 if test "$enableval" = yes; then
9696 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9698 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9703 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9704 if test "x$LINE" != x ; then
9705 eval "DEFAULT_$LINE"
9710 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9714 eval "$ac_cv_use_miniframe"
9715 if test "$no_cache" != 1; then
9716 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9719 if test "$wxUSE_MINIFRAME" = yes; then
9720 echo "$as_me:$LINENO: result: yes" >&5
9721 echo "${ECHO_T}yes" >&6
9723 echo "$as_me:$LINENO: result: no" >&5
9724 echo "${ECHO_T}no" >&6
9729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9730 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9732 # Check whether --enable-tooltips or --disable-tooltips was given.
9733 if test "${enable_tooltips+set}" = set; then
9734 enableval="$enable_tooltips"
9736 if test "$enableval" = yes; then
9737 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9739 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9744 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9745 if test "x$LINE" != x ; then
9746 eval "DEFAULT_$LINE"
9751 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9755 eval "$ac_cv_use_tooltips"
9756 if test "$no_cache" != 1; then
9757 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9760 if test "$wxUSE_TOOLTIPS" = yes; then
9761 echo "$as_me:$LINENO: result: yes" >&5
9762 echo "${ECHO_T}yes" >&6
9764 echo "$as_me:$LINENO: result: no" >&5
9765 echo "${ECHO_T}no" >&6
9770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9771 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9773 # Check whether --enable-splines or --disable-splines was given.
9774 if test "${enable_splines+set}" = set; then
9775 enableval="$enable_splines"
9777 if test "$enableval" = yes; then
9778 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9780 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9785 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9786 if test "x$LINE" != x ; then
9787 eval "DEFAULT_$LINE"
9792 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9796 eval "$ac_cv_use_splines"
9797 if test "$no_cache" != 1; then
9798 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9801 if test "$wxUSE_SPLINES" = yes; then
9802 echo "$as_me:$LINENO: result: yes" >&5
9803 echo "${ECHO_T}yes" >&6
9805 echo "$as_me:$LINENO: result: no" >&5
9806 echo "${ECHO_T}no" >&6
9811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9812 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9814 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9815 if test "${enable_mousewheel+set}" = set; then
9816 enableval="$enable_mousewheel"
9818 if test "$enableval" = yes; then
9819 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
9821 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
9826 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9827 if test "x$LINE" != x ; then
9828 eval "DEFAULT_$LINE"
9833 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
9837 eval "$ac_cv_use_mousewheel"
9838 if test "$no_cache" != 1; then
9839 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9842 if test "$wxUSE_MOUSEWHEEL" = yes; then
9843 echo "$as_me:$LINENO: result: yes" >&5
9844 echo "${ECHO_T}yes" >&6
9846 echo "$as_me:$LINENO: result: no" >&5
9847 echo "${ECHO_T}no" >&6
9852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9853 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9855 # Check whether --enable-validators or --disable-validators was given.
9856 if test "${enable_validators+set}" = set; then
9857 enableval="$enable_validators"
9859 if test "$enableval" = yes; then
9860 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9862 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9867 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9868 if test "x$LINE" != x ; then
9869 eval "DEFAULT_$LINE"
9874 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9878 eval "$ac_cv_use_validators"
9879 if test "$no_cache" != 1; then
9880 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9883 if test "$wxUSE_VALIDATORS" = yes; then
9884 echo "$as_me:$LINENO: result: yes" >&5
9885 echo "${ECHO_T}yes" >&6
9887 echo "$as_me:$LINENO: result: no" >&5
9888 echo "${ECHO_T}no" >&6
9893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9894 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9896 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9897 if test "${enable_busyinfo+set}" = set; then
9898 enableval="$enable_busyinfo"
9900 if test "$enableval" = yes; then
9901 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9903 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9908 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9909 if test "x$LINE" != x ; then
9910 eval "DEFAULT_$LINE"
9915 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9919 eval "$ac_cv_use_busyinfo"
9920 if test "$no_cache" != 1; then
9921 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9924 if test "$wxUSE_BUSYINFO" = yes; then
9925 echo "$as_me:$LINENO: result: yes" >&5
9926 echo "${ECHO_T}yes" >&6
9928 echo "$as_me:$LINENO: result: no" >&5
9929 echo "${ECHO_T}no" >&6
9934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9935 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9937 # Check whether --enable-joystick or --disable-joystick was given.
9938 if test "${enable_joystick+set}" = set; then
9939 enableval="$enable_joystick"
9941 if test "$enableval" = yes; then
9942 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9944 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9949 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9950 if test "x$LINE" != x ; then
9951 eval "DEFAULT_$LINE"
9956 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9960 eval "$ac_cv_use_joystick"
9961 if test "$no_cache" != 1; then
9962 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9965 if test "$wxUSE_JOYSTICK" = yes; then
9966 echo "$as_me:$LINENO: result: yes" >&5
9967 echo "${ECHO_T}yes" >&6
9969 echo "$as_me:$LINENO: result: no" >&5
9970 echo "${ECHO_T}no" >&6
9975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9978 # Check whether --enable-metafile or --disable-metafile was given.
9979 if test "${enable_metafile+set}" = set; then
9980 enableval="$enable_metafile"
9982 if test "$enableval" = yes; then
9983 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9985 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9990 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9991 if test "x$LINE" != x ; then
9992 eval "DEFAULT_$LINE"
9997 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10001 eval "$ac_cv_use_metafile"
10002 if test "$no_cache" != 1; then
10003 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10006 if test "$wxUSE_METAFILE" = yes; then
10007 echo "$as_me:$LINENO: result: yes" >&5
10008 echo "${ECHO_T}yes" >&6
10010 echo "$as_me:$LINENO: result: no" >&5
10011 echo "${ECHO_T}no" >&6
10016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10017 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10019 # Check whether --enable-dragimage or --disable-dragimage was given.
10020 if test "${enable_dragimage+set}" = set; then
10021 enableval="$enable_dragimage"
10023 if test "$enableval" = yes; then
10024 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10026 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10031 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10032 if test "x$LINE" != x ; then
10033 eval "DEFAULT_$LINE"
10038 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10042 eval "$ac_cv_use_dragimage"
10043 if test "$no_cache" != 1; then
10044 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10047 if test "$wxUSE_DRAGIMAGE" = yes; then
10048 echo "$as_me:$LINENO: result: yes" >&5
10049 echo "${ECHO_T}yes" >&6
10051 echo "$as_me:$LINENO: result: no" >&5
10052 echo "${ECHO_T}no" >&6
10057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10058 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10060 # Check whether --enable-accessibility or --disable-accessibility was given.
10061 if test "${enable_accessibility+set}" = set; then
10062 enableval="$enable_accessibility"
10064 if test "$enableval" = yes; then
10065 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10067 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10072 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10073 if test "x$LINE" != x ; then
10074 eval "DEFAULT_$LINE"
10079 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10083 eval "$ac_cv_use_accessibility"
10084 if test "$no_cache" != 1; then
10085 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10088 if test "$wxUSE_ACCESSIBILITY" = yes; then
10089 echo "$as_me:$LINENO: result: yes" >&5
10090 echo "${ECHO_T}yes" >&6
10092 echo "$as_me:$LINENO: result: no" >&5
10093 echo "${ECHO_T}no" >&6
10097 if test "$wxUSE_MSW" = "1"; then
10100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10101 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10103 # Check whether --enable-dccache or --disable-dccache was given.
10104 if test "${enable_dccache+set}" = set; then
10105 enableval="$enable_dccache"
10107 if test "$enableval" = yes; then
10108 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10110 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10115 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10116 if test "x$LINE" != x ; then
10117 eval "DEFAULT_$LINE"
10122 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10126 eval "$ac_cv_use_dccache"
10127 if test "$no_cache" != 1; then
10128 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10131 if test "$wxUSE_DC_CACHEING" = yes; then
10132 echo "$as_me:$LINENO: result: yes" >&5
10133 echo "${ECHO_T}yes" >&6
10135 echo "$as_me:$LINENO: result: no" >&5
10136 echo "${ECHO_T}no" >&6
10144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10145 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10147 # Check whether --enable-palette or --disable-palette was given.
10148 if test "${enable_palette+set}" = set; then
10149 enableval="$enable_palette"
10151 if test "$enableval" = yes; then
10152 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10154 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10159 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10160 if test "x$LINE" != x ; then
10161 eval "DEFAULT_$LINE"
10166 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10170 eval "$ac_cv_use_palette"
10171 if test "$no_cache" != 1; then
10172 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10175 if test "$wxUSE_PALETTE" = yes; then
10176 echo "$as_me:$LINENO: result: yes" >&5
10177 echo "${ECHO_T}yes" >&6
10179 echo "$as_me:$LINENO: result: no" >&5
10180 echo "${ECHO_T}no" >&6
10185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10188 # Check whether --enable-image or --disable-image was given.
10189 if test "${enable_image+set}" = set; then
10190 enableval="$enable_image"
10192 if test "$enableval" = yes; then
10193 ac_cv_use_image='wxUSE_IMAGE
=yes'
10195 ac_cv_use_image='wxUSE_IMAGE
=no
'
10200 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10201 if test "x$LINE" != x ; then
10202 eval "DEFAULT_$LINE"
10207 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10211 eval "$ac_cv_use_image"
10212 if test "$no_cache" != 1; then
10213 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10216 if test "$wxUSE_IMAGE" = yes; then
10217 echo "$as_me:$LINENO: result: yes" >&5
10218 echo "${ECHO_T}yes" >&6
10220 echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6
10226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10227 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10229 # Check whether --enable-gif or --disable-gif was given.
10230 if test "${enable_gif+set}" = set; then
10231 enableval="$enable_gif"
10233 if test "$enableval" = yes; then
10234 ac_cv_use_gif='wxUSE_GIF
=yes'
10236 ac_cv_use_gif='wxUSE_GIF
=no
'
10241 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10242 if test "x$LINE" != x ; then
10243 eval "DEFAULT_$LINE"
10248 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10252 eval "$ac_cv_use_gif"
10253 if test "$no_cache" != 1; then
10254 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10257 if test "$wxUSE_GIF" = yes; then
10258 echo "$as_me:$LINENO: result: yes" >&5
10259 echo "${ECHO_T}yes" >&6
10261 echo "$as_me:$LINENO: result: no" >&5
10262 echo "${ECHO_T}no" >&6
10267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10268 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10270 # Check whether --enable-pcx or --disable-pcx was given.
10271 if test "${enable_pcx+set}" = set; then
10272 enableval="$enable_pcx"
10274 if test "$enableval" = yes; then
10275 ac_cv_use_pcx='wxUSE_PCX
=yes'
10277 ac_cv_use_pcx='wxUSE_PCX
=no
'
10282 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10283 if test "x$LINE" != x ; then
10284 eval "DEFAULT_$LINE"
10289 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10293 eval "$ac_cv_use_pcx"
10294 if test "$no_cache" != 1; then
10295 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10298 if test "$wxUSE_PCX" = yes; then
10299 echo "$as_me:$LINENO: result: yes" >&5
10300 echo "${ECHO_T}yes" >&6
10302 echo "$as_me:$LINENO: result: no" >&5
10303 echo "${ECHO_T}no" >&6
10308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10311 # Check whether --enable-iff or --disable-iff was given.
10312 if test "${enable_iff+set}" = set; then
10313 enableval="$enable_iff"
10315 if test "$enableval" = yes; then
10316 ac_cv_use_iff='wxUSE_IFF
=yes'
10318 ac_cv_use_iff='wxUSE_IFF
=no
'
10323 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10324 if test "x$LINE" != x ; then
10325 eval "DEFAULT_$LINE"
10330 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10334 eval "$ac_cv_use_iff"
10335 if test "$no_cache" != 1; then
10336 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10339 if test "$wxUSE_IFF" = yes; then
10340 echo "$as_me:$LINENO: result: yes" >&5
10341 echo "${ECHO_T}yes" >&6
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10350 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10352 # Check whether --enable-pnm or --disable-pnm was given.
10353 if test "${enable_pnm+set}" = set; then
10354 enableval="$enable_pnm"
10356 if test "$enableval" = yes; then
10357 ac_cv_use_pnm='wxUSE_PNM
=yes'
10359 ac_cv_use_pnm='wxUSE_PNM
=no
'
10364 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10365 if test "x$LINE" != x ; then
10366 eval "DEFAULT_$LINE"
10371 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10375 eval "$ac_cv_use_pnm"
10376 if test "$no_cache" != 1; then
10377 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10380 if test "$wxUSE_PNM" = yes; then
10381 echo "$as_me:$LINENO: result: yes" >&5
10382 echo "${ECHO_T}yes" >&6
10384 echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6
10390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10393 # Check whether --enable-xpm or --disable-xpm was given.
10394 if test "${enable_xpm+set}" = set; then
10395 enableval="$enable_xpm"
10397 if test "$enableval" = yes; then
10398 ac_cv_use_xpm='wxUSE_XPM
=yes'
10400 ac_cv_use_xpm='wxUSE_XPM
=no
'
10405 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10406 if test "x$LINE" != x ; then
10407 eval "DEFAULT_$LINE"
10412 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10416 eval "$ac_cv_use_xpm"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10421 if test "$wxUSE_XPM" = yes; then
10422 echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6
10425 echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6
10431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10432 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10434 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10435 if test "${enable_ico_cur+set}" = set; then
10436 enableval="$enable_ico_cur"
10438 if test "$enableval" = yes; then
10439 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10441 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10446 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10447 if test "x$LINE" != x ; then
10448 eval "DEFAULT_$LINE"
10453 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10457 eval "$ac_cv_use_ico_cur"
10458 if test "$no_cache" != 1; then
10459 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10462 if test "$wxUSE_ICO_CUR" = yes; then
10463 echo "$as_me:$LINENO: result: yes" >&5
10464 echo "${ECHO_T}yes" >&6
10466 echo "$as_me:$LINENO: result: no" >&5
10467 echo "${ECHO_T}no" >&6
10475 # Check whether --with-flavour or --without-flavour was given.
10476 if test "${with_flavour+set}" = set; then
10477 withval="$with_flavour"
10478 WX_FLAVOUR="$withval"
10484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10485 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10487 # Check whether --enable-official_build or --disable-official_build was given.
10488 if test "${enable_official_build+set}" = set; then
10489 enableval="$enable_official_build"
10491 if test "$enableval" = yes; then
10492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10494 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10499 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10500 if test "x$LINE" != x ; then
10501 eval "DEFAULT_$LINE"
10506 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10510 eval "$ac_cv_use_official_build"
10511 if test "$no_cache" != 1; then
10512 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10515 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10516 echo "$as_me:$LINENO: result: yes" >&5
10517 echo "${ECHO_T}yes" >&6
10519 echo "$as_me:$LINENO: result: no" >&5
10520 echo "${ECHO_T}no" >&6
10523 # Check whether --enable-vendor or --disable-vendor was given.
10524 if test "${enable_vendor+set}" = set; then
10525 enableval="$enable_vendor"
10526 VENDOR="$enableval"
10528 if test "x$VENDOR" = "x"; then
10535 echo "saving argument cache $wx_arg_cache_file"
10536 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10540 echo "$as_me:$LINENO: checking for toolkit" >&5
10541 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10543 # In Wine, we need to default to MSW, not GTK or MOTIF
10544 if test "$wxUSE_WINE" = "yes"; then
10545 DEFAULT_DEFAULT_wxUSE_GTK=0
10546 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10547 DEFAULT_DEFAULT_wxUSE_MSW=1
10552 if test "$wxUSE_GUI" = "yes"; then
10554 if test "$USE_BEOS" = 1; then
10555 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10556 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10557 { (exit 1); exit 1; }; }
10560 if test "$TOOLKIT_GIVEN" = 1; then
10561 for toolkit in `echo $ALL_TOOLKITS`; do
10563 eval "value=\$${var}"
10564 if test "x$value" = "xno"; then
10566 elif test "x$value" != "x"; then
10570 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10571 eval "wx${toolkit}_VERSION=$value"
10575 for toolkit in `echo $ALL_TOOLKITS`; do
10576 if test "$has_toolkit_in_cache" != 1; then
10577 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10579 var=DEFAULT_wxUSE_$toolkit
10581 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10582 if test "x$version" != "x"; then
10583 eval "wx${toolkit}_VERSION=$version"
10586 eval "wxUSE_$toolkit=\$${var}"
10590 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10591 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10592 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10595 *-pc-os2_emx | *-pc-os2-emx )
10596 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10599 case "$NUM_TOOLKITS" in
10603 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10604 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10605 { (exit 1); exit 1; }; }
10608 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10609 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10610 { (exit 1); exit 1; }; }
10613 # to be removed when --disable-gtk2 isn't needed
10614 if test "x$wxUSE_GTK2" = "xyes"; then
10616 elif test "x$wxUSE_GTK2" = "xno"; then
10620 for toolkit
in `echo $ALL_TOOLKITS`; do
10622 eval "value=\$${var}"
10623 if test "x$value" != x
; then
10624 cache_var
=CACHE_
$toolkit
10625 eval "cache=\$${cache_var}"
10626 if test "$cache" = 1; then
10627 echo "$var=$value" >> ${wx_arg_cache_file}
10628 eval "version=\$wx${toolkit}_VERSION"
10629 if test "x$version" != "x"; then
10630 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10633 if test "$value" = 1; then
10634 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10635 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10636 echo "${ECHO_T}$toolkit_echo" >&6
10641 if test "x$host_alias" != "x"; then
10642 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10643 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10645 echo "$as_me:$LINENO: result: base only" >&5
10646 echo "${ECHO_T}base only" >&6
10651 doesnt_want_win32
=0
10654 if test "$wxUSE_MSW" = 1 ; then
10656 BAKEFILE_FORCE_PLATFORM
=win32
10658 doesnt_want_win32
=1
10666 if test "$wxUSE_WINE" = "yes"; then
10670 LDFLAGS_GUI
="-mwindows"
10673 if test "$wants_win32" = 1 ; then
10676 cat >>confdefs.h
<<\_ACEOF
10677 #define __WIN32__ 1
10680 cat >>confdefs.h
<<\_ACEOF
10681 #define __WIN95__ 1
10684 cat >>confdefs.h
<<\_ACEOF
10685 #define __WINDOWS__ 1
10688 cat >>confdefs.h
<<\_ACEOF
10689 #define __GNUWIN32__ 1
10692 cat >>confdefs.h
<<\_ACEOF
10696 cat >>confdefs.h
<<\_ACEOF
10697 #define WINVER 0x0400
10701 if test "$doesnt_want_win32" = 1 ; then
10706 if test "$USE_UNIX" = 1 ; then
10708 cat >>confdefs.h
<<\_ACEOF
10715 cat >confcache
<<\_ACEOF
10716 # This file is a shell script that caches the results of configure
10717 # tests run on this system so they can be shared between configure
10718 # scripts and configure runs, see configure's option --config-cache.
10719 # It is not useful on other systems. If it contains results you don't
10720 # want to keep, you may remove or edit it.
10722 # config.status only pays attention to the cache file if you give it
10723 # the --recheck option to rerun configure.
10725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10727 # following values.
10731 # The following way of writing the cache mishandles newlines in values,
10732 # but we know of no workaround that is simple, portable, and efficient.
10733 # So, don't put newlines in cache variables' values.
10734 # Ultrix sh set writes to stderr and can't be redirected directly,
10735 # and sets the high bit in the cache file unless we assign to the vars.
10738 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10740 # `set' does not quote correctly, so add quotes (double-quote
10741 # substitution turns \\\\ into \\, and sed turns \\ into \).
10744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10747 # `set' quotes correctly as required by POSIX, so do not add quotes.
10749 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10758 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10760 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10761 if test -w $cache_file; then
10762 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10763 cat confcache
>$cache_file
10765 echo "not updating unwritable cache $cache_file"
10775 ac_cpp
='$CPP $CPPFLAGS'
10776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10779 if test -n "$ac_tool_prefix"; then
10780 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10781 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10782 echo "$as_me:$LINENO: checking for $ac_word" >&5
10783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10784 if test "${ac_cv_prog_CC+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 if test -n "$CC"; then
10788 ac_cv_prog_CC
="$CC" # Let the user override the test.
10790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10791 for as_dir
in $PATH
10794 test -z "$as_dir" && as_dir
=.
10795 for ac_exec_ext
in '' $ac_executable_extensions; do
10796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10797 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10807 if test -n "$CC"; then
10808 echo "$as_me:$LINENO: result: $CC" >&5
10809 echo "${ECHO_T}$CC" >&6
10811 echo "$as_me:$LINENO: result: no" >&5
10812 echo "${ECHO_T}no" >&6
10816 if test -z "$ac_cv_prog_CC"; then
10818 # Extract the first word of "gcc", so it can be a program name with args.
10819 set dummy gcc
; ac_word
=$2
10820 echo "$as_me:$LINENO: checking for $ac_word" >&5
10821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6
10825 if test -n "$ac_ct_CC"; then
10826 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10829 for as_dir
in $PATH
10832 test -z "$as_dir" && as_dir
=.
10833 for ac_exec_ext
in '' $ac_executable_extensions; do
10834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10835 ac_cv_prog_ac_ct_CC
="gcc"
10836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10844 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10845 if test -n "$ac_ct_CC"; then
10846 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10847 echo "${ECHO_T}$ac_ct_CC" >&6
10849 echo "$as_me:$LINENO: result: no" >&5
10850 echo "${ECHO_T}no" >&6
10855 CC
="$ac_cv_prog_CC"
10858 if test -z "$CC"; then
10859 if test -n "$ac_tool_prefix"; then
10860 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10861 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10862 echo "$as_me:$LINENO: checking for $ac_word" >&5
10863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10864 if test "${ac_cv_prog_CC+set}" = set; then
10865 echo $ECHO_N "(cached) $ECHO_C" >&6
10867 if test -n "$CC"; then
10868 ac_cv_prog_CC
="$CC" # Let the user override the test.
10870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10871 for as_dir
in $PATH
10874 test -z "$as_dir" && as_dir
=.
10875 for ac_exec_ext
in '' $ac_executable_extensions; do
10876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10877 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10887 if test -n "$CC"; then
10888 echo "$as_me:$LINENO: result: $CC" >&5
10889 echo "${ECHO_T}$CC" >&6
10891 echo "$as_me:$LINENO: result: no" >&5
10892 echo "${ECHO_T}no" >&6
10896 if test -z "$ac_cv_prog_CC"; then
10898 # Extract the first word of "cc", so it can be a program name with args.
10899 set dummy cc
; ac_word
=$2
10900 echo "$as_me:$LINENO: checking for $ac_word" >&5
10901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10902 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 if test -n "$ac_ct_CC"; then
10906 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10909 for as_dir
in $PATH
10912 test -z "$as_dir" && as_dir
=.
10913 for ac_exec_ext
in '' $ac_executable_extensions; do
10914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10915 ac_cv_prog_ac_ct_CC
="cc"
10916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10924 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10925 if test -n "$ac_ct_CC"; then
10926 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10927 echo "${ECHO_T}$ac_ct_CC" >&6
10929 echo "$as_me:$LINENO: result: no" >&5
10930 echo "${ECHO_T}no" >&6
10935 CC
="$ac_cv_prog_CC"
10939 if test -z "$CC"; then
10940 # Extract the first word of "cc", so it can be a program name with args.
10941 set dummy cc
; ac_word
=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_CC+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 if test -n "$CC"; then
10948 ac_cv_prog_CC
="$CC" # Let the user override the test.
10950 ac_prog_rejected
=no
10951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10952 for as_dir
in $PATH
10955 test -z "$as_dir" && as_dir
=.
10956 for ac_exec_ext
in '' $ac_executable_extensions; do
10957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10959 ac_prog_rejected
=yes
10963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10969 if test $ac_prog_rejected = yes; then
10970 # We found a bogon in the path, so make sure we never use it.
10971 set dummy
$ac_cv_prog_CC
10973 if test $# != 0; then
10974 # We chose a different compiler from the bogus one.
10975 # However, it has the same basename, so the bogon will be chosen
10976 # first if we set CC to just the basename; use the full file name.
10978 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10984 if test -n "$CC"; then
10985 echo "$as_me:$LINENO: result: $CC" >&5
10986 echo "${ECHO_T}$CC" >&6
10988 echo "$as_me:$LINENO: result: no" >&5
10989 echo "${ECHO_T}no" >&6
10993 if test -z "$CC"; then
10994 if test -n "$ac_tool_prefix"; then
10997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10998 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10999 echo "$as_me:$LINENO: checking for $ac_word" >&5
11000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11001 if test "${ac_cv_prog_CC+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11004 if test -n "$CC"; then
11005 ac_cv_prog_CC
="$CC" # Let the user override the test.
11007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11008 for as_dir
in $PATH
11011 test -z "$as_dir" && as_dir
=.
11012 for ac_exec_ext
in '' $ac_executable_extensions; do
11013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11014 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11024 if test -n "$CC"; then
11025 echo "$as_me:$LINENO: result: $CC" >&5
11026 echo "${ECHO_T}$CC" >&6
11028 echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6
11032 test -n "$CC" && break
11035 if test -z "$CC"; then
11039 # Extract the first word of "$ac_prog", so it can be a program name with args.
11040 set dummy
$ac_prog; ac_word
=$2
11041 echo "$as_me:$LINENO: checking for $ac_word" >&5
11042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11043 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 if test -n "$ac_ct_CC"; then
11047 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11050 for as_dir
in $PATH
11053 test -z "$as_dir" && as_dir
=.
11054 for ac_exec_ext
in '' $ac_executable_extensions; do
11055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11056 ac_cv_prog_ac_ct_CC
="$ac_prog"
11057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11065 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11066 if test -n "$ac_ct_CC"; then
11067 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11068 echo "${ECHO_T}$ac_ct_CC" >&6
11070 echo "$as_me:$LINENO: result: no" >&5
11071 echo "${ECHO_T}no" >&6
11074 test -n "$ac_ct_CC" && break
11083 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11084 See \`config.log' for more details." >&5
11085 echo "$as_me: error: no acceptable C compiler found in \$PATH
11086 See \`config.log' for more details." >&2;}
11087 { (exit 1); exit 1; }; }
11089 # Provide some information about the compiler.
11090 echo "$as_me:$LINENO:" \
11091 "checking for C compiler version" >&5
11092 ac_compiler
=`set X $ac_compile; echo $2`
11093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11094 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); }
11098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11099 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }
11103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11104 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }
11109 cat >conftest.
$ac_ext <<_ACEOF
11112 cat confdefs.h
>>conftest.
$ac_ext
11113 cat >>conftest.
$ac_ext <<_ACEOF
11114 /* end confdefs.h. */
11124 ac_clean_files_save
=$ac_clean_files
11125 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11126 # Try to create an executable without -o first, disregard a.out.
11127 # It will help us diagnose broken compilers, and finding out an intuition
11129 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11130 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11131 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11132 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11133 (eval $ac_link_default) 2>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); }; then
11137 # Find the output, starting from the most likely. This scheme is
11138 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11141 # Be careful to initialize this variable, since it used to be cached.
11142 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11144 # b.out is created by i960 compilers.
11145 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11147 test -f "$ac_file" || continue
11149 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11152 # This is the source file.
11155 # We found the default executable, but exeext='' is most
11159 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11160 # FIXME: I believe we export ac_cv_exeext for Libtool,
11161 # but it would be cool to find out if it's true. Does anybody
11162 # maintain Libtool? --akim.
11163 export ac_cv_exeext
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.
$ac_ext >&5
11173 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11174 See \`config.log' for more details." >&5
11175 echo "$as_me: error: C compiler cannot create executables
11176 See \`config.log' for more details." >&2;}
11177 { (exit 77); exit 77; }; }
11180 ac_exeext
=$ac_cv_exeext
11181 echo "$as_me:$LINENO: result: $ac_file" >&5
11182 echo "${ECHO_T}$ac_file" >&6
11184 # Check the compiler produces executables we can run. If not, either
11185 # the compiler is broken, or we cross compile.
11186 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11187 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11188 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11189 # If not cross compiling, check that we can run a simple program.
11190 if test "$cross_compiling" != yes; then
11191 if { ac_try
='./$ac_file'
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11193 (eval $ac_try) 2>&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); }; }; then
11199 if test "$cross_compiling" = maybe
; then
11200 cross_compiling
=yes
11202 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11203 If you meant to cross compile, use \`--host'.
11204 See \`config.log' for more details." >&5
11205 echo "$as_me: error: cannot run C compiled programs.
11206 If you meant to cross compile, use \`--host'.
11207 See \`config.log' for more details." >&2;}
11208 { (exit 1); exit 1; }; }
11212 echo "$as_me:$LINENO: result: yes" >&5
11213 echo "${ECHO_T}yes" >&6
11215 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11216 ac_clean_files
=$ac_clean_files_save
11217 # Check the compiler produces executables we can run. If not, either
11218 # the compiler is broken, or we cross compile.
11219 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11220 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11221 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11222 echo "${ECHO_T}$cross_compiling" >&6
11224 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11225 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11227 (eval $ac_link) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; then
11231 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11232 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11233 # work properly (i.e., refer to `conftest.exe'), while it won't with
11235 for ac_file
in conftest.exe conftest conftest.
*; do
11236 test -f "$ac_file" || continue
11238 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11239 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11240 export ac_cv_exeext
11246 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11247 See \`config.log' for more details." >&5
11248 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11249 See \`config.log' for more details." >&2;}
11250 { (exit 1); exit 1; }; }
11253 rm -f conftest
$ac_cv_exeext
11254 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11255 echo "${ECHO_T}$ac_cv_exeext" >&6
11257 rm -f conftest.
$ac_ext
11258 EXEEXT
=$ac_cv_exeext
11260 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11261 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11262 if test "${ac_cv_objext+set}" = set; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 cat >conftest.
$ac_ext <<_ACEOF
11268 cat confdefs.h
>>conftest.
$ac_ext
11269 cat >>conftest.
$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11280 rm -f conftest.o conftest.obj
11281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11282 (eval $ac_compile) 2>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); }; then
11286 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11288 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11289 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11294 echo "$as_me: failed program was:" >&5
11295 sed 's/^/| /' conftest.
$ac_ext >&5
11297 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11298 See \`config.log' for more details." >&5
11299 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11300 See \`config.log' for more details." >&2;}
11301 { (exit 1); exit 1; }; }
11304 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11306 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11307 echo "${ECHO_T}$ac_cv_objext" >&6
11308 OBJEXT
=$ac_cv_objext
11310 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11311 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11312 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 cat >conftest.
$ac_ext <<_ACEOF
11318 cat confdefs.h
>>conftest.
$ac_ext
11319 cat >>conftest.
$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11333 rm -f conftest.
$ac_objext
11334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11335 (eval $ac_compile) 2>conftest.er1
11337 grep -v '^ *+' conftest.er1
>conftest.err
11339 cat conftest.err
>&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try
='test -z "$ac_c_werror_flag"
11343 || test ! -s conftest.err'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try
='test -s conftest.$ac_objext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_compiler_gnu
=yes
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.
$ac_ext >&5
11362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11363 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11366 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11367 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11368 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11369 ac_test_CFLAGS
=${CFLAGS+set}
11370 ac_save_CFLAGS
=$CFLAGS
11372 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11373 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11374 if test "${ac_cv_prog_cc_g+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11377 cat >conftest.
$ac_ext <<_ACEOF
11380 cat confdefs.h
>>conftest.
$ac_ext
11381 cat >>conftest.
$ac_ext <<_ACEOF
11382 /* end confdefs.h. */
11392 rm -f conftest.
$ac_objext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11394 (eval $ac_compile) 2>conftest.er1
11396 grep -v '^ *+' conftest.er1
>conftest.err
11398 cat conftest.err
>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } &&
11401 { ac_try
='test -z "$ac_c_werror_flag"
11402 || test ! -s conftest.err'
11403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11404 (eval $ac_try) 2>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); }; } &&
11408 { ac_try
='test -s conftest.$ac_objext'
11409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11410 (eval $ac_try) 2>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; }; then
11414 ac_cv_prog_cc_g
=yes
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.
$ac_ext >&5
11421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11423 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11424 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11425 if test "$ac_test_CFLAGS" = set; then
11426 CFLAGS
=$ac_save_CFLAGS
11427 elif test $ac_cv_prog_cc_g = yes; then
11428 if test "$GCC" = yes; then
11434 if test "$GCC" = yes; then
11440 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11441 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11442 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11443 echo $ECHO_N "(cached) $ECHO_C" >&6
11445 ac_cv_prog_cc_stdc
=no
11447 cat >conftest.
$ac_ext <<_ACEOF
11450 cat confdefs.h
>>conftest.
$ac_ext
11451 cat >>conftest.
$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11453 #include <stdarg.h>
11455 #include <sys/types.h>
11456 #include <sys/stat.h>
11457 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11458 struct buf { int x; };
11459 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11460 static char *e (p, i)
11466 static char *f (char * (*g) (char **, int), char **p, ...)
11471 s = g (p, va_arg (v,int));
11476 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11477 function prototypes and stuff, but not '\xHH' hex character constants.
11478 These don't provoke an error unfortunately, instead are silently treated
11479 as 'x'. The following induces an error, until -std1 is added to get
11480 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11481 array size at least. It's necessary to write '\x00'==0 to get something
11482 that's true only with -std1. */
11483 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11485 int test (int i, double x);
11486 struct s1 {int (*f) (int a);};
11487 struct s2 {int (*f) (double a);};
11488 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11494 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11499 # Don't try gcc -ansi; that turns off useful extensions and
11500 # breaks some systems' header files.
11501 # AIX -qlanglvl=ansi
11502 # Ultrix and OSF/1 -std1
11503 # HP-UX 10.20 and later -Ae
11504 # HP-UX older versions -Aa -D_HPUX_SOURCE
11505 # SVR4 -Xc -D__EXTENSIONS__
11506 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11508 CC
="$ac_save_CC $ac_arg"
11509 rm -f conftest.
$ac_objext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11511 (eval $ac_compile) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1
>conftest.err
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try
='test -z "$ac_c_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 ac_cv_prog_cc_stdc
=$ac_arg
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.
$ac_ext >&5
11538 rm -f conftest.err conftest.
$ac_objext
11540 rm -f conftest.
$ac_ext conftest.
$ac_objext
11545 case "x$ac_cv_prog_cc_stdc" in
11547 echo "$as_me:$LINENO: result: none needed" >&5
11548 echo "${ECHO_T}none needed" >&6 ;;
11550 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11551 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11552 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11555 # Some people use a C++ compiler to compile C. Since we use `exit',
11556 # in C++ we need to declare it. In case someone uses the same compiler
11557 # for both compiling C and C++ we need to have the C++ compiler decide
11558 # the declaration of exit, since it's the most demanding environment.
11559 cat >conftest.
$ac_ext <<_ACEOF
11560 #ifndef __cplusplus
11564 rm -f conftest.
$ac_objext
11565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11566 (eval $ac_compile) 2>conftest.er1
11568 grep -v '^ *+' conftest.er1
>conftest.err
11570 cat conftest.err
>&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); } &&
11573 { ac_try
='test -z "$ac_c_werror_flag"
11574 || test ! -s conftest.err'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; } &&
11580 { ac_try
='test -s conftest.$ac_objext'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
11586 for ac_declaration
in \
11588 'extern "C" void std::exit (int) throw (); using std::exit;' \
11589 'extern "C" void std::exit (int); using std::exit;' \
11590 'extern "C" void exit (int) throw ();' \
11591 'extern "C" void exit (int);' \
11594 cat >conftest.
$ac_ext <<_ACEOF
11597 cat confdefs.h
>>conftest.
$ac_ext
11598 cat >>conftest.
$ac_ext <<_ACEOF
11599 /* end confdefs.h. */
11601 #include <stdlib.h>
11610 rm -f conftest.
$ac_objext
11611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11612 (eval $ac_compile) 2>conftest.er1
11614 grep -v '^ *+' conftest.er1
>conftest.err
11616 cat conftest.err
>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } &&
11619 { ac_try
='test -z "$ac_c_werror_flag"
11620 || test ! -s conftest.err'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; } &&
11626 { ac_try
='test -s conftest.$ac_objext'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; }; then
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.
$ac_ext >&5
11639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11640 cat >conftest.
$ac_ext <<_ACEOF
11643 cat confdefs.h
>>conftest.
$ac_ext
11644 cat >>conftest.
$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11655 rm -f conftest.
$ac_objext
11656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11657 (eval $ac_compile) 2>conftest.er1
11659 grep -v '^ *+' conftest.er1
>conftest.err
11661 cat conftest.err
>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); } &&
11664 { ac_try
='test -z "$ac_c_werror_flag"
11665 || test ! -s conftest.err'
11666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); }; } &&
11671 { ac_try
='test -s conftest.$ac_objext'
11672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11673 (eval $ac_try) 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); }; }; then
11679 echo "$as_me: failed program was:" >&5
11680 sed 's/^/| /' conftest.
$ac_ext >&5
11683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11686 if test -n "$ac_declaration"; then
11687 echo '#ifdef __cplusplus' >>confdefs.h
11688 echo $ac_declaration >>confdefs.h
11689 echo '#endif' >>confdefs.h
11693 echo "$as_me: failed program was:" >&5
11694 sed 's/^/| /' conftest.
$ac_ext >&5
11697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11699 ac_cpp
='$CPP $CPPFLAGS'
11700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11707 ac_cpp
='$CPP $CPPFLAGS'
11708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11712 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11713 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11714 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 cat >conftest.
$ac_ext <<_ACEOF
11720 cat confdefs.h
>>conftest.
$ac_ext
11721 cat >>conftest.
$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11728 #ifndef __INTEL_COMPILER
11736 rm -f conftest.
$ac_objext
11737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11738 (eval $ac_compile) 2>conftest.er1
11740 grep -v '^ *+' conftest.er1
>conftest.err
11742 cat conftest.err
>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try
='test -z "$ac_c_werror_flag"
11746 || test ! -s conftest.err'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; } &&
11752 { ac_try
='test -s conftest.$ac_objext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11758 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11760 echo "$as_me: failed program was:" >&5
11761 sed 's/^/| /' conftest.
$ac_ext >&5
11763 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11770 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11771 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11773 ac_cpp
='$CPP $CPPFLAGS'
11774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11778 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11785 if test "x$GCC" != "xyes"; then
11786 if test "xCC" = "xC"; then
11787 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11788 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11789 if test "${wx_cv_c_exto+set}" = set; then
11790 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 cat >conftest.
$ac_ext <<_ACEOF
11795 cat confdefs.h
>>conftest.
$ac_ext
11796 cat >>conftest.
$ac_ext <<_ACEOF
11797 /* end confdefs.h. */
11807 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11809 (eval $ac_compile) 2>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); }; then
11813 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11815 conftest.
$ac_ext.o
)
11816 wx_cv_c_exto
="-ext o"
11823 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11824 See \`config.log' for more details." >&5
11825 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11826 See \`config.log' for more details." >&2;}
11827 { (exit 1); exit 1; }; }
11831 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11834 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11835 echo "${ECHO_T}$wx_cv_c_exto" >&6
11836 if test "x$wx_cv_c_exto" '!=' "x"; then
11837 if test "c" = "c"; then
11838 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11840 if test "c" = "cxx"; then
11841 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11845 if test "x$wx_cv_c_exto" '!=' "x"; then
11846 unset ac_cv_prog_cc_g
11847 ac_test_CFLAGS
=${CFLAGS+set}
11848 ac_save_CFLAGS
=$CFLAGS
11850 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11851 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11852 if test "${ac_cv_prog_cc_g+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 cat >conftest.
$ac_ext <<_ACEOF
11858 cat confdefs.h
>>conftest.
$ac_ext
11859 cat >>conftest.
$ac_ext <<_ACEOF
11860 /* end confdefs.h. */
11870 rm -f conftest.
$ac_objext
11871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11872 (eval $ac_compile) 2>conftest.er1
11874 grep -v '^ *+' conftest.er1
>conftest.err
11876 cat conftest.err
>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } &&
11879 { ac_try
='test -z "$ac_c_werror_flag"
11880 || test ! -s conftest.err'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; } &&
11886 { ac_try
='test -s conftest.$ac_objext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 ac_cv_prog_cc_g
=yes
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.
$ac_ext >&5
11899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11901 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11902 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11903 if test "$ac_test_CFLAGS" = set; then
11904 CFLAGS
=$ac_save_CFLAGS
11905 elif test $ac_cv_prog_cc_g = yes; then
11906 if test "$GCC" = yes; then
11912 if test "$GCC" = yes; then
11924 ac_cpp
='$CPP $CPPFLAGS'
11925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11929 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11930 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11931 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11932 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 cat >conftest.
$ac_ext <<_ACEOF
11937 cat confdefs.h
>>conftest.
$ac_ext
11938 cat >>conftest.
$ac_ext <<_ACEOF
11939 /* end confdefs.h. */
11952 rm -f conftest.
$ac_objext
11953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11954 (eval $ac_compile) 2>conftest.er1
11956 grep -v '^ *+' conftest.er1
>conftest.err
11958 cat conftest.err
>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } &&
11961 { ac_try
='test -z "$ac_c_werror_flag"
11962 || test ! -s conftest.err'
11963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11964 (eval $ac_try) 2>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); }; } &&
11968 { ac_try
='test -s conftest.$ac_objext'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; }; then
11974 wx_compiler_xlc
=yes
11976 echo "$as_me: failed program was:" >&5
11977 sed 's/^/| /' conftest.
$ac_ext >&5
11981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11982 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11985 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11986 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11988 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11990 ac_cpp
='$CPP $CPPFLAGS'
11991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12000 ac_cpp
='$CPP $CPPFLAGS'
12001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12005 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12006 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12007 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12010 cat >conftest.
$ac_ext <<_ACEOF
12013 cat confdefs.h
>>conftest.
$ac_ext
12014 cat >>conftest.
$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12028 rm -f conftest.
$ac_objext
12029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12030 (eval $ac_compile) 2>conftest.er1
12032 grep -v '^ *+' conftest.er1
>conftest.err
12034 cat conftest.err
>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); } &&
12037 { ac_try
='test -z "$ac_c_werror_flag"
12038 || test ! -s conftest.err'
12039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12040 (eval $ac_try) 2>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); }; } &&
12044 { ac_try
='test -s conftest.$ac_objext'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; }; then
12050 bakefile_compiler_mwerks
=yes
12052 echo "$as_me: failed program was:" >&5
12053 sed 's/^/| /' conftest.
$ac_ext >&5
12055 bakefile_compiler_mwerks
=no
12057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12058 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12061 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12062 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12064 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12066 ac_cpp
='$CPP $CPPFLAGS'
12067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12073 ac_cpp
='$CPP $CPPFLAGS'
12074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12078 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12079 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12080 if test "${wx_cv_c_compiler_xlc+set}" = set; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12083 cat >conftest.
$ac_ext <<_ACEOF
12086 cat confdefs.h
>>conftest.
$ac_ext
12087 cat >>conftest.
$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12101 rm -f conftest.
$ac_objext
12102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12103 (eval $ac_compile) 2>conftest.er1
12105 grep -v '^ *+' conftest.er1
>conftest.err
12107 cat conftest.err
>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } &&
12110 { ac_try
='test -z "$ac_c_werror_flag"
12111 || test ! -s conftest.err'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; } &&
12117 { ac_try
='test -s conftest.$ac_objext'
12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12119 (eval $ac_try) 2>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }; }; then
12123 wx_compiler_xlc
=yes
12125 echo "$as_me: failed program was:" >&5
12126 sed 's/^/| /' conftest.
$ac_ext >&5
12130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12131 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
12134 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
12135 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
12137 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
12139 ac_cpp
='$CPP $CPPFLAGS'
12140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12151 ac_cpp
='$CPP $CPPFLAGS'
12152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12156 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12157 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12158 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12159 echo $ECHO_N "(cached) $ECHO_C" >&6
12161 cat >conftest.
$ac_ext <<_ACEOF
12164 cat confdefs.h
>>conftest.
$ac_ext
12165 cat >>conftest.
$ac_ext <<_ACEOF
12166 /* end confdefs.h. */
12172 #ifndef _SGI_COMPILER_VERSION
12180 rm -f conftest.
$ac_objext
12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12182 (eval $ac_compile) 2>conftest.er1
12184 grep -v '^ *+' conftest.er1
>conftest.err
12186 cat conftest.err
>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
12189 { ac_try
='test -z "$ac_c_werror_flag"
12190 || test ! -s conftest.err'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; } &&
12196 { ac_try
='test -s conftest.$ac_objext'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
12202 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.
$ac_ext >&5
12207 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12214 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12215 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12217 ac_cpp
='$CPP $CPPFLAGS'
12218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12222 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12235 ac_cpp
='$CPP $CPPFLAGS'
12236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12240 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12241 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12242 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 cat >conftest.
$ac_ext <<_ACEOF
12248 cat confdefs.h
>>conftest.
$ac_ext
12249 cat >>conftest.
$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12264 rm -f conftest.
$ac_objext
12265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12266 (eval $ac_compile) 2>conftest.er1
12268 grep -v '^ *+' conftest.er1
>conftest.err
12270 cat conftest.err
>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } &&
12273 { ac_try
='test -z "$ac_c_werror_flag"
12274 || test ! -s conftest.err'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; } &&
12280 { ac_try
='test -s conftest.$ac_objext'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; }; then
12286 bakefile_cv_c_compiler___SUNPRO_C
=yes
12288 echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.
$ac_ext >&5
12291 bakefile_cv_c_compiler___SUNPRO_C
=no
12294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12298 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12299 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12301 ac_cpp
='$CPP $CPPFLAGS'
12302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12306 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12319 ac_cpp
='$CPP $CPPFLAGS'
12320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12324 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12325 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12326 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12327 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 cat >conftest.
$ac_ext <<_ACEOF
12332 cat confdefs.h
>>conftest.
$ac_ext
12333 cat >>conftest.
$ac_ext <<_ACEOF
12334 /* end confdefs.h. */
12348 rm -f conftest.
$ac_objext
12349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12350 (eval $ac_compile) 2>conftest.er1
12352 grep -v '^ *+' conftest.er1
>conftest.err
12354 cat conftest.err
>&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); } &&
12357 { ac_try
='test -z "$ac_c_werror_flag"
12358 || test ! -s conftest.err'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; } &&
12364 { ac_try
='test -s conftest.$ac_objext'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then
12370 bakefile_cv_c_compiler___HP_cc
=yes
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.
$ac_ext >&5
12375 bakefile_cv_c_compiler___HP_cc
=no
12378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12382 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12383 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12385 ac_cpp
='$CPP $CPPFLAGS'
12386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12390 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12404 ac_cpp
='$CPP $CPPFLAGS'
12405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12408 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12409 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12410 # On Suns, sometimes $CPP names a directory.
12411 if test -n "$CPP" && test -d "$CPP"; then
12414 if test -z "$CPP"; then
12415 if test "${ac_cv_prog_CPP+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 # Double quotes because CPP needs to be expanded
12419 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12421 ac_preproc_ok
=false
12422 for ac_c_preproc_warn_flag
in '' yes
12424 # Use a header file that comes with gcc, so configuring glibc
12425 # with a fresh cross-compiler works.
12426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12427 # <limits.h> exists even on freestanding compilers.
12428 # On the NeXT, cc -E runs the code through the compiler's parser,
12429 # not just through cpp. "Syntax error" is here to catch this case.
12430 cat >conftest.
$ac_ext <<_ACEOF
12433 cat confdefs.h
>>conftest.
$ac_ext
12434 cat >>conftest.
$ac_ext <<_ACEOF
12435 /* end confdefs.h. */
12437 # include <limits.h>
12439 # include <assert.h>
12443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12446 grep -v '^ *+' conftest.er1
>conftest.err
12448 cat conftest.err
>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); } >/dev
/null
; then
12451 if test -s conftest.err
; then
12452 ac_cpp_err
=$ac_c_preproc_warn_flag
12453 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12460 if test -z "$ac_cpp_err"; then
12463 echo "$as_me: failed program was:" >&5
12464 sed 's/^/| /' conftest.
$ac_ext >&5
12466 # Broken: fails on valid input.
12469 rm -f conftest.err conftest.
$ac_ext
12471 # OK, works on sane cases. Now check whether non-existent headers
12472 # can be detected and how.
12473 cat >conftest.
$ac_ext <<_ACEOF
12476 cat confdefs.h
>>conftest.
$ac_ext
12477 cat >>conftest.
$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12479 #include <ac_nonexistent.h>
12481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12484 grep -v '^ *+' conftest.er1
>conftest.err
12486 cat conftest.err
>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); } >/dev
/null
; then
12489 if test -s conftest.err
; then
12490 ac_cpp_err
=$ac_c_preproc_warn_flag
12491 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12498 if test -z "$ac_cpp_err"; then
12499 # Broken: success on invalid input.
12502 echo "$as_me: failed program was:" >&5
12503 sed 's/^/| /' conftest.
$ac_ext >&5
12505 # Passes both tests.
12509 rm -f conftest.err conftest.
$ac_ext
12512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12513 rm -f conftest.err conftest.
$ac_ext
12514 if $ac_preproc_ok; then
12519 ac_cv_prog_CPP
=$CPP
12522 CPP
=$ac_cv_prog_CPP
12524 ac_cv_prog_CPP
=$CPP
12526 echo "$as_me:$LINENO: result: $CPP" >&5
12527 echo "${ECHO_T}$CPP" >&6
12528 ac_preproc_ok
=false
12529 for ac_c_preproc_warn_flag
in '' yes
12531 # Use a header file that comes with gcc, so configuring glibc
12532 # with a fresh cross-compiler works.
12533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12534 # <limits.h> exists even on freestanding compilers.
12535 # On the NeXT, cc -E runs the code through the compiler's parser,
12536 # not just through cpp. "Syntax error" is here to catch this case.
12537 cat >conftest.
$ac_ext <<_ACEOF
12540 cat confdefs.h
>>conftest.
$ac_ext
12541 cat >>conftest.
$ac_ext <<_ACEOF
12542 /* end confdefs.h. */
12544 # include <limits.h>
12546 # include <assert.h>
12550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12553 grep -v '^ *+' conftest.er1
>conftest.err
12555 cat conftest.err
>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } >/dev
/null
; then
12558 if test -s conftest.err
; then
12559 ac_cpp_err
=$ac_c_preproc_warn_flag
12560 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12567 if test -z "$ac_cpp_err"; then
12570 echo "$as_me: failed program was:" >&5
12571 sed 's/^/| /' conftest.
$ac_ext >&5
12573 # Broken: fails on valid input.
12576 rm -f conftest.err conftest.
$ac_ext
12578 # OK, works on sane cases. Now check whether non-existent headers
12579 # can be detected and how.
12580 cat >conftest.
$ac_ext <<_ACEOF
12583 cat confdefs.h
>>conftest.
$ac_ext
12584 cat >>conftest.
$ac_ext <<_ACEOF
12585 /* end confdefs.h. */
12586 #include <ac_nonexistent.h>
12588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1
>conftest.err
12593 cat conftest.err
>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } >/dev
/null
; then
12596 if test -s conftest.err
; then
12597 ac_cpp_err
=$ac_c_preproc_warn_flag
12598 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12605 if test -z "$ac_cpp_err"; then
12606 # Broken: success on invalid input.
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.
$ac_ext >&5
12612 # Passes both tests.
12616 rm -f conftest.err conftest.
$ac_ext
12619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12620 rm -f conftest.err conftest.
$ac_ext
12621 if $ac_preproc_ok; then
12624 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12625 See \`config.log' for more details." >&5
12626 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12627 See \`config.log' for more details." >&2;}
12628 { (exit 1); exit 1; }; }
12632 ac_cpp
='$CPP $CPPFLAGS'
12633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12638 echo "$as_me:$LINENO: checking for egrep" >&5
12639 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12640 if test "${ac_cv_prog_egrep+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12644 then ac_cv_prog_egrep
='grep -E'
12645 else ac_cv_prog_egrep
='egrep'
12648 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12649 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12650 EGREP
=$ac_cv_prog_egrep
12653 if test $ac_cv_c_compiler_gnu = yes; then
12654 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12655 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12656 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 ac_pattern
="Autoconf.*'x'"
12660 cat >conftest.
$ac_ext <<_ACEOF
12663 cat confdefs.h
>>conftest.
$ac_ext
12664 cat >>conftest.
$ac_ext <<_ACEOF
12665 /* end confdefs.h. */
12669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12670 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12671 ac_cv_prog_gcc_traditional
=yes
12673 ac_cv_prog_gcc_traditional
=no
12678 if test $ac_cv_prog_gcc_traditional = no
; then
12679 cat >conftest.
$ac_ext <<_ACEOF
12682 cat confdefs.h
>>conftest.
$ac_ext
12683 cat >>conftest.
$ac_ext <<_ACEOF
12684 /* end confdefs.h. */
12685 #include <termio.h>
12688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12689 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12690 ac_cv_prog_gcc_traditional
=yes
12696 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12697 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12698 if test $ac_cv_prog_gcc_traditional = yes; then
12699 CC
="$CC -traditional"
12707 ac_cpp
='$CXXCPP $CPPFLAGS'
12708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12713 CXXFLAGS
=${CXXFLAGS:=}
12718 ac_cpp
='$CXXCPP $CPPFLAGS'
12719 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12720 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12721 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12722 if test -n "$ac_tool_prefix"; then
12723 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12726 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12727 echo "$as_me:$LINENO: checking for $ac_word" >&5
12728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12729 if test "${ac_cv_prog_CXX+set}" = set; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 if test -n "$CXX"; then
12733 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12736 for as_dir
in $PATH
12739 test -z "$as_dir" && as_dir
=.
12740 for ac_exec_ext
in '' $ac_executable_extensions; do
12741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12742 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12751 CXX
=$ac_cv_prog_CXX
12752 if test -n "$CXX"; then
12753 echo "$as_me:$LINENO: result: $CXX" >&5
12754 echo "${ECHO_T}$CXX" >&6
12756 echo "$as_me:$LINENO: result: no" >&5
12757 echo "${ECHO_T}no" >&6
12760 test -n "$CXX" && break
12763 if test -z "$CXX"; then
12765 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12767 # Extract the first word of "$ac_prog", so it can be a program name with args.
12768 set dummy
$ac_prog; ac_word
=$2
12769 echo "$as_me:$LINENO: checking for $ac_word" >&5
12770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12771 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12772 echo $ECHO_N "(cached) $ECHO_C" >&6
12774 if test -n "$ac_ct_CXX"; then
12775 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12778 for as_dir
in $PATH
12781 test -z "$as_dir" && as_dir
=.
12782 for ac_exec_ext
in '' $ac_executable_extensions; do
12783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12784 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12794 if test -n "$ac_ct_CXX"; then
12795 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12796 echo "${ECHO_T}$ac_ct_CXX" >&6
12798 echo "$as_me:$LINENO: result: no" >&5
12799 echo "${ECHO_T}no" >&6
12802 test -n "$ac_ct_CXX" && break
12804 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12810 # Provide some information about the compiler.
12811 echo "$as_me:$LINENO:" \
12812 "checking for C++ compiler version" >&5
12813 ac_compiler
=`set X $ac_compile; echo $2`
12814 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12815 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); }
12819 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12820 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }
12824 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12825 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }
12830 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12831 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12832 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12833 echo $ECHO_N "(cached) $ECHO_C" >&6
12835 cat >conftest.
$ac_ext <<_ACEOF
12838 cat confdefs.h
>>conftest.
$ac_ext
12839 cat >>conftest.
$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12853 rm -f conftest.
$ac_objext
12854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12855 (eval $ac_compile) 2>conftest.er1
12857 grep -v '^ *+' conftest.er1
>conftest.err
12859 cat conftest.err
>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } &&
12862 { ac_try
='test -z "$ac_cxx_werror_flag"
12863 || test ! -s conftest.err'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; } &&
12869 { ac_try
='test -s conftest.$ac_objext'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 ac_compiler_gnu
=yes
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.
$ac_ext >&5
12882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12883 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12886 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12887 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12888 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12889 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12890 ac_save_CXXFLAGS
=$CXXFLAGS
12892 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12893 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12894 if test "${ac_cv_prog_cxx_g+set}" = set; then
12895 echo $ECHO_N "(cached) $ECHO_C" >&6
12897 cat >conftest.
$ac_ext <<_ACEOF
12900 cat confdefs.h
>>conftest.
$ac_ext
12901 cat >>conftest.
$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12912 rm -f conftest.
$ac_objext
12913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12914 (eval $ac_compile) 2>conftest.er1
12916 grep -v '^ *+' conftest.er1
>conftest.err
12918 cat conftest.err
>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } &&
12921 { ac_try
='test -z "$ac_cxx_werror_flag"
12922 || test ! -s conftest.err'
12923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12924 (eval $ac_try) 2>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }; } &&
12928 { ac_try
='test -s conftest.$ac_objext'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; }; then
12934 ac_cv_prog_cxx_g
=yes
12936 echo "$as_me: failed program was:" >&5
12937 sed 's/^/| /' conftest.
$ac_ext >&5
12939 ac_cv_prog_cxx_g
=no
12941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12943 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12944 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12945 if test "$ac_test_CXXFLAGS" = set; then
12946 CXXFLAGS
=$ac_save_CXXFLAGS
12947 elif test $ac_cv_prog_cxx_g = yes; then
12948 if test "$GXX" = yes; then
12954 if test "$GXX" = yes; then
12960 for ac_declaration
in \
12962 'extern "C" void std::exit (int) throw (); using std::exit;' \
12963 'extern "C" void std::exit (int); using std::exit;' \
12964 'extern "C" void exit (int) throw ();' \
12965 'extern "C" void exit (int);' \
12968 cat >conftest.
$ac_ext <<_ACEOF
12971 cat confdefs.h
>>conftest.
$ac_ext
12972 cat >>conftest.
$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12975 #include <stdlib.h>
12984 rm -f conftest.
$ac_objext
12985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12986 (eval $ac_compile) 2>conftest.er1
12988 grep -v '^ *+' conftest.er1
>conftest.err
12990 cat conftest.err
>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } &&
12993 { ac_try
='test -z "$ac_cxx_werror_flag"
12994 || test ! -s conftest.err'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; } &&
13000 { ac_try
='test -s conftest.$ac_objext'
13001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002 (eval $ac_try) 2>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); }; }; then
13008 echo "$as_me: failed program was:" >&5
13009 sed 's/^/| /' conftest.
$ac_ext >&5
13013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13014 cat >conftest.
$ac_ext <<_ACEOF
13017 cat confdefs.h
>>conftest.
$ac_ext
13018 cat >>conftest.
$ac_ext <<_ACEOF
13019 /* end confdefs.h. */
13029 rm -f conftest.
$ac_objext
13030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13031 (eval $ac_compile) 2>conftest.er1
13033 grep -v '^ *+' conftest.er1
>conftest.err
13035 cat conftest.err
>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); } &&
13038 { ac_try
='test -z "$ac_cxx_werror_flag"
13039 || test ! -s conftest.err'
13040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13041 (eval $ac_try) 2>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; } &&
13045 { ac_try
='test -s conftest.$ac_objext'
13046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13047 (eval $ac_try) 2>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); }; }; then
13053 echo "$as_me: failed program was:" >&5
13054 sed 's/^/| /' conftest.
$ac_ext >&5
13057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13060 if test -n "$ac_declaration"; then
13061 echo '#ifdef __cplusplus' >>confdefs.h
13062 echo $ac_declaration >>confdefs.h
13063 echo '#endif' >>confdefs.h
13067 ac_cpp
='$CXXCPP $CPPFLAGS'
13068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13075 ac_cpp
='$CXXCPP $CPPFLAGS'
13076 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13077 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13078 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13080 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13081 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13082 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13085 cat >conftest.
$ac_ext <<_ACEOF
13088 cat confdefs.h
>>conftest.
$ac_ext
13089 cat >>conftest.
$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13096 #ifndef __INTEL_COMPILER
13104 rm -f conftest.
$ac_objext
13105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13106 (eval $ac_compile) 2>conftest.er1
13108 grep -v '^ *+' conftest.er1
>conftest.err
13110 cat conftest.err
>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); } &&
13113 { ac_try
='test -z "$ac_cxx_werror_flag"
13114 || test ! -s conftest.err'
13115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13116 (eval $ac_try) 2>&5
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); }; } &&
13120 { ac_try
='test -s conftest.$ac_objext'
13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122 (eval $ac_try) 2>&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }; }; then
13126 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13128 echo "$as_me: failed program was:" >&5
13129 sed 's/^/| /' conftest.
$ac_ext >&5
13131 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13138 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13141 ac_cpp
='$CXXCPP $CPPFLAGS'
13142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13146 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13153 if test "x$GCXX" != "xyes"; then
13154 if test "xCXX" = "xC"; then
13155 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13156 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13157 if test "${wx_cv_cxx_exto+set}" = set; then
13158 echo $ECHO_N "(cached) $ECHO_C" >&6
13160 cat >conftest.
$ac_ext <<_ACEOF
13163 cat confdefs.h
>>conftest.
$ac_ext
13164 cat >>conftest.
$ac_ext <<_ACEOF
13165 /* end confdefs.h. */
13175 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13177 (eval $ac_compile) 2>&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; then
13181 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13183 conftest.
$ac_ext.o
)
13184 wx_cv_cxx_exto
="-ext o"
13191 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13192 See \`config.log' for more details." >&5
13193 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13194 See \`config.log' for more details." >&2;}
13195 { (exit 1); exit 1; }; }
13199 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13202 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
13203 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
13204 if test "x$wx_cv_cxx_exto" '!=' "x"; then
13205 if test "cxx" = "c"; then
13206 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
13208 if test "cxx" = "cxx"; then
13209 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
13213 if test "x$wx_cv_c_exto" '!=' "x"; then
13214 unset ac_cv_prog_cc_g
13215 ac_test_CFLAGS
=${CFLAGS+set}
13216 ac_save_CFLAGS
=$CFLAGS
13218 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13219 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13220 if test "${ac_cv_prog_cc_g+set}" = set; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 cat >conftest.
$ac_ext <<_ACEOF
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13238 rm -f conftest.
$ac_objext
13239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13240 (eval $ac_compile) 2>conftest.er1
13242 grep -v '^ *+' conftest.er1
>conftest.err
13244 cat conftest.err
>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); } &&
13247 { ac_try
='test -z "$ac_cxx_werror_flag"
13248 || test ! -s conftest.err'
13249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13250 (eval $ac_try) 2>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; } &&
13254 { ac_try
='test -s conftest.$ac_objext'
13255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13256 (eval $ac_try) 2>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); }; }; then
13260 ac_cv_prog_cc_g
=yes
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.
$ac_ext >&5
13267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13269 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13270 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13271 if test "$ac_test_CFLAGS" = set; then
13272 CFLAGS
=$ac_save_CFLAGS
13273 elif test $ac_cv_prog_cc_g = yes; then
13274 if test "$GCC" = yes; then
13280 if test "$GCC" = yes; then
13292 ac_cpp
='$CXXCPP $CPPFLAGS'
13293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13297 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13298 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13299 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 cat >conftest.
$ac_ext <<_ACEOF
13305 cat confdefs.h
>>conftest.
$ac_ext
13306 cat >>conftest.
$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13320 rm -f conftest.
$ac_objext
13321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13322 (eval $ac_compile) 2>conftest.er1
13324 grep -v '^ *+' conftest.er1
>conftest.err
13326 cat conftest.err
>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try
='test -z "$ac_cxx_werror_flag"
13330 || test ! -s conftest.err'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; } &&
13336 { ac_try
='test -s conftest.$ac_objext'
13337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338 (eval $ac_try) 2>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13342 wx_compiler_xlc
=yes
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.
$ac_ext >&5
13349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13350 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
13353 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
13354 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
13356 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
13358 ac_cpp
='$CXXCPP $CPPFLAGS'
13359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13368 ac_cpp
='$CXXCPP $CPPFLAGS'
13369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13373 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13374 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13375 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 cat >conftest.
$ac_ext <<_ACEOF
13381 cat confdefs.h
>>conftest.
$ac_ext
13382 cat >>conftest.
$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13396 rm -f conftest.
$ac_objext
13397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13398 (eval $ac_compile) 2>conftest.er1
13400 grep -v '^ *+' conftest.er1
>conftest.err
13402 cat conftest.err
>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try
='test -z "$ac_cxx_werror_flag"
13406 || test ! -s conftest.err'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; } &&
13412 { ac_try
='test -s conftest.$ac_objext'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 bakefile_compiler_mwerks
=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 bakefile_compiler_mwerks
=no
13425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13426 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13429 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13430 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13432 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13434 ac_cpp
='$CXXCPP $CPPFLAGS'
13435 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13436 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13437 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13441 ac_cpp
='$CXXCPP $CPPFLAGS'
13442 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13443 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13444 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13446 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13447 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13448 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13451 cat >conftest.
$ac_ext <<_ACEOF
13454 cat confdefs.h
>>conftest.
$ac_ext
13455 cat >>conftest.
$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13469 rm -f conftest.
$ac_objext
13470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13471 (eval $ac_compile) 2>conftest.er1
13473 grep -v '^ *+' conftest.er1
>conftest.err
13475 cat conftest.err
>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } &&
13478 { ac_try
='test -z "$ac_cxx_werror_flag"
13479 || test ! -s conftest.err'
13480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13481 (eval $ac_try) 2>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); }; } &&
13485 { ac_try
='test -s conftest.$ac_objext'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; }; then
13491 wx_compiler_xlc
=yes
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.
$ac_ext >&5
13498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13499 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
13502 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
13503 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
13505 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
13507 ac_cpp
='$CXXCPP $CPPFLAGS'
13508 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13509 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13510 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13519 ac_cpp
='$CXXCPP $CPPFLAGS'
13520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13524 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13525 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13526 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 cat >conftest.
$ac_ext <<_ACEOF
13532 cat confdefs.h
>>conftest.
$ac_ext
13533 cat >>conftest.
$ac_ext <<_ACEOF
13534 /* end confdefs.h. */
13540 #ifndef _SGI_COMPILER_VERSION
13548 rm -f conftest.
$ac_objext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13550 (eval $ac_compile) 2>conftest.er1
13552 grep -v '^ *+' conftest.er1
>conftest.err
13554 cat conftest.err
>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try
='test -z "$ac_cxx_werror_flag"
13558 || test ! -s conftest.err'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; } &&
13564 { ac_try
='test -s conftest.$ac_objext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13570 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13575 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13582 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13583 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13585 ac_cpp
='$CXXCPP $CPPFLAGS'
13586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13590 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13603 ac_cpp
='$CXXCPP $CPPFLAGS'
13604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13608 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13609 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13610 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 cat >conftest.
$ac_ext <<_ACEOF
13616 cat confdefs.h
>>conftest.
$ac_ext
13617 cat >>conftest.
$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13624 #ifndef __SUNPRO_CC
13632 rm -f conftest.
$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634 (eval $ac_compile) 2>conftest.er1
13636 grep -v '^ *+' conftest.er1
>conftest.err
13638 cat conftest.err
>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try
='test -z "$ac_cxx_werror_flag"
13642 || test ! -s conftest.err'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try
='test -s conftest.$ac_objext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.
$ac_ext >&5
13659 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13666 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13667 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13669 ac_cpp
='$CXXCPP $CPPFLAGS'
13670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13674 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13687 ac_cpp
='$CXXCPP $CPPFLAGS'
13688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13692 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13693 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13694 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13697 cat >conftest.
$ac_ext <<_ACEOF
13700 cat confdefs.h
>>conftest.
$ac_ext
13701 cat >>conftest.
$ac_ext <<_ACEOF
13702 /* end confdefs.h. */
13716 rm -f conftest.
$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>conftest.er1
13720 grep -v '^ *+' conftest.er1
>conftest.err
13722 cat conftest.err
>&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } &&
13725 { ac_try
='test -z "$ac_cxx_werror_flag"
13726 || test ! -s conftest.err'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; } &&
13732 { ac_try
='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13738 bakefile_cv_cxx_compiler___HP_aCC
=yes
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.
$ac_ext >&5
13743 bakefile_cv_cxx_compiler___HP_aCC
=no
13746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13750 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13751 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13753 ac_cpp
='$CXXCPP $CPPFLAGS'
13754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13758 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13772 ac_cpp
='$CPP $CPPFLAGS'
13773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13778 if test -n "$ac_tool_prefix"; then
13779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13780 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13781 echo "$as_me:$LINENO: checking for $ac_word" >&5
13782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13783 if test "${ac_cv_prog_RANLIB+set}" = set; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 if test -n "$RANLIB"; then
13787 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13790 for as_dir
in $PATH
13793 test -z "$as_dir" && as_dir
=.
13794 for ac_exec_ext
in '' $ac_executable_extensions; do
13795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13796 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13805 RANLIB
=$ac_cv_prog_RANLIB
13806 if test -n "$RANLIB"; then
13807 echo "$as_me:$LINENO: result: $RANLIB" >&5
13808 echo "${ECHO_T}$RANLIB" >&6
13810 echo "$as_me:$LINENO: result: no" >&5
13811 echo "${ECHO_T}no" >&6
13815 if test -z "$ac_cv_prog_RANLIB"; then
13816 ac_ct_RANLIB
=$RANLIB
13817 # Extract the first word of "ranlib", so it can be a program name with args.
13818 set dummy ranlib
; ac_word
=$2
13819 echo "$as_me:$LINENO: checking for $ac_word" >&5
13820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13821 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13822 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 if test -n "$ac_ct_RANLIB"; then
13825 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13828 for as_dir
in $PATH
13831 test -z "$as_dir" && as_dir
=.
13832 for ac_exec_ext
in '' $ac_executable_extensions; do
13833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13834 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13841 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13844 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13845 if test -n "$ac_ct_RANLIB"; then
13846 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13847 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13849 echo "$as_me:$LINENO: result: no" >&5
13850 echo "${ECHO_T}no" >&6
13853 RANLIB
=$ac_ct_RANLIB
13855 RANLIB
="$ac_cv_prog_RANLIB"
13859 if test -n "$ac_tool_prefix"; then
13860 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13861 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13862 echo "$as_me:$LINENO: checking for $ac_word" >&5
13863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13864 if test "${ac_cv_prog_AR+set}" = set; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6
13867 if test -n "$AR"; then
13868 ac_cv_prog_AR
="$AR" # Let the user override the test.
13870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13871 for as_dir
in $PATH
13874 test -z "$as_dir" && as_dir
=.
13875 for ac_exec_ext
in '' $ac_executable_extensions; do
13876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13877 ac_cv_prog_AR
="${ac_tool_prefix}ar"
13878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13887 if test -n "$AR"; then
13888 echo "$as_me:$LINENO: result: $AR" >&5
13889 echo "${ECHO_T}$AR" >&6
13891 echo "$as_me:$LINENO: result: no" >&5
13892 echo "${ECHO_T}no" >&6
13896 if test -z "$ac_cv_prog_AR"; then
13898 # Extract the first word of "ar", so it can be a program name with args.
13899 set dummy
ar; ac_word
=$2
13900 echo "$as_me:$LINENO: checking for $ac_word" >&5
13901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13902 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 if test -n "$ac_ct_AR"; then
13906 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
13908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13909 for as_dir
in $PATH
13912 test -z "$as_dir" && as_dir
=.
13913 for ac_exec_ext
in '' $ac_executable_extensions; do
13914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13915 ac_cv_prog_ac_ct_AR
="ar"
13916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13924 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
13925 if test -n "$ac_ct_AR"; then
13926 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13927 echo "${ECHO_T}$ac_ct_AR" >&6
13929 echo "$as_me:$LINENO: result: no" >&5
13930 echo "${ECHO_T}no" >&6
13935 AR
="$ac_cv_prog_AR"
13938 if test "x$AR" = "x" ; then
13939 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13940 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13941 { (exit 1); exit 1; }; }
13944 # Find a good install program. We prefer a C program (faster),
13945 # so one script is as good as another. But avoid the broken or
13946 # incompatible versions:
13947 # SysV /etc/install, /usr/sbin/install
13948 # SunOS /usr/etc/install
13949 # IRIX /sbin/install
13951 # AmigaOS /C/install, which installs bootblocks on floppy discs
13952 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13953 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13954 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13955 # OS/2's system install, which has a completely different semantic
13956 # ./install, which can be erroneously created by make from ./install.sh.
13957 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13958 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13959 if test -z "$INSTALL"; then
13960 if test "${ac_cv_path_install+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13964 for as_dir
in $PATH
13967 test -z "$as_dir" && as_dir
=.
13968 # Account for people who put trailing slashes in PATH elements.
13970 .
/ | .
// | /cC
/* | \
13971 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13972 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13975 # OSF1 and SCO ODT 3.0 have their own names for install.
13976 # Don't use installbsd from OSF since it installs stuff as root
13978 for ac_prog
in ginstall scoinst
install; do
13979 for ac_exec_ext
in '' $ac_executable_extensions; do
13980 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13981 if test $ac_prog = install &&
13982 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13983 # AIX install. It has an incompatible calling convention.
13985 elif test $ac_prog = install &&
13986 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13987 # program-specific install script used by HP pwplus--don't use.
13990 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14002 if test "${ac_cv_path_install+set}" = set; then
14003 INSTALL
=$ac_cv_path_install
14005 # As a last resort, use the slow shell script. We don't cache a
14006 # path for INSTALL within a source directory, because that will
14007 # break other packages using the cache if that directory is
14008 # removed, or if the path is relative.
14009 INSTALL
=$ac_install_sh
14012 echo "$as_me:$LINENO: result: $INSTALL" >&5
14013 echo "${ECHO_T}$INSTALL" >&6
14015 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14016 # It thinks the first close brace ends the variable substitution.
14017 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14019 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14021 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14027 ?
:* ) # Drive letter, considered as absolute.
14030 INSTALL
=`pwd`/${INSTALL} ;;
14037 INSTALL_PROGRAM
="cp -fp"
14038 INSTALL_DATA
="cp -fp"
14044 if test -n "$ac_tool_prefix"; then
14045 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14046 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14047 echo "$as_me:$LINENO: checking for $ac_word" >&5
14048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14049 if test "${ac_cv_prog_STRIP+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14052 if test -n "$STRIP"; then
14053 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14056 for as_dir
in $PATH
14059 test -z "$as_dir" && as_dir
=.
14060 for ac_exec_ext
in '' $ac_executable_extensions; do
14061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14062 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14071 STRIP
=$ac_cv_prog_STRIP
14072 if test -n "$STRIP"; then
14073 echo "$as_me:$LINENO: result: $STRIP" >&5
14074 echo "${ECHO_T}$STRIP" >&6
14076 echo "$as_me:$LINENO: result: no" >&5
14077 echo "${ECHO_T}no" >&6
14081 if test -z "$ac_cv_prog_STRIP"; then
14083 # Extract the first word of "strip", so it can be a program name with args.
14084 set dummy strip
; ac_word
=$2
14085 echo "$as_me:$LINENO: checking for $ac_word" >&5
14086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14087 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14088 echo $ECHO_N "(cached) $ECHO_C" >&6
14090 if test -n "$ac_ct_STRIP"; then
14091 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14094 for as_dir
in $PATH
14097 test -z "$as_dir" && as_dir
=.
14098 for ac_exec_ext
in '' $ac_executable_extensions; do
14099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14100 ac_cv_prog_ac_ct_STRIP
="strip"
14101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14107 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14110 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14111 if test -n "$ac_ct_STRIP"; then
14112 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14113 echo "${ECHO_T}$ac_ct_STRIP" >&6
14115 echo "$as_me:$LINENO: result: no" >&5
14116 echo "${ECHO_T}no" >&6
14121 STRIP
="$ac_cv_prog_STRIP"
14125 if test "$wxUSE_WINE" = "yes"; then
14126 if test -n "$ac_tool_prefix"; then
14127 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14128 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14129 echo "$as_me:$LINENO: checking for $ac_word" >&5
14130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14131 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 if test -n "$RESCOMP"; then
14135 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14138 for as_dir
in $PATH
14141 test -z "$as_dir" && as_dir
=.
14142 for ac_exec_ext
in '' $ac_executable_extensions; do
14143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14144 ac_cv_prog_RESCOMP
="${ac_tool_prefix}wrc"
14145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14153 RESCOMP
=$ac_cv_prog_RESCOMP
14154 if test -n "$RESCOMP"; then
14155 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14156 echo "${ECHO_T}$RESCOMP" >&6
14158 echo "$as_me:$LINENO: result: no" >&5
14159 echo "${ECHO_T}no" >&6
14163 if test -z "$ac_cv_prog_RESCOMP"; then
14164 ac_ct_RESCOMP
=$RESCOMP
14165 # Extract the first word of "wrc", so it can be a program name with args.
14166 set dummy wrc
; ac_word
=$2
14167 echo "$as_me:$LINENO: checking for $ac_word" >&5
14168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14169 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 if test -n "$ac_ct_RESCOMP"; then
14173 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
14175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14176 for as_dir
in $PATH
14179 test -z "$as_dir" && as_dir
=.
14180 for ac_exec_ext
in '' $ac_executable_extensions; do
14181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14182 ac_cv_prog_ac_ct_RESCOMP
="wrc"
14183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14191 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14192 if test -n "$ac_ct_RESCOMP"; then
14193 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14194 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14196 echo "$as_me:$LINENO: result: no" >&5
14197 echo "${ECHO_T}no" >&6
14200 RESCOMP
=$ac_ct_RESCOMP
14202 RESCOMP
="$ac_cv_prog_RESCOMP"
14207 *-*-cygwin* | *-*-mingw32* )
14208 if test -n "$ac_tool_prefix"; then
14209 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14210 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14211 echo "$as_me:$LINENO: checking for $ac_word" >&5
14212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14213 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 if test -n "$RESCOMP"; then
14217 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
14219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14220 for as_dir
in $PATH
14223 test -z "$as_dir" && as_dir
=.
14224 for ac_exec_ext
in '' $ac_executable_extensions; do
14225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14226 ac_cv_prog_RESCOMP
="${ac_tool_prefix}windres"
14227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14235 RESCOMP
=$ac_cv_prog_RESCOMP
14236 if test -n "$RESCOMP"; then
14237 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14238 echo "${ECHO_T}$RESCOMP" >&6
14240 echo "$as_me:$LINENO: result: no" >&5
14241 echo "${ECHO_T}no" >&6
14245 if test -z "$ac_cv_prog_RESCOMP"; then
14246 ac_ct_RESCOMP
=$RESCOMP
14247 # Extract the first word of "windres", so it can be a program name with args.
14248 set dummy windres
; ac_word
=$2
14249 echo "$as_me:$LINENO: checking for $ac_word" >&5
14250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14251 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 if test -n "$ac_ct_RESCOMP"; then
14255 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
14257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14258 for as_dir
in $PATH
14261 test -z "$as_dir" && as_dir
=.
14262 for ac_exec_ext
in '' $ac_executable_extensions; do
14263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14264 ac_cv_prog_ac_ct_RESCOMP
="windres"
14265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14273 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
14274 if test -n "$ac_ct_RESCOMP"; then
14275 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14276 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14278 echo "$as_me:$LINENO: result: no" >&5
14279 echo "${ECHO_T}no" >&6
14282 RESCOMP
=$ac_ct_RESCOMP
14284 RESCOMP
="$ac_cv_prog_RESCOMP"
14287 if test -n "$ac_tool_prefix"; then
14288 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14289 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14290 echo "$as_me:$LINENO: checking for $ac_word" >&5
14291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14292 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 if test -n "$DLLTOOL"; then
14296 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14299 for as_dir
in $PATH
14302 test -z "$as_dir" && as_dir
=.
14303 for ac_exec_ext
in '' $ac_executable_extensions; do
14304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14305 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14314 DLLTOOL
=$ac_cv_prog_DLLTOOL
14315 if test -n "$DLLTOOL"; then
14316 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14317 echo "${ECHO_T}$DLLTOOL" >&6
14319 echo "$as_me:$LINENO: result: no" >&5
14320 echo "${ECHO_T}no" >&6
14324 if test -z "$ac_cv_prog_DLLTOOL"; then
14325 ac_ct_DLLTOOL
=$DLLTOOL
14326 # Extract the first word of "dlltool", so it can be a program name with args.
14327 set dummy dlltool
; ac_word
=$2
14328 echo "$as_me:$LINENO: checking for $ac_word" >&5
14329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14330 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14331 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 if test -n "$ac_ct_DLLTOOL"; then
14334 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14337 for as_dir
in $PATH
14340 test -z "$as_dir" && as_dir
=.
14341 for ac_exec_ext
in '' $ac_executable_extensions; do
14342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14343 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14352 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14353 if test -n "$ac_ct_DLLTOOL"; then
14354 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14355 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14357 echo "$as_me:$LINENO: result: no" >&5
14358 echo "${ECHO_T}no" >&6
14361 DLLTOOL
=$ac_ct_DLLTOOL
14363 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14370 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14371 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14372 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14376 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14377 egrep -s GNU
> /dev
/null
); then
14378 wx_cv_prog_makeisgnu
="yes"
14380 wx_cv_prog_makeisgnu
="no"
14384 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14385 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14387 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14395 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14396 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14397 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14398 if test "${wx_cv_prog_makevpath+set}" = set; then
14399 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 cat - << EOF > confMake
14408 if test ! -d sub
; then
14411 echo dummy
> sub
/file
14412 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14414 rm -f sub
/file check final_file confMake
14416 if test "$RESULT" = 0; then
14417 wx_cv_prog_makevpath
="yes"
14419 wx_cv_prog_makevpath
="no"
14423 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14424 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14426 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14427 { { echo "$as_me:$LINENO: error:
14428 You need a make-utility that is able to use the variable
14430 If your version of make does not support VPATH correctly,
14431 please install GNU-make (possibly as gmake), and start
14432 configure with the following command:
14433 export MAKE=gmake; ./configure for sh-type shells
14434 setenv MAKE gmake; ./configure for csh-type shells
14435 Also please do remember to use gmake in this case every time
14436 you are trying to compile.
14438 echo "$as_me: error:
14439 You need a make-utility that is able to use the variable
14441 If your version of make does not support VPATH correctly,
14442 please install GNU-make (possibly as gmake), and start
14443 configure with the following command:
14444 export MAKE=gmake; ./configure for sh-type shells
14445 setenv MAKE gmake; ./configure for csh-type shells
14446 Also please do remember to use gmake in this case every time
14447 you are trying to compile.
14449 { (exit 1); exit 1; }; }
14451 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14452 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14454 if test "$LN_S" = "ln -s"; then
14455 echo "$as_me:$LINENO: result: yes" >&5
14456 echo "${ECHO_T}yes" >&6
14458 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14459 echo "${ECHO_T}no, using $LN_S" >&6
14464 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14465 CXXFLAGS
="$CXXFLAGS -qunique"
14469 powerpc
-*-darwin* )
14470 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14471 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14472 cat >conftest.
$ac_ext <<_ACEOF
14475 cat confdefs.h
>>conftest.
$ac_ext
14476 cat >>conftest.
$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14482 #ifndef __POWERPC__
14483 choke me for lack of PowerPC
14490 rm -f conftest.
$ac_objext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14492 (eval $ac_compile) 2>conftest.er1
14494 grep -v '^ *+' conftest.er1
>conftest.err
14496 cat conftest.err
>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try
='test -z "$ac_c_werror_flag"
14500 || test ! -s conftest.err'
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try
='test -s conftest.$ac_objext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 echo "$as_me:$LINENO: result: yes" >&5
14513 echo "${ECHO_T}yes" >&6
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.
$ac_ext >&5
14518 echo "$as_me:$LINENO: result: no" >&5
14519 echo "${ECHO_T}no" >&6
14520 cat >>confdefs.h
<<\_ACEOF
14521 #define __POWERPC__ 1
14526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14532 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14533 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14534 cat >conftest.
$ac_ext <<_ACEOF
14537 cat confdefs.h
>>conftest.
$ac_ext
14538 cat >>conftest.
$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14540 #include <CoreFoundation/CFBase.h>
14550 rm -f conftest.
$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552 (eval $ac_compile) 2>conftest.er1
14554 grep -v '^ *+' conftest.er1
>conftest.err
14556 cat conftest.err
>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try
='test -z "$ac_c_werror_flag"
14560 || test ! -s conftest.err'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; } &&
14566 { ac_try
='test -s conftest.$ac_objext'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; }; then
14572 echo "$as_me:$LINENO: result: yes" >&5
14573 echo "${ECHO_T}yes" >&6
14575 echo "$as_me: failed program was:" >&5
14576 sed 's/^/| /' conftest.
$ac_ext >&5
14578 echo "$as_me:$LINENO: result: no" >&5
14579 echo "${ECHO_T}no" >&6
14580 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14581 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14582 cat >conftest.
$ac_ext <<_ACEOF
14585 cat confdefs.h
>>conftest.
$ac_ext
14586 cat >>conftest.
$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14588 #define __CF_USE_FRAMEWORK_INCLUDES__
14589 #include <CoreFoundation/CFBase.h>
14599 rm -f conftest.
$ac_objext
14600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14601 (eval $ac_compile) 2>conftest.er1
14603 grep -v '^ *+' conftest.er1
>conftest.err
14605 cat conftest.err
>&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } &&
14608 { ac_try
='test -z "$ac_c_werror_flag"
14609 || test ! -s conftest.err'
14610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14611 (eval $ac_try) 2>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); }; } &&
14615 { ac_try
='test -s conftest.$ac_objext'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; }; then
14621 echo "$as_me:$LINENO: result: yes" >&5
14622 echo "${ECHO_T}yes" >&6
14623 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.
$ac_ext >&5
14628 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14629 See \`config.log' for more details." >&5
14630 echo "$as_me: error: no. CoreFoundation not available.
14631 See \`config.log' for more details." >&2;}
14632 { (exit 1); exit 1; }; }
14635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14644 *-pc-os2_emx | *-pc-os2-emx )
14645 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14646 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14647 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14648 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14649 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 ac_check_lib_save_LIBS
=$LIBS
14652 LIBS
="-lcExt $LIBS"
14653 cat >conftest.
$ac_ext <<_ACEOF
14656 cat confdefs.h
>>conftest.
$ac_ext
14657 cat >>conftest.
$ac_ext <<_ACEOF
14658 /* end confdefs.h. */
14660 /* Override any gcc2 internal prototype to avoid an error. */
14664 /* We use char because int might match the return type of a gcc2
14665 builtin and then its argument prototype would still apply. */
14675 rm -f conftest.
$ac_objext conftest
$ac_exeext
14676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14677 (eval $ac_link) 2>conftest.er1
14679 grep -v '^ *+' conftest.er1
>conftest.err
14681 cat conftest.err
>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } &&
14684 { ac_try
='test -z "$ac_c_werror_flag"
14685 || test ! -s conftest.err'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; } &&
14691 { ac_try
='test -s conftest$ac_exeext'
14692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693 (eval $ac_try) 2>&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); }; }; then
14697 ac_cv_lib_cExt_drand48
=yes
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.
$ac_ext >&5
14702 ac_cv_lib_cExt_drand48
=no
14704 rm -f conftest.err conftest.
$ac_objext \
14705 conftest
$ac_exeext conftest.
$ac_ext
14706 LIBS
=$ac_check_lib_save_LIBS
14708 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14709 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14710 if test $ac_cv_lib_cExt_drand48 = yes; then
14711 LIBS
="$LIBS -lcExt"
14715 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
14717 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14718 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14719 if test "${wx_cv_gccversion+set}" = set; then
14720 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 if test "$cross_compiling" = yes; then
14724 wx_cv_gccversion
="EMX2"
14727 cat >conftest.
$ac_ext <<_ACEOF
14730 cat confdefs.h
>>conftest.
$ac_ext
14731 cat >>conftest.
$ac_ext <<_ACEOF
14732 /* end confdefs.h. */
14738 FILE *f=fopen("conftestval", "w");
14743 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14745 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14755 rm -f conftest
$ac_exeext
14756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14757 (eval $ac_link) 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); }; }; then
14766 wx_cv_gccversion
=`cat conftestval`
14768 echo "$as_me: program exited with status $ac_status" >&5
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.
$ac_ext >&5
14772 ( exit $ac_status )
14773 wx_cv_gccversion
="EMX2"
14775 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14779 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14780 echo "${ECHO_T}$wx_cv_gccversion" >&6
14781 if test "$wx_cv_gccversion" = "EMX2"; then
14782 LIBS
="$LIBS -lstdcpp"
14783 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14785 if test "$wx_cv_gccversion" = "EMX3"; then
14786 LIBS
="$LIBS -lstdcxx -lgcc"
14787 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14789 LIBS
="$LIBS -lstdc++"
14792 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14793 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14794 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14804 ac_cpp
='$CXXCPP $CPPFLAGS'
14805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14810 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14811 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14812 if test "${ac_cv_string_strcasecmp+set}" = set; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 cat >conftest.
$ac_ext <<_ACEOF
14819 cat confdefs.h
>>conftest.
$ac_ext
14820 cat >>conftest.
$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14823 #include <string.h>
14829 strcasecmp("foo", "bar");
14835 rm -f conftest.
$ac_objext conftest
$ac_exeext
14836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14837 (eval $ac_link) 2>conftest.er1
14839 grep -v '^ *+' conftest.er1
>conftest.err
14841 cat conftest.err
>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } &&
14844 { ac_try
='test -z "$ac_cxx_werror_flag"
14845 || test ! -s conftest.err'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; } &&
14851 { ac_try
='test -s conftest$ac_exeext'
14852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; }; then
14857 ac_cv_string_strcasecmp
=yes
14859 echo "$as_me: failed program was:" >&5
14860 sed 's/^/| /' conftest.
$ac_ext >&5
14862 ac_cv_string_strcasecmp
=no
14865 rm -f conftest.err conftest.
$ac_objext \
14866 conftest
$ac_exeext conftest.
$ac_ext
14869 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
14870 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
14872 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
14873 cat >>confdefs.h
<<\_ACEOF
14874 #define HAVE_STRCASECMP_IN_STRING_H 1
14878 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
14879 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
14880 if test "${ac_cv_strings_strcasecmp+set}" = set; then
14881 echo $ECHO_N "(cached) $ECHO_C" >&6
14884 cat >conftest.
$ac_ext <<_ACEOF
14887 cat confdefs.h
>>conftest.
$ac_ext
14888 cat >>conftest.
$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14891 #include <strings.h>
14897 strcasecmp("foo", "bar");
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_cxx_werror_flag"
14913 || test ! -s conftest.err'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; } &&
14919 { ac_try
='test -s conftest$ac_exeext'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; }; then
14925 ac_cv_strings_strcasecmp
=yes
14927 echo "$as_me: failed program was:" >&5
14928 sed 's/^/| /' conftest.
$ac_ext >&5
14930 ac_cv_strings_strcasecmp
=no
14933 rm -f conftest.err conftest.
$ac_objext \
14934 conftest
$ac_exeext conftest.
$ac_ext
14937 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
14938 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
14940 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
14941 cat >>confdefs.h
<<\_ACEOF
14942 #define HAVE_STRCASECMP_IN_STRINGS_H 1
14946 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
14947 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
14948 { (exit 1); exit 1; }; }
14953 ac_cpp
='$CPP $CPPFLAGS'
14954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14962 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14963 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14964 if test "${ac_cv_header_stdc+set}" = set; then
14965 echo $ECHO_N "(cached) $ECHO_C" >&6
14967 cat >conftest.
$ac_ext <<_ACEOF
14970 cat confdefs.h
>>conftest.
$ac_ext
14971 cat >>conftest.
$ac_ext <<_ACEOF
14972 /* end confdefs.h. */
14973 #include <stdlib.h>
14974 #include <stdarg.h>
14975 #include <string.h>
14986 rm -f conftest.
$ac_objext
14987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14988 (eval $ac_compile) 2>conftest.er1
14990 grep -v '^ *+' conftest.er1
>conftest.err
14992 cat conftest.err
>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } &&
14995 { ac_try
='test -z "$ac_c_werror_flag"
14996 || test ! -s conftest.err'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; } &&
15002 { ac_try
='test -s conftest.$ac_objext'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; }; then
15008 ac_cv_header_stdc
=yes
15010 echo "$as_me: failed program was:" >&5
15011 sed 's/^/| /' conftest.
$ac_ext >&5
15013 ac_cv_header_stdc
=no
15015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15017 if test $ac_cv_header_stdc = yes; then
15018 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15019 cat >conftest.
$ac_ext <<_ACEOF
15022 cat confdefs.h
>>conftest.
$ac_ext
15023 cat >>conftest.
$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15025 #include <string.h>
15028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15029 $EGREP "memchr" >/dev
/null
2>&1; then
15032 ac_cv_header_stdc
=no
15038 if test $ac_cv_header_stdc = yes; then
15039 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15040 cat >conftest.
$ac_ext <<_ACEOF
15043 cat confdefs.h
>>conftest.
$ac_ext
15044 cat >>conftest.
$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15046 #include <stdlib.h>
15049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15050 $EGREP "free" >/dev
/null
2>&1; then
15053 ac_cv_header_stdc
=no
15059 if test $ac_cv_header_stdc = yes; then
15060 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15061 if test "$cross_compiling" = yes; then
15064 cat >conftest.
$ac_ext <<_ACEOF
15067 cat confdefs.h
>>conftest.
$ac_ext
15068 cat >>conftest.
$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15071 #if ((' ' & 0x0FF) == 0x020)
15072 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15073 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15075 # define ISLOWER(c) \
15076 (('a' <= (c) && (c) <= 'i') \
15077 || ('j' <= (c) && (c) <= 'r') \
15078 || ('s' <= (c) && (c) <= 'z'))
15079 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15082 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15087 for (i = 0; i < 256; i++)
15088 if (XOR (islower (i), ISLOWER (i))
15089 || toupper (i) != TOUPPER (i))
15094 rm -f conftest
$ac_exeext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15096 (eval $ac_link) 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15101 (eval $ac_try) 2>&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); }; }; then
15107 echo "$as_me: program exited with status $ac_status" >&5
15108 echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.
$ac_ext >&5
15111 ( exit $ac_status )
15112 ac_cv_header_stdc
=no
15114 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15118 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15119 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15120 if test $ac_cv_header_stdc = yes; then
15122 cat >>confdefs.h
<<\_ACEOF
15123 #define STDC_HEADERS 1
15128 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15138 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15139 inttypes.h stdint.h unistd.h
15141 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15142 echo "$as_me:$LINENO: checking for $ac_header" >&5
15143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 cat >conftest.
$ac_ext <<_ACEOF
15150 cat confdefs.h
>>conftest.
$ac_ext
15151 cat >>conftest.
$ac_ext <<_ACEOF
15152 /* end confdefs.h. */
15153 $ac_includes_default
15155 #include <$ac_header>
15157 rm -f conftest.
$ac_objext
15158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15159 (eval $ac_compile) 2>conftest.er1
15161 grep -v '^ *+' conftest.er1
>conftest.err
15163 cat conftest.err
>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); } &&
15166 { ac_try
='test -z "$ac_c_werror_flag"
15167 || test ! -s conftest.err'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; } &&
15173 { ac_try
='test -s conftest.$ac_objext'
15174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15175 (eval $ac_try) 2>&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }; }; then
15179 eval "$as_ac_Header=yes"
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.
$ac_ext >&5
15184 eval "$as_ac_Header=no"
15186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15191 cat >>confdefs.h
<<_ACEOF
15192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15201 for ac_header
in stdlib.h
15203 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15205 echo "$as_me:$LINENO: checking for $ac_header" >&5
15206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15213 # Is the header compilable?
15214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15216 cat >conftest.
$ac_ext <<_ACEOF
15219 cat confdefs.h
>>conftest.
$ac_ext
15220 cat >>conftest.
$ac_ext <<_ACEOF
15221 /* end confdefs.h. */
15222 $ac_includes_default
15223 #include <$ac_header>
15225 rm -f conftest.
$ac_objext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15227 (eval $ac_compile) 2>conftest.er1
15229 grep -v '^ *+' conftest.er1
>conftest.err
15231 cat conftest.err
>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
15234 { ac_try
='test -z "$ac_c_werror_flag"
15235 || test ! -s conftest.err'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; } &&
15241 { ac_try
='test -s conftest.$ac_objext'
15242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15243 (eval $ac_try) 2>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); }; }; then
15247 ac_header_compiler
=yes
15249 echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.
$ac_ext >&5
15252 ac_header_compiler
=no
15254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15256 echo "${ECHO_T}$ac_header_compiler" >&6
15258 # Is the header present?
15259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15261 cat >conftest.
$ac_ext <<_ACEOF
15264 cat confdefs.h
>>conftest.
$ac_ext
15265 cat >>conftest.
$ac_ext <<_ACEOF
15266 /* end confdefs.h. */
15267 #include <$ac_header>
15269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15270 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15272 grep -v '^ *+' conftest.er1
>conftest.err
15274 cat conftest.err
>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); } >/dev
/null
; then
15277 if test -s conftest.err
; then
15278 ac_cpp_err
=$ac_c_preproc_warn_flag
15279 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15286 if test -z "$ac_cpp_err"; then
15287 ac_header_preproc
=yes
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.
$ac_ext >&5
15292 ac_header_preproc
=no
15294 rm -f conftest.err conftest.
$ac_ext
15295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15296 echo "${ECHO_T}$ac_header_preproc" >&6
15298 # So? What about this header?
15299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15305 ac_header_preproc
=yes
15308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15322 ## ----------------------------------------- ##
15323 ## Report this to wx-dev@lists.wxwidgets.org ##
15324 ## ----------------------------------------- ##
15327 sed "s/^/$as_me: WARNING: /" >&2
15330 echo "$as_me:$LINENO: checking for $ac_header" >&5
15331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 eval "$as_ac_Header=\$ac_header_preproc"
15337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15342 cat >>confdefs.h
<<_ACEOF
15343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15351 for ac_header
in malloc.h
15353 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15355 echo "$as_me:$LINENO: checking for $ac_header" >&5
15356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15358 echo $ECHO_N "(cached) $ECHO_C" >&6
15360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15363 # Is the header compilable?
15364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15366 cat >conftest.
$ac_ext <<_ACEOF
15369 cat confdefs.h
>>conftest.
$ac_ext
15370 cat >>conftest.
$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15372 $ac_includes_default
15373 #include <$ac_header>
15375 rm -f conftest.
$ac_objext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15377 (eval $ac_compile) 2>conftest.er1
15379 grep -v '^ *+' conftest.er1
>conftest.err
15381 cat conftest.err
>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try
='test -z "$ac_c_werror_flag"
15385 || test ! -s conftest.err'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; } &&
15391 { ac_try
='test -s conftest.$ac_objext'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; }; then
15397 ac_header_compiler
=yes
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 ac_header_compiler
=no
15404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15406 echo "${ECHO_T}$ac_header_compiler" >&6
15408 # Is the header present?
15409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15411 cat >conftest.
$ac_ext <<_ACEOF
15414 cat confdefs.h
>>conftest.
$ac_ext
15415 cat >>conftest.
$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15417 #include <$ac_header>
15419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15422 grep -v '^ *+' conftest.er1
>conftest.err
15424 cat conftest.err
>&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } >/dev
/null
; then
15427 if test -s conftest.err
; then
15428 ac_cpp_err
=$ac_c_preproc_warn_flag
15429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15436 if test -z "$ac_cpp_err"; then
15437 ac_header_preproc
=yes
15439 echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.
$ac_ext >&5
15442 ac_header_preproc
=no
15444 rm -f conftest.err conftest.
$ac_ext
15445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15446 echo "${ECHO_T}$ac_header_preproc" >&6
15448 # So? What about this header?
15449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15455 ac_header_preproc
=yes
15458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15472 ## ----------------------------------------- ##
15473 ## Report this to wx-dev@lists.wxwidgets.org ##
15474 ## ----------------------------------------- ##
15477 sed "s/^/$as_me: WARNING: /" >&2
15480 echo "$as_me:$LINENO: checking for $ac_header" >&5
15481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15485 eval "$as_ac_Header=\$ac_header_preproc"
15487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15492 cat >>confdefs.h
<<_ACEOF
15493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15501 for ac_header
in unistd.h
15503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15505 echo "$as_me:$LINENO: checking for $ac_header" >&5
15506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15513 # Is the header compilable?
15514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15523 #include <$ac_header>
15525 rm -f conftest.
$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>conftest.er1
15529 grep -v '^ *+' conftest.er1
>conftest.err
15531 cat conftest.err
>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } &&
15534 { ac_try
='test -z "$ac_c_werror_flag"
15535 || test ! -s conftest.err'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; } &&
15541 { ac_try
='test -s conftest.$ac_objext'
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543 (eval $ac_try) 2>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then
15547 ac_header_compiler
=yes
15549 echo "$as_me: failed program was:" >&5
15550 sed 's/^/| /' conftest.
$ac_ext >&5
15552 ac_header_compiler
=no
15554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15556 echo "${ECHO_T}$ac_header_compiler" >&6
15558 # Is the header present?
15559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15561 cat >conftest.
$ac_ext <<_ACEOF
15564 cat confdefs.h
>>conftest.
$ac_ext
15565 cat >>conftest.
$ac_ext <<_ACEOF
15566 /* end confdefs.h. */
15567 #include <$ac_header>
15569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15572 grep -v '^ *+' conftest.er1
>conftest.err
15574 cat conftest.err
>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } >/dev
/null
; then
15577 if test -s conftest.err
; then
15578 ac_cpp_err
=$ac_c_preproc_warn_flag
15579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15586 if test -z "$ac_cpp_err"; then
15587 ac_header_preproc
=yes
15589 echo "$as_me: failed program was:" >&5
15590 sed 's/^/| /' conftest.
$ac_ext >&5
15592 ac_header_preproc
=no
15594 rm -f conftest.err conftest.
$ac_ext
15595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15596 echo "${ECHO_T}$ac_header_preproc" >&6
15598 # So? What about this header?
15599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15605 ac_header_preproc
=yes
15608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15622 ## ----------------------------------------- ##
15623 ## Report this to wx-dev@lists.wxwidgets.org ##
15624 ## ----------------------------------------- ##
15627 sed "s/^/$as_me: WARNING: /" >&2
15630 echo "$as_me:$LINENO: checking for $ac_header" >&5
15631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 eval "$as_ac_Header=\$ac_header_preproc"
15637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15642 cat >>confdefs.h
<<_ACEOF
15643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15651 for ac_header
in wchar.h
15653 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15655 echo "$as_me:$LINENO: checking for $ac_header" >&5
15656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15658 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15663 # Is the header compilable?
15664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15666 cat >conftest.
$ac_ext <<_ACEOF
15669 cat confdefs.h
>>conftest.
$ac_ext
15670 cat >>conftest.
$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 $ac_includes_default
15673 #include <$ac_header>
15675 rm -f conftest.
$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>conftest.er1
15679 grep -v '^ *+' conftest.er1
>conftest.err
15681 cat conftest.err
>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try
='test -z "$ac_c_werror_flag"
15685 || test ! -s conftest.err'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; } &&
15691 { ac_try
='test -s conftest.$ac_objext'
15692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 (eval $ac_try) 2>&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; }; then
15697 ac_header_compiler
=yes
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.
$ac_ext >&5
15702 ac_header_compiler
=no
15704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15706 echo "${ECHO_T}$ac_header_compiler" >&6
15708 # Is the header present?
15709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15711 cat >conftest.
$ac_ext <<_ACEOF
15714 cat confdefs.h
>>conftest.
$ac_ext
15715 cat >>conftest.
$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717 #include <$ac_header>
15719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15722 grep -v '^ *+' conftest.er1
>conftest.err
15724 cat conftest.err
>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } >/dev
/null
; then
15727 if test -s conftest.err
; then
15728 ac_cpp_err
=$ac_c_preproc_warn_flag
15729 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15736 if test -z "$ac_cpp_err"; then
15737 ac_header_preproc
=yes
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.
$ac_ext >&5
15742 ac_header_preproc
=no
15744 rm -f conftest.err conftest.
$ac_ext
15745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15746 echo "${ECHO_T}$ac_header_preproc" >&6
15748 # So? What about this header?
15749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15754 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15755 ac_header_preproc
=yes
15758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15762 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15763 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15764 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15765 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15768 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15769 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15772 ## ----------------------------------------- ##
15773 ## Report this to wx-dev@lists.wxwidgets.org ##
15774 ## ----------------------------------------- ##
15777 sed "s/^/$as_me: WARNING: /" >&2
15780 echo "$as_me:$LINENO: checking for $ac_header" >&5
15781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15783 echo $ECHO_N "(cached) $ECHO_C" >&6
15785 eval "$as_ac_Header=\$ac_header_preproc"
15787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15792 cat >>confdefs.h
<<_ACEOF
15793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15801 if test "$ac_cv_header_wchar_h" != "yes"; then
15803 for ac_header
in wcstr.h
15805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15807 echo "$as_me:$LINENO: checking for $ac_header" >&5
15808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15815 # Is the header compilable?
15816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15818 cat >conftest.
$ac_ext <<_ACEOF
15821 cat confdefs.h
>>conftest.
$ac_ext
15822 cat >>conftest.
$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15824 $ac_includes_default
15825 #include <$ac_header>
15827 rm -f conftest.
$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15831 grep -v '^ *+' conftest.er1
>conftest.err
15833 cat conftest.err
>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try
='test -z "$ac_c_werror_flag"
15837 || test ! -s conftest.err'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; } &&
15843 { ac_try
='test -s conftest.$ac_objext'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; }; then
15849 ac_header_compiler
=yes
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.
$ac_ext >&5
15854 ac_header_compiler
=no
15856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15858 echo "${ECHO_T}$ac_header_compiler" >&6
15860 # Is the header present?
15861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15863 cat >conftest.
$ac_ext <<_ACEOF
15866 cat confdefs.h
>>conftest.
$ac_ext
15867 cat >>conftest.
$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15869 #include <$ac_header>
15871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15874 grep -v '^ *+' conftest.er1
>conftest.err
15876 cat conftest.err
>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } >/dev
/null
; then
15879 if test -s conftest.err
; then
15880 ac_cpp_err
=$ac_c_preproc_warn_flag
15881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15888 if test -z "$ac_cpp_err"; then
15889 ac_header_preproc
=yes
15891 echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.
$ac_ext >&5
15894 ac_header_preproc
=no
15896 rm -f conftest.err conftest.
$ac_ext
15897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15898 echo "${ECHO_T}$ac_header_preproc" >&6
15900 # So? What about this header?
15901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15907 ac_header_preproc
=yes
15910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15924 ## ----------------------------------------- ##
15925 ## Report this to wx-dev@lists.wxwidgets.org ##
15926 ## ----------------------------------------- ##
15929 sed "s/^/$as_me: WARNING: /" >&2
15932 echo "$as_me:$LINENO: checking for $ac_header" >&5
15933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 eval "$as_ac_Header=\$ac_header_preproc"
15939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15944 cat >>confdefs.h
<<_ACEOF
15945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15955 for ac_header
in fnmatch.h
15957 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15959 echo "$as_me:$LINENO: checking for $ac_header" >&5
15960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15962 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15967 # Is the header compilable?
15968 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15970 cat >conftest.
$ac_ext <<_ACEOF
15973 cat confdefs.h
>>conftest.
$ac_ext
15974 cat >>conftest.
$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 $ac_includes_default
15977 #include <$ac_header>
15979 rm -f conftest.
$ac_objext
15980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15981 (eval $ac_compile) 2>conftest.er1
15983 grep -v '^ *+' conftest.er1
>conftest.err
15985 cat conftest.err
>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } &&
15988 { ac_try
='test -z "$ac_c_werror_flag"
15989 || test ! -s conftest.err'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; } &&
15995 { ac_try
='test -s conftest.$ac_objext'
15996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; }; then
16001 ac_header_compiler
=yes
16003 echo "$as_me: failed program was:" >&5
16004 sed 's/^/| /' conftest.
$ac_ext >&5
16006 ac_header_compiler
=no
16008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16010 echo "${ECHO_T}$ac_header_compiler" >&6
16012 # Is the header present?
16013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16015 cat >conftest.
$ac_ext <<_ACEOF
16018 cat confdefs.h
>>conftest.
$ac_ext
16019 cat >>conftest.
$ac_ext <<_ACEOF
16020 /* end confdefs.h. */
16021 #include <$ac_header>
16023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16024 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16026 grep -v '^ *+' conftest.er1
>conftest.err
16028 cat conftest.err
>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } >/dev
/null
; then
16031 if test -s conftest.err
; then
16032 ac_cpp_err
=$ac_c_preproc_warn_flag
16033 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16040 if test -z "$ac_cpp_err"; then
16041 ac_header_preproc
=yes
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.
$ac_ext >&5
16046 ac_header_preproc
=no
16048 rm -f conftest.err conftest.
$ac_ext
16049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16050 echo "${ECHO_T}$ac_header_preproc" >&6
16052 # So? What about this header?
16053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16059 ac_header_preproc
=yes
16062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16076 ## ----------------------------------------- ##
16077 ## Report this to wx-dev@lists.wxwidgets.org ##
16078 ## ----------------------------------------- ##
16081 sed "s/^/$as_me: WARNING: /" >&2
16084 echo "$as_me:$LINENO: checking for $ac_header" >&5
16085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 eval "$as_ac_Header=\$ac_header_preproc"
16091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16096 cat >>confdefs.h
<<_ACEOF
16097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16106 for ac_header
in langinfo.h
16108 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16110 echo "$as_me:$LINENO: checking for $ac_header" >&5
16111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16118 # Is the header compilable?
16119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16121 cat >conftest.
$ac_ext <<_ACEOF
16124 cat confdefs.h
>>conftest.
$ac_ext
16125 cat >>conftest.
$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 $ac_includes_default
16128 #include <$ac_header>
16130 rm -f conftest.
$ac_objext
16131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16132 (eval $ac_compile) 2>conftest.er1
16134 grep -v '^ *+' conftest.er1
>conftest.err
16136 cat conftest.err
>&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } &&
16139 { ac_try
='test -z "$ac_c_werror_flag"
16140 || test ! -s conftest.err'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; } &&
16146 { ac_try
='test -s conftest.$ac_objext'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; }; then
16152 ac_header_compiler
=yes
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.
$ac_ext >&5
16157 ac_header_compiler
=no
16159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16161 echo "${ECHO_T}$ac_header_compiler" >&6
16163 # Is the header present?
16164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16166 cat >conftest.
$ac_ext <<_ACEOF
16169 cat confdefs.h
>>conftest.
$ac_ext
16170 cat >>conftest.
$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16172 #include <$ac_header>
16174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16177 grep -v '^ *+' conftest.er1
>conftest.err
16179 cat conftest.err
>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } >/dev
/null
; then
16182 if test -s conftest.err
; then
16183 ac_cpp_err
=$ac_c_preproc_warn_flag
16184 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16191 if test -z "$ac_cpp_err"; then
16192 ac_header_preproc
=yes
16194 echo "$as_me: failed program was:" >&5
16195 sed 's/^/| /' conftest.
$ac_ext >&5
16197 ac_header_preproc
=no
16199 rm -f conftest.err conftest.
$ac_ext
16200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16201 echo "${ECHO_T}$ac_header_preproc" >&6
16203 # So? What about this header?
16204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16210 ac_header_preproc
=yes
16213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16227 ## ----------------------------------------- ##
16228 ## Report this to wx-dev@lists.wxwidgets.org ##
16229 ## ----------------------------------------- ##
16232 sed "s/^/$as_me: WARNING: /" >&2
16235 echo "$as_me:$LINENO: checking for $ac_header" >&5
16236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 eval "$as_ac_Header=\$ac_header_preproc"
16242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16247 cat >>confdefs.h
<<_ACEOF
16248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16257 *-pc-os2_emx | *-pc-os2-emx )
16258 if test $ac_cv_header_langinfo_h = "yes" \
16259 -a \
( "$wx_cv_gccversion" = "EMX2" \
16260 -o "$wx_cv_gccversion" = "EMX3" \
16261 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16262 LIBS
="$LIBS -lintl"
16268 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16269 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16270 if test "${ac_cv_c_const+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 cat >conftest.
$ac_ext <<_ACEOF
16276 cat confdefs.h
>>conftest.
$ac_ext
16277 cat >>conftest.
$ac_ext <<_ACEOF
16278 /* end confdefs.h. */
16283 /* FIXME: Include the comments suggested by Paul. */
16284 #ifndef __cplusplus
16285 /* Ultrix mips cc rejects this. */
16286 typedef int charset[2];
16288 /* SunOS 4.1.1 cc rejects this. */
16289 char const *const *ccp;
16291 /* NEC SVR4.0.2 mips cc rejects this. */
16292 struct point {int x, y;};
16293 static struct point const zero = {0,0};
16294 /* AIX XL C 1.02.0.0 rejects this.
16295 It does not let you subtract one const X* pointer from another in
16296 an arm of an if-expression whose if-part is not a constant
16298 const char *g = "string";
16299 ccp = &g + (g ? g-g : 0);
16300 /* HPUX 7.0 cc rejects these. */
16303 ccp = (char const *const *) p;
16304 { /* SCO 3.2v4 cc rejects this. */
16306 char const *s = 0 ? (char *) 0 : (char const *) 0;
16310 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16311 int x[] = {25, 17};
16312 const int *foo = &x[0];
16315 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16316 typedef const int *iptr;
16320 { /* AIX XL C 1.02.0.0 rejects this saying
16321 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16322 struct s { int j; const int *ap[3]; };
16323 struct s *b; b->j = 5;
16325 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16326 const int foo = 10;
16334 rm -f conftest.
$ac_objext
16335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16336 (eval $ac_compile) 2>conftest.er1
16338 grep -v '^ *+' conftest.er1
>conftest.err
16340 cat conftest.err
>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } &&
16343 { ac_try
='test -z "$ac_c_werror_flag"
16344 || test ! -s conftest.err'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; } &&
16350 { ac_try
='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16365 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16366 echo "${ECHO_T}$ac_cv_c_const" >&6
16367 if test $ac_cv_c_const = no
; then
16369 cat >>confdefs.h
<<\_ACEOF
16375 echo "$as_me:$LINENO: checking for inline" >&5
16376 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16377 if test "${ac_cv_c_inline+set}" = set; then
16378 echo $ECHO_N "(cached) $ECHO_C" >&6
16381 for ac_kw
in inline __inline__ __inline
; do
16382 cat >conftest.
$ac_ext <<_ACEOF
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16388 #ifndef __cplusplus
16390 static $ac_kw foo_t static_foo () {return 0; }
16391 $ac_kw foo_t foo () {return 0; }
16395 rm -f conftest.
$ac_objext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16397 (eval $ac_compile) 2>conftest.er1
16399 grep -v '^ *+' conftest.er1
>conftest.err
16401 cat conftest.err
>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try
='test -z "$ac_c_werror_flag"
16405 || test ! -s conftest.err'
16406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407 (eval $ac_try) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; } &&
16411 { ac_try
='test -s conftest.$ac_objext'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; }; then
16417 ac_cv_c_inline
=$ac_kw; break
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.
$ac_ext >&5
16423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16427 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16428 echo "${ECHO_T}$ac_cv_c_inline" >&6
16431 case $ac_cv_c_inline in
16434 case $ac_cv_c_inline in
16436 *) ac_val
=$ac_cv_c_inline;;
16438 cat >>confdefs.h
<<_ACEOF
16439 #ifndef __cplusplus
16440 #define inline $ac_val
16447 echo "$as_me:$LINENO: checking for char" >&5
16448 echo $ECHO_N "checking for char... $ECHO_C" >&6
16449 if test "${ac_cv_type_char+set}" = set; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 cat >conftest.
$ac_ext <<_ACEOF
16455 cat confdefs.h
>>conftest.
$ac_ext
16456 cat >>conftest.
$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458 $ac_includes_default
16470 rm -f conftest.
$ac_objext
16471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16472 (eval $ac_compile) 2>conftest.er1
16474 grep -v '^ *+' conftest.er1
>conftest.err
16476 cat conftest.err
>&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } &&
16479 { ac_try
='test -z "$ac_c_werror_flag"
16480 || test ! -s conftest.err'
16481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482 (eval $ac_try) 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; } &&
16486 { ac_try
='test -s conftest.$ac_objext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16492 ac_cv_type_char
=yes
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.
$ac_ext >&5
16499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16501 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16502 echo "${ECHO_T}$ac_cv_type_char" >&6
16504 echo "$as_me:$LINENO: checking size of char" >&5
16505 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16506 if test "${ac_cv_sizeof_char+set}" = set; then
16507 echo $ECHO_N "(cached) $ECHO_C" >&6
16509 if test "$ac_cv_type_char" = yes; then
16510 # The cast to unsigned long works around a bug in the HP C Compiler
16511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16513 # This bug is HP SR number 8606223364.
16514 if test "$cross_compiling" = yes; then
16515 # Depending upon the size, compute the lo and hi bounds.
16516 cat >conftest.
$ac_ext <<_ACEOF
16519 cat confdefs.h
>>conftest.
$ac_ext
16520 cat >>conftest.
$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 $ac_includes_default
16526 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16533 rm -f conftest.
$ac_objext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16535 (eval $ac_compile) 2>conftest.er1
16537 grep -v '^ *+' conftest.er1
>conftest.err
16539 cat conftest.err
>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } &&
16542 { ac_try
='test -z "$ac_c_werror_flag"
16543 || test ! -s conftest.err'
16544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545 (eval $ac_try) 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; } &&
16549 { ac_try
='test -s conftest.$ac_objext'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; }; then
16557 cat >conftest.
$ac_ext <<_ACEOF
16560 cat confdefs.h
>>conftest.
$ac_ext
16561 cat >>conftest.
$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563 $ac_includes_default
16567 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16574 rm -f conftest.
$ac_objext
16575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16576 (eval $ac_compile) 2>conftest.er1
16578 grep -v '^ *+' conftest.er1
>conftest.err
16580 cat conftest.err
>&5
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); } &&
16583 { ac_try
='test -z "$ac_c_werror_flag"
16584 || test ! -s conftest.err'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; } &&
16590 { ac_try
='test -s conftest.$ac_objext'
16591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16592 (eval $ac_try) 2>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); }; }; then
16596 ac_hi
=$ac_mid; break
16598 echo "$as_me: failed program was:" >&5
16599 sed 's/^/| /' conftest.
$ac_ext >&5
16601 ac_lo
=`expr $ac_mid + 1`
16602 if test $ac_lo -le $ac_mid; then
16606 ac_mid
=`expr 2 '*' $ac_mid + 1`
16608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16611 echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.
$ac_ext >&5
16614 cat >conftest.
$ac_ext <<_ACEOF
16617 cat confdefs.h
>>conftest.
$ac_ext
16618 cat >>conftest.
$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16620 $ac_includes_default
16624 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16631 rm -f conftest.
$ac_objext
16632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16633 (eval $ac_compile) 2>conftest.er1
16635 grep -v '^ *+' conftest.er1
>conftest.err
16637 cat conftest.err
>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); } &&
16640 { ac_try
='test -z "$ac_c_werror_flag"
16641 || test ! -s conftest.err'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; } &&
16647 { ac_try
='test -s conftest.$ac_objext'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16655 cat >conftest.
$ac_ext <<_ACEOF
16658 cat confdefs.h
>>conftest.
$ac_ext
16659 cat >>conftest.
$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16661 $ac_includes_default
16665 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16672 rm -f conftest.
$ac_objext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16674 (eval $ac_compile) 2>conftest.er1
16676 grep -v '^ *+' conftest.er1
>conftest.err
16678 cat conftest.err
>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try
='test -z "$ac_c_werror_flag"
16682 || test ! -s conftest.err'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; } &&
16688 { ac_try
='test -s conftest.$ac_objext'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; }; then
16694 ac_lo
=$ac_mid; break
16696 echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.
$ac_ext >&5
16699 ac_hi
=`expr '(' $ac_mid ')' - 1`
16700 if test $ac_mid -le $ac_hi; then
16704 ac_mid
=`expr 2 '*' $ac_mid`
16706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.
$ac_ext >&5
16714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16717 # Binary search between lo and hi bounds.
16718 while test "x$ac_lo" != "x$ac_hi"; do
16719 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16720 cat >conftest.
$ac_ext <<_ACEOF
16723 cat confdefs.h
>>conftest.
$ac_ext
16724 cat >>conftest.
$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 $ac_includes_default
16730 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16737 rm -f conftest.
$ac_objext
16738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16739 (eval $ac_compile) 2>conftest.er1
16741 grep -v '^ *+' conftest.er1
>conftest.err
16743 cat conftest.err
>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try
='test -z "$ac_c_werror_flag"
16747 || test ! -s conftest.err'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; } &&
16753 { ac_try
='test -s conftest.$ac_objext'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.
$ac_ext >&5
16764 ac_lo
=`expr '(' $ac_mid ')' + 1`
16766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16769 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16770 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16771 See \`config.log' for more details." >&5
16772 echo "$as_me: error: cannot compute sizeof (char), 77
16773 See \`config.log' for more details." >&2;}
16774 { (exit 1); exit 1; }; } ;;
16777 if test "$cross_compiling" = yes; then
16778 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16779 See \`config.log' for more details." >&5
16780 echo "$as_me: error: cannot run test program while cross compiling
16781 See \`config.log' for more details." >&2;}
16782 { (exit 1); exit 1; }; }
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 $ac_includes_default
16791 long longval () { return (long) (sizeof (char)); }
16792 unsigned long ulongval () { return (long) (sizeof (char)); }
16794 #include <stdlib.h>
16799 FILE *f = fopen ("conftest.val", "w");
16802 if (((long) (sizeof (char))) < 0)
16804 long i = longval ();
16805 if (i != ((long) (sizeof (char))))
16807 fprintf (f, "%ld\n", i);
16811 unsigned long i = ulongval ();
16812 if (i != ((long) (sizeof (char))))
16814 fprintf (f, "%lu\n", i);
16816 exit (ferror (f) || fclose (f) != 0);
16822 rm -f conftest
$ac_exeext
16823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16824 (eval $ac_link) 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; }; then
16833 ac_cv_sizeof_char
=`cat conftest.val`
16835 echo "$as_me: program exited with status $ac_status" >&5
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.
$ac_ext >&5
16839 ( exit $ac_status )
16840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16841 See \`config.log' for more details." >&5
16842 echo "$as_me: error: cannot compute sizeof (char), 77
16843 See \`config.log' for more details." >&2;}
16844 { (exit 1); exit 1; }; }
16846 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16851 ac_cv_sizeof_char
=0
16854 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16855 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16856 cat >>confdefs.h
<<_ACEOF
16857 #define SIZEOF_CHAR $ac_cv_sizeof_char
16861 echo "$as_me:$LINENO: checking for short" >&5
16862 echo $ECHO_N "checking for short... $ECHO_C" >&6
16863 if test "${ac_cv_type_short+set}" = set; then
16864 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 cat >conftest.
$ac_ext <<_ACEOF
16869 cat confdefs.h
>>conftest.
$ac_ext
16870 cat >>conftest.
$ac_ext <<_ACEOF
16871 /* end confdefs.h. */
16872 $ac_includes_default
16878 if (sizeof (short))
16884 rm -f conftest.
$ac_objext
16885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16886 (eval $ac_compile) 2>conftest.er1
16888 grep -v '^ *+' conftest.er1
>conftest.err
16890 cat conftest.err
>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } &&
16893 { ac_try
='test -z "$ac_c_werror_flag"
16894 || test ! -s conftest.err'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; } &&
16900 { ac_try
='test -s conftest.$ac_objext'
16901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16902 (eval $ac_try) 2>&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); }; }; then
16906 ac_cv_type_short
=yes
16908 echo "$as_me: failed program was:" >&5
16909 sed 's/^/| /' conftest.
$ac_ext >&5
16911 ac_cv_type_short
=no
16913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16915 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16916 echo "${ECHO_T}$ac_cv_type_short" >&6
16918 echo "$as_me:$LINENO: checking size of short" >&5
16919 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16920 if test "${ac_cv_sizeof_short+set}" = set; then
16921 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 if test "$ac_cv_type_short" = yes; then
16924 # The cast to unsigned long works around a bug in the HP C Compiler
16925 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16926 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16927 # This bug is HP SR number 8606223364.
16928 if test "$cross_compiling" = yes; then
16929 # Depending upon the size, compute the lo and hi bounds.
16930 cat >conftest.
$ac_ext <<_ACEOF
16933 cat confdefs.h
>>conftest.
$ac_ext
16934 cat >>conftest.
$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 $ac_includes_default
16940 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16947 rm -f conftest.
$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16951 grep -v '^ *+' conftest.er1
>conftest.err
16953 cat conftest.err
>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try
='test -z "$ac_c_werror_flag"
16957 || test ! -s conftest.err'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; } &&
16963 { ac_try
='test -s conftest.$ac_objext'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; }; then
16971 cat >conftest.
$ac_ext <<_ACEOF
16974 cat confdefs.h
>>conftest.
$ac_ext
16975 cat >>conftest.
$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16977 $ac_includes_default
16981 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16988 rm -f conftest.
$ac_objext
16989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16990 (eval $ac_compile) 2>conftest.er1
16992 grep -v '^ *+' conftest.er1
>conftest.err
16994 cat conftest.err
>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } &&
16997 { ac_try
='test -z "$ac_c_werror_flag"
16998 || test ! -s conftest.err'
16999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17000 (eval $ac_try) 2>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }; } &&
17004 { ac_try
='test -s conftest.$ac_objext'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 ac_hi
=$ac_mid; break
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.
$ac_ext >&5
17015 ac_lo
=`expr $ac_mid + 1`
17016 if test $ac_lo -le $ac_mid; then
17020 ac_mid
=`expr 2 '*' $ac_mid + 1`
17022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17025 echo "$as_me: failed program was:" >&5
17026 sed 's/^/| /' conftest.
$ac_ext >&5
17028 cat >conftest.
$ac_ext <<_ACEOF
17031 cat confdefs.h
>>conftest.
$ac_ext
17032 cat >>conftest.
$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17034 $ac_includes_default
17038 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17045 rm -f conftest.
$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17049 grep -v '^ *+' conftest.er1
>conftest.err
17051 cat conftest.err
>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try
='test -z "$ac_c_werror_flag"
17055 || test ! -s conftest.err'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; } &&
17061 { ac_try
='test -s conftest.$ac_objext'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17069 cat >conftest.
$ac_ext <<_ACEOF
17072 cat confdefs.h
>>conftest.
$ac_ext
17073 cat >>conftest.
$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 $ac_includes_default
17079 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17086 rm -f conftest.
$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17090 grep -v '^ *+' conftest.er1
>conftest.err
17092 cat conftest.err
>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try
='test -z "$ac_c_werror_flag"
17096 || test ! -s conftest.err'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; } &&
17102 { ac_try
='test -s conftest.$ac_objext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17108 ac_lo
=$ac_mid; break
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.
$ac_ext >&5
17113 ac_hi
=`expr '(' $ac_mid ')' - 1`
17114 if test $ac_mid -le $ac_hi; then
17118 ac_mid
=`expr 2 '*' $ac_mid`
17120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.
$ac_ext >&5
17128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17131 # Binary search between lo and hi bounds.
17132 while test "x$ac_lo" != "x$ac_hi"; do
17133 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17134 cat >conftest.
$ac_ext <<_ACEOF
17137 cat confdefs.h
>>conftest.
$ac_ext
17138 cat >>conftest.
$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17144 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17151 rm -f conftest.
$ac_objext
17152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17153 (eval $ac_compile) 2>conftest.er1
17155 grep -v '^ *+' conftest.er1
>conftest.err
17157 cat conftest.err
>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } &&
17160 { ac_try
='test -z "$ac_c_werror_flag"
17161 || 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 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.
$ac_ext >&5
17178 ac_lo
=`expr '(' $ac_mid ')' + 1`
17180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17183 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17184 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17185 See \`config.log' for more details." >&5
17186 echo "$as_me: error: cannot compute sizeof (short), 77
17187 See \`config.log' for more details." >&2;}
17188 { (exit 1); exit 1; }; } ;;
17191 if test "$cross_compiling" = yes; then
17192 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17193 See \`config.log' for more details." >&5
17194 echo "$as_me: error: cannot run test program while cross compiling
17195 See \`config.log' for more details." >&2;}
17196 { (exit 1); exit 1; }; }
17198 cat >conftest.
$ac_ext <<_ACEOF
17201 cat confdefs.h
>>conftest.
$ac_ext
17202 cat >>conftest.
$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17204 $ac_includes_default
17205 long longval () { return (long) (sizeof (short)); }
17206 unsigned long ulongval () { return (long) (sizeof (short)); }
17208 #include <stdlib.h>
17213 FILE *f = fopen ("conftest.val", "w");
17216 if (((long) (sizeof (short))) < 0)
17218 long i = longval ();
17219 if (i != ((long) (sizeof (short))))
17221 fprintf (f, "%ld\n", i);
17225 unsigned long i = ulongval ();
17226 if (i != ((long) (sizeof (short))))
17228 fprintf (f, "%lu\n", i);
17230 exit (ferror (f) || fclose (f) != 0);
17236 rm -f conftest
$ac_exeext
17237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17238 (eval $ac_link) 2>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; }; then
17247 ac_cv_sizeof_short
=`cat conftest.val`
17249 echo "$as_me: program exited with status $ac_status" >&5
17250 echo "$as_me: failed program was:" >&5
17251 sed 's/^/| /' conftest.
$ac_ext >&5
17253 ( exit $ac_status )
17254 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17255 See \`config.log' for more details." >&5
17256 echo "$as_me: error: cannot compute sizeof (short), 77
17257 See \`config.log' for more details." >&2;}
17258 { (exit 1); exit 1; }; }
17260 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17265 ac_cv_sizeof_short
=0
17268 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17269 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17270 cat >>confdefs.h
<<_ACEOF
17271 #define SIZEOF_SHORT $ac_cv_sizeof_short
17275 echo "$as_me:$LINENO: checking for void *" >&5
17276 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17277 if test "${ac_cv_type_void_p+set}" = set; then
17278 echo $ECHO_N "(cached) $ECHO_C" >&6
17280 cat >conftest.
$ac_ext <<_ACEOF
17283 cat confdefs.h
>>conftest.
$ac_ext
17284 cat >>conftest.
$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17286 $ac_includes_default
17292 if (sizeof (void *))
17298 rm -f conftest.
$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>conftest.er1
17302 grep -v '^ *+' conftest.er1
>conftest.err
17304 cat conftest.err
>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try
='test -z "$ac_c_werror_flag"
17308 || test ! -s conftest.err'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try
='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17320 ac_cv_type_void_p
=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17325 ac_cv_type_void_p
=no
17327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17329 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17330 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17332 echo "$as_me:$LINENO: checking size of void *" >&5
17333 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17334 if test "${ac_cv_sizeof_void_p+set}" = set; then
17335 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 if test "$ac_cv_type_void_p" = yes; then
17338 # The cast to unsigned long works around a bug in the HP C Compiler
17339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17341 # This bug is HP SR number 8606223364.
17342 if test "$cross_compiling" = yes; then
17343 # Depending upon the size, compute the lo and hi bounds.
17344 cat >conftest.
$ac_ext <<_ACEOF
17347 cat confdefs.h
>>conftest.
$ac_ext
17348 cat >>conftest.
$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350 $ac_includes_default
17354 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17361 rm -f conftest.
$ac_objext
17362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17363 (eval $ac_compile) 2>conftest.er1
17365 grep -v '^ *+' conftest.er1
>conftest.err
17367 cat conftest.err
>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } &&
17370 { ac_try
='test -z "$ac_c_werror_flag"
17371 || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try
='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17385 cat >conftest.
$ac_ext <<_ACEOF
17388 cat confdefs.h
>>conftest.
$ac_ext
17389 cat >>conftest.
$ac_ext <<_ACEOF
17390 /* end confdefs.h. */
17391 $ac_includes_default
17395 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17402 rm -f conftest.
$ac_objext
17403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17404 (eval $ac_compile) 2>conftest.er1
17406 grep -v '^ *+' conftest.er1
>conftest.err
17408 cat conftest.err
>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } &&
17411 { ac_try
='test -z "$ac_c_werror_flag"
17412 || test ! -s conftest.err'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; } &&
17418 { ac_try
='test -s conftest.$ac_objext'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; }; then
17424 ac_hi
=$ac_mid; break
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.
$ac_ext >&5
17429 ac_lo
=`expr $ac_mid + 1`
17430 if test $ac_lo -le $ac_mid; then
17434 ac_mid
=`expr 2 '*' $ac_mid + 1`
17436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.
$ac_ext >&5
17442 cat >conftest.
$ac_ext <<_ACEOF
17445 cat confdefs.h
>>conftest.
$ac_ext
17446 cat >>conftest.
$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 $ac_includes_default
17452 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17459 rm -f conftest.
$ac_objext
17460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17461 (eval $ac_compile) 2>conftest.er1
17463 grep -v '^ *+' conftest.er1
>conftest.err
17465 cat conftest.err
>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); } &&
17468 { ac_try
='test -z "$ac_c_werror_flag"
17469 || test ! -s conftest.err'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; } &&
17475 { ac_try
='test -s conftest.$ac_objext'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; }; then
17483 cat >conftest.
$ac_ext <<_ACEOF
17486 cat confdefs.h
>>conftest.
$ac_ext
17487 cat >>conftest.
$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17489 $ac_includes_default
17493 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17500 rm -f conftest.
$ac_objext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17502 (eval $ac_compile) 2>conftest.er1
17504 grep -v '^ *+' conftest.er1
>conftest.err
17506 cat conftest.err
>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } &&
17509 { ac_try
='test -z "$ac_c_werror_flag"
17510 || test ! -s conftest.err'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; } &&
17516 { ac_try
='test -s conftest.$ac_objext'
17517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518 (eval $ac_try) 2>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); }; }; then
17522 ac_lo
=$ac_mid; break
17524 echo "$as_me: failed program was:" >&5
17525 sed 's/^/| /' conftest.
$ac_ext >&5
17527 ac_hi
=`expr '(' $ac_mid ')' - 1`
17528 if test $ac_mid -le $ac_hi; then
17532 ac_mid
=`expr 2 '*' $ac_mid`
17534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.
$ac_ext >&5
17542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17545 # Binary search between lo and hi bounds.
17546 while test "x$ac_lo" != "x$ac_hi"; do
17547 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17548 cat >conftest.
$ac_ext <<_ACEOF
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554 $ac_includes_default
17558 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17565 rm -f conftest.
$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17569 grep -v '^ *+' conftest.er1
>conftest.err
17571 cat conftest.err
>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try
='test -z "$ac_c_werror_flag"
17575 || test ! -s conftest.err'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; } &&
17581 { ac_try
='test -s conftest.$ac_objext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 ac_lo
=`expr '(' $ac_mid ')' + 1`
17594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17597 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17598 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17599 See \`config.log' for more details." >&5
17600 echo "$as_me: error: cannot compute sizeof (void *), 77
17601 See \`config.log' for more details." >&2;}
17602 { (exit 1); exit 1; }; } ;;
17605 if test "$cross_compiling" = yes; then
17606 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17607 See \`config.log' for more details." >&5
17608 echo "$as_me: error: cannot run test program while cross compiling
17609 See \`config.log' for more details." >&2;}
17610 { (exit 1); exit 1; }; }
17612 cat >conftest.
$ac_ext <<_ACEOF
17615 cat confdefs.h
>>conftest.
$ac_ext
17616 cat >>conftest.
$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 $ac_includes_default
17619 long longval () { return (long) (sizeof (void *)); }
17620 unsigned long ulongval () { return (long) (sizeof (void *)); }
17622 #include <stdlib.h>
17627 FILE *f = fopen ("conftest.val", "w");
17630 if (((long) (sizeof (void *))) < 0)
17632 long i = longval ();
17633 if (i != ((long) (sizeof (void *))))
17635 fprintf (f, "%ld\n", i);
17639 unsigned long i = ulongval ();
17640 if (i != ((long) (sizeof (void *))))
17642 fprintf (f, "%lu\n", i);
17644 exit (ferror (f) || fclose (f) != 0);
17650 rm -f conftest
$ac_exeext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17652 (eval $ac_link) 2>&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17661 ac_cv_sizeof_void_p
=`cat conftest.val`
17663 echo "$as_me: program exited with status $ac_status" >&5
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.
$ac_ext >&5
17667 ( exit $ac_status )
17668 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17669 See \`config.log' for more details." >&5
17670 echo "$as_me: error: cannot compute sizeof (void *), 77
17671 See \`config.log' for more details." >&2;}
17672 { (exit 1); exit 1; }; }
17674 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17679 ac_cv_sizeof_void_p
=0
17682 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17683 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17684 cat >>confdefs.h
<<_ACEOF
17685 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17689 echo "$as_me:$LINENO: checking for int" >&5
17690 echo $ECHO_N "checking for int... $ECHO_C" >&6
17691 if test "${ac_cv_type_int+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 cat >conftest.
$ac_ext <<_ACEOF
17697 cat confdefs.h
>>conftest.
$ac_ext
17698 cat >>conftest.
$ac_ext <<_ACEOF
17699 /* end confdefs.h. */
17700 $ac_includes_default
17712 rm -f conftest.
$ac_objext
17713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17714 (eval $ac_compile) 2>conftest.er1
17716 grep -v '^ *+' conftest.er1
>conftest.err
17718 cat conftest.err
>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } &&
17721 { ac_try
='test -z "$ac_c_werror_flag"
17722 || test ! -s conftest.err'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try
='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.
$ac_ext >&5
17741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17743 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17744 echo "${ECHO_T}$ac_cv_type_int" >&6
17746 echo "$as_me:$LINENO: checking size of int" >&5
17747 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17748 if test "${ac_cv_sizeof_int+set}" = set; then
17749 echo $ECHO_N "(cached) $ECHO_C" >&6
17751 if test "$ac_cv_type_int" = yes; then
17752 # The cast to unsigned long works around a bug in the HP C Compiler
17753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17755 # This bug is HP SR number 8606223364.
17756 if test "$cross_compiling" = yes; then
17757 # Depending upon the size, compute the lo and hi bounds.
17758 cat >conftest.
$ac_ext <<_ACEOF
17761 cat confdefs.h
>>conftest.
$ac_ext
17762 cat >>conftest.
$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 $ac_includes_default
17768 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17775 rm -f conftest.
$ac_objext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17777 (eval $ac_compile) 2>conftest.er1
17779 grep -v '^ *+' conftest.er1
>conftest.err
17781 cat conftest.err
>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } &&
17784 { ac_try
='test -z "$ac_c_werror_flag"
17785 || test ! -s conftest.err'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; } &&
17791 { ac_try
='test -s conftest.$ac_objext'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; }; then
17799 cat >conftest.
$ac_ext <<_ACEOF
17802 cat confdefs.h
>>conftest.
$ac_ext
17803 cat >>conftest.
$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17805 $ac_includes_default
17809 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17816 rm -f conftest.
$ac_objext
17817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17818 (eval $ac_compile) 2>conftest.er1
17820 grep -v '^ *+' conftest.er1
>conftest.err
17822 cat conftest.err
>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } &&
17825 { ac_try
='test -z "$ac_c_werror_flag"
17826 || test ! -s conftest.err'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; } &&
17832 { ac_try
='test -s conftest.$ac_objext'
17833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17834 (eval $ac_try) 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17838 ac_hi
=$ac_mid; break
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.
$ac_ext >&5
17843 ac_lo
=`expr $ac_mid + 1`
17844 if test $ac_lo -le $ac_mid; then
17848 ac_mid
=`expr 2 '*' $ac_mid + 1`
17850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.
$ac_ext >&5
17856 cat >conftest.
$ac_ext <<_ACEOF
17859 cat confdefs.h
>>conftest.
$ac_ext
17860 cat >>conftest.
$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 $ac_includes_default
17866 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17873 rm -f conftest.
$ac_objext
17874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17875 (eval $ac_compile) 2>conftest.er1
17877 grep -v '^ *+' conftest.er1
>conftest.err
17879 cat conftest.err
>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } &&
17882 { ac_try
='test -z "$ac_c_werror_flag"
17883 || test ! -s conftest.err'
17884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17885 (eval $ac_try) 2>&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); }; } &&
17889 { ac_try
='test -s conftest.$ac_objext'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; }; then
17897 cat >conftest.
$ac_ext <<_ACEOF
17900 cat confdefs.h
>>conftest.
$ac_ext
17901 cat >>conftest.
$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17903 $ac_includes_default
17907 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17914 rm -f conftest.
$ac_objext
17915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17916 (eval $ac_compile) 2>conftest.er1
17918 grep -v '^ *+' conftest.er1
>conftest.err
17920 cat conftest.err
>&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } &&
17923 { ac_try
='test -z "$ac_c_werror_flag"
17924 || test ! -s conftest.err'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; } &&
17930 { ac_try
='test -s conftest.$ac_objext'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; }; then
17936 ac_lo
=$ac_mid; break
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.
$ac_ext >&5
17941 ac_hi
=`expr '(' $ac_mid ')' - 1`
17942 if test $ac_mid -le $ac_hi; then
17946 ac_mid
=`expr 2 '*' $ac_mid`
17948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17951 echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.
$ac_ext >&5
17956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17959 # Binary search between lo and hi bounds.
17960 while test "x$ac_lo" != "x$ac_hi"; do
17961 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17962 cat >conftest.
$ac_ext <<_ACEOF
17965 cat confdefs.h
>>conftest.
$ac_ext
17966 cat >>conftest.
$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17972 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17979 rm -f conftest.
$ac_objext
17980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17981 (eval $ac_compile) 2>conftest.er1
17983 grep -v '^ *+' conftest.er1
>conftest.err
17985 cat conftest.err
>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } &&
17988 { ac_try
='test -z "$ac_c_werror_flag"
17989 || test ! -s conftest.err'
17990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991 (eval $ac_try) 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; } &&
17995 { ac_try
='test -s conftest.$ac_objext'
17996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17997 (eval $ac_try) 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; }; then
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.
$ac_ext >&5
18006 ac_lo
=`expr '(' $ac_mid ')' + 1`
18008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18011 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18012 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18013 See \`config.log' for more details." >&5
18014 echo "$as_me: error: cannot compute sizeof (int), 77
18015 See \`config.log' for more details." >&2;}
18016 { (exit 1); exit 1; }; } ;;
18019 if test "$cross_compiling" = yes; then
18020 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18021 See \`config.log' for more details." >&5
18022 echo "$as_me: error: cannot run test program while cross compiling
18023 See \`config.log' for more details." >&2;}
18024 { (exit 1); exit 1; }; }
18026 cat >conftest.
$ac_ext <<_ACEOF
18029 cat confdefs.h
>>conftest.
$ac_ext
18030 cat >>conftest.
$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 $ac_includes_default
18033 long longval () { return (long) (sizeof (int)); }
18034 unsigned long ulongval () { return (long) (sizeof (int)); }
18036 #include <stdlib.h>
18041 FILE *f = fopen ("conftest.val", "w");
18044 if (((long) (sizeof (int))) < 0)
18046 long i = longval ();
18047 if (i != ((long) (sizeof (int))))
18049 fprintf (f, "%ld\n", i);
18053 unsigned long i = ulongval ();
18054 if (i != ((long) (sizeof (int))))
18056 fprintf (f, "%lu\n", i);
18058 exit (ferror (f) || fclose (f) != 0);
18064 rm -f conftest
$ac_exeext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18066 (eval $ac_link) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
18075 ac_cv_sizeof_int
=`cat conftest.val`
18077 echo "$as_me: program exited with status $ac_status" >&5
18078 echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.
$ac_ext >&5
18081 ( exit $ac_status )
18082 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18083 See \`config.log' for more details." >&5
18084 echo "$as_me: error: cannot compute sizeof (int), 77
18085 See \`config.log' for more details." >&2;}
18086 { (exit 1); exit 1; }; }
18088 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18096 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18097 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18098 cat >>confdefs.h
<<_ACEOF
18099 #define SIZEOF_INT $ac_cv_sizeof_int
18103 echo "$as_me:$LINENO: checking for long" >&5
18104 echo $ECHO_N "checking for long... $ECHO_C" >&6
18105 if test "${ac_cv_type_long+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 cat >conftest.
$ac_ext <<_ACEOF
18111 cat confdefs.h
>>conftest.
$ac_ext
18112 cat >>conftest.
$ac_ext <<_ACEOF
18113 /* end confdefs.h. */
18114 $ac_includes_default
18126 rm -f conftest.
$ac_objext
18127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18128 (eval $ac_compile) 2>conftest.er1
18130 grep -v '^ *+' conftest.er1
>conftest.err
18132 cat conftest.err
>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } &&
18135 { ac_try
='test -z "$ac_c_werror_flag"
18136 || test ! -s conftest.err'
18137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138 (eval $ac_try) 2>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; } &&
18142 { ac_try
='test -s conftest.$ac_objext'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; }; then
18148 ac_cv_type_long
=yes
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.
$ac_ext >&5
18155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18157 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18158 echo "${ECHO_T}$ac_cv_type_long" >&6
18160 echo "$as_me:$LINENO: checking size of long" >&5
18161 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18162 if test "${ac_cv_sizeof_long+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 if test "$ac_cv_type_long" = yes; then
18166 # The cast to unsigned long works around a bug in the HP C Compiler
18167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18169 # This bug is HP SR number 8606223364.
18170 if test "$cross_compiling" = yes; then
18171 # Depending upon the size, compute the lo and hi bounds.
18172 cat >conftest.
$ac_ext <<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 $ac_includes_default
18182 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18189 rm -f conftest.
$ac_objext
18190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18191 (eval $ac_compile) 2>conftest.er1
18193 grep -v '^ *+' conftest.er1
>conftest.err
18195 cat conftest.err
>&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } &&
18198 { ac_try
='test -z "$ac_c_werror_flag"
18199 || test ! -s conftest.err'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; } &&
18205 { ac_try
='test -s conftest.$ac_objext'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; }; then
18213 cat >conftest.
$ac_ext <<_ACEOF
18216 cat confdefs.h
>>conftest.
$ac_ext
18217 cat >>conftest.
$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 $ac_includes_default
18223 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18230 rm -f conftest.
$ac_objext
18231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18232 (eval $ac_compile) 2>conftest.er1
18234 grep -v '^ *+' conftest.er1
>conftest.err
18236 cat conftest.err
>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } &&
18239 { ac_try
='test -z "$ac_c_werror_flag"
18240 || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try
='test -s conftest.$ac_objext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18252 ac_hi
=$ac_mid; break
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.
$ac_ext >&5
18257 ac_lo
=`expr $ac_mid + 1`
18258 if test $ac_lo -le $ac_mid; then
18262 ac_mid
=`expr 2 '*' $ac_mid + 1`
18264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18267 echo "$as_me: failed program was:" >&5
18268 sed 's/^/| /' conftest.
$ac_ext >&5
18270 cat >conftest.
$ac_ext <<_ACEOF
18273 cat confdefs.h
>>conftest.
$ac_ext
18274 cat >>conftest.
$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18276 $ac_includes_default
18280 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18287 rm -f conftest.
$ac_objext
18288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18289 (eval $ac_compile) 2>conftest.er1
18291 grep -v '^ *+' conftest.er1
>conftest.err
18293 cat conftest.err
>&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } &&
18296 { ac_try
='test -z "$ac_c_werror_flag"
18297 || test ! -s conftest.err'
18298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18299 (eval $ac_try) 2>&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); }; } &&
18303 { ac_try
='test -s conftest.$ac_objext'
18304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305 (eval $ac_try) 2>&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); }; }; then
18311 cat >conftest.
$ac_ext <<_ACEOF
18314 cat confdefs.h
>>conftest.
$ac_ext
18315 cat >>conftest.
$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 $ac_includes_default
18321 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18328 rm -f conftest.
$ac_objext
18329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18330 (eval $ac_compile) 2>conftest.er1
18332 grep -v '^ *+' conftest.er1
>conftest.err
18334 cat conftest.err
>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } &&
18337 { ac_try
='test -z "$ac_c_werror_flag"
18338 || test ! -s conftest.err'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; } &&
18344 { ac_try
='test -s conftest.$ac_objext'
18345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18346 (eval $ac_try) 2>&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); }; }; then
18350 ac_lo
=$ac_mid; break
18352 echo "$as_me: failed program was:" >&5
18353 sed 's/^/| /' conftest.
$ac_ext >&5
18355 ac_hi
=`expr '(' $ac_mid ')' - 1`
18356 if test $ac_mid -le $ac_hi; then
18360 ac_mid
=`expr 2 '*' $ac_mid`
18362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.
$ac_ext >&5
18370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18373 # Binary search between lo and hi bounds.
18374 while test "x$ac_lo" != "x$ac_hi"; do
18375 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18376 cat >conftest.
$ac_ext <<_ACEOF
18379 cat confdefs.h
>>conftest.
$ac_ext
18380 cat >>conftest.
$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18382 $ac_includes_default
18386 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18393 rm -f conftest.
$ac_objext
18394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18395 (eval $ac_compile) 2>conftest.er1
18397 grep -v '^ *+' conftest.er1
>conftest.err
18399 cat conftest.err
>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } &&
18402 { ac_try
='test -z "$ac_c_werror_flag"
18403 || test ! -s conftest.err'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; } &&
18409 { ac_try
='test -s conftest.$ac_objext'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; }; then
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.
$ac_ext >&5
18420 ac_lo
=`expr '(' $ac_mid ')' + 1`
18422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18425 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18426 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18427 See \`config.log' for more details." >&5
18428 echo "$as_me: error: cannot compute sizeof (long), 77
18429 See \`config.log' for more details." >&2;}
18430 { (exit 1); exit 1; }; } ;;
18433 if test "$cross_compiling" = yes; then
18434 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18435 See \`config.log' for more details." >&5
18436 echo "$as_me: error: cannot run test program while cross compiling
18437 See \`config.log' for more details." >&2;}
18438 { (exit 1); exit 1; }; }
18440 cat >conftest.
$ac_ext <<_ACEOF
18443 cat confdefs.h
>>conftest.
$ac_ext
18444 cat >>conftest.
$ac_ext <<_ACEOF
18445 /* end confdefs.h. */
18446 $ac_includes_default
18447 long longval () { return (long) (sizeof (long)); }
18448 unsigned long ulongval () { return (long) (sizeof (long)); }
18450 #include <stdlib.h>
18455 FILE *f = fopen ("conftest.val", "w");
18458 if (((long) (sizeof (long))) < 0)
18460 long i = longval ();
18461 if (i != ((long) (sizeof (long))))
18463 fprintf (f, "%ld\n", i);
18467 unsigned long i = ulongval ();
18468 if (i != ((long) (sizeof (long))))
18470 fprintf (f, "%lu\n", i);
18472 exit (ferror (f) || fclose (f) != 0);
18478 rm -f conftest
$ac_exeext
18479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18480 (eval $ac_link) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485 (eval $ac_try) 2>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; }; then
18489 ac_cv_sizeof_long
=`cat conftest.val`
18491 echo "$as_me: program exited with status $ac_status" >&5
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.
$ac_ext >&5
18495 ( exit $ac_status )
18496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18497 See \`config.log' for more details." >&5
18498 echo "$as_me: error: cannot compute sizeof (long), 77
18499 See \`config.log' for more details." >&2;}
18500 { (exit 1); exit 1; }; }
18502 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18507 ac_cv_sizeof_long
=0
18510 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18511 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18512 cat >>confdefs.h
<<_ACEOF
18513 #define SIZEOF_LONG $ac_cv_sizeof_long
18517 echo "$as_me:$LINENO: checking for size_t" >&5
18518 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18519 if test "${ac_cv_type_size_t+set}" = set; then
18520 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 cat >conftest.
$ac_ext <<_ACEOF
18525 cat confdefs.h
>>conftest.
$ac_ext
18526 cat >>conftest.
$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 $ac_includes_default
18534 if (sizeof (size_t))
18540 rm -f conftest.
$ac_objext
18541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18542 (eval $ac_compile) 2>conftest.er1
18544 grep -v '^ *+' conftest.er1
>conftest.err
18546 cat conftest.err
>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } &&
18549 { ac_try
='test -z "$ac_c_werror_flag"
18550 || test ! -s conftest.err'
18551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18552 (eval $ac_try) 2>&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); }; } &&
18556 { ac_try
='test -s conftest.$ac_objext'
18557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18558 (eval $ac_try) 2>&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); }; }; then
18562 ac_cv_type_size_t
=yes
18564 echo "$as_me: failed program was:" >&5
18565 sed 's/^/| /' conftest.
$ac_ext >&5
18567 ac_cv_type_size_t
=no
18569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18571 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18572 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18574 echo "$as_me:$LINENO: checking size of size_t" >&5
18575 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18576 if test "${ac_cv_sizeof_size_t+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18579 if test "$ac_cv_type_size_t" = yes; then
18580 # The cast to unsigned long works around a bug in the HP C Compiler
18581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18583 # This bug is HP SR number 8606223364.
18584 if test "$cross_compiling" = yes; then
18585 # Depending upon the size, compute the lo and hi bounds.
18586 cat >conftest.
$ac_ext <<_ACEOF
18589 cat confdefs.h
>>conftest.
$ac_ext
18590 cat >>conftest.
$ac_ext <<_ACEOF
18591 /* end confdefs.h. */
18592 $ac_includes_default
18596 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18603 rm -f conftest.
$ac_objext
18604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18605 (eval $ac_compile) 2>conftest.er1
18607 grep -v '^ *+' conftest.er1
>conftest.err
18609 cat conftest.err
>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } &&
18612 { ac_try
='test -z "$ac_c_werror_flag"
18613 || test ! -s conftest.err'
18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; } &&
18619 { ac_try
='test -s conftest.$ac_objext'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; }; then
18627 cat >conftest.
$ac_ext <<_ACEOF
18630 cat confdefs.h
>>conftest.
$ac_ext
18631 cat >>conftest.
$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 $ac_includes_default
18637 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18644 rm -f conftest.
$ac_objext
18645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18646 (eval $ac_compile) 2>conftest.er1
18648 grep -v '^ *+' conftest.er1
>conftest.err
18650 cat conftest.err
>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try
='test -z "$ac_c_werror_flag"
18654 || test ! -s conftest.err'
18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18656 (eval $ac_try) 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; } &&
18660 { ac_try
='test -s conftest.$ac_objext'
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18662 (eval $ac_try) 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; }; then
18666 ac_hi
=$ac_mid; break
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.
$ac_ext >&5
18671 ac_lo
=`expr $ac_mid + 1`
18672 if test $ac_lo -le $ac_mid; then
18676 ac_mid
=`expr 2 '*' $ac_mid + 1`
18678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.
$ac_ext >&5
18684 cat >conftest.
$ac_ext <<_ACEOF
18687 cat confdefs.h
>>conftest.
$ac_ext
18688 cat >>conftest.
$ac_ext <<_ACEOF
18689 /* end confdefs.h. */
18690 $ac_includes_default
18694 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18701 rm -f conftest.
$ac_objext
18702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18703 (eval $ac_compile) 2>conftest.er1
18705 grep -v '^ *+' conftest.er1
>conftest.err
18707 cat conftest.err
>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); } &&
18710 { ac_try
='test -z "$ac_c_werror_flag"
18711 || test ! -s conftest.err'
18712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18713 (eval $ac_try) 2>&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; } &&
18717 { ac_try
='test -s conftest.$ac_objext'
18718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18719 (eval $ac_try) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; }; then
18725 cat >conftest.
$ac_ext <<_ACEOF
18728 cat confdefs.h
>>conftest.
$ac_ext
18729 cat >>conftest.
$ac_ext <<_ACEOF
18730 /* end confdefs.h. */
18731 $ac_includes_default
18735 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18742 rm -f conftest.
$ac_objext
18743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18744 (eval $ac_compile) 2>conftest.er1
18746 grep -v '^ *+' conftest.er1
>conftest.err
18748 cat conftest.err
>&5
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); } &&
18751 { ac_try
='test -z "$ac_c_werror_flag"
18752 || test ! -s conftest.err'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; } &&
18758 { ac_try
='test -s conftest.$ac_objext'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; }; then
18764 ac_lo
=$ac_mid; break
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.
$ac_ext >&5
18769 ac_hi
=`expr '(' $ac_mid ')' - 1`
18770 if test $ac_mid -le $ac_hi; then
18774 ac_mid
=`expr 2 '*' $ac_mid`
18776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.
$ac_ext >&5
18784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18787 # Binary search between lo and hi bounds.
18788 while test "x$ac_lo" != "x$ac_hi"; do
18789 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18790 cat >conftest.
$ac_ext <<_ACEOF
18793 cat confdefs.h
>>conftest.
$ac_ext
18794 cat >>conftest.
$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 $ac_includes_default
18800 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18807 rm -f conftest.
$ac_objext
18808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18809 (eval $ac_compile) 2>conftest.er1
18811 grep -v '^ *+' conftest.er1
>conftest.err
18813 cat conftest.err
>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } &&
18816 { ac_try
='test -z "$ac_c_werror_flag"
18817 || test ! -s conftest.err'
18818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18819 (eval $ac_try) 2>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); }; } &&
18823 { ac_try
='test -s conftest.$ac_objext'
18824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18825 (eval $ac_try) 2>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); }; }; then
18831 echo "$as_me: failed program was:" >&5
18832 sed 's/^/| /' conftest.
$ac_ext >&5
18834 ac_lo
=`expr '(' $ac_mid ')' + 1`
18836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18839 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18840 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18841 See \`config.log' for more details." >&5
18842 echo "$as_me: error: cannot compute sizeof (size_t), 77
18843 See \`config.log' for more details." >&2;}
18844 { (exit 1); exit 1; }; } ;;
18847 if test "$cross_compiling" = yes; then
18848 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18849 See \`config.log' for more details." >&5
18850 echo "$as_me: error: cannot run test program while cross compiling
18851 See \`config.log' for more details." >&2;}
18852 { (exit 1); exit 1; }; }
18854 cat >conftest.
$ac_ext <<_ACEOF
18857 cat confdefs.h
>>conftest.
$ac_ext
18858 cat >>conftest.
$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 $ac_includes_default
18861 long longval () { return (long) (sizeof (size_t)); }
18862 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18864 #include <stdlib.h>
18869 FILE *f = fopen ("conftest.val", "w");
18872 if (((long) (sizeof (size_t))) < 0)
18874 long i = longval ();
18875 if (i != ((long) (sizeof (size_t))))
18877 fprintf (f, "%ld\n", i);
18881 unsigned long i = ulongval ();
18882 if (i != ((long) (sizeof (size_t))))
18884 fprintf (f, "%lu\n", i);
18886 exit (ferror (f) || fclose (f) != 0);
18892 rm -f conftest
$ac_exeext
18893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18894 (eval $ac_link) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; }; then
18903 ac_cv_sizeof_size_t
=`cat conftest.val`
18905 echo "$as_me: program exited with status $ac_status" >&5
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.
$ac_ext >&5
18909 ( exit $ac_status )
18910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18911 See \`config.log' for more details." >&5
18912 echo "$as_me: error: cannot compute sizeof (size_t), 77
18913 See \`config.log' for more details." >&2;}
18914 { (exit 1); exit 1; }; }
18916 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18921 ac_cv_sizeof_size_t
=0
18924 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18925 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18926 cat >>confdefs.h
<<_ACEOF
18927 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18934 echo "$as_me:$LINENO: checking for long long" >&5
18935 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18936 if test "${ac_cv_type_long_long+set}" = set; then
18937 echo $ECHO_N "(cached) $ECHO_C" >&6
18939 cat >conftest.
$ac_ext <<_ACEOF
18942 cat confdefs.h
>>conftest.
$ac_ext
18943 cat >>conftest.
$ac_ext <<_ACEOF
18944 /* end confdefs.h. */
18945 $ac_includes_default
18949 if ((long long *) 0)
18951 if (sizeof (long long))
18957 rm -f conftest.
$ac_objext
18958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18959 (eval $ac_compile) 2>conftest.er1
18961 grep -v '^ *+' conftest.er1
>conftest.err
18963 cat conftest.err
>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } &&
18966 { ac_try
='test -z "$ac_c_werror_flag"
18967 || test ! -s conftest.err'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; } &&
18973 { ac_try
='test -s conftest.$ac_objext'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; }; then
18979 ac_cv_type_long_long
=yes
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.
$ac_ext >&5
18984 ac_cv_type_long_long
=no
18986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18988 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18989 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18991 echo "$as_me:$LINENO: checking size of long long" >&5
18992 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18993 if test "${ac_cv_sizeof_long_long+set}" = set; then
18994 echo $ECHO_N "(cached) $ECHO_C" >&6
18996 if test "$ac_cv_type_long_long" = yes; then
18997 # The cast to unsigned long works around a bug in the HP C Compiler
18998 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18999 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19000 # This bug is HP SR number 8606223364.
19001 if test "$cross_compiling" = yes; then
19002 # Depending upon the size, compute the lo and hi bounds.
19003 cat >conftest.
$ac_ext <<_ACEOF
19006 cat confdefs.h
>>conftest.
$ac_ext
19007 cat >>conftest.
$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 $ac_includes_default
19013 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19020 rm -f conftest.
$ac_objext
19021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19022 (eval $ac_compile) 2>conftest.er1
19024 grep -v '^ *+' conftest.er1
>conftest.err
19026 cat conftest.err
>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } &&
19029 { ac_try
='test -z "$ac_c_werror_flag"
19030 || test ! -s conftest.err'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; } &&
19036 { ac_try
='test -s conftest.$ac_objext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19044 cat >conftest.
$ac_ext <<_ACEOF
19047 cat confdefs.h
>>conftest.
$ac_ext
19048 cat >>conftest.
$ac_ext <<_ACEOF
19049 /* end confdefs.h. */
19050 $ac_includes_default
19054 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19061 rm -f conftest.
$ac_objext
19062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19063 (eval $ac_compile) 2>conftest.er1
19065 grep -v '^ *+' conftest.er1
>conftest.err
19067 cat conftest.err
>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } &&
19070 { ac_try
='test -z "$ac_c_werror_flag"
19071 || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try
='test -s conftest.$ac_objext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_hi
=$ac_mid; break
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.
$ac_ext >&5
19088 ac_lo
=`expr $ac_mid + 1`
19089 if test $ac_lo -le $ac_mid; then
19093 ac_mid
=`expr 2 '*' $ac_mid + 1`
19095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.
$ac_ext >&5
19101 cat >conftest.
$ac_ext <<_ACEOF
19104 cat confdefs.h
>>conftest.
$ac_ext
19105 cat >>conftest.
$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 $ac_includes_default
19111 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19118 rm -f conftest.
$ac_objext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19120 (eval $ac_compile) 2>conftest.er1
19122 grep -v '^ *+' conftest.er1
>conftest.err
19124 cat conftest.err
>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try
='test -z "$ac_c_werror_flag"
19128 || test ! -s conftest.err'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } &&
19134 { ac_try
='test -s conftest.$ac_objext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19142 cat >conftest.
$ac_ext <<_ACEOF
19145 cat confdefs.h
>>conftest.
$ac_ext
19146 cat >>conftest.
$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 $ac_includes_default
19152 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19159 rm -f conftest.
$ac_objext
19160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19161 (eval $ac_compile) 2>conftest.er1
19163 grep -v '^ *+' conftest.er1
>conftest.err
19165 cat conftest.err
>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); } &&
19168 { ac_try
='test -z "$ac_c_werror_flag"
19169 || test ! -s conftest.err'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; } &&
19175 { ac_try
='test -s conftest.$ac_objext'
19176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19177 (eval $ac_try) 2>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); }; }; then
19181 ac_lo
=$ac_mid; break
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.
$ac_ext >&5
19186 ac_hi
=`expr '(' $ac_mid ')' - 1`
19187 if test $ac_mid -le $ac_hi; then
19191 ac_mid
=`expr 2 '*' $ac_mid`
19193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.
$ac_ext >&5
19201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19204 # Binary search between lo and hi bounds.
19205 while test "x$ac_lo" != "x$ac_hi"; do
19206 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19207 cat >conftest.
$ac_ext <<_ACEOF
19210 cat confdefs.h
>>conftest.
$ac_ext
19211 cat >>conftest.
$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 $ac_includes_default
19217 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19224 rm -f conftest.
$ac_objext
19225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19226 (eval $ac_compile) 2>conftest.er1
19228 grep -v '^ *+' conftest.er1
>conftest.err
19230 cat conftest.err
>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } &&
19233 { ac_try
='test -z "$ac_c_werror_flag"
19234 || 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
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.
$ac_ext >&5
19251 ac_lo
=`expr '(' $ac_mid ')' + 1`
19253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19256 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19257 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19258 See \`config.log' for more details." >&5
19259 echo "$as_me: error: cannot compute sizeof (long long), 77
19260 See \`config.log' for more details." >&2;}
19261 { (exit 1); exit 1; }; } ;;
19264 if test "$cross_compiling" = yes; then
19265 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19266 See \`config.log' for more details." >&5
19267 echo "$as_me: error: cannot run test program while cross compiling
19268 See \`config.log' for more details." >&2;}
19269 { (exit 1); exit 1; }; }
19271 cat >conftest.
$ac_ext <<_ACEOF
19274 cat confdefs.h
>>conftest.
$ac_ext
19275 cat >>conftest.
$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19278 long longval () { return (long) (sizeof (long long)); }
19279 unsigned long ulongval () { return (long) (sizeof (long long)); }
19281 #include <stdlib.h>
19286 FILE *f = fopen ("conftest.val", "w");
19289 if (((long) (sizeof (long long))) < 0)
19291 long i = longval ();
19292 if (i != ((long) (sizeof (long long))))
19294 fprintf (f, "%ld\n", i);
19298 unsigned long i = ulongval ();
19299 if (i != ((long) (sizeof (long long))))
19301 fprintf (f, "%lu\n", i);
19303 exit (ferror (f) || fclose (f) != 0);
19309 rm -f conftest
$ac_exeext
19310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19311 (eval $ac_link) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19316 (eval $ac_try) 2>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); }; }; then
19320 ac_cv_sizeof_long_long
=`cat conftest.val`
19322 echo "$as_me: program exited with status $ac_status" >&5
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.
$ac_ext >&5
19326 ( exit $ac_status )
19327 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19328 See \`config.log' for more details." >&5
19329 echo "$as_me: error: cannot compute sizeof (long long), 77
19330 See \`config.log' for more details." >&2;}
19331 { (exit 1); exit 1; }; }
19333 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19338 ac_cv_sizeof_long_long
=0
19341 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19342 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19343 cat >>confdefs.h
<<_ACEOF
19344 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19350 echo "$as_me:$LINENO: checking for long long" >&5
19351 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19352 if test "${ac_cv_type_long_long+set}" = set; then
19353 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 cat >conftest.
$ac_ext <<_ACEOF
19358 cat confdefs.h
>>conftest.
$ac_ext
19359 cat >>conftest.
$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19361 $ac_includes_default
19365 if ((long long *) 0)
19367 if (sizeof (long long))
19373 rm -f conftest.
$ac_objext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19375 (eval $ac_compile) 2>conftest.er1
19377 grep -v '^ *+' conftest.er1
>conftest.err
19379 cat conftest.err
>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } &&
19382 { ac_try
='test -z "$ac_c_werror_flag"
19383 || test ! -s conftest.err'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; } &&
19389 { ac_try
='test -s conftest.$ac_objext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19395 ac_cv_type_long_long
=yes
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.
$ac_ext >&5
19400 ac_cv_type_long_long
=no
19402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19404 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19405 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19407 echo "$as_me:$LINENO: checking size of long long" >&5
19408 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19409 if test "${ac_cv_sizeof_long_long+set}" = set; then
19410 echo $ECHO_N "(cached) $ECHO_C" >&6
19412 if test "$ac_cv_type_long_long" = yes; then
19413 # The cast to unsigned long works around a bug in the HP C Compiler
19414 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19415 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19416 # This bug is HP SR number 8606223364.
19417 if test "$cross_compiling" = yes; then
19418 # Depending upon the size, compute the lo and hi bounds.
19419 cat >conftest.
$ac_ext <<_ACEOF
19422 cat confdefs.h
>>conftest.
$ac_ext
19423 cat >>conftest.
$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 $ac_includes_default
19429 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19436 rm -f conftest.
$ac_objext
19437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19438 (eval $ac_compile) 2>conftest.er1
19440 grep -v '^ *+' conftest.er1
>conftest.err
19442 cat conftest.err
>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } &&
19445 { ac_try
='test -z "$ac_c_werror_flag"
19446 || test ! -s conftest.err'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; } &&
19452 { ac_try
='test -s conftest.$ac_objext'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; }; then
19460 cat >conftest.
$ac_ext <<_ACEOF
19463 cat confdefs.h
>>conftest.
$ac_ext
19464 cat >>conftest.
$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 $ac_includes_default
19470 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19477 rm -f conftest.
$ac_objext
19478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19479 (eval $ac_compile) 2>conftest.er1
19481 grep -v '^ *+' conftest.er1
>conftest.err
19483 cat conftest.err
>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } &&
19486 { ac_try
='test -z "$ac_c_werror_flag"
19487 || test ! -s conftest.err'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; } &&
19493 { ac_try
='test -s conftest.$ac_objext'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); }; }; then
19499 ac_hi
=$ac_mid; break
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.
$ac_ext >&5
19504 ac_lo
=`expr $ac_mid + 1`
19505 if test $ac_lo -le $ac_mid; then
19509 ac_mid
=`expr 2 '*' $ac_mid + 1`
19511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.
$ac_ext >&5
19517 cat >conftest.
$ac_ext <<_ACEOF
19520 cat confdefs.h
>>conftest.
$ac_ext
19521 cat >>conftest.
$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 $ac_includes_default
19527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19534 rm -f conftest.
$ac_objext
19535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19536 (eval $ac_compile) 2>conftest.er1
19538 grep -v '^ *+' conftest.er1
>conftest.err
19540 cat conftest.err
>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } &&
19543 { ac_try
='test -z "$ac_c_werror_flag"
19544 || test ! -s conftest.err'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; } &&
19550 { ac_try
='test -s conftest.$ac_objext'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; }; then
19558 cat >conftest.
$ac_ext <<_ACEOF
19561 cat confdefs.h
>>conftest.
$ac_ext
19562 cat >>conftest.
$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19564 $ac_includes_default
19568 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19575 rm -f conftest.
$ac_objext
19576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19577 (eval $ac_compile) 2>conftest.er1
19579 grep -v '^ *+' conftest.er1
>conftest.err
19581 cat conftest.err
>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } &&
19584 { ac_try
='test -z "$ac_c_werror_flag"
19585 || test ! -s conftest.err'
19586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587 (eval $ac_try) 2>&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; } &&
19591 { ac_try
='test -s conftest.$ac_objext'
19592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593 (eval $ac_try) 2>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; }; then
19597 ac_lo
=$ac_mid; break
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.
$ac_ext >&5
19602 ac_hi
=`expr '(' $ac_mid ')' - 1`
19603 if test $ac_mid -le $ac_hi; then
19607 ac_mid
=`expr 2 '*' $ac_mid`
19609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19612 echo "$as_me: failed program was:" >&5
19613 sed 's/^/| /' conftest.
$ac_ext >&5
19617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19620 # Binary search between lo and hi bounds.
19621 while test "x$ac_lo" != "x$ac_hi"; do
19622 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19623 cat >conftest.
$ac_ext <<_ACEOF
19626 cat confdefs.h
>>conftest.
$ac_ext
19627 cat >>conftest.
$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 $ac_includes_default
19633 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19640 rm -f conftest.
$ac_objext
19641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19642 (eval $ac_compile) 2>conftest.er1
19644 grep -v '^ *+' conftest.er1
>conftest.err
19646 cat conftest.err
>&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } &&
19649 { ac_try
='test -z "$ac_c_werror_flag"
19650 || test ! -s conftest.err'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; } &&
19656 { ac_try
='test -s conftest.$ac_objext'
19657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658 (eval $ac_try) 2>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); }; }; then
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.
$ac_ext >&5
19667 ac_lo
=`expr '(' $ac_mid ')' + 1`
19669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19672 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19673 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19674 See \`config.log' for more details." >&5
19675 echo "$as_me: error: cannot compute sizeof (long long), 77
19676 See \`config.log' for more details." >&2;}
19677 { (exit 1); exit 1; }; } ;;
19680 if test "$cross_compiling" = yes; then
19681 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19682 See \`config.log' for more details." >&5
19683 echo "$as_me: error: cannot run test program while cross compiling
19684 See \`config.log' for more details." >&2;}
19685 { (exit 1); exit 1; }; }
19687 cat >conftest.
$ac_ext <<_ACEOF
19690 cat confdefs.h
>>conftest.
$ac_ext
19691 cat >>conftest.
$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 $ac_includes_default
19694 long longval () { return (long) (sizeof (long long)); }
19695 unsigned long ulongval () { return (long) (sizeof (long long)); }
19697 #include <stdlib.h>
19702 FILE *f = fopen ("conftest.val", "w");
19705 if (((long) (sizeof (long long))) < 0)
19707 long i = longval ();
19708 if (i != ((long) (sizeof (long long))))
19710 fprintf (f, "%ld\n", i);
19714 unsigned long i = ulongval ();
19715 if (i != ((long) (sizeof (long long))))
19717 fprintf (f, "%lu\n", i);
19719 exit (ferror (f) || fclose (f) != 0);
19725 rm -f conftest
$ac_exeext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19727 (eval $ac_link) 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; }; then
19736 ac_cv_sizeof_long_long
=`cat conftest.val`
19738 echo "$as_me: program exited with status $ac_status" >&5
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.
$ac_ext >&5
19742 ( exit $ac_status )
19743 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19744 See \`config.log' for more details." >&5
19745 echo "$as_me: error: cannot compute sizeof (long long), 77
19746 See \`config.log' for more details." >&2;}
19747 { (exit 1); exit 1; }; }
19749 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19754 ac_cv_sizeof_long_long
=0
19757 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19758 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19759 cat >>confdefs.h
<<_ACEOF
19760 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19764 if test "$ac_cv_sizeof_long_long" != "0"; then
19765 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19769 echo "$as_me:$LINENO: checking for long long" >&5
19770 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19771 if test "${ac_cv_type_long_long+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 cat >conftest.
$ac_ext <<_ACEOF
19777 cat confdefs.h
>>conftest.
$ac_ext
19778 cat >>conftest.
$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19784 if ((long long *) 0)
19786 if (sizeof (long long))
19792 rm -f conftest.
$ac_objext
19793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19794 (eval $ac_compile) 2>conftest.er1
19796 grep -v '^ *+' conftest.er1
>conftest.err
19798 cat conftest.err
>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } &&
19801 { ac_try
='test -z "$ac_c_werror_flag"
19802 || 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
19814 ac_cv_type_long_long
=yes
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.
$ac_ext >&5
19819 ac_cv_type_long_long
=no
19821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19823 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19824 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19826 echo "$as_me:$LINENO: checking size of long long" >&5
19827 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19828 if test "${ac_cv_sizeof_long_long+set}" = set; then
19829 echo $ECHO_N "(cached) $ECHO_C" >&6
19831 if test "$ac_cv_type_long_long" = yes; then
19832 # The cast to unsigned long works around a bug in the HP C Compiler
19833 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19834 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19835 # This bug is HP SR number 8606223364.
19836 if test "$cross_compiling" = yes; then
19837 # Depending upon the size, compute the lo and hi bounds.
19838 cat >conftest.
$ac_ext <<_ACEOF
19841 cat confdefs.h
>>conftest.
$ac_ext
19842 cat >>conftest.
$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 $ac_includes_default
19848 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19855 rm -f conftest.
$ac_objext
19856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19857 (eval $ac_compile) 2>conftest.er1
19859 grep -v '^ *+' conftest.er1
>conftest.err
19861 cat conftest.err
>&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); } &&
19864 { ac_try
='test -z "$ac_c_werror_flag"
19865 || test ! -s conftest.err'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; } &&
19871 { ac_try
='test -s conftest.$ac_objext'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; }; then
19879 cat >conftest.
$ac_ext <<_ACEOF
19882 cat confdefs.h
>>conftest.
$ac_ext
19883 cat >>conftest.
$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19885 $ac_includes_default
19889 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19896 rm -f conftest.
$ac_objext
19897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19898 (eval $ac_compile) 2>conftest.er1
19900 grep -v '^ *+' conftest.er1
>conftest.err
19902 cat conftest.err
>&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } &&
19905 { ac_try
='test -z "$ac_c_werror_flag"
19906 || test ! -s conftest.err'
19907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19908 (eval $ac_try) 2>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; } &&
19912 { ac_try
='test -s conftest.$ac_objext'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; }; then
19918 ac_hi
=$ac_mid; break
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.
$ac_ext >&5
19923 ac_lo
=`expr $ac_mid + 1`
19924 if test $ac_lo -le $ac_mid; then
19928 ac_mid
=`expr 2 '*' $ac_mid + 1`
19930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.
$ac_ext >&5
19936 cat >conftest.
$ac_ext <<_ACEOF
19939 cat confdefs.h
>>conftest.
$ac_ext
19940 cat >>conftest.
$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19942 $ac_includes_default
19946 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19953 rm -f conftest.
$ac_objext
19954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19955 (eval $ac_compile) 2>conftest.er1
19957 grep -v '^ *+' conftest.er1
>conftest.err
19959 cat conftest.err
>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try
='test -z "$ac_c_werror_flag"
19963 || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try
='test -s conftest.$ac_objext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19977 cat >conftest.
$ac_ext <<_ACEOF
19980 cat confdefs.h
>>conftest.
$ac_ext
19981 cat >>conftest.
$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19983 $ac_includes_default
19987 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19994 rm -f conftest.
$ac_objext
19995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19996 (eval $ac_compile) 2>conftest.er1
19998 grep -v '^ *+' conftest.er1
>conftest.err
20000 cat conftest.err
>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); } &&
20003 { ac_try
='test -z "$ac_c_werror_flag"
20004 || test ! -s conftest.err'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; } &&
20010 { ac_try
='test -s conftest.$ac_objext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 ac_lo
=$ac_mid; break
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.
$ac_ext >&5
20021 ac_hi
=`expr '(' $ac_mid ')' - 1`
20022 if test $ac_mid -le $ac_hi; then
20026 ac_mid
=`expr 2 '*' $ac_mid`
20028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20031 echo "$as_me: failed program was:" >&5
20032 sed 's/^/| /' conftest.
$ac_ext >&5
20036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20039 # Binary search between lo and hi bounds.
20040 while test "x$ac_lo" != "x$ac_hi"; do
20041 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20042 cat >conftest.
$ac_ext <<_ACEOF
20045 cat confdefs.h
>>conftest.
$ac_ext
20046 cat >>conftest.
$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20048 $ac_includes_default
20052 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20059 rm -f conftest.
$ac_objext
20060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20061 (eval $ac_compile) 2>conftest.er1
20063 grep -v '^ *+' conftest.er1
>conftest.err
20065 cat conftest.err
>&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); } &&
20068 { ac_try
='test -z "$ac_c_werror_flag"
20069 || test ! -s conftest.err'
20070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20071 (eval $ac_try) 2>&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); }; } &&
20075 { ac_try
='test -s conftest.$ac_objext'
20076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20077 (eval $ac_try) 2>&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; }; then
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.
$ac_ext >&5
20086 ac_lo
=`expr '(' $ac_mid ')' + 1`
20088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20091 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20092 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20093 See \`config.log' for more details." >&5
20094 echo "$as_me: error: cannot compute sizeof (long long), 77
20095 See \`config.log' for more details." >&2;}
20096 { (exit 1); exit 1; }; } ;;
20099 if test "$cross_compiling" = yes; then
20100 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20101 See \`config.log' for more details." >&5
20102 echo "$as_me: error: cannot run test program while cross compiling
20103 See \`config.log' for more details." >&2;}
20104 { (exit 1); exit 1; }; }
20106 cat >conftest.
$ac_ext <<_ACEOF
20109 cat confdefs.h
>>conftest.
$ac_ext
20110 cat >>conftest.
$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 $ac_includes_default
20113 long longval () { return (long) (sizeof (long long)); }
20114 unsigned long ulongval () { return (long) (sizeof (long long)); }
20116 #include <stdlib.h>
20121 FILE *f = fopen ("conftest.val", "w");
20124 if (((long) (sizeof (long long))) < 0)
20126 long i = longval ();
20127 if (i != ((long) (sizeof (long long))))
20129 fprintf (f, "%ld\n", i);
20133 unsigned long i = ulongval ();
20134 if (i != ((long) (sizeof (long long))))
20136 fprintf (f, "%lu\n", i);
20138 exit (ferror (f) || fclose (f) != 0);
20144 rm -f conftest
$ac_exeext
20145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20146 (eval $ac_link) 2>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 ac_cv_sizeof_long_long
=`cat conftest.val`
20157 echo "$as_me: program exited with status $ac_status" >&5
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.
$ac_ext >&5
20161 ( exit $ac_status )
20162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20163 See \`config.log' for more details." >&5
20164 echo "$as_me: error: cannot compute sizeof (long long), 77
20165 See \`config.log' for more details." >&2;}
20166 { (exit 1); exit 1; }; }
20168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20173 ac_cv_sizeof_long_long
=0
20176 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20177 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20178 cat >>confdefs.h
<<_ACEOF
20179 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20185 echo "$as_me:$LINENO: checking for wchar_t" >&5
20186 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20187 if test "${ac_cv_type_wchar_t+set}" = set; then
20188 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 cat >conftest.
$ac_ext <<_ACEOF
20193 cat confdefs.h
>>conftest.
$ac_ext
20194 cat >>conftest.
$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20197 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20198 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20199 # error "fake wchar_t"
20201 #ifdef HAVE_WCHAR_H
20203 # include <stddef.h>
20205 # include <wchar.h>
20207 #ifdef HAVE_STDLIB_H
20208 # include <stdlib.h>
20219 if (sizeof (wchar_t))
20225 rm -f conftest.
$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>conftest.er1
20229 grep -v '^ *+' conftest.er1
>conftest.err
20231 cat conftest.err
>&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try
='test -z "$ac_c_werror_flag"
20235 || test ! -s conftest.err'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; } &&
20241 { ac_try
='test -s conftest.$ac_objext'
20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243 (eval $ac_try) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; }; then
20247 ac_cv_type_wchar_t
=yes
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.
$ac_ext >&5
20252 ac_cv_type_wchar_t
=no
20254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20256 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20257 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20259 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20260 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20261 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 if test "$ac_cv_type_wchar_t" = yes; then
20265 # The cast to unsigned long works around a bug in the HP C Compiler
20266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20268 # This bug is HP SR number 8606223364.
20269 if test "$cross_compiling" = yes; then
20270 # Depending upon the size, compute the lo and hi bounds.
20271 cat >conftest.
$ac_ext <<_ACEOF
20274 cat confdefs.h
>>conftest.
$ac_ext
20275 cat >>conftest.
$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20278 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20279 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20280 # error "fake wchar_t"
20282 #ifdef HAVE_WCHAR_H
20284 # include <stddef.h>
20286 # include <wchar.h>
20288 #ifdef HAVE_STDLIB_H
20289 # include <stdlib.h>
20298 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20305 rm -f conftest.
$ac_objext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20307 (eval $ac_compile) 2>conftest.er1
20309 grep -v '^ *+' conftest.er1
>conftest.err
20311 cat conftest.err
>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } &&
20314 { ac_try
='test -z "$ac_c_werror_flag"
20315 || test ! -s conftest.err'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; } &&
20321 { ac_try
='test -s conftest.$ac_objext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20329 cat >conftest.
$ac_ext <<_ACEOF
20332 cat confdefs.h
>>conftest.
$ac_ext
20333 cat >>conftest.
$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20336 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20337 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20338 # error "fake wchar_t"
20340 #ifdef HAVE_WCHAR_H
20342 # include <stddef.h>
20344 # include <wchar.h>
20346 #ifdef HAVE_STDLIB_H
20347 # include <stdlib.h>
20356 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20363 rm -f conftest.
$ac_objext
20364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20365 (eval $ac_compile) 2>conftest.er1
20367 grep -v '^ *+' conftest.er1
>conftest.err
20369 cat conftest.err
>&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); } &&
20372 { ac_try
='test -z "$ac_c_werror_flag"
20373 || test ! -s conftest.err'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; } &&
20379 { ac_try
='test -s conftest.$ac_objext'
20380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20381 (eval $ac_try) 2>&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; }; then
20385 ac_hi
=$ac_mid; break
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.
$ac_ext >&5
20390 ac_lo
=`expr $ac_mid + 1`
20391 if test $ac_lo -le $ac_mid; then
20395 ac_mid
=`expr 2 '*' $ac_mid + 1`
20397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.
$ac_ext >&5
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20411 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20412 # error "fake wchar_t"
20414 #ifdef HAVE_WCHAR_H
20416 # include <stddef.h>
20418 # include <wchar.h>
20420 #ifdef HAVE_STDLIB_H
20421 # include <stdlib.h>
20430 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20437 rm -f conftest.
$ac_objext
20438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20439 (eval $ac_compile) 2>conftest.er1
20441 grep -v '^ *+' conftest.er1
>conftest.err
20443 cat conftest.err
>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } &&
20446 { ac_try
='test -z "$ac_c_werror_flag"
20447 || test ! -s conftest.err'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; } &&
20453 { ac_try
='test -s conftest.$ac_objext'
20454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455 (eval $ac_try) 2>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20461 cat >conftest.
$ac_ext <<_ACEOF
20464 cat confdefs.h
>>conftest.
$ac_ext
20465 cat >>conftest.
$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20468 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20469 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20470 # error "fake wchar_t"
20472 #ifdef HAVE_WCHAR_H
20474 # include <stddef.h>
20476 # include <wchar.h>
20478 #ifdef HAVE_STDLIB_H
20479 # include <stdlib.h>
20488 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20495 rm -f conftest.
$ac_objext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497 (eval $ac_compile) 2>conftest.er1
20499 grep -v '^ *+' conftest.er1
>conftest.err
20501 cat conftest.err
>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try
='test -z "$ac_c_werror_flag"
20505 || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try
='test -s conftest.$ac_objext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_lo
=$ac_mid; break
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.
$ac_ext >&5
20522 ac_hi
=`expr '(' $ac_mid ')' - 1`
20523 if test $ac_mid -le $ac_hi; then
20527 ac_mid
=`expr 2 '*' $ac_mid`
20529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.
$ac_ext >&5
20537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20540 # Binary search between lo and hi bounds.
20541 while test "x$ac_lo" != "x$ac_hi"; do
20542 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20543 cat >conftest.
$ac_ext <<_ACEOF
20546 cat confdefs.h
>>conftest.
$ac_ext
20547 cat >>conftest.
$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20550 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20551 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20552 # error "fake wchar_t"
20554 #ifdef HAVE_WCHAR_H
20556 # include <stddef.h>
20558 # include <wchar.h>
20560 #ifdef HAVE_STDLIB_H
20561 # include <stdlib.h>
20570 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20577 rm -f conftest.
$ac_objext
20578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20579 (eval $ac_compile) 2>conftest.er1
20581 grep -v '^ *+' conftest.er1
>conftest.err
20583 cat conftest.err
>&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); } &&
20586 { ac_try
='test -z "$ac_c_werror_flag"
20587 || test ! -s conftest.err'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; } &&
20593 { ac_try
='test -s conftest.$ac_objext'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; }; then
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.
$ac_ext >&5
20604 ac_lo
=`expr '(' $ac_mid ')' + 1`
20606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20609 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20610 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20611 See \`config.log' for more details." >&5
20612 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20613 See \`config.log' for more details." >&2;}
20614 { (exit 1); exit 1; }; } ;;
20617 if test "$cross_compiling" = yes; then
20618 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20619 See \`config.log' for more details." >&5
20620 echo "$as_me: error: cannot run test program while cross compiling
20621 See \`config.log' for more details." >&2;}
20622 { (exit 1); exit 1; }; }
20624 cat >conftest.
$ac_ext <<_ACEOF
20627 cat confdefs.h
>>conftest.
$ac_ext
20628 cat >>conftest.
$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20631 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20632 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20633 # error "fake wchar_t"
20635 #ifdef HAVE_WCHAR_H
20637 # include <stddef.h>
20639 # include <wchar.h>
20641 #ifdef HAVE_STDLIB_H
20642 # include <stdlib.h>
20648 long longval () { return (long) (sizeof (wchar_t)); }
20649 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20651 #include <stdlib.h>
20656 FILE *f = fopen ("conftest.val", "w");
20659 if (((long) (sizeof (wchar_t))) < 0)
20661 long i = longval ();
20662 if (i != ((long) (sizeof (wchar_t))))
20664 fprintf (f, "%ld\n", i);
20668 unsigned long i = ulongval ();
20669 if (i != ((long) (sizeof (wchar_t))))
20671 fprintf (f, "%lu\n", i);
20673 exit (ferror (f) || fclose (f) != 0);
20679 rm -f conftest
$ac_exeext
20680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20681 (eval $ac_link) 2>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20692 echo "$as_me: program exited with status $ac_status" >&5
20693 echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.
$ac_ext >&5
20696 ( exit $ac_status )
20697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20698 See \`config.log' for more details." >&5
20699 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20700 See \`config.log' for more details." >&2;}
20701 { (exit 1); exit 1; }; }
20703 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20708 ac_cv_sizeof_wchar_t
=0
20711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20712 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20713 cat >>confdefs.h
<<_ACEOF
20714 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20718 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20724 echo "$as_me:$LINENO: checking for va_copy" >&5
20725 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20726 if test "${wx_cv_func_va_copy+set}" = set; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 cat >conftest.
$ac_ext <<_ACEOF
20732 #include <stdarg.h>
20733 void foo(char *f, ...)
20747 rm -f conftest.
$ac_objext conftest
$ac_exeext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20749 (eval $ac_link) 2>conftest.er1
20751 grep -v '^ *+' conftest.er1
>conftest.err
20753 cat conftest.err
>&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } &&
20756 { ac_try
='test -z "$ac_c_werror_flag"
20757 || test ! -s conftest.err'
20758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20759 (eval $ac_try) 2>&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); }; } &&
20763 { ac_try
='test -s conftest$ac_exeext'
20764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20765 (eval $ac_try) 2>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); }; }; then
20769 wx_cv_func_va_copy
=yes
20771 echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.
$ac_ext >&5
20774 wx_cv_func_va_copy
=no
20777 rm -f conftest.err conftest.
$ac_objext \
20778 conftest
$ac_exeext conftest.
$ac_ext
20782 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20783 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20785 if test $wx_cv_func_va_copy = "yes"; then
20786 cat >>confdefs.h
<<\_ACEOF
20787 #define HAVE_VA_COPY 1
20791 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20792 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20793 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20794 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 if test "$cross_compiling" = yes; then
20798 wx_cv_type_va_list_lvalue
=yes
20801 cat >conftest.
$ac_ext <<_ACEOF
20803 #include <stdarg.h>
20804 int foo(char *f, ...)
20809 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20817 return foo("hi", 17);
20820 rm -f conftest
$ac_exeext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20822 (eval $ac_link) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; }; then
20831 wx_cv_type_va_list_lvalue
=yes
20833 echo "$as_me: program exited with status $ac_status" >&5
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.
$ac_ext >&5
20837 ( exit $ac_status )
20838 wx_cv_type_va_list_lvalue
=no
20840 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20845 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20846 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20848 if test $wx_cv_type_va_list_lvalue != "yes"; then
20849 cat >>confdefs.h
<<\_ACEOF
20850 #define VA_LIST_IS_ARRAY 1
20856 # Check whether --enable-largefile or --disable-largefile was given.
20857 if test "${enable_largefile+set}" = set; then
20858 enableval
="$enable_largefile"
20861 if test "$enable_largefile" != no
; then
20864 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20865 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20866 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 cat >conftest.
$ac_ext <<_ACEOF
20873 cat confdefs.h
>>conftest.
$ac_ext
20874 cat >>conftest.
$ac_ext <<_ACEOF
20875 /* end confdefs.h. */
20876 #define _FILE_OFFSET_BITS 64
20877 #include <sys/types.h>
20882 unsigned int field: sizeof(off_t) == 8;
20889 rm -f conftest.
$ac_objext
20890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20891 (eval $ac_compile) 2>conftest.er1
20893 grep -v '^ *+' conftest.er1
>conftest.err
20895 cat conftest.err
>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); } &&
20898 { ac_try
='test -z "$ac_c_werror_flag"
20899 || test ! -s conftest.err'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; } &&
20905 { ac_try
='test -s conftest.$ac_objext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20911 ac_cv_sys_file_offset_bits
=64
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.
$ac_ext >&5
20916 ac_cv_sys_file_offset_bits
=no
20918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20922 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20923 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20925 if test "$ac_cv_sys_file_offset_bits" != no
; then
20927 cat >>confdefs.h
<<_ACEOF
20928 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20933 if test "x$wx_largefile" != "xyes"; then
20935 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20936 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20937 if test "${ac_cv_sys_large_files+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 cat >conftest.
$ac_ext <<_ACEOF
20944 cat confdefs.h
>>conftest.
$ac_ext
20945 cat >>conftest.
$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 #define _LARGE_FILES 1
20948 #include <sys/types.h>
20953 unsigned int field: sizeof(off_t) == 8;
20960 rm -f conftest.
$ac_objext
20961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20962 (eval $ac_compile) 2>conftest.er1
20964 grep -v '^ *+' conftest.er1
>conftest.err
20966 cat conftest.err
>&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } &&
20969 { ac_try
='test -z "$ac_c_werror_flag"
20970 || test ! -s conftest.err'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; } &&
20976 { ac_try
='test -s conftest.$ac_objext'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; }; then
20982 ac_cv_sys_large_files
=1
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.
$ac_ext >&5
20987 ac_cv_sys_large_files
=no
20989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20993 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20994 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20996 if test "$ac_cv_sys_large_files" != no
; then
20998 cat >>confdefs.h
<<_ACEOF
20999 #define _LARGE_FILES $ac_cv_sys_large_files
21006 echo "$as_me:$LINENO: checking if large file support is available" >&5
21007 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21008 if test "x$wx_largefile" = "xyes"; then
21009 cat >>confdefs.h
<<\_ACEOF
21010 #define HAVE_LARGEFILE_SUPPORT 1
21014 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21015 echo "${ECHO_T}$wx_largefile" >&6
21019 if test "x$wx_largefile" = "xyes"; then
21020 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21021 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21023 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21024 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21025 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21026 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21033 ac_cpp
='$CXXCPP $CPPFLAGS'
21034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21038 cat >conftest.
$ac_ext <<_ACEOF
21041 cat confdefs.h
>>conftest.
$ac_ext
21042 cat >>conftest.
$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21049 #ifndef __STDC_EXT__
21057 rm -f conftest.
$ac_objext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21059 (eval $ac_compile) 2>conftest.er1
21061 grep -v '^ *+' conftest.er1
>conftest.err
21063 cat conftest.err
>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try
='test -z "$ac_cxx_werror_flag"
21067 || test ! -s conftest.err'
21068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069 (eval $ac_try) 2>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; } &&
21073 { ac_try
='test -s conftest.$ac_objext'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; }; then
21079 wx_cv_STDC_EXT_required
=no
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.
$ac_ext >&5
21084 wx_cv_STDC_EXT_required
=yes
21087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21089 ac_cpp
='$CPP $CPPFLAGS'
21090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21097 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21098 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21099 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21100 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
21104 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
21106 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21107 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21108 if test "${ac_cv_sys_largefile_source+set}" = set; then
21109 echo $ECHO_N "(cached) $ECHO_C" >&6
21112 ac_cv_sys_largefile_source
=no
21113 cat >conftest.
$ac_ext <<_ACEOF
21116 cat confdefs.h
>>conftest.
$ac_ext
21117 cat >>conftest.
$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21128 rm -f conftest.
$ac_objext
21129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21130 (eval $ac_compile) 2>conftest.er1
21132 grep -v '^ *+' conftest.er1
>conftest.err
21134 cat conftest.err
>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); } &&
21137 { ac_try
='test -z "$ac_c_werror_flag"
21138 || test ! -s conftest.err'
21139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21140 (eval $ac_try) 2>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; } &&
21144 { ac_try
='test -s conftest.$ac_objext'
21145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21146 (eval $ac_try) 2>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); }; }; then
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.
$ac_ext >&5
21156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21157 cat >conftest.
$ac_ext <<_ACEOF
21160 cat confdefs.h
>>conftest.
$ac_ext
21161 cat >>conftest.
$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163 #define _LARGEFILE_SOURCE 1
21173 rm -f conftest.
$ac_objext
21174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21175 (eval $ac_compile) 2>conftest.er1
21177 grep -v '^ *+' conftest.er1
>conftest.err
21179 cat conftest.err
>&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } &&
21182 { ac_try
='test -z "$ac_c_werror_flag"
21183 || test ! -s conftest.err'
21184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21185 (eval $ac_try) 2>&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; } &&
21189 { ac_try
='test -s conftest.$ac_objext'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; }; then
21195 ac_cv_sys_largefile_source
=1; break
21197 echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.
$ac_ext >&5
21201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21205 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21206 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21207 if test "$ac_cv_sys_largefile_source" != no
; then
21209 cat >>confdefs.h
<<_ACEOF
21210 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21216 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21217 # in glibc 2.1.3, but that breaks too many other things.
21218 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21219 echo "$as_me:$LINENO: checking for fseeko" >&5
21220 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21221 if test "${ac_cv_func_fseeko+set}" = set; then
21222 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 cat >conftest.
$ac_ext <<_ACEOF
21227 cat confdefs.h
>>conftest.
$ac_ext
21228 cat >>conftest.
$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21234 return fseeko && fseeko (stdin, 0, 0);
21239 rm -f conftest.
$ac_objext conftest
$ac_exeext
21240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21241 (eval $ac_link) 2>conftest.er1
21243 grep -v '^ *+' conftest.er1
>conftest.err
21245 cat conftest.err
>&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); } &&
21248 { ac_try
='test -z "$ac_c_werror_flag"
21249 || test ! -s conftest.err'
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; } &&
21255 { ac_try
='test -s conftest$ac_exeext'
21256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21257 (eval $ac_try) 2>&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); }; }; then
21261 ac_cv_func_fseeko
=yes
21263 echo "$as_me: failed program was:" >&5
21264 sed 's/^/| /' conftest.
$ac_ext >&5
21266 ac_cv_func_fseeko
=no
21268 rm -f conftest.err conftest.
$ac_objext \
21269 conftest
$ac_exeext conftest.
$ac_ext
21271 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21272 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21273 if test $ac_cv_func_fseeko = yes; then
21275 cat >>confdefs.h
<<\_ACEOF
21276 #define HAVE_FSEEKO 1
21281 if test "$ac_cv_sys_largefile_source" != no
; then
21282 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21284 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
21287 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21288 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21289 if test "${ac_cv_c_bigendian+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 ac_cv_c_bigendian
=unknown
21293 # See if sys/param.h defines the BYTE_ORDER macro.
21294 cat >conftest.
$ac_ext <<_ACEOF
21297 cat confdefs.h
>>conftest.
$ac_ext
21298 cat >>conftest.
$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 #include <sys/types.h>
21301 #include <sys/param.h>
21306 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21307 bogus endian macros
21313 rm -f conftest.
$ac_objext
21314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21315 (eval $ac_compile) 2>conftest.er1
21317 grep -v '^ *+' conftest.er1
>conftest.err
21319 cat conftest.err
>&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } &&
21322 { ac_try
='test -z "$ac_c_werror_flag"
21323 || test ! -s conftest.err'
21324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21325 (eval $ac_try) 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; } &&
21329 { ac_try
='test -s conftest.$ac_objext'
21330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331 (eval $ac_try) 2>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); }; }; then
21335 # It does; now see whether it defined to BIG_ENDIAN or not.
21336 cat >conftest.
$ac_ext <<_ACEOF
21339 cat confdefs.h
>>conftest.
$ac_ext
21340 cat >>conftest.
$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 #include <sys/types.h>
21343 #include <sys/param.h>
21348 #if BYTE_ORDER != BIG_ENDIAN
21355 rm -f conftest.
$ac_objext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21357 (eval $ac_compile) 2>conftest.er1
21359 grep -v '^ *+' conftest.er1
>conftest.err
21361 cat conftest.err
>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try
='test -z "$ac_c_werror_flag"
21365 || test ! -s conftest.err'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; } &&
21371 { ac_try
='test -s conftest.$ac_objext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 ac_cv_c_bigendian
=yes
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.
$ac_ext >&5
21382 ac_cv_c_bigendian
=no
21384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.
$ac_ext >&5
21390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21391 if test $ac_cv_c_bigendian = unknown
; then
21392 if test "$cross_compiling" = yes; then
21393 ac_cv_c_bigendian
=unknown
21395 cat >conftest.
$ac_ext <<_ACEOF
21398 cat confdefs.h
>>conftest.
$ac_ext
21399 cat >>conftest.
$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21402 /* Are we little or big endian? From Harbison&Steele. */
21406 char c[sizeof (long)];
21409 exit (u.c[sizeof (long) - 1] == 1);
21412 rm -f conftest
$ac_exeext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21414 (eval $ac_link) 2>&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; }; then
21423 ac_cv_c_bigendian
=no
21425 echo "$as_me: program exited with status $ac_status" >&5
21426 echo "$as_me: failed program was:" >&5
21427 sed 's/^/| /' conftest.
$ac_ext >&5
21429 ( exit $ac_status )
21430 ac_cv_c_bigendian
=yes
21432 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21436 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21437 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21438 if test $ac_cv_c_bigendian = unknown
; then
21439 { 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
21440 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;}
21442 if test $ac_cv_c_bigendian = yes; then
21443 cat >>confdefs.h
<<\_ACEOF
21444 #define WORDS_BIGENDIAN 1
21451 ac_cpp
='$CXXCPP $CPPFLAGS'
21452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21455 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21456 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21457 if test -z "$CXXCPP"; then
21458 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21459 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 # Double quotes because CXXCPP needs to be expanded
21462 for CXXCPP
in "$CXX -E" "/lib/cpp"
21464 ac_preproc_ok
=false
21465 for ac_cxx_preproc_warn_flag
in '' yes
21467 # Use a header file that comes with gcc, so configuring glibc
21468 # with a fresh cross-compiler works.
21469 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21470 # <limits.h> exists even on freestanding compilers.
21471 # On the NeXT, cc -E runs the code through the compiler's parser,
21472 # not just through cpp. "Syntax error" is here to catch this case.
21473 cat >conftest.
$ac_ext <<_ACEOF
21476 cat confdefs.h
>>conftest.
$ac_ext
21477 cat >>conftest.
$ac_ext <<_ACEOF
21478 /* end confdefs.h. */
21480 # include <limits.h>
21482 # include <assert.h>
21486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21487 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21489 grep -v '^ *+' conftest.er1
>conftest.err
21491 cat conftest.err
>&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } >/dev
/null
; then
21494 if test -s conftest.err
; then
21495 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21496 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21503 if test -z "$ac_cpp_err"; then
21506 echo "$as_me: failed program was:" >&5
21507 sed 's/^/| /' conftest.
$ac_ext >&5
21509 # Broken: fails on valid input.
21512 rm -f conftest.err conftest.
$ac_ext
21514 # OK, works on sane cases. Now check whether non-existent headers
21515 # can be detected and how.
21516 cat >conftest.
$ac_ext <<_ACEOF
21519 cat confdefs.h
>>conftest.
$ac_ext
21520 cat >>conftest.
$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 #include <ac_nonexistent.h>
21524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21527 grep -v '^ *+' conftest.er1
>conftest.err
21529 cat conftest.err
>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } >/dev
/null
; then
21532 if test -s conftest.err
; then
21533 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21534 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21541 if test -z "$ac_cpp_err"; then
21542 # Broken: success on invalid input.
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.
$ac_ext >&5
21548 # Passes both tests.
21552 rm -f conftest.err conftest.
$ac_ext
21555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21556 rm -f conftest.err conftest.
$ac_ext
21557 if $ac_preproc_ok; then
21562 ac_cv_prog_CXXCPP
=$CXXCPP
21565 CXXCPP
=$ac_cv_prog_CXXCPP
21567 ac_cv_prog_CXXCPP
=$CXXCPP
21569 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21570 echo "${ECHO_T}$CXXCPP" >&6
21571 ac_preproc_ok
=false
21572 for ac_cxx_preproc_warn_flag
in '' yes
21574 # Use a header file that comes with gcc, so configuring glibc
21575 # with a fresh cross-compiler works.
21576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21577 # <limits.h> exists even on freestanding compilers.
21578 # On the NeXT, cc -E runs the code through the compiler's parser,
21579 # not just through cpp. "Syntax error" is here to catch this case.
21580 cat >conftest.
$ac_ext <<_ACEOF
21583 cat confdefs.h
>>conftest.
$ac_ext
21584 cat >>conftest.
$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21587 # include <limits.h>
21589 # include <assert.h>
21593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21594 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21596 grep -v '^ *+' conftest.er1
>conftest.err
21598 cat conftest.err
>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } >/dev
/null
; then
21601 if test -s conftest.err
; then
21602 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21603 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21610 if test -z "$ac_cpp_err"; then
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.
$ac_ext >&5
21616 # Broken: fails on valid input.
21619 rm -f conftest.err conftest.
$ac_ext
21621 # OK, works on sane cases. Now check whether non-existent headers
21622 # can be detected and how.
21623 cat >conftest.
$ac_ext <<_ACEOF
21626 cat confdefs.h
>>conftest.
$ac_ext
21627 cat >>conftest.
$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21629 #include <ac_nonexistent.h>
21631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21634 grep -v '^ *+' conftest.er1
>conftest.err
21636 cat conftest.err
>&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); } >/dev
/null
; then
21639 if test -s conftest.err
; then
21640 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21641 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21648 if test -z "$ac_cpp_err"; then
21649 # Broken: success on invalid input.
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.
$ac_ext >&5
21655 # Passes both tests.
21659 rm -f conftest.err conftest.
$ac_ext
21662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21663 rm -f conftest.err conftest.
$ac_ext
21664 if $ac_preproc_ok; then
21667 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21668 See \`config.log' for more details." >&5
21669 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21670 See \`config.log' for more details." >&2;}
21671 { (exit 1); exit 1; }; }
21675 ac_cpp
='$CXXCPP $CPPFLAGS'
21676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21685 ac_cpp
='$CXXCPP $CPPFLAGS'
21686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21692 for ac_header
in iostream
21694 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21696 echo "$as_me:$LINENO: checking for $ac_header" >&5
21697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21699 echo $ECHO_N "(cached) $ECHO_C" >&6
21701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21704 # Is the header compilable?
21705 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21707 cat >conftest.
$ac_ext <<_ACEOF
21710 cat confdefs.h
>>conftest.
$ac_ext
21711 cat >>conftest.
$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21714 #include <$ac_header>
21716 rm -f conftest.
$ac_objext
21717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21718 (eval $ac_compile) 2>conftest.er1
21720 grep -v '^ *+' conftest.er1
>conftest.err
21722 cat conftest.err
>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
21725 { ac_try
='test -z "$ac_cxx_werror_flag"
21726 || test ! -s conftest.err'
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; } &&
21732 { ac_try
='test -s conftest.$ac_objext'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; }; then
21738 ac_header_compiler
=yes
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.
$ac_ext >&5
21743 ac_header_compiler
=no
21745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21747 echo "${ECHO_T}$ac_header_compiler" >&6
21749 # Is the header present?
21750 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21752 cat >conftest.
$ac_ext <<_ACEOF
21755 cat confdefs.h
>>conftest.
$ac_ext
21756 cat >>conftest.
$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758 #include <$ac_header>
21760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21763 grep -v '^ *+' conftest.er1
>conftest.err
21765 cat conftest.err
>&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); } >/dev
/null
; then
21768 if test -s conftest.err
; then
21769 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21770 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21777 if test -z "$ac_cpp_err"; then
21778 ac_header_preproc
=yes
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.
$ac_ext >&5
21783 ac_header_preproc
=no
21785 rm -f conftest.err conftest.
$ac_ext
21786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21787 echo "${ECHO_T}$ac_header_preproc" >&6
21789 # So? What about this header?
21790 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21795 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21796 ac_header_preproc
=yes
21799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21803 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21804 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21805 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21813 ## ----------------------------------------- ##
21814 ## Report this to wx-dev@lists.wxwidgets.org ##
21815 ## ----------------------------------------- ##
21818 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
21828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21833 cat >>confdefs.h
<<_ACEOF
21834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21842 if test "$ac_cv_header_iostream" = "yes" ; then
21845 cat >>confdefs.h
<<\_ACEOF
21846 #define wxUSE_IOSTREAMH 1
21852 ac_cpp
='$CPP $CPPFLAGS'
21853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21860 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21861 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21862 if test "${wx_cv_cpp_bool+set}" = set; then
21863 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 ac_cpp
='$CXXCPP $CPPFLAGS'
21870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21875 cat >conftest.
$ac_ext <<_ACEOF
21878 cat confdefs.h
>>conftest.
$ac_ext
21879 cat >>conftest.
$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21895 rm -f conftest.
$ac_objext
21896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21897 (eval $ac_compile) 2>conftest.er1
21899 grep -v '^ *+' conftest.er1
>conftest.err
21901 cat conftest.err
>&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } &&
21904 { ac_try
='test -z "$ac_cxx_werror_flag"
21905 || test ! -s conftest.err'
21906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907 (eval $ac_try) 2>&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; } &&
21911 { ac_try
='test -s conftest.$ac_objext'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.
$ac_ext >&5
21929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21932 ac_cpp
='$CPP $CPPFLAGS'
21933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21939 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21940 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21942 if test "$wx_cv_cpp_bool" = "yes"; then
21943 cat >>confdefs.h
<<\_ACEOF
21944 #define HAVE_BOOL 1
21951 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21952 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21953 if test "${wx_cv_explicit+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21960 ac_cpp
='$CXXCPP $CPPFLAGS'
21961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21966 cat >conftest.
$ac_ext <<_ACEOF
21969 cat confdefs.h
>>conftest.
$ac_ext
21970 cat >>conftest.
$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21973 class Foo { public: explicit Foo(int) {} };
21985 rm -f conftest.
$ac_objext
21986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21987 (eval $ac_compile) 2>conftest.er1
21989 grep -v '^ *+' conftest.er1
>conftest.err
21991 cat conftest.err
>&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } &&
21994 { ac_try
='test -z "$ac_cxx_werror_flag"
21995 || test ! -s conftest.err'
21996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997 (eval $ac_try) 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; } &&
22001 { ac_try
='test -s conftest.$ac_objext'
22002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003 (eval $ac_try) 2>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; }; then
22008 cat >conftest.
$ac_ext <<_ACEOF
22011 cat confdefs.h
>>conftest.
$ac_ext
22012 cat >>conftest.
$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22015 class Foo { public: explicit Foo(int) {} };
22016 static void TakeFoo(const Foo& foo) { }
22029 rm -f conftest.
$ac_objext
22030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22031 (eval $ac_compile) 2>conftest.er1
22033 grep -v '^ *+' conftest.er1
>conftest.err
22035 cat conftest.err
>&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); } &&
22038 { ac_try
='test -z "$ac_cxx_werror_flag"
22039 || test ! -s conftest.err'
22040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22041 (eval $ac_try) 2>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); }; } &&
22045 { ac_try
='test -s conftest.$ac_objext'
22046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22047 (eval $ac_try) 2>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); }; }; then
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.
$ac_ext >&5
22059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.
$ac_ext >&5
22068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22071 ac_cpp
='$CPP $CPPFLAGS'
22072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22078 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22079 echo "${ECHO_T}$wx_cv_explicit" >&6
22081 if test "$wx_cv_explicit" = "yes"; then
22082 cat >>confdefs.h
<<\_ACEOF
22083 #define HAVE_EXPLICIT 1
22089 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22090 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22091 if test "${ac_cv_cxx_const_cast+set}" = set; then
22092 echo $ECHO_N "(cached) $ECHO_C" >&6
22097 ac_cpp
='$CXXCPP $CPPFLAGS'
22098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22102 cat >conftest.
$ac_ext <<_ACEOF
22105 cat confdefs.h
>>conftest.
$ac_ext
22106 cat >>conftest.
$ac_ext <<_ACEOF
22107 /* end confdefs.h. */
22112 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22117 rm -f conftest.
$ac_objext
22118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22119 (eval $ac_compile) 2>conftest.er1
22121 grep -v '^ *+' conftest.er1
>conftest.err
22123 cat conftest.err
>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); } &&
22126 { ac_try
='test -z "$ac_cxx_werror_flag"
22127 || test ! -s conftest.err'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; } &&
22133 { ac_try
='test -s conftest.$ac_objext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 ac_cv_cxx_const_cast
=yes
22141 echo "$as_me: failed program was:" >&5
22142 sed 's/^/| /' conftest.
$ac_ext >&5
22144 ac_cv_cxx_const_cast
=no
22146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22148 ac_cpp
='$CPP $CPPFLAGS'
22149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22155 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22156 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22157 if test "$ac_cv_cxx_const_cast" = yes; then
22159 cat >>confdefs.h
<<\_ACEOF
22160 #define HAVE_CONST_CAST
22165 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22166 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22167 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22168 echo $ECHO_N "(cached) $ECHO_C" >&6
22173 ac_cpp
='$CXXCPP $CPPFLAGS'
22174 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22175 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22176 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22178 cat >conftest.
$ac_ext <<_ACEOF
22181 cat confdefs.h
>>conftest.
$ac_ext
22182 cat >>conftest.
$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 #include <typeinfo>
22185 class Base { public : Base () {} virtual void f () = 0;};
22186 class Derived : public Base { public : Derived () {} virtual void f () {} };
22187 class Unrelated { public : Unrelated () {} };
22188 int g (Unrelated&) { return 0; }
22193 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22198 rm -f conftest.
$ac_objext
22199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22200 (eval $ac_compile) 2>conftest.er1
22202 grep -v '^ *+' conftest.er1
>conftest.err
22204 cat conftest.err
>&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); } &&
22207 { ac_try
='test -z "$ac_cxx_werror_flag"
22208 || test ! -s conftest.err'
22209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22210 (eval $ac_try) 2>&5
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); }; } &&
22214 { ac_try
='test -s conftest.$ac_objext'
22215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22216 (eval $ac_try) 2>&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); }; }; then
22220 ac_cv_cxx_reinterpret_cast
=yes
22222 echo "$as_me: failed program was:" >&5
22223 sed 's/^/| /' conftest.
$ac_ext >&5
22225 ac_cv_cxx_reinterpret_cast
=no
22227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22229 ac_cpp
='$CPP $CPPFLAGS'
22230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22236 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22237 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22238 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22240 cat >>confdefs.h
<<\_ACEOF
22241 #define HAVE_REINTERPRET_CAST
22246 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22247 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22248 if test "${ac_cv_cxx_static_cast+set}" = set; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22254 ac_cpp
='$CXXCPP $CPPFLAGS'
22255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22259 cat >conftest.
$ac_ext <<_ACEOF
22262 cat confdefs.h
>>conftest.
$ac_ext
22263 cat >>conftest.
$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 #include <typeinfo>
22266 class Base { public : Base () {} virtual void f () = 0; };
22267 class Derived : public Base { public : Derived () {} virtual void f () {} };
22268 int g (Derived&) { return 0; }
22273 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22278 rm -f conftest.
$ac_objext
22279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22280 (eval $ac_compile) 2>conftest.er1
22282 grep -v '^ *+' conftest.er1
>conftest.err
22284 cat conftest.err
>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); } &&
22287 { ac_try
='test -z "$ac_cxx_werror_flag"
22288 || test ! -s conftest.err'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; } &&
22294 { ac_try
='test -s conftest.$ac_objext'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; }; then
22300 ac_cv_cxx_static_cast
=yes
22302 echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.
$ac_ext >&5
22305 ac_cv_cxx_static_cast
=no
22307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22309 ac_cpp
='$CPP $CPPFLAGS'
22310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22316 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22317 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22318 if test "$ac_cv_cxx_static_cast" = yes; then
22320 cat >>confdefs.h
<<\_ACEOF
22321 #define HAVE_STATIC_CAST
22327 if test "x$SUNCXX" = xyes
; then
22328 CXXFLAGS
="$CXXFLAGS -features=tmplife"
22331 if test "x$SUNCC" = xyes
; then
22332 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22335 if test "x$SGICC" = "xyes"; then
22336 CFLAGS
="$CFLAGS -woff 3970"
22338 if test "x$SGICXX" = "xyes"; then
22339 CXXFLAGS
="$CXXFLAGS -woff 3970"
22342 if test "x$HPCC" = "xyes"; then
22343 CFLAGS
="$CFLAGS +W 2011,2450"
22345 if test "x$HPCXX" = "xyes"; then
22346 CXXFLAGS
="$CXXFLAGS +W 2340"
22349 if test "x$COMPAQCXX" = "xyes"; then
22350 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22353 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22355 ac_cpp
='$CXXCPP $CPPFLAGS'
22356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22361 if test "$wxUSE_UNICODE" = "yes"; then
22362 std_string
="std::wstring"
22363 char_type
="wchar_t"
22365 std_string
="std::string"
22369 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22370 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22371 cat >conftest.
$ac_ext <<_ACEOF
22374 cat confdefs.h
>>conftest.
$ac_ext
22375 cat >>conftest.
$ac_ext <<_ACEOF
22376 /* end confdefs.h. */
22386 rm -f conftest.
$ac_objext
22387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22388 (eval $ac_compile) 2>conftest.er1
22390 grep -v '^ *+' conftest.er1
>conftest.err
22392 cat conftest.err
>&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } &&
22395 { ac_try
='test -z "$ac_cxx_werror_flag"
22396 || test ! -s conftest.err'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; } &&
22402 { ac_try
='test -s conftest.$ac_objext'
22403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22404 (eval $ac_try) 2>&5
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); }; }; then
22408 echo "$as_me:$LINENO: result: yes" >&5
22409 echo "${ECHO_T}yes" >&6
22410 cat >>confdefs.h
<<\_ACEOF
22411 #define HAVE_STD_WSTRING 1
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.
$ac_ext >&5
22418 echo "$as_me:$LINENO: result: no" >&5
22419 echo "${ECHO_T}no" >&6
22420 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22421 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22422 cat >conftest.
$ac_ext <<_ACEOF
22425 cat confdefs.h
>>conftest.
$ac_ext
22426 cat >>conftest.
$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22429 #ifdef HAVE_WCHAR_H
22431 # include <stddef.h>
22433 # include <wchar.h>
22435 #ifdef HAVE_STDLIB_H
22436 # include <stdlib.h>
22444 std::basic_string<$char_type> foo;
22445 const $char_type* dummy = foo.c_str();
22450 rm -f conftest.
$ac_objext
22451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22452 (eval $ac_compile) 2>conftest.er1
22454 grep -v '^ *+' conftest.er1
>conftest.err
22456 cat conftest.err
>&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } &&
22459 { ac_try
='test -z "$ac_cxx_werror_flag"
22460 || test ! -s conftest.err'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; } &&
22466 { ac_try
='test -s conftest.$ac_objext'
22467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22468 (eval $ac_try) 2>&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); }; }; then
22472 echo "$as_me:$LINENO: result: yes" >&5
22473 echo "${ECHO_T}yes" >&6
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.
$ac_ext >&5
22478 echo "$as_me:$LINENO: result: no" >&5
22479 echo "${ECHO_T}no" >&6
22480 if test "$wxUSE_STL" = "yes"; then
22481 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22482 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22483 { (exit 1); exit 1; }; }
22484 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22485 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22486 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22487 { (exit 1); exit 1; }; }
22489 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22490 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22491 wxUSE_STD_STRING
=no
22496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22502 ac_cpp
='$CPP $CPPFLAGS'
22503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22509 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22511 ac_cpp
='$CXXCPP $CPPFLAGS'
22512 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22513 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22514 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22517 echo "$as_me:$LINENO: checking for std::istream" >&5
22518 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22519 if test "${ac_cv_type_std__istream+set}" = set; then
22520 echo $ECHO_N "(cached) $ECHO_C" >&6
22522 cat >conftest.
$ac_ext <<_ACEOF
22525 cat confdefs.h
>>conftest.
$ac_ext
22526 cat >>conftest.
$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 #include <iostream>
22533 if ((std::istream *) 0)
22535 if (sizeof (std::istream))
22541 rm -f conftest.
$ac_objext
22542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22543 (eval $ac_compile) 2>conftest.er1
22545 grep -v '^ *+' conftest.er1
>conftest.err
22547 cat conftest.err
>&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } &&
22550 { ac_try
='test -z "$ac_cxx_werror_flag"
22551 || test ! -s conftest.err'
22552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22553 (eval $ac_try) 2>&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); }; } &&
22557 { ac_try
='test -s conftest.$ac_objext'
22558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22559 (eval $ac_try) 2>&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); }; }; then
22563 ac_cv_type_std__istream
=yes
22565 echo "$as_me: failed program was:" >&5
22566 sed 's/^/| /' conftest.
$ac_ext >&5
22568 ac_cv_type_std__istream
=no
22570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22572 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22573 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22574 if test $ac_cv_type_std__istream = yes; then
22576 cat >>confdefs.h
<<_ACEOF
22577 #define HAVE_STD__ISTREAM 1
22582 wxUSE_STD_IOSTREAM
=no
22584 echo "$as_me:$LINENO: checking for std::ostream" >&5
22585 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22586 if test "${ac_cv_type_std__ostream+set}" = set; then
22587 echo $ECHO_N "(cached) $ECHO_C" >&6
22589 cat >conftest.
$ac_ext <<_ACEOF
22592 cat confdefs.h
>>conftest.
$ac_ext
22593 cat >>conftest.
$ac_ext <<_ACEOF
22594 /* end confdefs.h. */
22595 #include <iostream>
22600 if ((std::ostream *) 0)
22602 if (sizeof (std::ostream))
22608 rm -f conftest.
$ac_objext
22609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22610 (eval $ac_compile) 2>conftest.er1
22612 grep -v '^ *+' conftest.er1
>conftest.err
22614 cat conftest.err
>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } &&
22617 { ac_try
='test -z "$ac_cxx_werror_flag"
22618 || test ! -s conftest.err'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; } &&
22624 { ac_try
='test -s conftest.$ac_objext'
22625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22626 (eval $ac_try) 2>&5
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); }; }; then
22630 ac_cv_type_std__ostream
=yes
22632 echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.
$ac_ext >&5
22635 ac_cv_type_std__ostream
=no
22637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22639 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22640 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22641 if test $ac_cv_type_std__ostream = yes; then
22643 cat >>confdefs.h
<<_ACEOF
22644 #define HAVE_STD__OSTREAM 1
22649 wxUSE_STD_IOSTREAM
=no
22653 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22654 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22655 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22656 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22657 { (exit 1); exit 1; }; }
22659 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22660 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22665 ac_cpp
='$CPP $CPPFLAGS'
22666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22672 if test "$wxUSE_STL" = "yes"; then
22674 ac_cpp
='$CXXCPP $CPPFLAGS'
22675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22680 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22681 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22682 cat >conftest.
$ac_ext <<_ACEOF
22685 cat confdefs.h
>>conftest.
$ac_ext
22686 cat >>conftest.
$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22689 #include <functional>
22690 #include <algorithm>
22696 std::vector<int> moo;
22697 std::list<int> foo;
22698 std::vector<int>::iterator it =
22699 std::find_if(moo.begin(), moo.end(),
22700 std::bind2nd(std::less<int>(), 3));
22705 rm -f conftest.
$ac_objext
22706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22707 (eval $ac_compile) 2>conftest.er1
22709 grep -v '^ *+' conftest.er1
>conftest.err
22711 cat conftest.err
>&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } &&
22714 { ac_try
='test -z "$ac_cxx_werror_flag"
22715 || test ! -s conftest.err'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; } &&
22721 { ac_try
='test -s conftest.$ac_objext'
22722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723 (eval $ac_try) 2>&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); }; }; then
22727 echo "$as_me:$LINENO: result: yes" >&5
22728 echo "${ECHO_T}yes" >&6
22730 echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.
$ac_ext >&5
22733 echo "$as_me:$LINENO: result: no" >&5
22734 echo "${ECHO_T}no" >&6
22735 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22736 echo "$as_me: error: Basic STL functionality missing" >&2;}
22737 { (exit 1); exit 1; }; }
22739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22741 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22742 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22743 cat >conftest.
$ac_ext <<_ACEOF
22746 cat confdefs.h
>>conftest.
$ac_ext
22747 cat >>conftest.
$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22753 std::string foo, bar;
22755 foo.compare(1, 1, bar);
22756 foo.compare(1, 1, bar, 1, 1);
22758 foo.compare(1, 1, "");
22759 foo.compare(1, 1, "", 2);
22764 rm -f conftest.
$ac_objext
22765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22766 (eval $ac_compile) 2>conftest.er1
22768 grep -v '^ *+' conftest.er1
>conftest.err
22770 cat conftest.err
>&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } &&
22773 { ac_try
='test -z "$ac_cxx_werror_flag"
22774 || test ! -s conftest.err'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; } &&
22780 { ac_try
='test -s conftest.$ac_objext'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; }; then
22786 echo "$as_me:$LINENO: result: yes" >&5
22787 echo "${ECHO_T}yes" >&6
22788 cat >>confdefs.h
<<\_ACEOF
22789 #define HAVE_STD_STRING_COMPARE 1
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.
$ac_ext >&5
22796 echo "$as_me:$LINENO: result: no" >&5
22797 echo "${ECHO_T}no" >&6
22799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22801 if test "${ac_cv_header_hash_map+set}" = set; then
22802 echo "$as_me:$LINENO: checking for hash_map" >&5
22803 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22804 if test "${ac_cv_header_hash_map+set}" = set; then
22805 echo $ECHO_N "(cached) $ECHO_C" >&6
22807 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22808 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22810 # Is the header compilable?
22811 echo "$as_me:$LINENO: checking hash_map usability" >&5
22812 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22813 cat >conftest.
$ac_ext <<_ACEOF
22816 cat confdefs.h
>>conftest.
$ac_ext
22817 cat >>conftest.
$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819 $ac_includes_default
22820 #include <hash_map>
22822 rm -f conftest.
$ac_objext
22823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22824 (eval $ac_compile) 2>conftest.er1
22826 grep -v '^ *+' conftest.er1
>conftest.err
22828 cat conftest.err
>&5
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); } &&
22831 { ac_try
='test -z "$ac_cxx_werror_flag"
22832 || test ! -s conftest.err'
22833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22834 (eval $ac_try) 2>&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); }; } &&
22838 { ac_try
='test -s conftest.$ac_objext'
22839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22840 (eval $ac_try) 2>&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); }; }; then
22844 ac_header_compiler
=yes
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.
$ac_ext >&5
22849 ac_header_compiler
=no
22851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22853 echo "${ECHO_T}$ac_header_compiler" >&6
22855 # Is the header present?
22856 echo "$as_me:$LINENO: checking hash_map presence" >&5
22857 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22858 cat >conftest.
$ac_ext <<_ACEOF
22861 cat confdefs.h
>>conftest.
$ac_ext
22862 cat >>conftest.
$ac_ext <<_ACEOF
22863 /* end confdefs.h. */
22864 #include <hash_map>
22866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22867 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22869 grep -v '^ *+' conftest.er1
>conftest.err
22871 cat conftest.err
>&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } >/dev
/null
; then
22874 if test -s conftest.err
; then
22875 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22876 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22883 if test -z "$ac_cpp_err"; then
22884 ac_header_preproc
=yes
22886 echo "$as_me: failed program was:" >&5
22887 sed 's/^/| /' conftest.
$ac_ext >&5
22889 ac_header_preproc
=no
22891 rm -f conftest.err conftest.
$ac_ext
22892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22893 echo "${ECHO_T}$ac_header_preproc" >&6
22895 # So? What about this header?
22896 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22898 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22899 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22900 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22901 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22902 ac_header_preproc
=yes
22905 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22906 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22907 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22908 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22909 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22910 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22911 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22912 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22913 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22914 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22915 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22916 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22919 ## ----------------------------------------- ##
22920 ## Report this to wx-dev@lists.wxwidgets.org ##
22921 ## ----------------------------------------- ##
22924 sed "s/^/$as_me: WARNING: /" >&2
22927 echo "$as_me:$LINENO: checking for hash_map" >&5
22928 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22929 if test "${ac_cv_header_hash_map+set}" = set; then
22930 echo $ECHO_N "(cached) $ECHO_C" >&6
22932 ac_cv_header_hash_map
=$ac_header_preproc
22934 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22935 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22938 if test $ac_cv_header_hash_map = yes; then
22939 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22940 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22941 cat >conftest.
$ac_ext <<_ACEOF
22944 cat confdefs.h
>>conftest.
$ac_ext
22945 cat >>conftest.
$ac_ext <<_ACEOF
22946 /* end confdefs.h. */
22947 #include <hash_map>
22948 #include <hash_set>
22952 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22953 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22958 rm -f conftest.
$ac_objext
22959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22960 (eval $ac_compile) 2>conftest.er1
22962 grep -v '^ *+' conftest.er1
>conftest.err
22964 cat conftest.err
>&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } &&
22967 { ac_try
='test -z "$ac_cxx_werror_flag"
22968 || test ! -s conftest.err'
22969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22970 (eval $ac_try) 2>&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; } &&
22974 { ac_try
='test -s conftest.$ac_objext'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; }; then
22980 echo "$as_me:$LINENO: result: yes" >&5
22981 echo "${ECHO_T}yes" >&6
22982 cat >>confdefs.h
<<\_ACEOF
22983 #define HAVE_HASH_MAP 1
22986 cat >>confdefs.h
<<\_ACEOF
22987 #define HAVE_STD_HASH_MAP 1
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.
$ac_ext >&5
22994 echo "$as_me:$LINENO: result: no" >&5
22995 echo "${ECHO_T}no" >&6
22997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23003 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23004 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23005 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23006 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23007 echo $ECHO_N "(cached) $ECHO_C" >&6
23009 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23010 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23012 # Is the header compilable?
23013 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23014 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23015 cat >conftest.
$ac_ext <<_ACEOF
23018 cat confdefs.h
>>conftest.
$ac_ext
23019 cat >>conftest.
$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 $ac_includes_default
23022 #include <ext/hash_map>
23024 rm -f conftest.
$ac_objext
23025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23026 (eval $ac_compile) 2>conftest.er1
23028 grep -v '^ *+' conftest.er1
>conftest.err
23030 cat conftest.err
>&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); } &&
23033 { ac_try
='test -z "$ac_cxx_werror_flag"
23034 || test ! -s conftest.err'
23035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23036 (eval $ac_try) 2>&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); }; } &&
23040 { ac_try
='test -s conftest.$ac_objext'
23041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042 (eval $ac_try) 2>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); }; }; then
23046 ac_header_compiler
=yes
23048 echo "$as_me: failed program was:" >&5
23049 sed 's/^/| /' conftest.
$ac_ext >&5
23051 ac_header_compiler
=no
23053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23055 echo "${ECHO_T}$ac_header_compiler" >&6
23057 # Is the header present?
23058 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23059 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23060 cat >conftest.
$ac_ext <<_ACEOF
23063 cat confdefs.h
>>conftest.
$ac_ext
23064 cat >>conftest.
$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 #include <ext/hash_map>
23068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23069 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23071 grep -v '^ *+' conftest.er1
>conftest.err
23073 cat conftest.err
>&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); } >/dev
/null
; then
23076 if test -s conftest.err
; then
23077 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23078 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23085 if test -z "$ac_cpp_err"; then
23086 ac_header_preproc
=yes
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.
$ac_ext >&5
23091 ac_header_preproc
=no
23093 rm -f conftest.err conftest.
$ac_ext
23094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23095 echo "${ECHO_T}$ac_header_preproc" >&6
23097 # So? What about this header?
23098 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23100 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23101 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23102 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23103 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23104 ac_header_preproc
=yes
23107 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23108 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23109 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23110 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23111 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23112 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23113 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23114 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23115 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23116 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23117 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23118 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23121 ## ----------------------------------------- ##
23122 ## Report this to wx-dev@lists.wxwidgets.org ##
23123 ## ----------------------------------------- ##
23126 sed "s/^/$as_me: WARNING: /" >&2
23129 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23130 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23131 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23132 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 ac_cv_header_ext_hash_map
=$ac_header_preproc
23136 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23137 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23140 if test $ac_cv_header_ext_hash_map = yes; then
23141 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23142 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23143 cat >conftest.
$ac_ext <<_ACEOF
23146 cat confdefs.h
>>conftest.
$ac_ext
23147 cat >>conftest.
$ac_ext <<_ACEOF
23148 /* end confdefs.h. */
23149 #include <ext/hash_map>
23150 #include <ext/hash_set>
23154 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23155 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23160 rm -f conftest.
$ac_objext
23161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23162 (eval $ac_compile) 2>conftest.er1
23164 grep -v '^ *+' conftest.er1
>conftest.err
23166 cat conftest.err
>&5
23167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168 (exit $ac_status); } &&
23169 { ac_try
='test -z "$ac_cxx_werror_flag"
23170 || test ! -s conftest.err'
23171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23172 (eval $ac_try) 2>&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); }; } &&
23176 { ac_try
='test -s conftest.$ac_objext'
23177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23178 (eval $ac_try) 2>&5
23180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181 (exit $ac_status); }; }; then
23182 echo "$as_me:$LINENO: result: yes" >&5
23183 echo "${ECHO_T}yes" >&6
23184 cat >>confdefs.h
<<\_ACEOF
23185 #define HAVE_EXT_HASH_MAP 1
23188 cat >>confdefs.h
<<\_ACEOF
23189 #define HAVE_GNU_CXX_HASH_MAP 1
23193 echo "$as_me: failed program was:" >&5
23194 sed 's/^/| /' conftest.
$ac_ext >&5
23196 echo "$as_me:$LINENO: result: no" >&5
23197 echo "${ECHO_T}no" >&6
23199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23206 ac_cpp
='$CPP $CPPFLAGS'
23207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23215 /usr/local/include \
23217 /usr/Motif-2.1/include \
23218 /usr/Motif-1.2/include \
23219 /usr/include/Motif1.2 \
23222 /usr/openwin/include \
23226 /usr/X11R6/include \
23227 /usr/X11R6.4/include \
23228 /usr/X11R5/include \
23229 /usr/X11R4/include \
23231 /usr/include/X11R6 \
23232 /usr/include/X11R5 \
23233 /usr/include/X11R4 \
23235 /usr/local/X11R6/include \
23236 /usr/local/X11R5/include \
23237 /usr/local/X11R4/include \
23239 /usr/local/include/X11R6 \
23240 /usr/local/include/X11R5 \
23241 /usr/local/include/X11R4 \
23245 /usr/local/X11/include \
23246 /usr/local/include/X11 \
23248 /usr/XFree86/include/X11 \
23251 /usr/openwin/share/include"
23253 echo "$as_me:$LINENO: checking for libraries directory" >&5
23254 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23258 if test "${wx_cv_std_libpath+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23263 for e
in a so sl dylib dll.a
; do
23265 if test -f $libc; then
23268 cat >conftest.
$ac_ext <<_ACEOF
23269 int main() { return 0; }
23271 rm -f conftest.
$ac_objext conftest
$ac_exeext
23272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23273 (eval $ac_link) 2>conftest.er1
23275 grep -v '^ *+' conftest.er1
>conftest.err
23277 cat conftest.err
>&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); } &&
23280 { ac_try
='test -z "$ac_c_werror_flag"
23281 || test ! -s conftest.err'
23282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23283 (eval $ac_try) 2>&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); }; } &&
23287 { ac_try
='test -s conftest$ac_exeext'
23288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23289 (eval $ac_try) 2>&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); }; }; then
23293 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23295 echo "$as_me: failed program was:" >&5
23296 sed 's/^/| /' conftest.
$ac_ext >&5
23299 rm -f conftest.err conftest.
$ac_objext \
23300 conftest
$ac_exeext conftest.
$ac_ext
23302 if test "x$wx_cv_std_libpath" != "x"; then
23308 if test "x$wx_cv_std_libpath" = "x"; then
23309 wx_cv_std_libpath
="lib"
23318 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23319 wx_cv_std_libpath
="lib/64"
23321 wx_cv_std_libpath
="lib"
23326 if test "$ac_cv_sizeof_void_p" = 8 -a \
23327 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23328 wx_cv_std_libpath
="lib64"
23330 wx_cv_std_libpath
="lib"
23335 wx_cv_std_libpath
="lib";
23339 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23340 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23342 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23344 if test "$build" != "$host" -a "$GCC" = yes; then
23345 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23346 cross_root
=`dirname $cross_root`
23347 cross_root
=`dirname $cross_root`
23349 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23350 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23352 if test -z "$PKG_CONFIG_PATH"; then
23353 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23354 export PKG_CONFIG_PATH
23357 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23360 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23362 if test -f "$ac_dir/X11/Intrinsic.h"; then
23363 ac_find_includes
=$ac_dir
23368 x_includes
=$ac_find_includes
23370 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23373 for ac_dir
in $SEARCH_LIB;
23375 for ac_extension
in a so sl dylib dll.a
; do
23376 if test -f "$ac_dir/libXt.$ac_extension"; then
23377 ac_find_libraries
=$ac_dir
23383 x_libraries
=$ac_find_libraries
23389 cat >confcache
<<\_ACEOF
23390 # This file is a shell script that caches the results of configure
23391 # tests run on this system so they can be shared between configure
23392 # scripts and configure runs, see configure's option --config-cache.
23393 # It is not useful on other systems. If it contains results you don't
23394 # want to keep, you may remove or edit it.
23396 # config.status only pays attention to the cache file if you give it
23397 # the --recheck option to rerun configure.
23399 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23400 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23401 # following values.
23405 # The following way of writing the cache mishandles newlines in values,
23406 # but we know of no workaround that is simple, portable, and efficient.
23407 # So, don't put newlines in cache variables' values.
23408 # Ultrix sh set writes to stderr and can't be redirected directly,
23409 # and sets the high bit in the cache file unless we assign to the vars.
23412 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23414 # `set' does not quote correctly, so add quotes (double-quote
23415 # substitution turns \\\\ into \\, and sed turns \\ into \).
23418 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23421 # `set' quotes correctly as required by POSIX, so do not add quotes.
23423 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23430 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23432 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23434 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23435 if test -w $cache_file; then
23436 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23437 cat confcache
>$cache_file
23439 echo "not updating unwritable cache $cache_file"
23444 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23445 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23446 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23447 if test "${wx_cv_lib_glibc21+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23451 cat >conftest.
$ac_ext <<_ACEOF
23454 cat confdefs.h
>>conftest.
$ac_ext
23455 cat >>conftest.
$ac_ext <<_ACEOF
23456 /* end confdefs.h. */
23457 #include <features.h>
23462 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23470 rm -f conftest.
$ac_objext
23471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23472 (eval $ac_compile) 2>conftest.er1
23474 grep -v '^ *+' conftest.er1
>conftest.err
23476 cat conftest.err
>&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } &&
23479 { ac_try
='test -z "$ac_c_werror_flag"
23480 || test ! -s conftest.err'
23481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23482 (eval $ac_try) 2>&5
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); }; } &&
23486 { ac_try
='test -s conftest.$ac_objext'
23487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488 (eval $ac_try) 2>&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); }; }; then
23493 wx_cv_lib_glibc21
=yes
23496 echo "$as_me: failed program was:" >&5
23497 sed 's/^/| /' conftest.
$ac_ext >&5
23500 wx_cv_lib_glibc21
=no
23504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23507 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23508 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23509 if test "$wx_cv_lib_glibc21" = "yes"; then
23510 cat >>confdefs.h
<<\_ACEOF
23511 #define wxHAVE_GLIBC2 1
23517 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23518 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23519 cat >>confdefs.h
<<\_ACEOF
23520 #define _GNU_SOURCE 1
23528 if test "$wxUSE_REGEX" != "no"; then
23529 cat >>confdefs.h
<<\_ACEOF
23530 #define wxUSE_REGEX 1
23534 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23535 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23536 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23537 wxUSE_REGEX
=builtin
23540 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23541 if test "${ac_cv_header_regex_h+set}" = set; then
23542 echo "$as_me:$LINENO: checking for regex.h" >&5
23543 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23544 if test "${ac_cv_header_regex_h+set}" = set; then
23545 echo $ECHO_N "(cached) $ECHO_C" >&6
23547 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23548 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23550 # Is the header compilable?
23551 echo "$as_me:$LINENO: checking regex.h usability" >&5
23552 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23553 cat >conftest.
$ac_ext <<_ACEOF
23556 cat confdefs.h
>>conftest.
$ac_ext
23557 cat >>conftest.
$ac_ext <<_ACEOF
23558 /* end confdefs.h. */
23559 $ac_includes_default
23562 rm -f conftest.
$ac_objext
23563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23564 (eval $ac_compile) 2>conftest.er1
23566 grep -v '^ *+' conftest.er1
>conftest.err
23568 cat conftest.err
>&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } &&
23571 { ac_try
='test -z "$ac_c_werror_flag"
23572 || test ! -s conftest.err'
23573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23574 (eval $ac_try) 2>&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); }; } &&
23578 { ac_try
='test -s conftest.$ac_objext'
23579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580 (eval $ac_try) 2>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); }; }; then
23584 ac_header_compiler
=yes
23586 echo "$as_me: failed program was:" >&5
23587 sed 's/^/| /' conftest.
$ac_ext >&5
23589 ac_header_compiler
=no
23591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23593 echo "${ECHO_T}$ac_header_compiler" >&6
23595 # Is the header present?
23596 echo "$as_me:$LINENO: checking regex.h presence" >&5
23597 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23598 cat >conftest.
$ac_ext <<_ACEOF
23601 cat confdefs.h
>>conftest.
$ac_ext
23602 cat >>conftest.
$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23607 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23609 grep -v '^ *+' conftest.er1
>conftest.err
23611 cat conftest.err
>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } >/dev
/null
; then
23614 if test -s conftest.err
; then
23615 ac_cpp_err
=$ac_c_preproc_warn_flag
23616 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23623 if test -z "$ac_cpp_err"; then
23624 ac_header_preproc
=yes
23626 echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.
$ac_ext >&5
23629 ac_header_preproc
=no
23631 rm -f conftest.err conftest.
$ac_ext
23632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23633 echo "${ECHO_T}$ac_header_preproc" >&6
23635 # So? What about this header?
23636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23638 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23639 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23640 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23641 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23642 ac_header_preproc
=yes
23645 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23646 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23647 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23648 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23649 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23650 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23651 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23652 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23653 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23654 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23655 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23656 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23659 ## ----------------------------------------- ##
23660 ## Report this to wx-dev@lists.wxwidgets.org ##
23661 ## ----------------------------------------- ##
23664 sed "s/^/$as_me: WARNING: /" >&2
23667 echo "$as_me:$LINENO: checking for regex.h" >&5
23668 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23669 if test "${ac_cv_header_regex_h+set}" = set; then
23670 echo $ECHO_N "(cached) $ECHO_C" >&6
23672 ac_cv_header_regex_h
=$ac_header_preproc
23674 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23675 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23678 if test $ac_cv_header_regex_h = yes; then
23680 for ac_func
in regcomp
23682 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23683 echo "$as_me:$LINENO: checking for $ac_func" >&5
23684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23685 if eval "test \"\${$as_ac_var+set}\" = set"; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 cat >conftest.
$ac_ext <<_ACEOF
23691 cat confdefs.h
>>conftest.
$ac_ext
23692 cat >>conftest.
$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23696 #define $ac_func innocuous_$ac_func
23698 /* System header to define __stub macros and hopefully few prototypes,
23699 which can conflict with char $ac_func (); below.
23700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23701 <limits.h> exists even on freestanding compilers. */
23704 # include <limits.h>
23706 # include <assert.h>
23711 /* Override any gcc2 internal prototype to avoid an error. */
23716 /* We use char because int might match the return type of a gcc2
23717 builtin and then its argument prototype would still apply. */
23719 /* The GNU C library defines this for functions which it implements
23720 to always fail with ENOSYS. Some functions are actually named
23721 something starting with __ and the normal name is an alias. */
23722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23725 char (*f) () = $ac_func;
23734 return f != $ac_func;
23739 rm -f conftest.
$ac_objext conftest
$ac_exeext
23740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23741 (eval $ac_link) 2>conftest.er1
23743 grep -v '^ *+' conftest.er1
>conftest.err
23745 cat conftest.err
>&5
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); } &&
23748 { ac_try
='test -z "$ac_c_werror_flag"
23749 || test ! -s conftest.err'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; } &&
23755 { ac_try
='test -s conftest$ac_exeext'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761 eval "$as_ac_var=yes"
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.
$ac_ext >&5
23766 eval "$as_ac_var=no"
23768 rm -f conftest.err conftest.
$ac_objext \
23769 conftest
$ac_exeext conftest.
$ac_ext
23771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23773 if test `eval echo '${'$as_ac_var'}'` = yes; then
23774 cat >>confdefs.h
<<_ACEOF
23775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23785 if test "x$ac_cv_func_regcomp" != "xyes"; then
23786 if test "$wxUSE_REGEX" = "sys" ; then
23787 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23788 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23789 { (exit 1); exit 1; }; }
23791 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23792 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23793 wxUSE_REGEX
=builtin
23797 cat >>confdefs.h
<<\_ACEOF
23798 #define WX_NO_REGEX_ADVANCED 1
23807 if test "$wxUSE_ZLIB" != "no" ; then
23808 cat >>confdefs.h
<<\_ACEOF
23809 #define wxUSE_ZLIB 1
23813 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23814 if test "$USE_DARWIN" = 1; then
23815 system_zlib_h_ok
="yes"
23817 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23818 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23819 if test "${ac_cv_header_zlib_h+set}" = set; then
23820 echo $ECHO_N "(cached) $ECHO_C" >&6
23822 if test "$cross_compiling" = yes; then
23823 unset ac_cv_header_zlib_h
23826 cat >conftest.
$ac_ext <<_ACEOF
23829 cat confdefs.h
>>conftest.
$ac_ext
23830 cat >>conftest.
$ac_ext <<_ACEOF
23831 /* end confdefs.h. */
23838 FILE *f=fopen("conftestval", "w");
23841 ZLIB_VERSION[0] == '1' &&
23842 (ZLIB_VERSION[2] > '1' ||
23843 (ZLIB_VERSION[2] == '1' &&
23844 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23849 rm -f conftest
$ac_exeext
23850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23851 (eval $ac_link) 2>&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23856 (eval $ac_try) 2>&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); }; }; then
23860 ac_cv_header_zlib_h
=`cat conftestval`
23862 echo "$as_me: program exited with status $ac_status" >&5
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.
$ac_ext >&5
23866 ( exit $ac_status )
23867 ac_cv_header_zlib_h
=no
23869 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23873 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23874 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23875 if test "${ac_cv_header_zlib_h+set}" = set; then
23876 echo "$as_me:$LINENO: checking for zlib.h" >&5
23877 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23878 if test "${ac_cv_header_zlib_h+set}" = set; then
23879 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23882 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23884 # Is the header compilable?
23885 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23886 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23887 cat >conftest.
$ac_ext <<_ACEOF
23890 cat confdefs.h
>>conftest.
$ac_ext
23891 cat >>conftest.
$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23893 $ac_includes_default
23896 rm -f conftest.
$ac_objext
23897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23898 (eval $ac_compile) 2>conftest.er1
23900 grep -v '^ *+' conftest.er1
>conftest.err
23902 cat conftest.err
>&5
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); } &&
23905 { ac_try
='test -z "$ac_c_werror_flag"
23906 || test ! -s conftest.err'
23907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23908 (eval $ac_try) 2>&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); }; } &&
23912 { ac_try
='test -s conftest.$ac_objext'
23913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23914 (eval $ac_try) 2>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); }; }; then
23918 ac_header_compiler
=yes
23920 echo "$as_me: failed program was:" >&5
23921 sed 's/^/| /' conftest.
$ac_ext >&5
23923 ac_header_compiler
=no
23925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23927 echo "${ECHO_T}$ac_header_compiler" >&6
23929 # Is the header present?
23930 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23931 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23932 cat >conftest.
$ac_ext <<_ACEOF
23935 cat confdefs.h
>>conftest.
$ac_ext
23936 cat >>conftest.
$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23943 grep -v '^ *+' conftest.er1
>conftest.err
23945 cat conftest.err
>&5
23946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23947 (exit $ac_status); } >/dev
/null
; then
23948 if test -s conftest.err
; then
23949 ac_cpp_err
=$ac_c_preproc_warn_flag
23950 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23957 if test -z "$ac_cpp_err"; then
23958 ac_header_preproc
=yes
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.
$ac_ext >&5
23963 ac_header_preproc
=no
23965 rm -f conftest.err conftest.
$ac_ext
23966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23967 echo "${ECHO_T}$ac_header_preproc" >&6
23969 # So? What about this header?
23970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23972 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23973 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23974 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23975 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23976 ac_header_preproc
=yes
23979 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23980 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23981 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23982 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23983 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23984 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23986 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23988 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23990 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23993 ## ----------------------------------------- ##
23994 ## Report this to wx-dev@lists.wxwidgets.org ##
23995 ## ----------------------------------------- ##
23998 sed "s/^/$as_me: WARNING: /" >&2
24001 echo "$as_me:$LINENO: checking for zlib.h" >&5
24002 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24003 if test "${ac_cv_header_zlib_h+set}" = set; then
24004 echo $ECHO_N "(cached) $ECHO_C" >&6
24006 ac_cv_header_zlib_h
=$ac_header_preproc
24008 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24009 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24015 system_zlib_h_ok
=$ac_cv_header_zlib_h
24018 if test "$system_zlib_h_ok" = "yes"; then
24019 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24020 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24021 if test "${ac_cv_lib_z_deflate+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 ac_check_lib_save_LIBS
=$LIBS
24026 cat >conftest.
$ac_ext <<_ACEOF
24029 cat confdefs.h
>>conftest.
$ac_ext
24030 cat >>conftest.
$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24033 /* Override any gcc2 internal prototype to avoid an error. */
24037 /* We use char because int might match the return type of a gcc2
24038 builtin and then its argument prototype would still apply. */
24048 rm -f conftest.
$ac_objext conftest
$ac_exeext
24049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24050 (eval $ac_link) 2>conftest.er1
24052 grep -v '^ *+' conftest.er1
>conftest.err
24054 cat conftest.err
>&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); } &&
24057 { ac_try
='test -z "$ac_c_werror_flag"
24058 || test ! -s conftest.err'
24059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24060 (eval $ac_try) 2>&5
24062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063 (exit $ac_status); }; } &&
24064 { ac_try
='test -s conftest$ac_exeext'
24065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24066 (eval $ac_try) 2>&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); }; }; then
24070 ac_cv_lib_z_deflate
=yes
24072 echo "$as_me: failed program was:" >&5
24073 sed 's/^/| /' conftest.
$ac_ext >&5
24075 ac_cv_lib_z_deflate
=no
24077 rm -f conftest.err conftest.
$ac_objext \
24078 conftest
$ac_exeext conftest.
$ac_ext
24079 LIBS
=$ac_check_lib_save_LIBS
24081 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24082 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24083 if test $ac_cv_lib_z_deflate = yes; then
24089 if test "x$ZLIB_LINK" = "x" ; then
24090 if test "$wxUSE_ZLIB" = "sys" ; then
24091 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24092 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24093 { (exit 1); exit 1; }; }
24095 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24096 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24107 if test "$wxUSE_LIBPNG" != "no" ; then
24108 cat >>confdefs.h
<<\_ACEOF
24109 #define wxUSE_LIBPNG 1
24113 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24114 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24115 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24119 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24120 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24121 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24122 wxUSE_LIBPNG
=builtin
24125 if test "$wxUSE_MGL" != 1 ; then
24126 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24127 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24128 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24129 if test "${ac_cv_header_png_h+set}" = set; then
24130 echo $ECHO_N "(cached) $ECHO_C" >&6
24132 if test "$cross_compiling" = yes; then
24133 unset ac_cv_header_png_h
24136 cat >conftest.
$ac_ext <<_ACEOF
24139 cat confdefs.h
>>conftest.
$ac_ext
24140 cat >>conftest.
$ac_ext <<_ACEOF
24141 /* end confdefs.h. */
24148 FILE *f=fopen("conftestval", "w");
24151 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24156 rm -f conftest
$ac_exeext
24157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24158 (eval $ac_link) 2>&5
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163 (eval $ac_try) 2>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); }; }; then
24167 ac_cv_header_png_h
=`cat conftestval`
24169 echo "$as_me: program exited with status $ac_status" >&5
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.
$ac_ext >&5
24173 ( exit $ac_status )
24174 ac_cv_header_png_h
=no
24176 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24180 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24181 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24182 if test "${ac_cv_header_png_h+set}" = set; then
24183 echo "$as_me:$LINENO: checking for png.h" >&5
24184 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24185 if test "${ac_cv_header_png_h+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24189 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24191 # Is the header compilable?
24192 echo "$as_me:$LINENO: checking png.h usability" >&5
24193 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24194 cat >conftest.
$ac_ext <<_ACEOF
24197 cat confdefs.h
>>conftest.
$ac_ext
24198 cat >>conftest.
$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 $ac_includes_default
24203 rm -f conftest.
$ac_objext
24204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24205 (eval $ac_compile) 2>conftest.er1
24207 grep -v '^ *+' conftest.er1
>conftest.err
24209 cat conftest.err
>&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); } &&
24212 { ac_try
='test -z "$ac_c_werror_flag"
24213 || test ! -s conftest.err'
24214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215 (eval $ac_try) 2>&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); }; } &&
24219 { ac_try
='test -s conftest.$ac_objext'
24220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24221 (eval $ac_try) 2>&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); }; }; then
24225 ac_header_compiler
=yes
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.
$ac_ext >&5
24230 ac_header_compiler
=no
24232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24234 echo "${ECHO_T}$ac_header_compiler" >&6
24236 # Is the header present?
24237 echo "$as_me:$LINENO: checking png.h presence" >&5
24238 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24239 cat >conftest.
$ac_ext <<_ACEOF
24242 cat confdefs.h
>>conftest.
$ac_ext
24243 cat >>conftest.
$ac_ext <<_ACEOF
24244 /* end confdefs.h. */
24247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24250 grep -v '^ *+' conftest.er1
>conftest.err
24252 cat conftest.err
>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } >/dev
/null
; then
24255 if test -s conftest.err
; then
24256 ac_cpp_err
=$ac_c_preproc_warn_flag
24257 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24264 if test -z "$ac_cpp_err"; then
24265 ac_header_preproc
=yes
24267 echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.
$ac_ext >&5
24270 ac_header_preproc
=no
24272 rm -f conftest.err conftest.
$ac_ext
24273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24274 echo "${ECHO_T}$ac_header_preproc" >&6
24276 # So? What about this header?
24277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24279 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24280 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24281 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24282 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24283 ac_header_preproc
=yes
24286 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24287 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24288 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24289 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24290 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24291 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24292 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24293 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24294 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24295 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24296 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24297 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24300 ## ----------------------------------------- ##
24301 ## Report this to wx-dev@lists.wxwidgets.org ##
24302 ## ----------------------------------------- ##
24305 sed "s/^/$as_me: WARNING: /" >&2
24308 echo "$as_me:$LINENO: checking for png.h" >&5
24309 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24310 if test "${ac_cv_header_png_h+set}" = set; then
24311 echo $ECHO_N "(cached) $ECHO_C" >&6
24313 ac_cv_header_png_h
=$ac_header_preproc
24315 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24316 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24322 if test "$ac_cv_header_png_h" = "yes"; then
24323 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24324 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24325 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24328 ac_check_lib_save_LIBS
=$LIBS
24329 LIBS
="-lpng -lz -lm $LIBS"
24330 cat >conftest.
$ac_ext <<_ACEOF
24333 cat confdefs.h
>>conftest.
$ac_ext
24334 cat >>conftest.
$ac_ext <<_ACEOF
24335 /* end confdefs.h. */
24337 /* Override any gcc2 internal prototype to avoid an error. */
24341 /* We use char because int might match the return type of a gcc2
24342 builtin and then its argument prototype would still apply. */
24343 char png_check_sig ();
24352 rm -f conftest.
$ac_objext conftest
$ac_exeext
24353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24354 (eval $ac_link) 2>conftest.er1
24356 grep -v '^ *+' conftest.er1
>conftest.err
24358 cat conftest.err
>&5
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); } &&
24361 { ac_try
='test -z "$ac_c_werror_flag"
24362 || test ! -s conftest.err'
24363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24364 (eval $ac_try) 2>&5
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); }; } &&
24368 { ac_try
='test -s conftest$ac_exeext'
24369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24370 (eval $ac_try) 2>&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); }; }; then
24374 ac_cv_lib_png_png_check_sig
=yes
24376 echo "$as_me: failed program was:" >&5
24377 sed 's/^/| /' conftest.
$ac_ext >&5
24379 ac_cv_lib_png_png_check_sig
=no
24381 rm -f conftest.err conftest.
$ac_objext \
24382 conftest
$ac_exeext conftest.
$ac_ext
24383 LIBS
=$ac_check_lib_save_LIBS
24385 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24386 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24387 if test $ac_cv_lib_png_png_check_sig = yes; then
24388 PNG_LINK
=" -lpng -lz"
24393 if test "x$PNG_LINK" = "x" ; then
24394 if test "$wxUSE_LIBPNG" = "sys" ; then
24395 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24396 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24397 { (exit 1); exit 1; }; }
24399 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24400 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24401 wxUSE_LIBPNG
=builtin
24409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24414 if test "$wxUSE_LIBJPEG" != "no" ; then
24415 cat >>confdefs.h
<<\_ACEOF
24416 #define wxUSE_LIBJPEG 1
24420 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24421 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24422 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24426 if test "$wxUSE_MGL" != 1 ; then
24427 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24428 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24429 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24430 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24431 echo $ECHO_N "(cached) $ECHO_C" >&6
24433 cat >conftest.
$ac_ext <<_ACEOF
24436 cat confdefs.h
>>conftest.
$ac_ext
24437 cat >>conftest.
$ac_ext <<_ACEOF
24438 /* end confdefs.h. */
24440 #undef HAVE_STDLIB_H
24442 #include <jpeglib.h>
24453 rm -f conftest.
$ac_objext
24454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24455 (eval $ac_compile) 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"
24463 || test ! -s conftest.err'
24464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465 (eval $ac_try) 2>&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; } &&
24469 { ac_try
='test -s conftest.$ac_objext'
24470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24471 (eval $ac_try) 2>&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); }; }; then
24475 ac_cv_header_jpeglib_h
=yes
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.
$ac_ext >&5
24480 ac_cv_header_jpeglib_h
=no
24483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24487 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24488 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24490 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24491 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24492 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24493 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24494 echo $ECHO_N "(cached) $ECHO_C" >&6
24496 ac_check_lib_save_LIBS
=$LIBS
24497 LIBS
="-ljpeg $LIBS"
24498 cat >conftest.
$ac_ext <<_ACEOF
24501 cat confdefs.h
>>conftest.
$ac_ext
24502 cat >>conftest.
$ac_ext <<_ACEOF
24503 /* end confdefs.h. */
24505 /* Override any gcc2 internal prototype to avoid an error. */
24509 /* We use char because int might match the return type of a gcc2
24510 builtin and then its argument prototype would still apply. */
24511 char jpeg_read_header ();
24515 jpeg_read_header ();
24520 rm -f conftest.
$ac_objext conftest
$ac_exeext
24521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24522 (eval $ac_link) 2>conftest.er1
24524 grep -v '^ *+' conftest.er1
>conftest.err
24526 cat conftest.err
>&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } &&
24529 { ac_try
='test -z "$ac_c_werror_flag"
24530 || test ! -s conftest.err'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; } &&
24536 { ac_try
='test -s conftest$ac_exeext'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 ac_cv_lib_jpeg_jpeg_read_header
=yes
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.
$ac_ext >&5
24547 ac_cv_lib_jpeg_jpeg_read_header
=no
24549 rm -f conftest.err conftest.
$ac_objext \
24550 conftest
$ac_exeext conftest.
$ac_ext
24551 LIBS
=$ac_check_lib_save_LIBS
24553 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24554 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24555 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24556 JPEG_LINK
=" -ljpeg"
24561 if test "x$JPEG_LINK" = "x" ; then
24562 if test "$wxUSE_LIBJPEG" = "sys" ; then
24563 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24564 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24565 { (exit 1); exit 1; }; }
24567 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24568 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24569 wxUSE_LIBJPEG
=builtin
24580 TIFF_PREREQ_LINKS
=-lm
24581 if test "$wxUSE_LIBTIFF" != "no" ; then
24582 cat >>confdefs.h
<<\_ACEOF
24583 #define wxUSE_LIBTIFF 1
24587 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24588 if test "$wxUSE_LIBJPEG" = "sys"; then
24589 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24591 if test "$wxUSE_ZLIB" = "sys"; then
24592 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24594 if test "${ac_cv_header_tiffio_h+set}" = set; then
24595 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24596 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24597 if test "${ac_cv_header_tiffio_h+set}" = set; then
24598 echo $ECHO_N "(cached) $ECHO_C" >&6
24600 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24601 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24603 # Is the header compilable?
24604 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24605 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24606 cat >conftest.
$ac_ext <<_ACEOF
24609 cat confdefs.h
>>conftest.
$ac_ext
24610 cat >>conftest.
$ac_ext <<_ACEOF
24611 /* end confdefs.h. */
24612 $ac_includes_default
24613 #include <tiffio.h>
24615 rm -f conftest.
$ac_objext
24616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24617 (eval $ac_compile) 2>conftest.er1
24619 grep -v '^ *+' conftest.er1
>conftest.err
24621 cat conftest.err
>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); } &&
24624 { ac_try
='test -z "$ac_c_werror_flag"
24625 || test ! -s conftest.err'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; } &&
24631 { ac_try
='test -s conftest.$ac_objext'
24632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24633 (eval $ac_try) 2>&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); }; }; then
24637 ac_header_compiler
=yes
24639 echo "$as_me: failed program was:" >&5
24640 sed 's/^/| /' conftest.
$ac_ext >&5
24642 ac_header_compiler
=no
24644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24646 echo "${ECHO_T}$ac_header_compiler" >&6
24648 # Is the header present?
24649 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24650 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24651 cat >conftest.
$ac_ext <<_ACEOF
24654 cat confdefs.h
>>conftest.
$ac_ext
24655 cat >>conftest.
$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 #include <tiffio.h>
24659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24660 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24662 grep -v '^ *+' conftest.er1
>conftest.err
24664 cat conftest.err
>&5
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); } >/dev
/null
; then
24667 if test -s conftest.err
; then
24668 ac_cpp_err
=$ac_c_preproc_warn_flag
24669 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24676 if test -z "$ac_cpp_err"; then
24677 ac_header_preproc
=yes
24679 echo "$as_me: failed program was:" >&5
24680 sed 's/^/| /' conftest.
$ac_ext >&5
24682 ac_header_preproc
=no
24684 rm -f conftest.err conftest.
$ac_ext
24685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24686 echo "${ECHO_T}$ac_header_preproc" >&6
24688 # So? What about this header?
24689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24691 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24692 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24693 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24694 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24695 ac_header_preproc
=yes
24698 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24699 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24700 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24701 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24702 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24703 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24704 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24705 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24706 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24707 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24708 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24709 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24712 ## ----------------------------------------- ##
24713 ## Report this to wx-dev@lists.wxwidgets.org ##
24714 ## ----------------------------------------- ##
24717 sed "s/^/$as_me: WARNING: /" >&2
24720 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24721 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24722 if test "${ac_cv_header_tiffio_h+set}" = set; then
24723 echo $ECHO_N "(cached) $ECHO_C" >&6
24725 ac_cv_header_tiffio_h
=$ac_header_preproc
24727 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24728 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24731 if test $ac_cv_header_tiffio_h = yes; then
24733 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24734 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24735 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24738 ac_check_lib_save_LIBS
=$LIBS
24739 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24740 cat >conftest.
$ac_ext <<_ACEOF
24743 cat confdefs.h
>>conftest.
$ac_ext
24744 cat >>conftest.
$ac_ext <<_ACEOF
24745 /* end confdefs.h. */
24747 /* Override any gcc2 internal prototype to avoid an error. */
24751 /* We use char because int might match the return type of a gcc2
24752 builtin and then its argument prototype would still apply. */
24762 rm -f conftest.
$ac_objext conftest
$ac_exeext
24763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24764 (eval $ac_link) 2>conftest.er1
24766 grep -v '^ *+' conftest.er1
>conftest.err
24768 cat conftest.err
>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } &&
24771 { ac_try
='test -z "$ac_c_werror_flag"
24772 || test ! -s conftest.err'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; } &&
24778 { ac_try
='test -s conftest$ac_exeext'
24779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780 (eval $ac_try) 2>&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); }; }; then
24784 ac_cv_lib_tiff_TIFFError
=yes
24786 echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.
$ac_ext >&5
24789 ac_cv_lib_tiff_TIFFError
=no
24791 rm -f conftest.err conftest.
$ac_objext \
24792 conftest
$ac_exeext conftest.
$ac_ext
24793 LIBS
=$ac_check_lib_save_LIBS
24795 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24796 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24797 if test $ac_cv_lib_tiff_TIFFError = yes; then
24798 TIFF_LINK
=" -ltiff"
24807 if test "x$TIFF_LINK" = "x" ; then
24808 if test "$wxUSE_LIBTIFF" = "sys" ; then
24809 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24810 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24811 { (exit 1); exit 1; }; }
24813 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24814 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24815 wxUSE_LIBTIFF
=builtin
24824 if test "$wxUSE_WCHAR_T" != "yes"; then
24825 if test "$wxUSE_EXPAT" != "no"; then
24826 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24827 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24830 if test "$wxUSE_XML" != "no"; then
24831 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24832 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24837 if test "$wxUSE_EXPAT" != "no"; then
24839 cat >>confdefs.h
<<\_ACEOF
24840 #define wxUSE_EXPAT 1
24843 cat >>confdefs.h
<<\_ACEOF
24844 #define wxUSE_XML 1
24848 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24849 if test "${ac_cv_header_expat_h+set}" = set; then
24850 echo "$as_me:$LINENO: checking for expat.h" >&5
24851 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24852 if test "${ac_cv_header_expat_h+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24855 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24856 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24858 # Is the header compilable?
24859 echo "$as_me:$LINENO: checking expat.h usability" >&5
24860 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24861 cat >conftest.
$ac_ext <<_ACEOF
24864 cat confdefs.h
>>conftest.
$ac_ext
24865 cat >>conftest.
$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24867 $ac_includes_default
24870 rm -f conftest.
$ac_objext
24871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24872 (eval $ac_compile) 2>conftest.er1
24874 grep -v '^ *+' conftest.er1
>conftest.err
24876 cat conftest.err
>&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); } &&
24879 { ac_try
='test -z "$ac_c_werror_flag"
24880 || test ! -s conftest.err'
24881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24882 (eval $ac_try) 2>&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); }; } &&
24886 { ac_try
='test -s conftest.$ac_objext'
24887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888 (eval $ac_try) 2>&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); }; }; then
24892 ac_header_compiler
=yes
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.
$ac_ext >&5
24897 ac_header_compiler
=no
24899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24901 echo "${ECHO_T}$ac_header_compiler" >&6
24903 # Is the header present?
24904 echo "$as_me:$LINENO: checking expat.h presence" >&5
24905 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24906 cat >conftest.
$ac_ext <<_ACEOF
24909 cat confdefs.h
>>conftest.
$ac_ext
24910 cat >>conftest.
$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24917 grep -v '^ *+' conftest.er1
>conftest.err
24919 cat conftest.err
>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } >/dev
/null
; then
24922 if test -s conftest.err
; then
24923 ac_cpp_err
=$ac_c_preproc_warn_flag
24924 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24931 if test -z "$ac_cpp_err"; then
24932 ac_header_preproc
=yes
24934 echo "$as_me: failed program was:" >&5
24935 sed 's/^/| /' conftest.
$ac_ext >&5
24937 ac_header_preproc
=no
24939 rm -f conftest.err conftest.
$ac_ext
24940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24941 echo "${ECHO_T}$ac_header_preproc" >&6
24943 # So? What about this header?
24944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24946 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24947 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24948 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24949 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24950 ac_header_preproc
=yes
24953 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24954 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24955 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24956 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24957 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24958 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24959 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24960 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24961 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24962 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24963 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24964 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24967 ## ----------------------------------------- ##
24968 ## Report this to wx-dev@lists.wxwidgets.org ##
24969 ## ----------------------------------------- ##
24972 sed "s/^/$as_me: WARNING: /" >&2
24975 echo "$as_me:$LINENO: checking for expat.h" >&5
24976 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24977 if test "${ac_cv_header_expat_h+set}" = set; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24980 ac_cv_header_expat_h
=$ac_header_preproc
24982 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24983 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24986 if test $ac_cv_header_expat_h = yes; then
24991 if test "x$found_expat_h" = "x1"; then
24992 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24993 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24994 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24995 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 ac_cpp
='$CXXCPP $CPPFLAGS'
25002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25006 cat >conftest.
$ac_ext <<_ACEOF
25009 cat confdefs.h
>>conftest.
$ac_ext
25010 cat >>conftest.
$ac_ext <<_ACEOF
25011 /* end confdefs.h. */
25021 rm -f conftest.
$ac_objext
25022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25023 (eval $ac_compile) 2>conftest.er1
25025 grep -v '^ *+' conftest.er1
>conftest.err
25027 cat conftest.err
>&5
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); } &&
25030 { ac_try
='test -z "$ac_cxx_werror_flag"
25031 || test ! -s conftest.err'
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; } &&
25037 { ac_try
='test -s conftest.$ac_objext'
25038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25039 (eval $ac_try) 2>&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); }; }; then
25043 wx_cv_expat_is_not_broken
=yes
25045 echo "$as_me: failed program was:" >&5
25046 sed 's/^/| /' conftest.
$ac_ext >&5
25048 wx_cv_expat_is_not_broken
=no
25051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25053 ac_cpp
='$CPP $CPPFLAGS'
25054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25061 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25062 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25063 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25064 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25065 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25066 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25069 ac_check_lib_save_LIBS
=$LIBS
25070 LIBS
="-lexpat $LIBS"
25071 cat >conftest.
$ac_ext <<_ACEOF
25074 cat confdefs.h
>>conftest.
$ac_ext
25075 cat >>conftest.
$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25078 /* Override any gcc2 internal prototype to avoid an error. */
25082 /* We use char because int might match the return type of a gcc2
25083 builtin and then its argument prototype would still apply. */
25084 char XML_ParserCreate ();
25088 XML_ParserCreate ();
25093 rm -f conftest.
$ac_objext conftest
$ac_exeext
25094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25095 (eval $ac_link) 2>conftest.er1
25097 grep -v '^ *+' conftest.er1
>conftest.err
25099 cat conftest.err
>&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); } &&
25102 { ac_try
='test -z "$ac_c_werror_flag"
25103 || test ! -s conftest.err'
25104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25105 (eval $ac_try) 2>&5
25107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108 (exit $ac_status); }; } &&
25109 { ac_try
='test -s conftest$ac_exeext'
25110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25111 (eval $ac_try) 2>&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); }; }; then
25115 ac_cv_lib_expat_XML_ParserCreate
=yes
25117 echo "$as_me: failed program was:" >&5
25118 sed 's/^/| /' conftest.
$ac_ext >&5
25120 ac_cv_lib_expat_XML_ParserCreate
=no
25122 rm -f conftest.err conftest.
$ac_objext \
25123 conftest
$ac_exeext conftest.
$ac_ext
25124 LIBS
=$ac_check_lib_save_LIBS
25126 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25127 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25128 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25129 EXPAT_LINK
=" -lexpat"
25134 if test "x$EXPAT_LINK" = "x" ; then
25135 if test "$wxUSE_EXPAT" = "sys" ; then
25136 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25137 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25138 { (exit 1); exit 1; }; }
25140 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25141 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25142 wxUSE_EXPAT
=builtin
25148 if test "$wxUSE_EXPAT" = "builtin" ; then
25151 subdirs
="$subdirs src/expat"
25158 if test "$wxUSE_LIBMSPACK" != "no"; then
25159 if test "${ac_cv_header_mspack_h+set}" = set; then
25160 echo "$as_me:$LINENO: checking for mspack.h" >&5
25161 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25162 if test "${ac_cv_header_mspack_h+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25166 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25168 # Is the header compilable?
25169 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25170 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25171 cat >conftest.
$ac_ext <<_ACEOF
25174 cat confdefs.h
>>conftest.
$ac_ext
25175 cat >>conftest.
$ac_ext <<_ACEOF
25176 /* end confdefs.h. */
25177 $ac_includes_default
25178 #include <mspack.h>
25180 rm -f conftest.
$ac_objext
25181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25182 (eval $ac_compile) 2>conftest.er1
25184 grep -v '^ *+' conftest.er1
>conftest.err
25186 cat conftest.err
>&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); } &&
25189 { ac_try
='test -z "$ac_c_werror_flag"
25190 || test ! -s conftest.err'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; } &&
25196 { ac_try
='test -s conftest.$ac_objext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 ac_header_compiler
=yes
25204 echo "$as_me: failed program was:" >&5
25205 sed 's/^/| /' conftest.
$ac_ext >&5
25207 ac_header_compiler
=no
25209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25211 echo "${ECHO_T}$ac_header_compiler" >&6
25213 # Is the header present?
25214 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25215 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25216 cat >conftest.
$ac_ext <<_ACEOF
25219 cat confdefs.h
>>conftest.
$ac_ext
25220 cat >>conftest.
$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25222 #include <mspack.h>
25224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25225 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25227 grep -v '^ *+' conftest.er1
>conftest.err
25229 cat conftest.err
>&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } >/dev
/null
; then
25232 if test -s conftest.err
; then
25233 ac_cpp_err
=$ac_c_preproc_warn_flag
25234 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25241 if test -z "$ac_cpp_err"; then
25242 ac_header_preproc
=yes
25244 echo "$as_me: failed program was:" >&5
25245 sed 's/^/| /' conftest.
$ac_ext >&5
25247 ac_header_preproc
=no
25249 rm -f conftest.err conftest.
$ac_ext
25250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25251 echo "${ECHO_T}$ac_header_preproc" >&6
25253 # So? What about this header?
25254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25256 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25257 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25258 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25259 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25260 ac_header_preproc
=yes
25263 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25264 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25265 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25266 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25267 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25268 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25269 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25270 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25271 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25272 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25273 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25274 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25277 ## ----------------------------------------- ##
25278 ## Report this to wx-dev@lists.wxwidgets.org ##
25279 ## ----------------------------------------- ##
25282 sed "s/^/$as_me: WARNING: /" >&2
25285 echo "$as_me:$LINENO: checking for mspack.h" >&5
25286 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25287 if test "${ac_cv_header_mspack_h+set}" = set; then
25288 echo $ECHO_N "(cached) $ECHO_C" >&6
25290 ac_cv_header_mspack_h
=$ac_header_preproc
25292 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25293 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25296 if test $ac_cv_header_mspack_h = yes; then
25301 if test "x$found_mspack_h" = "x1"; then
25302 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25303 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25304 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25305 echo $ECHO_N "(cached) $ECHO_C" >&6
25307 ac_check_lib_save_LIBS
=$LIBS
25308 LIBS
="-lmspack $LIBS"
25309 cat >conftest.
$ac_ext <<_ACEOF
25312 cat confdefs.h
>>conftest.
$ac_ext
25313 cat >>conftest.
$ac_ext <<_ACEOF
25314 /* end confdefs.h. */
25316 /* Override any gcc2 internal prototype to avoid an error. */
25320 /* We use char because int might match the return type of a gcc2
25321 builtin and then its argument prototype would still apply. */
25322 char mspack_create_chm_decompressor ();
25326 mspack_create_chm_decompressor ();
25331 rm -f conftest.
$ac_objext conftest
$ac_exeext
25332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25333 (eval $ac_link) 2>conftest.er1
25335 grep -v '^ *+' conftest.er1
>conftest.err
25337 cat conftest.err
>&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } &&
25340 { ac_try
='test -z "$ac_c_werror_flag"
25341 || test ! -s conftest.err'
25342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343 (eval $ac_try) 2>&5
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); }; } &&
25347 { ac_try
='test -s conftest$ac_exeext'
25348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25349 (eval $ac_try) 2>&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); }; }; then
25353 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.
$ac_ext >&5
25358 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25360 rm -f conftest.err conftest.
$ac_objext \
25361 conftest
$ac_exeext conftest.
$ac_ext
25362 LIBS
=$ac_check_lib_save_LIBS
25364 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25365 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25366 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25367 MSPACK_LINK
=" -lmspack"
25371 if test "x$MSPACK_LINK" = "x" ; then
25376 if test "$wxUSE_LIBMSPACK" != "no"; then
25377 cat >>confdefs.h
<<\_ACEOF
25378 #define wxUSE_LIBMSPACK 1
25392 if test "$USE_WIN32" = 1 ; then
25394 for ac_header
in w32api.h
25396 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25398 echo "$as_me:$LINENO: checking for $ac_header" >&5
25399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25406 # Is the header compilable?
25407 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25409 cat >conftest.
$ac_ext <<_ACEOF
25412 cat confdefs.h
>>conftest.
$ac_ext
25413 cat >>conftest.
$ac_ext <<_ACEOF
25414 /* end confdefs.h. */
25415 $ac_includes_default
25416 #include <$ac_header>
25418 rm -f conftest.
$ac_objext
25419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25420 (eval $ac_compile) 2>conftest.er1
25422 grep -v '^ *+' conftest.er1
>conftest.err
25424 cat conftest.err
>&5
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); } &&
25427 { ac_try
='test -z "$ac_c_werror_flag"
25428 || test ! -s conftest.err'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; } &&
25434 { ac_try
='test -s conftest.$ac_objext'
25435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25436 (eval $ac_try) 2>&5
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); }; }; then
25440 ac_header_compiler
=yes
25442 echo "$as_me: failed program was:" >&5
25443 sed 's/^/| /' conftest.
$ac_ext >&5
25445 ac_header_compiler
=no
25447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25449 echo "${ECHO_T}$ac_header_compiler" >&6
25451 # Is the header present?
25452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25454 cat >conftest.
$ac_ext <<_ACEOF
25457 cat confdefs.h
>>conftest.
$ac_ext
25458 cat >>conftest.
$ac_ext <<_ACEOF
25459 /* end confdefs.h. */
25460 #include <$ac_header>
25462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25463 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25465 grep -v '^ *+' conftest.er1
>conftest.err
25467 cat conftest.err
>&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } >/dev
/null
; then
25470 if test -s conftest.err
; then
25471 ac_cpp_err
=$ac_c_preproc_warn_flag
25472 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25479 if test -z "$ac_cpp_err"; then
25480 ac_header_preproc
=yes
25482 echo "$as_me: failed program was:" >&5
25483 sed 's/^/| /' conftest.
$ac_ext >&5
25485 ac_header_preproc
=no
25487 rm -f conftest.err conftest.
$ac_ext
25488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25489 echo "${ECHO_T}$ac_header_preproc" >&6
25491 # So? What about this header?
25492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25498 ac_header_preproc
=yes
25501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25515 ## ----------------------------------------- ##
25516 ## Report this to wx-dev@lists.wxwidgets.org ##
25517 ## ----------------------------------------- ##
25520 sed "s/^/$as_me: WARNING: /" >&2
25523 echo "$as_me:$LINENO: checking for $ac_header" >&5
25524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 eval "$as_ac_Header=\$ac_header_preproc"
25530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25535 cat >>confdefs.h
<<_ACEOF
25536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25543 if test "${ac_cv_header_windows_h+set}" = set; then
25544 echo "$as_me:$LINENO: checking for windows.h" >&5
25545 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25546 if test "${ac_cv_header_windows_h+set}" = set; then
25547 echo $ECHO_N "(cached) $ECHO_C" >&6
25549 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25550 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25552 # Is the header compilable?
25553 echo "$as_me:$LINENO: checking windows.h usability" >&5
25554 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25555 cat >conftest.
$ac_ext <<_ACEOF
25558 cat confdefs.h
>>conftest.
$ac_ext
25559 cat >>conftest.
$ac_ext <<_ACEOF
25560 /* end confdefs.h. */
25561 $ac_includes_default
25562 #include <windows.h>
25564 rm -f conftest.
$ac_objext
25565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25566 (eval $ac_compile) 2>conftest.er1
25568 grep -v '^ *+' conftest.er1
>conftest.err
25570 cat conftest.err
>&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); } &&
25573 { ac_try
='test -z "$ac_c_werror_flag"
25574 || test ! -s conftest.err'
25575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25576 (eval $ac_try) 2>&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); }; } &&
25580 { ac_try
='test -s conftest.$ac_objext'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; }; then
25586 ac_header_compiler
=yes
25588 echo "$as_me: failed program was:" >&5
25589 sed 's/^/| /' conftest.
$ac_ext >&5
25591 ac_header_compiler
=no
25593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25595 echo "${ECHO_T}$ac_header_compiler" >&6
25597 # Is the header present?
25598 echo "$as_me:$LINENO: checking windows.h presence" >&5
25599 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25600 cat >conftest.
$ac_ext <<_ACEOF
25603 cat confdefs.h
>>conftest.
$ac_ext
25604 cat >>conftest.
$ac_ext <<_ACEOF
25605 /* end confdefs.h. */
25606 #include <windows.h>
25608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25609 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25611 grep -v '^ *+' conftest.er1
>conftest.err
25613 cat conftest.err
>&5
25614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25615 (exit $ac_status); } >/dev
/null
; then
25616 if test -s conftest.err
; then
25617 ac_cpp_err
=$ac_c_preproc_warn_flag
25618 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25625 if test -z "$ac_cpp_err"; then
25626 ac_header_preproc
=yes
25628 echo "$as_me: failed program was:" >&5
25629 sed 's/^/| /' conftest.
$ac_ext >&5
25631 ac_header_preproc
=no
25633 rm -f conftest.err conftest.
$ac_ext
25634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25635 echo "${ECHO_T}$ac_header_preproc" >&6
25637 # So? What about this header?
25638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25640 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25641 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25642 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25643 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25644 ac_header_preproc
=yes
25647 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25648 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25649 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25650 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25651 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25652 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25653 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25654 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25655 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25656 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25657 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25658 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25661 ## ----------------------------------------- ##
25662 ## Report this to wx-dev@lists.wxwidgets.org ##
25663 ## ----------------------------------------- ##
25666 sed "s/^/$as_me: WARNING: /" >&2
25669 echo "$as_me:$LINENO: checking for windows.h" >&5
25670 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25671 if test "${ac_cv_header_windows_h+set}" = set; then
25672 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 ac_cv_header_windows_h
=$ac_header_preproc
25676 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25677 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25680 if test $ac_cv_header_windows_h = yes; then
25684 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25685 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25686 { (exit 1); exit 1; }; }
25692 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25694 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25695 LIBS
="$LIBS -loleacc"
25700 LIBS
="$LIBS -lkernel32 -luser32"
25701 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
25704 if test "$wxUSE_ODBC" = "sys" ; then
25707 if test "$wxUSE_ODBC" = "yes" ; then
25708 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
25709 cat >>confdefs.h
<<\_ACEOF
25710 #define wxUSE_ODBC 1
25715 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25716 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
25718 WIN32INSTALL
=win32install
25721 if test "$wxUSE_GUI" = "yes"; then
25731 if test "$wxUSE_COCOA" = 1 ; then
25732 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25733 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25734 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25735 wxUSE_PRINTING_ARCHITECTURE
=no
25737 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25738 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25739 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25740 wxUSE_DRAG_AND_DROP
=no
25742 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25743 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25744 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25749 if test "$wxUSE_MSW" = 1 ; then
25755 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25759 if test "$wxUSE_GTK" = 1; then
25760 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25761 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25763 gtk_version_cached
=1
25764 if test "${wx_cv_lib_gtk+set}" = set; then
25765 echo $ECHO_N "(cached) $ECHO_C" >&6
25768 gtk_version_cached
=0
25769 echo "$as_me:$LINENO: result: " >&5
25770 echo "${ECHO_T}" >&6
25773 if test "$wxUSE_THREADS" = "yes"; then
25774 GTK_MODULES
=gthread
25778 if test "x$wxGTK_VERSION" != "x1"
25782 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25787 # Check whether --enable-gtktest or --disable-gtktest was given.
25788 if test "${enable_gtktest+set}" = set; then
25789 enableval
="$enable_gtktest"
25795 pkg_config_args
=gtk
+-2.0
25796 for module
in .
$GTK_MODULES
25800 pkg_config_args
="$pkg_config_args gthread-2.0"
25807 # Extract the first word of "pkg-config", so it can be a program name with args.
25808 set dummy pkg
-config; ac_word
=$2
25809 echo "$as_me:$LINENO: checking for $ac_word" >&5
25810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25811 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 case $PKG_CONFIG in
25816 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25820 for as_dir
in $PATH
25823 test -z "$as_dir" && as_dir
=.
25824 for ac_exec_ext
in '' $ac_executable_extensions; do
25825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25826 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25837 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25839 if test -n "$PKG_CONFIG"; then
25840 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25841 echo "${ECHO_T}$PKG_CONFIG" >&6
25843 echo "$as_me:$LINENO: result: no" >&5
25844 echo "${ECHO_T}no" >&6
25848 if test x
$PKG_CONFIG != xno
; then
25849 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
25852 echo "*** pkg-config too old; version 0.7 or better required."
25860 min_gtk_version
=2.0.0
25861 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25862 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25864 if test x
$PKG_CONFIG != xno
; then
25865 ## don't try to run the test against uninstalled libtool libs
25866 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25867 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25871 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25878 if test x
"$no_gtk" = x
; then
25879 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
25880 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
25881 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25883 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25885 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25887 if test "x$enable_gtktest" = "xyes" ; then
25888 ac_save_CFLAGS
="$CFLAGS"
25889 ac_save_LIBS
="$LIBS"
25890 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25891 LIBS
="$GTK_LIBS $LIBS"
25893 if test "$cross_compiling" = yes; then
25894 echo $ac_n "cross compiling; assumed OK... $ac_c"
25896 cat >conftest.
$ac_ext <<_ACEOF
25899 cat confdefs.h
>>conftest.
$ac_ext
25900 cat >>conftest.
$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25903 #include <gtk/gtk.h>
25905 #include <stdlib.h>
25910 int major, minor, micro;
25913 system ("touch conf.gtktest");
25915 /* HP/UX 9 (%@#!) writes to sscanf strings */
25916 tmp_version = g_strdup("$min_gtk_version");
25917 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25918 printf("%s, bad version string\n", "$min_gtk_version");
25922 if ((gtk_major_version != $gtk_config_major_version) ||
25923 (gtk_minor_version != $gtk_config_minor_version) ||
25924 (gtk_micro_version != $gtk_config_micro_version))
25926 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25927 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25928 gtk_major_version, gtk_minor_version, gtk_micro_version);
25929 printf ("*** was found! If pkg-config was correct, then it is best\n");
25930 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25931 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25932 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25933 printf("*** required on your system.\n");
25934 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25935 printf("*** to point to the correct configuration files\n");
25937 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25938 (gtk_minor_version != GTK_MINOR_VERSION) ||
25939 (gtk_micro_version != GTK_MICRO_VERSION))
25941 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25942 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25943 printf("*** library (version %d.%d.%d)\n",
25944 gtk_major_version, gtk_minor_version, gtk_micro_version);
25948 if ((gtk_major_version > major) ||
25949 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25950 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25956 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25957 gtk_major_version, gtk_minor_version, gtk_micro_version);
25958 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25959 major, minor, micro);
25960 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25962 printf("*** If you have already installed a sufficiently new version, this error\n");
25963 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25964 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25965 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25966 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25967 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25968 printf("*** so that the correct libraries are found at run-time))\n");
25975 rm -f conftest
$ac_exeext
25976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25977 (eval $ac_link) 2>&5
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25982 (eval $ac_try) 2>&5
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); }; }; then
25988 echo "$as_me: program exited with status $ac_status" >&5
25989 echo "$as_me: failed program was:" >&5
25990 sed 's/^/| /' conftest.
$ac_ext >&5
25992 ( exit $ac_status )
25995 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25997 CFLAGS
="$ac_save_CFLAGS"
25998 LIBS
="$ac_save_LIBS"
26001 if test "x$no_gtk" = x
; then
26002 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26003 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26006 echo "$as_me:$LINENO: result: no" >&5
26007 echo "${ECHO_T}no" >&6
26008 if test "$PKG_CONFIG" = "no" ; then
26009 echo "*** A new enough version of pkg-config was not found."
26010 echo "*** See http://pkgconfig.sourceforge.net"
26012 if test -f conf.gtktest
; then
26015 echo "*** Could not run GTK+ test program, checking why..."
26016 ac_save_CFLAGS
="$CFLAGS"
26017 ac_save_LIBS
="$LIBS"
26018 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26019 LIBS
="$LIBS $GTK_LIBS"
26020 cat >conftest.
$ac_ext <<_ACEOF
26023 cat confdefs.h
>>conftest.
$ac_ext
26024 cat >>conftest.
$ac_ext <<_ACEOF
26025 /* end confdefs.h. */
26027 #include <gtk/gtk.h>
26033 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26038 rm -f conftest.
$ac_objext conftest
$ac_exeext
26039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26040 (eval $ac_link) 2>conftest.er1
26042 grep -v '^ *+' conftest.er1
>conftest.err
26044 cat conftest.err
>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); } &&
26047 { ac_try
='test -z "$ac_c_werror_flag"
26048 || test ! -s conftest.err'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; } &&
26054 { ac_try
='test -s conftest$ac_exeext'
26055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26056 (eval $ac_try) 2>&5
26058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 (exit $ac_status); }; }; then
26060 echo "*** The test program compiled, but did not run. This usually means"
26061 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26062 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26063 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26064 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26065 echo "*** is required on your system"
26067 echo "*** If you have an old version installed, it is best to remove it, although"
26068 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26070 echo "$as_me: failed program was:" >&5
26071 sed 's/^/| /' conftest.
$ac_ext >&5
26073 echo "*** The test program failed to compile or link. See the file config.log for the"
26074 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26076 rm -f conftest.err conftest.
$ac_objext \
26077 conftest
$ac_exeext conftest.
$ac_ext
26078 CFLAGS
="$ac_save_CFLAGS"
26079 LIBS
="$ac_save_LIBS"
26093 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26094 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26095 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26097 if test "$wxUSE_SHARED" != "yes"; then
26098 GTK_LIBS
="$GTK_LIBS -lX11"
26103 if test -z "$wx_cv_lib_gtk"; then
26104 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26106 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26107 if test "${with_gtk_prefix+set}" = set; then
26108 withval
="$with_gtk_prefix"
26109 gtk_config_prefix
="$withval"
26111 gtk_config_prefix
=""
26114 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26115 if test "${with_gtk_exec_prefix+set}" = set; then
26116 withval
="$with_gtk_exec_prefix"
26117 gtk_config_exec_prefix
="$withval"
26119 gtk_config_exec_prefix
=""
26121 # Check whether --enable-gtktest or --disable-gtktest was given.
26122 if test "${enable_gtktest+set}" = set; then
26123 enableval
="$enable_gtktest"
26129 for module
in .
$GTK_MODULES
26133 gtk_config_args
="$gtk_config_args gthread"
26138 if test x
$gtk_config_exec_prefix != x
; then
26139 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26140 if test x
${GTK_CONFIG+set} != xset
; then
26141 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26144 if test x
$gtk_config_prefix != x
; then
26145 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26146 if test x
${GTK_CONFIG+set} != xset
; then
26147 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26151 # Extract the first word of "gtk-config", so it can be a program name with args.
26152 set dummy gtk
-config; ac_word
=$2
26153 echo "$as_me:$LINENO: checking for $ac_word" >&5
26154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26155 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26156 echo $ECHO_N "(cached) $ECHO_C" >&6
26158 case $GTK_CONFIG in
26160 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26164 for as_dir
in $PATH
26167 test -z "$as_dir" && as_dir
=.
26168 for ac_exec_ext
in '' $ac_executable_extensions; do
26169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26170 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26177 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26181 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26183 if test -n "$GTK_CONFIG"; then
26184 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26185 echo "${ECHO_T}$GTK_CONFIG" >&6
26187 echo "$as_me:$LINENO: result: no" >&5
26188 echo "${ECHO_T}no" >&6
26191 min_gtk_version
=1.2.7
26192 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26193 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26195 if test "$GTK_CONFIG" = "no" ; then
26198 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26199 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26200 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26202 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26204 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26206 if test "x$enable_gtktest" = "xyes" ; then
26207 ac_save_CFLAGS
="$CFLAGS"
26208 ac_save_LIBS
="$LIBS"
26209 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26210 LIBS
="$GTK_LIBS $LIBS"
26212 if test "$cross_compiling" = yes; then
26213 echo $ac_n "cross compiling; assumed OK... $ac_c"
26215 cat >conftest.
$ac_ext <<_ACEOF
26218 cat confdefs.h
>>conftest.
$ac_ext
26219 cat >>conftest.
$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26222 #include <gtk/gtk.h>
26224 #include <stdlib.h>
26229 int major, minor, micro;
26232 system ("touch conf.gtktest");
26234 /* HP/UX 9 (%@#!) writes to sscanf strings */
26235 tmp_version = g_strdup("$min_gtk_version");
26236 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26237 printf("%s, bad version string\n", "$min_gtk_version");
26241 if ((gtk_major_version != $gtk_config_major_version) ||
26242 (gtk_minor_version != $gtk_config_minor_version) ||
26243 (gtk_micro_version != $gtk_config_micro_version))
26245 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26246 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26247 gtk_major_version, gtk_minor_version, gtk_micro_version);
26248 printf ("*** was found! If gtk-config was correct, then it is best\n");
26249 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26250 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26251 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26252 printf("*** required on your system.\n");
26253 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26254 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26255 printf("*** before re-running configure\n");
26257 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26258 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26259 (gtk_minor_version != GTK_MINOR_VERSION) ||
26260 (gtk_micro_version != GTK_MICRO_VERSION))
26262 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26263 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26264 printf("*** library (version %d.%d.%d)\n",
26265 gtk_major_version, gtk_minor_version, gtk_micro_version);
26267 #endif /* defined (GTK_MAJOR_VERSION) ... */
26270 if ((gtk_major_version > major) ||
26271 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26272 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26278 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26279 gtk_major_version, gtk_minor_version, gtk_micro_version);
26280 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26281 major, minor, micro);
26282 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26284 printf("*** If you have already installed a sufficiently new version, this error\n");
26285 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26286 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26287 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26288 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26289 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26290 printf("*** so that the correct libraries are found at run-time))\n");
26297 rm -f conftest
$ac_exeext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26299 (eval $ac_link) 2>&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26304 (eval $ac_try) 2>&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); }; }; then
26310 echo "$as_me: program exited with status $ac_status" >&5
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.
$ac_ext >&5
26314 ( exit $ac_status )
26317 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26319 CFLAGS
="$ac_save_CFLAGS"
26320 LIBS
="$ac_save_LIBS"
26323 if test "x$no_gtk" = x
; then
26324 echo "$as_me:$LINENO: result: yes" >&5
26325 echo "${ECHO_T}yes" >&6
26326 wx_cv_lib_gtk
=1.2.7
26328 echo "$as_me:$LINENO: result: no" >&5
26329 echo "${ECHO_T}no" >&6
26330 if test "$GTK_CONFIG" = "no" ; then
26331 echo "*** The gtk-config script installed by GTK could not be found"
26332 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26333 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26334 echo "*** full path to gtk-config."
26336 if test -f conf.gtktest
; then
26339 echo "*** Could not run GTK test program, checking why..."
26340 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26341 LIBS
="$LIBS $GTK_LIBS"
26342 cat >conftest.
$ac_ext <<_ACEOF
26345 cat confdefs.h
>>conftest.
$ac_ext
26346 cat >>conftest.
$ac_ext <<_ACEOF
26347 /* end confdefs.h. */
26349 #include <gtk/gtk.h>
26355 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26360 rm -f conftest.
$ac_objext conftest
$ac_exeext
26361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26362 (eval $ac_link) 2>conftest.er1
26364 grep -v '^ *+' conftest.er1
>conftest.err
26366 cat conftest.err
>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } &&
26369 { ac_try
='test -z "$ac_c_werror_flag"
26370 || test ! -s conftest.err'
26371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372 (eval $ac_try) 2>&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); }; } &&
26376 { ac_try
='test -s conftest$ac_exeext'
26377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26378 (eval $ac_try) 2>&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); }; }; then
26382 echo "*** The test program compiled, but did not run. This usually means"
26383 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26384 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26385 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26386 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26387 echo "*** is required on your system"
26389 echo "*** If you have an old version installed, it is best to remove it, although"
26390 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26392 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26393 echo "*** came with the system with the command"
26395 echo "*** rpm --erase --nodeps gtk gtk-devel"
26397 echo "$as_me: failed program was:" >&5
26398 sed 's/^/| /' conftest.
$ac_ext >&5
26400 echo "*** The test program failed to compile or link. See the file config.log for the"
26401 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26402 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26403 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26405 rm -f conftest.err conftest.
$ac_objext \
26406 conftest
$ac_exeext conftest.
$ac_ext
26407 CFLAGS
="$ac_save_CFLAGS"
26408 LIBS
="$ac_save_LIBS"
26420 if test -z "$wx_cv_lib_gtk"; then
26422 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26423 if test "${with_gtk_prefix+set}" = set; then
26424 withval
="$with_gtk_prefix"
26425 gtk_config_prefix
="$withval"
26427 gtk_config_prefix
=""
26430 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26431 if test "${with_gtk_exec_prefix+set}" = set; then
26432 withval
="$with_gtk_exec_prefix"
26433 gtk_config_exec_prefix
="$withval"
26435 gtk_config_exec_prefix
=""
26437 # Check whether --enable-gtktest or --disable-gtktest was given.
26438 if test "${enable_gtktest+set}" = set; then
26439 enableval
="$enable_gtktest"
26445 for module
in .
$GTK_MODULES
26449 gtk_config_args
="$gtk_config_args gthread"
26454 if test x
$gtk_config_exec_prefix != x
; then
26455 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26456 if test x
${GTK_CONFIG+set} != xset
; then
26457 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26460 if test x
$gtk_config_prefix != x
; then
26461 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26462 if test x
${GTK_CONFIG+set} != xset
; then
26463 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26467 # Extract the first word of "gtk-config", so it can be a program name with args.
26468 set dummy gtk
-config; ac_word
=$2
26469 echo "$as_me:$LINENO: checking for $ac_word" >&5
26470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26471 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26474 case $GTK_CONFIG in
26476 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26480 for as_dir
in $PATH
26483 test -z "$as_dir" && as_dir
=.
26484 for ac_exec_ext
in '' $ac_executable_extensions; do
26485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26486 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26493 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26497 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26499 if test -n "$GTK_CONFIG"; then
26500 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26501 echo "${ECHO_T}$GTK_CONFIG" >&6
26503 echo "$as_me:$LINENO: result: no" >&5
26504 echo "${ECHO_T}no" >&6
26507 min_gtk_version
=1.2.3
26508 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26509 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26511 if test "$GTK_CONFIG" = "no" ; then
26514 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26515 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26516 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26518 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26520 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26522 if test "x$enable_gtktest" = "xyes" ; then
26523 ac_save_CFLAGS
="$CFLAGS"
26524 ac_save_LIBS
="$LIBS"
26525 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26526 LIBS
="$GTK_LIBS $LIBS"
26528 if test "$cross_compiling" = yes; then
26529 echo $ac_n "cross compiling; assumed OK... $ac_c"
26531 cat >conftest.
$ac_ext <<_ACEOF
26534 cat confdefs.h
>>conftest.
$ac_ext
26535 cat >>conftest.
$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26538 #include <gtk/gtk.h>
26540 #include <stdlib.h>
26545 int major, minor, micro;
26548 system ("touch conf.gtktest");
26550 /* HP/UX 9 (%@#!) writes to sscanf strings */
26551 tmp_version = g_strdup("$min_gtk_version");
26552 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26553 printf("%s, bad version string\n", "$min_gtk_version");
26557 if ((gtk_major_version != $gtk_config_major_version) ||
26558 (gtk_minor_version != $gtk_config_minor_version) ||
26559 (gtk_micro_version != $gtk_config_micro_version))
26561 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26562 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26563 gtk_major_version, gtk_minor_version, gtk_micro_version);
26564 printf ("*** was found! If gtk-config was correct, then it is best\n");
26565 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26566 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26567 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26568 printf("*** required on your system.\n");
26569 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26570 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26571 printf("*** before re-running configure\n");
26573 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26574 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26575 (gtk_minor_version != GTK_MINOR_VERSION) ||
26576 (gtk_micro_version != GTK_MICRO_VERSION))
26578 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26579 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26580 printf("*** library (version %d.%d.%d)\n",
26581 gtk_major_version, gtk_minor_version, gtk_micro_version);
26583 #endif /* defined (GTK_MAJOR_VERSION) ... */
26586 if ((gtk_major_version > major) ||
26587 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26588 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26594 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26595 gtk_major_version, gtk_minor_version, gtk_micro_version);
26596 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26597 major, minor, micro);
26598 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26600 printf("*** If you have already installed a sufficiently new version, this error\n");
26601 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26602 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26603 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26604 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26605 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26606 printf("*** so that the correct libraries are found at run-time))\n");
26613 rm -f conftest
$ac_exeext
26614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26615 (eval $ac_link) 2>&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26626 echo "$as_me: program exited with status $ac_status" >&5
26627 echo "$as_me: failed program was:" >&5
26628 sed 's/^/| /' conftest.
$ac_ext >&5
26630 ( exit $ac_status )
26633 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26635 CFLAGS
="$ac_save_CFLAGS"
26636 LIBS
="$ac_save_LIBS"
26639 if test "x$no_gtk" = x
; then
26640 echo "$as_me:$LINENO: result: yes" >&5
26641 echo "${ECHO_T}yes" >&6
26642 wx_cv_lib_gtk
=1.2.3
26644 echo "$as_me:$LINENO: result: no" >&5
26645 echo "${ECHO_T}no" >&6
26646 if test "$GTK_CONFIG" = "no" ; then
26647 echo "*** The gtk-config script installed by GTK could not be found"
26648 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26649 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26650 echo "*** full path to gtk-config."
26652 if test -f conf.gtktest
; then
26655 echo "*** Could not run GTK test program, checking why..."
26656 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26657 LIBS
="$LIBS $GTK_LIBS"
26658 cat >conftest.
$ac_ext <<_ACEOF
26661 cat confdefs.h
>>conftest.
$ac_ext
26662 cat >>conftest.
$ac_ext <<_ACEOF
26663 /* end confdefs.h. */
26665 #include <gtk/gtk.h>
26671 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26676 rm -f conftest.
$ac_objext conftest
$ac_exeext
26677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26678 (eval $ac_link) 2>conftest.er1
26680 grep -v '^ *+' conftest.er1
>conftest.err
26682 cat conftest.err
>&5
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); } &&
26685 { ac_try
='test -z "$ac_c_werror_flag"
26686 || test ! -s conftest.err'
26687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688 (eval $ac_try) 2>&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; } &&
26692 { ac_try
='test -s conftest$ac_exeext'
26693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26694 (eval $ac_try) 2>&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); }; }; then
26698 echo "*** The test program compiled, but did not run. This usually means"
26699 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26700 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26701 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26702 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26703 echo "*** is required on your system"
26705 echo "*** If you have an old version installed, it is best to remove it, although"
26706 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26708 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26709 echo "*** came with the system with the command"
26711 echo "*** rpm --erase --nodeps gtk gtk-devel"
26713 echo "$as_me: failed program was:" >&5
26714 sed 's/^/| /' conftest.
$ac_ext >&5
26716 echo "*** The test program failed to compile or link. See the file config.log for the"
26717 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26718 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26719 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26721 rm -f conftest.err conftest.
$ac_objext \
26722 conftest
$ac_exeext conftest.
$ac_ext
26723 CFLAGS
="$ac_save_CFLAGS"
26724 LIBS
="$ac_save_LIBS"
26739 if test -z "$wx_cv_lib_gtk"; then
26742 wx_cv_cflags_gtk
=$GTK_CFLAGS
26743 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26750 if test "$gtk_version_cached" = 1; then
26751 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26752 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26755 case "$wx_cv_lib_gtk" in
26764 *) { { echo "$as_me:$LINENO: error:
26765 The development files for GTK+ were not found. For GTK+ 2, please
26766 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26767 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26768 and that the version is 1.2.3 or above. Also check that the
26769 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26770 --libs' are in the LD_LIBRARY_PATH or equivalent.
26772 echo "$as_me: error:
26773 The development files for GTK+ were not found. For GTK+ 2, please
26774 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26775 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26776 and that the version is 1.2.3 or above. Also check that the
26777 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26778 --libs' are in the LD_LIBRARY_PATH or equivalent.
26780 { (exit 1); exit 1; }; }
26784 if test "$WXGTK20" = 1; then
26785 save_CFLAGS
="$CFLAGS"
26787 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
26788 LIBS
="$LIBS $wx_cv_libs_gtk"
26790 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26791 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26792 cat >conftest.
$ac_ext <<_ACEOF
26795 cat confdefs.h
>>conftest.
$ac_ext
26796 cat >>conftest.
$ac_ext <<_ACEOF
26797 /* end confdefs.h. */
26799 #include <gtk/gtk.h>
26805 void *f = gtk_icon_size_lookup;
26811 rm -f conftest.
$ac_objext
26812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26813 (eval $ac_compile) 2>conftest.er1
26815 grep -v '^ *+' conftest.er1
>conftest.err
26817 cat conftest.err
>&5
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); } &&
26820 { ac_try
='test -z "$ac_c_werror_flag"
26821 || test ! -s conftest.err'
26822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26823 (eval $ac_try) 2>&5
26825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826 (exit $ac_status); }; } &&
26827 { ac_try
='test -s conftest.$ac_objext'
26828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26829 (eval $ac_try) 2>&5
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); }; }; then
26834 echo "$as_me:$LINENO: result: no" >&5
26835 echo "${ECHO_T}no" >&6
26838 echo "$as_me: failed program was:" >&5
26839 sed 's/^/| /' conftest.
$ac_ext >&5
26842 cat >>confdefs.h
<<\_ACEOF
26843 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26846 echo "$as_me:$LINENO: result: yes" >&5
26847 echo "${ECHO_T}yes" >&6
26850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26852 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26853 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26854 cat >conftest.
$ac_ext <<_ACEOF
26857 cat confdefs.h
>>conftest.
$ac_ext
26858 cat >>conftest.
$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26861 #include <gtk/gtk.h>
26867 #if !GTK_CHECK_VERSION(2,4,0)
26875 rm -f conftest.
$ac_objext
26876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26877 (eval $ac_compile) 2>conftest.er1
26879 grep -v '^ *+' conftest.er1
>conftest.err
26881 cat conftest.err
>&5
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); } &&
26884 { ac_try
='test -z "$ac_c_werror_flag"
26885 || test ! -s conftest.err'
26886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26887 (eval $ac_try) 2>&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); }; } &&
26891 { ac_try
='test -s conftest.$ac_objext'
26892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26893 (eval $ac_try) 2>&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); }; }; then
26898 cat >>confdefs.h
<<\_ACEOF
26899 #define __WXGTK24__ 1
26902 echo "$as_me:$LINENO: result: yes" >&5
26903 echo "${ECHO_T}yes" >&6
26906 echo "$as_me: failed program was:" >&5
26907 sed 's/^/| /' conftest.
$ac_ext >&5
26910 echo "$as_me:$LINENO: result: no" >&5
26911 echo "${ECHO_T}no" >&6
26914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26916 CFLAGS
="$save_CFLAGS"
26919 if test "$wxUSE_UNICODE" = "yes"; then
26920 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26921 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26926 if test "$USE_DARWIN" != 1; then
26928 for ac_func
in poll
26930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26931 echo "$as_me:$LINENO: checking for $ac_func" >&5
26932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26933 if eval "test \"\${$as_ac_var+set}\" = set"; then
26934 echo $ECHO_N "(cached) $ECHO_C" >&6
26936 cat >conftest.
$ac_ext <<_ACEOF
26939 cat confdefs.h
>>conftest.
$ac_ext
26940 cat >>conftest.
$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26944 #define $ac_func innocuous_$ac_func
26946 /* System header to define __stub macros and hopefully few prototypes,
26947 which can conflict with char $ac_func (); below.
26948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26949 <limits.h> exists even on freestanding compilers. */
26952 # include <limits.h>
26954 # include <assert.h>
26959 /* Override any gcc2 internal prototype to avoid an error. */
26964 /* We use char because int might match the return type of a gcc2
26965 builtin and then its argument prototype would still apply. */
26967 /* The GNU C library defines this for functions which it implements
26968 to always fail with ENOSYS. Some functions are actually named
26969 something starting with __ and the normal name is an alias. */
26970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26973 char (*f) () = $ac_func;
26982 return f != $ac_func;
26987 rm -f conftest.
$ac_objext conftest
$ac_exeext
26988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26989 (eval $ac_link) 2>conftest.er1
26991 grep -v '^ *+' conftest.er1
>conftest.err
26993 cat conftest.err
>&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } &&
26996 { ac_try
='test -z "$ac_c_werror_flag"
26997 || test ! -s conftest.err'
26998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26999 (eval $ac_try) 2>&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); }; } &&
27003 { ac_try
='test -s conftest$ac_exeext'
27004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27005 (eval $ac_try) 2>&5
27007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 (exit $ac_status); }; }; then
27009 eval "$as_ac_var=yes"
27011 echo "$as_me: failed program was:" >&5
27012 sed 's/^/| /' conftest.
$ac_ext >&5
27014 eval "$as_ac_var=no"
27016 rm -f conftest.err conftest.
$ac_objext \
27017 conftest
$ac_exeext conftest.
$ac_ext
27019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27021 if test `eval echo '${'$as_ac_var'}'` = yes; then
27022 cat >>confdefs.h
<<_ACEOF
27023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27031 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27032 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27034 AFMINSTALL
=afminstall
27038 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27039 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27040 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27041 echo $ECHO_N "(cached) $ECHO_C" >&6
27043 ac_check_lib_save_LIBS
=$LIBS
27045 cat >conftest.
$ac_ext <<_ACEOF
27048 cat confdefs.h
>>conftest.
$ac_ext
27049 cat >>conftest.
$ac_ext <<_ACEOF
27050 /* end confdefs.h. */
27052 /* Override any gcc2 internal prototype to avoid an error. */
27056 /* We use char because int might match the return type of a gcc2
27057 builtin and then its argument prototype would still apply. */
27058 char gdk_im_open ();
27067 rm -f conftest.
$ac_objext conftest
$ac_exeext
27068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27069 (eval $ac_link) 2>conftest.er1
27071 grep -v '^ *+' conftest.er1
>conftest.err
27073 cat conftest.err
>&5
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); } &&
27076 { ac_try
='test -z "$ac_c_werror_flag"
27077 || test ! -s conftest.err'
27078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27079 (eval $ac_try) 2>&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); }; } &&
27083 { ac_try
='test -s conftest$ac_exeext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089 ac_cv_lib_gdk_gdk_im_open
=yes
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.
$ac_ext >&5
27094 ac_cv_lib_gdk_gdk_im_open
=no
27096 rm -f conftest.err conftest.
$ac_objext \
27097 conftest
$ac_exeext conftest.
$ac_ext
27098 LIBS
=$ac_check_lib_save_LIBS
27100 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27101 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27102 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27103 cat >>confdefs.h
<<\_ACEOF
27111 if test "$wxUSE_GPE" = "yes"; then
27112 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27113 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27116 for ac_dir
in $SEARCH_LIB;
27118 for ac_extension
in a so sl dylib dll.a
; do
27119 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27120 ac_find_libraries
=$ac_dir
27126 if test "$ac_find_libraries" != "" ; then
27128 if test "$ac_find_libraries" = "default location"; then
27131 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27133 if test $result = 0; then
27136 ac_path_to_link
=" -L$ac_find_libraries"
27140 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27142 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27143 echo "${ECHO_T}found in $ac_find_libraries" >&6
27145 echo "$as_me:$LINENO: result: not found" >&5
27146 echo "${ECHO_T}not found" >&6
27152 if test "$wxUSE_MGL" = 1; then
27153 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27154 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27155 if test "x$MGL_ROOT" = x
; then
27156 echo "$as_me:$LINENO: result: not found" >&5
27157 echo "${ECHO_T}not found" >&6
27158 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27159 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27160 { (exit 1); exit 1; }; }
27162 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27163 echo "${ECHO_T}$MGL_ROOT" >&6
27166 echo "$as_me:$LINENO: checking for libmgl location" >&5
27167 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27170 if test "x$wxUSE_SHARED" = xyes
; then
27171 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27173 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27177 mgl_os_candidates
="dos32/dj2"
27180 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27181 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27182 { (exit 1); exit 1; }; }
27188 for mgl_os_i
in $mgl_os_candidates ; do
27189 if test "x$mgl_os" = x
; then
27190 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27191 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27192 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27197 if test "x$mgl_lib_type" = x
; then
27198 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27199 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27200 mgl_lib_type
=release
27207 if test "x$mgl_os" = x
; then
27208 echo "$as_me:$LINENO: result: not found" >&5
27209 echo "${ECHO_T}not found" >&6
27210 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27211 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27212 { (exit 1); exit 1; }; }
27214 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27215 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27217 wxUSE_UNIVERSAL
="yes"
27219 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27220 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27222 AFMINSTALL
=afminstall
27227 if test "$wxUSE_MICROWIN" = 1; then
27228 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27229 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27230 if test "x$MICROWINDOWS" = x
; then
27231 echo "$as_me:$LINENO: result: not found" >&5
27232 echo "${ECHO_T}not found" >&6
27233 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27234 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27235 { (exit 1); exit 1; }; }
27237 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27238 echo "${ECHO_T}$MICROWINDOWS" >&6
27241 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27242 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27243 echo "${ECHO_T}MicroWindows' libraries found." >&6
27245 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27246 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27247 { (exit 1); exit 1; }; }
27250 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27251 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27253 wxUSE_UNIVERSAL
="yes"
27255 AFMINSTALL
=afminstall
27257 GUIDIST
=MICROWIN_DIST
27259 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27262 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27263 echo "$as_me:$LINENO: checking for X" >&5
27264 echo $ECHO_N "checking for X... $ECHO_C" >&6
27267 # Check whether --with-x or --without-x was given.
27268 if test "${with_x+set}" = set; then
27272 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27273 if test "x$with_x" = xno
; then
27274 # The user explicitly disabled X.
27277 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27278 # Both variables are already set.
27281 if test "${ac_cv_have_x+set}" = set; then
27282 echo $ECHO_N "(cached) $ECHO_C" >&6
27284 # One or both of the vars are not set, and there is no cached value.
27285 ac_x_includes
=no ac_x_libraries
=no
27286 rm -fr conftest.dir
27287 if mkdir conftest.dir
; then
27289 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27290 cat >Imakefile
<<'_ACEOF'
27292 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27294 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27295 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27296 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27297 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27298 for ac_extension
in a so sl
; do
27299 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27300 test -f $ac_im_libdir/libX11.
$ac_extension; then
27301 ac_im_usrlibdir
=$ac_im_libdir; break
27304 # Screen out bogus values from the imake configuration. They are
27305 # bogus both because they are the default anyway, and because
27306 # using them would break gcc on systems where it needs fixed includes.
27307 case $ac_im_incroot in
27309 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27311 case $ac_im_usrlibdir in
27312 /usr
/lib
| /lib
) ;;
27313 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27317 rm -fr conftest.dir
27320 # Standard set of common directories for X headers.
27321 # Check X11 before X11Rn because it is often a symlink to the current release.
27333 /usr/local/X11/include
27334 /usr/local/X11R6/include
27335 /usr/local/X11R5/include
27336 /usr/local/X11R4/include
27338 /usr/local/include/X11
27339 /usr/local/include/X11R6
27340 /usr/local/include/X11R5
27341 /usr/local/include/X11R4
27345 /usr/XFree86/include/X11
27349 /usr/unsupported/include
27350 /usr/athena/include
27351 /usr/local/x11r5/include
27352 /usr/lpp/Xamples/include
27354 /usr/openwin/include
27355 /usr/openwin/share/include'
27357 if test "$ac_x_includes" = no
; then
27358 # Guess where to find include files, by looking for Intrinsic.h.
27359 # First, try using that file with no special directory specified.
27360 cat >conftest.
$ac_ext <<_ACEOF
27363 cat confdefs.h
>>conftest.
$ac_ext
27364 cat >>conftest.
$ac_ext <<_ACEOF
27365 /* end confdefs.h. */
27366 #include <X11/Intrinsic.h>
27368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27371 grep -v '^ *+' conftest.er1
>conftest.err
27373 cat conftest.err
>&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } >/dev
/null
; then
27376 if test -s conftest.err
; then
27377 ac_cpp_err
=$ac_c_preproc_warn_flag
27378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27385 if test -z "$ac_cpp_err"; then
27386 # We can compile using X headers with no special include directory.
27389 echo "$as_me: failed program was:" >&5
27390 sed 's/^/| /' conftest.
$ac_ext >&5
27392 for ac_dir
in $ac_x_header_dirs; do
27393 if test -r "$ac_dir/X11/Intrinsic.h"; then
27394 ac_x_includes
=$ac_dir
27399 rm -f conftest.err conftest.
$ac_ext
27400 fi # $ac_x_includes = no
27402 if test "$ac_x_libraries" = no
; then
27403 # Check for the libraries.
27404 # See if we find them without any special options.
27405 # Don't add to $LIBS permanently.
27408 cat >conftest.
$ac_ext <<_ACEOF
27411 cat confdefs.h
>>conftest.
$ac_ext
27412 cat >>conftest.
$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27414 #include <X11/Intrinsic.h>
27423 rm -f conftest.
$ac_objext conftest
$ac_exeext
27424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27425 (eval $ac_link) 2>conftest.er1
27427 grep -v '^ *+' conftest.er1
>conftest.err
27429 cat conftest.err
>&5
27430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27431 (exit $ac_status); } &&
27432 { ac_try
='test -z "$ac_c_werror_flag"
27433 || test ! -s conftest.err'
27434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27435 (eval $ac_try) 2>&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); }; } &&
27439 { ac_try
='test -s conftest$ac_exeext'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; }; then
27446 # We can link X programs with no special library path.
27449 echo "$as_me: failed program was:" >&5
27450 sed 's/^/| /' conftest.
$ac_ext >&5
27453 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27455 # Don't even attempt the hair of trying to link an X program!
27456 for ac_extension
in a so sl
; do
27457 if test -r $ac_dir/libXt.
$ac_extension; then
27458 ac_x_libraries
=$ac_dir
27464 rm -f conftest.err conftest.
$ac_objext \
27465 conftest
$ac_exeext conftest.
$ac_ext
27466 fi # $ac_x_libraries = no
27468 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27469 # Didn't find X anywhere. Cache the known absence of X.
27470 ac_cv_have_x
="have_x=no"
27472 # Record where we found X for the cache.
27473 ac_cv_have_x
="have_x=yes \
27474 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27479 eval "$ac_cv_have_x"
27482 if test "$have_x" != yes; then
27483 echo "$as_me:$LINENO: result: $have_x" >&5
27484 echo "${ECHO_T}$have_x" >&6
27487 # If each of the values was on the command line, it overrides each guess.
27488 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27489 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27490 # Update the cache value to reflect the command line values.
27491 ac_cv_have_x
="have_x=yes \
27492 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27493 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27494 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27497 if test "$no_x" = yes; then
27498 # Not all programs may use this symbol, but it does not hurt to define it.
27500 cat >>confdefs.h
<<\_ACEOF
27501 #define X_DISPLAY_MISSING 1
27504 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27506 if test -n "$x_includes"; then
27507 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27510 # It would also be nice to do this for all -L options, not just this one.
27511 if test -n "$x_libraries"; then
27512 X_LIBS
="$X_LIBS -L$x_libraries"
27513 # For Solaris; some versions of Sun CC require a space after -R and
27514 # others require no space. Words are not sufficient . . . .
27515 case `(uname -sr) 2>/dev/null` in
27517 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27518 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27519 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27520 cat >conftest.
$ac_ext <<_ACEOF
27523 cat confdefs.h
>>conftest.
$ac_ext
27524 cat >>conftest.
$ac_ext <<_ACEOF
27525 /* end confdefs.h. */
27535 rm -f conftest.
$ac_objext conftest
$ac_exeext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27537 (eval $ac_link) 2>conftest.er1
27539 grep -v '^ *+' conftest.er1
>conftest.err
27541 cat conftest.err
>&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } &&
27544 { ac_try
='test -z "$ac_c_werror_flag"
27545 || test ! -s conftest.err'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try
='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.
$ac_ext >&5
27564 rm -f conftest.err conftest.
$ac_objext \
27565 conftest
$ac_exeext conftest.
$ac_ext
27566 if test $ac_R_nospace = yes; then
27567 echo "$as_me:$LINENO: result: no" >&5
27568 echo "${ECHO_T}no" >&6
27569 X_LIBS
="$X_LIBS -R$x_libraries"
27571 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27572 cat >conftest.
$ac_ext <<_ACEOF
27575 cat confdefs.h
>>conftest.
$ac_ext
27576 cat >>conftest.
$ac_ext <<_ACEOF
27577 /* end confdefs.h. */
27587 rm -f conftest.
$ac_objext conftest
$ac_exeext
27588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27589 (eval $ac_link) 2>conftest.er1
27591 grep -v '^ *+' conftest.er1
>conftest.err
27593 cat conftest.err
>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); } &&
27596 { ac_try
='test -z "$ac_c_werror_flag"
27597 || test ! -s conftest.err'
27598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27599 (eval $ac_try) 2>&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); }; } &&
27603 { ac_try
='test -s conftest$ac_exeext'
27604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27605 (eval $ac_try) 2>&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); }; }; then
27611 echo "$as_me: failed program was:" >&5
27612 sed 's/^/| /' conftest.
$ac_ext >&5
27616 rm -f conftest.err conftest.
$ac_objext \
27617 conftest
$ac_exeext conftest.
$ac_ext
27618 if test $ac_R_space = yes; then
27619 echo "$as_me:$LINENO: result: yes" >&5
27620 echo "${ECHO_T}yes" >&6
27621 X_LIBS
="$X_LIBS -R $x_libraries"
27623 echo "$as_me:$LINENO: result: neither works" >&5
27624 echo "${ECHO_T}neither works" >&6
27627 LIBS
=$ac_xsave_LIBS
27631 # Check for system-dependent libraries X programs must link with.
27632 # Do this before checking for the system-independent R6 libraries
27633 # (-lICE), since we may need -lsocket or whatever for X linking.
27635 if test "$ISC" = yes; then
27636 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27638 # Martyn Johnson says this is needed for Ultrix, if the X
27639 # libraries were built with DECnet support. And Karl Berry says
27640 # the Alpha needs dnet_stub (dnet does not exist).
27641 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27642 cat >conftest.
$ac_ext <<_ACEOF
27645 cat confdefs.h
>>conftest.
$ac_ext
27646 cat >>conftest.
$ac_ext <<_ACEOF
27647 /* end confdefs.h. */
27649 /* Override any gcc2 internal prototype to avoid an error. */
27653 /* We use char because int might match the return type of a gcc2
27654 builtin and then its argument prototype would still apply. */
27655 char XOpenDisplay ();
27664 rm -f conftest.
$ac_objext conftest
$ac_exeext
27665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27666 (eval $ac_link) 2>conftest.er1
27668 grep -v '^ *+' conftest.er1
>conftest.err
27670 cat conftest.err
>&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } &&
27673 { ac_try
='test -z "$ac_c_werror_flag"
27674 || test ! -s conftest.err'
27675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27676 (eval $ac_try) 2>&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); }; } &&
27680 { ac_try
='test -s conftest$ac_exeext'
27681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27682 (eval $ac_try) 2>&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; }; then
27688 echo "$as_me: failed program was:" >&5
27689 sed 's/^/| /' conftest.
$ac_ext >&5
27691 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27692 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27693 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27694 echo $ECHO_N "(cached) $ECHO_C" >&6
27696 ac_check_lib_save_LIBS
=$LIBS
27697 LIBS
="-ldnet $LIBS"
27698 cat >conftest.
$ac_ext <<_ACEOF
27701 cat confdefs.h
>>conftest.
$ac_ext
27702 cat >>conftest.
$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27705 /* Override any gcc2 internal prototype to avoid an error. */
27709 /* We use char because int might match the return type of a gcc2
27710 builtin and then its argument prototype would still apply. */
27720 rm -f conftest.
$ac_objext conftest
$ac_exeext
27721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27722 (eval $ac_link) 2>conftest.er1
27724 grep -v '^ *+' conftest.er1
>conftest.err
27726 cat conftest.err
>&5
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); } &&
27729 { ac_try
='test -z "$ac_c_werror_flag"
27730 || test ! -s conftest.err'
27731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27732 (eval $ac_try) 2>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; } &&
27736 { ac_try
='test -s conftest$ac_exeext'
27737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738 (eval $ac_try) 2>&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); }; }; then
27742 ac_cv_lib_dnet_dnet_ntoa
=yes
27744 echo "$as_me: failed program was:" >&5
27745 sed 's/^/| /' conftest.
$ac_ext >&5
27747 ac_cv_lib_dnet_dnet_ntoa
=no
27749 rm -f conftest.err conftest.
$ac_objext \
27750 conftest
$ac_exeext conftest.
$ac_ext
27751 LIBS
=$ac_check_lib_save_LIBS
27753 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27754 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27755 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27756 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
27759 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
27760 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27761 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27762 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27763 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 ac_check_lib_save_LIBS
=$LIBS
27766 LIBS
="-ldnet_stub $LIBS"
27767 cat >conftest.
$ac_ext <<_ACEOF
27770 cat confdefs.h
>>conftest.
$ac_ext
27771 cat >>conftest.
$ac_ext <<_ACEOF
27772 /* end confdefs.h. */
27774 /* Override any gcc2 internal prototype to avoid an error. */
27778 /* We use char because int might match the return type of a gcc2
27779 builtin and then its argument prototype would still apply. */
27789 rm -f conftest.
$ac_objext conftest
$ac_exeext
27790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27791 (eval $ac_link) 2>conftest.er1
27793 grep -v '^ *+' conftest.er1
>conftest.err
27795 cat conftest.err
>&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); } &&
27798 { ac_try
='test -z "$ac_c_werror_flag"
27799 || test ! -s conftest.err'
27800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27801 (eval $ac_try) 2>&5
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); }; } &&
27805 { ac_try
='test -s conftest$ac_exeext'
27806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27807 (eval $ac_try) 2>&5
27809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810 (exit $ac_status); }; }; then
27811 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
27813 echo "$as_me: failed program was:" >&5
27814 sed 's/^/| /' conftest.
$ac_ext >&5
27816 ac_cv_lib_dnet_stub_dnet_ntoa
=no
27818 rm -f conftest.err conftest.
$ac_objext \
27819 conftest
$ac_exeext conftest.
$ac_ext
27820 LIBS
=$ac_check_lib_save_LIBS
27822 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27823 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27824 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27825 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
27830 rm -f conftest.err conftest.
$ac_objext \
27831 conftest
$ac_exeext conftest.
$ac_ext
27832 LIBS
="$ac_xsave_LIBS"
27834 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27835 # to get the SysV transport functions.
27836 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27838 # The nsl library prevents programs from opening the X display
27839 # on Irix 5.2, according to T.E. Dickey.
27840 # The functions gethostbyname, getservbyname, and inet_addr are
27841 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27842 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27843 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27844 if test "${ac_cv_func_gethostbyname+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 cat >conftest.
$ac_ext <<_ACEOF
27850 cat confdefs.h
>>conftest.
$ac_ext
27851 cat >>conftest.
$ac_ext <<_ACEOF
27852 /* end confdefs.h. */
27853 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27855 #define gethostbyname innocuous_gethostbyname
27857 /* System header to define __stub macros and hopefully few prototypes,
27858 which can conflict with char gethostbyname (); below.
27859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27860 <limits.h> exists even on freestanding compilers. */
27863 # include <limits.h>
27865 # include <assert.h>
27868 #undef gethostbyname
27870 /* Override any gcc2 internal prototype to avoid an error. */
27875 /* We use char because int might match the return type of a gcc2
27876 builtin and then its argument prototype would still apply. */
27877 char gethostbyname ();
27878 /* The GNU C library defines this for functions which it implements
27879 to always fail with ENOSYS. Some functions are actually named
27880 something starting with __ and the normal name is an alias. */
27881 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27884 char (*f) () = gethostbyname;
27893 return f != gethostbyname;
27898 rm -f conftest.
$ac_objext conftest
$ac_exeext
27899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27900 (eval $ac_link) 2>conftest.er1
27902 grep -v '^ *+' conftest.er1
>conftest.err
27904 cat conftest.err
>&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); } &&
27907 { ac_try
='test -z "$ac_c_werror_flag"
27908 || test ! -s conftest.err'
27909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27910 (eval $ac_try) 2>&5
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; } &&
27914 { ac_try
='test -s conftest$ac_exeext'
27915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27916 (eval $ac_try) 2>&5
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); }; }; then
27920 ac_cv_func_gethostbyname
=yes
27922 echo "$as_me: failed program was:" >&5
27923 sed 's/^/| /' conftest.
$ac_ext >&5
27925 ac_cv_func_gethostbyname
=no
27927 rm -f conftest.err conftest.
$ac_objext \
27928 conftest
$ac_exeext conftest.
$ac_ext
27930 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27931 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27933 if test $ac_cv_func_gethostbyname = no
; then
27934 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27935 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27936 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 ac_check_lib_save_LIBS
=$LIBS
27941 cat >conftest.
$ac_ext <<_ACEOF
27944 cat confdefs.h
>>conftest.
$ac_ext
27945 cat >>conftest.
$ac_ext <<_ACEOF
27946 /* end confdefs.h. */
27948 /* Override any gcc2 internal prototype to avoid an error. */
27952 /* We use char because int might match the return type of a gcc2
27953 builtin and then its argument prototype would still apply. */
27954 char gethostbyname ();
27963 rm -f conftest.
$ac_objext conftest
$ac_exeext
27964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27965 (eval $ac_link) 2>conftest.er1
27967 grep -v '^ *+' conftest.er1
>conftest.err
27969 cat conftest.err
>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } &&
27972 { ac_try
='test -z "$ac_c_werror_flag"
27973 || test ! -s conftest.err'
27974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27975 (eval $ac_try) 2>&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); }; } &&
27979 { ac_try
='test -s conftest$ac_exeext'
27980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27981 (eval $ac_try) 2>&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); }; }; then
27985 ac_cv_lib_nsl_gethostbyname
=yes
27987 echo "$as_me: failed program was:" >&5
27988 sed 's/^/| /' conftest.
$ac_ext >&5
27990 ac_cv_lib_nsl_gethostbyname
=no
27992 rm -f conftest.err conftest.
$ac_objext \
27993 conftest
$ac_exeext conftest.
$ac_ext
27994 LIBS
=$ac_check_lib_save_LIBS
27996 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27997 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27998 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28002 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28003 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28004 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28005 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28006 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 ac_check_lib_save_LIBS
=$LIBS
28010 cat >conftest.
$ac_ext <<_ACEOF
28013 cat confdefs.h
>>conftest.
$ac_ext
28014 cat >>conftest.
$ac_ext <<_ACEOF
28015 /* end confdefs.h. */
28017 /* Override any gcc2 internal prototype to avoid an error. */
28021 /* We use char because int might match the return type of a gcc2
28022 builtin and then its argument prototype would still apply. */
28023 char gethostbyname ();
28032 rm -f conftest.
$ac_objext conftest
$ac_exeext
28033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28034 (eval $ac_link) 2>conftest.er1
28036 grep -v '^ *+' conftest.er1
>conftest.err
28038 cat conftest.err
>&5
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); } &&
28041 { ac_try
='test -z "$ac_c_werror_flag"
28042 || test ! -s conftest.err'
28043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 (eval $ac_try) 2>&5
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }; } &&
28048 { ac_try
='test -s conftest$ac_exeext'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; }; then
28054 ac_cv_lib_bsd_gethostbyname
=yes
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.
$ac_ext >&5
28059 ac_cv_lib_bsd_gethostbyname
=no
28061 rm -f conftest.err conftest.
$ac_objext \
28062 conftest
$ac_exeext conftest.
$ac_ext
28063 LIBS
=$ac_check_lib_save_LIBS
28065 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28066 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28067 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28068 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28074 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28075 # socket/setsockopt and other routines are undefined under SCO ODT
28076 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28077 # on later versions), says Simon Leinen: it contains gethostby*
28078 # variants that don't use the name server (or something). -lsocket
28079 # must be given before -lnsl if both are needed. We assume that
28080 # if connect needs -lnsl, so does gethostbyname.
28081 echo "$as_me:$LINENO: checking for connect" >&5
28082 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28083 if test "${ac_cv_func_connect+set}" = set; then
28084 echo $ECHO_N "(cached) $ECHO_C" >&6
28086 cat >conftest.
$ac_ext <<_ACEOF
28089 cat confdefs.h
>>conftest.
$ac_ext
28090 cat >>conftest.
$ac_ext <<_ACEOF
28091 /* end confdefs.h. */
28092 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28094 #define connect innocuous_connect
28096 /* System header to define __stub macros and hopefully few prototypes,
28097 which can conflict with char connect (); below.
28098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28099 <limits.h> exists even on freestanding compilers. */
28102 # include <limits.h>
28104 # include <assert.h>
28109 /* Override any gcc2 internal prototype to avoid an error. */
28114 /* We use char because int might match the return type of a gcc2
28115 builtin and then its argument prototype would still apply. */
28117 /* The GNU C library defines this for functions which it implements
28118 to always fail with ENOSYS. Some functions are actually named
28119 something starting with __ and the normal name is an alias. */
28120 #if defined (__stub_connect) || defined (__stub___connect)
28123 char (*f) () = connect;
28132 return f != connect;
28137 rm -f conftest.
$ac_objext conftest
$ac_exeext
28138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28139 (eval $ac_link) 2>conftest.er1
28141 grep -v '^ *+' conftest.er1
>conftest.err
28143 cat conftest.err
>&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); } &&
28146 { ac_try
='test -z "$ac_c_werror_flag"
28147 || test ! -s conftest.err'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; } &&
28153 { ac_try
='test -s conftest$ac_exeext'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; }; then
28159 ac_cv_func_connect
=yes
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.
$ac_ext >&5
28164 ac_cv_func_connect
=no
28166 rm -f conftest.err conftest.
$ac_objext \
28167 conftest
$ac_exeext conftest.
$ac_ext
28169 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28170 echo "${ECHO_T}$ac_cv_func_connect" >&6
28172 if test $ac_cv_func_connect = no
; then
28173 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28174 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28175 if test "${ac_cv_lib_socket_connect+set}" = set; then
28176 echo $ECHO_N "(cached) $ECHO_C" >&6
28178 ac_check_lib_save_LIBS
=$LIBS
28179 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28180 cat >conftest.
$ac_ext <<_ACEOF
28183 cat confdefs.h
>>conftest.
$ac_ext
28184 cat >>conftest.
$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28187 /* Override any gcc2 internal prototype to avoid an error. */
28191 /* We use char because int might match the return type of a gcc2
28192 builtin and then its argument prototype would still apply. */
28202 rm -f conftest.
$ac_objext conftest
$ac_exeext
28203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28204 (eval $ac_link) 2>conftest.er1
28206 grep -v '^ *+' conftest.er1
>conftest.err
28208 cat conftest.err
>&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try
='test -z "$ac_c_werror_flag"
28212 || test ! -s conftest.err'
28213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28214 (eval $ac_try) 2>&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); }; } &&
28218 { ac_try
='test -s conftest$ac_exeext'
28219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28220 (eval $ac_try) 2>&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); }; }; then
28224 ac_cv_lib_socket_connect
=yes
28226 echo "$as_me: failed program was:" >&5
28227 sed 's/^/| /' conftest.
$ac_ext >&5
28229 ac_cv_lib_socket_connect
=no
28231 rm -f conftest.err conftest.
$ac_objext \
28232 conftest
$ac_exeext conftest.
$ac_ext
28233 LIBS
=$ac_check_lib_save_LIBS
28235 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28236 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28237 if test $ac_cv_lib_socket_connect = yes; then
28238 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28243 # Guillermo Gomez says -lposix is necessary on A/UX.
28244 echo "$as_me:$LINENO: checking for remove" >&5
28245 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28246 if test "${ac_cv_func_remove+set}" = set; then
28247 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 cat >conftest.
$ac_ext <<_ACEOF
28252 cat confdefs.h
>>conftest.
$ac_ext
28253 cat >>conftest.
$ac_ext <<_ACEOF
28254 /* end confdefs.h. */
28255 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28257 #define remove innocuous_remove
28259 /* System header to define __stub macros and hopefully few prototypes,
28260 which can conflict with char remove (); below.
28261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28262 <limits.h> exists even on freestanding compilers. */
28265 # include <limits.h>
28267 # include <assert.h>
28272 /* Override any gcc2 internal prototype to avoid an error. */
28277 /* We use char because int might match the return type of a gcc2
28278 builtin and then its argument prototype would still apply. */
28280 /* The GNU C library defines this for functions which it implements
28281 to always fail with ENOSYS. Some functions are actually named
28282 something starting with __ and the normal name is an alias. */
28283 #if defined (__stub_remove) || defined (__stub___remove)
28286 char (*f) () = remove;
28295 return f != remove;
28300 rm -f conftest.
$ac_objext conftest
$ac_exeext
28301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28302 (eval $ac_link) 2>conftest.er1
28304 grep -v '^ *+' conftest.er1
>conftest.err
28306 cat conftest.err
>&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); } &&
28309 { ac_try
='test -z "$ac_c_werror_flag"
28310 || test ! -s conftest.err'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; } &&
28316 { ac_try
='test -s conftest$ac_exeext'
28317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318 (eval $ac_try) 2>&5
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; }; then
28322 ac_cv_func_remove
=yes
28324 echo "$as_me: failed program was:" >&5
28325 sed 's/^/| /' conftest.
$ac_ext >&5
28327 ac_cv_func_remove
=no
28329 rm -f conftest.err conftest.
$ac_objext \
28330 conftest
$ac_exeext conftest.
$ac_ext
28332 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28333 echo "${ECHO_T}$ac_cv_func_remove" >&6
28335 if test $ac_cv_func_remove = no
; then
28336 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28337 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28338 if test "${ac_cv_lib_posix_remove+set}" = set; then
28339 echo $ECHO_N "(cached) $ECHO_C" >&6
28341 ac_check_lib_save_LIBS
=$LIBS
28342 LIBS
="-lposix $LIBS"
28343 cat >conftest.
$ac_ext <<_ACEOF
28346 cat confdefs.h
>>conftest.
$ac_ext
28347 cat >>conftest.
$ac_ext <<_ACEOF
28348 /* end confdefs.h. */
28350 /* Override any gcc2 internal prototype to avoid an error. */
28354 /* We use char because int might match the return type of a gcc2
28355 builtin and then its argument prototype would still apply. */
28365 rm -f conftest.
$ac_objext conftest
$ac_exeext
28366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28367 (eval $ac_link) 2>conftest.er1
28369 grep -v '^ *+' conftest.er1
>conftest.err
28371 cat conftest.err
>&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } &&
28374 { ac_try
='test -z "$ac_c_werror_flag"
28375 || test ! -s conftest.err'
28376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28377 (eval $ac_try) 2>&5
28379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380 (exit $ac_status); }; } &&
28381 { ac_try
='test -s conftest$ac_exeext'
28382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28383 (eval $ac_try) 2>&5
28385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28386 (exit $ac_status); }; }; then
28387 ac_cv_lib_posix_remove
=yes
28389 echo "$as_me: failed program was:" >&5
28390 sed 's/^/| /' conftest.
$ac_ext >&5
28392 ac_cv_lib_posix_remove
=no
28394 rm -f conftest.err conftest.
$ac_objext \
28395 conftest
$ac_exeext conftest.
$ac_ext
28396 LIBS
=$ac_check_lib_save_LIBS
28398 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28399 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28400 if test $ac_cv_lib_posix_remove = yes; then
28401 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28406 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28407 echo "$as_me:$LINENO: checking for shmat" >&5
28408 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28409 if test "${ac_cv_func_shmat+set}" = set; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28412 cat >conftest.
$ac_ext <<_ACEOF
28415 cat confdefs.h
>>conftest.
$ac_ext
28416 cat >>conftest.
$ac_ext <<_ACEOF
28417 /* end confdefs.h. */
28418 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28420 #define shmat innocuous_shmat
28422 /* System header to define __stub macros and hopefully few prototypes,
28423 which can conflict with char shmat (); below.
28424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28425 <limits.h> exists even on freestanding compilers. */
28428 # include <limits.h>
28430 # include <assert.h>
28435 /* Override any gcc2 internal prototype to avoid an error. */
28440 /* We use char because int might match the return type of a gcc2
28441 builtin and then its argument prototype would still apply. */
28443 /* The GNU C library defines this for functions which it implements
28444 to always fail with ENOSYS. Some functions are actually named
28445 something starting with __ and the normal name is an alias. */
28446 #if defined (__stub_shmat) || defined (__stub___shmat)
28449 char (*f) () = shmat;
28463 rm -f conftest.
$ac_objext conftest
$ac_exeext
28464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28465 (eval $ac_link) 2>conftest.er1
28467 grep -v '^ *+' conftest.er1
>conftest.err
28469 cat conftest.err
>&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); } &&
28472 { ac_try
='test -z "$ac_c_werror_flag"
28473 || test ! -s conftest.err'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; } &&
28479 { ac_try
='test -s conftest$ac_exeext'
28480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28481 (eval $ac_try) 2>&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); }; }; then
28485 ac_cv_func_shmat
=yes
28487 echo "$as_me: failed program was:" >&5
28488 sed 's/^/| /' conftest.
$ac_ext >&5
28490 ac_cv_func_shmat
=no
28492 rm -f conftest.err conftest.
$ac_objext \
28493 conftest
$ac_exeext conftest.
$ac_ext
28495 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28496 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28498 if test $ac_cv_func_shmat = no
; then
28499 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28500 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28501 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28504 ac_check_lib_save_LIBS
=$LIBS
28506 cat >conftest.
$ac_ext <<_ACEOF
28509 cat confdefs.h
>>conftest.
$ac_ext
28510 cat >>conftest.
$ac_ext <<_ACEOF
28511 /* end confdefs.h. */
28513 /* 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. */
28528 rm -f conftest.
$ac_objext conftest
$ac_exeext
28529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28530 (eval $ac_link) 2>conftest.er1
28532 grep -v '^ *+' conftest.er1
>conftest.err
28534 cat conftest.err
>&5
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); } &&
28537 { ac_try
='test -z "$ac_c_werror_flag"
28538 || test ! -s conftest.err'
28539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540 (eval $ac_try) 2>&5
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); }; } &&
28544 { ac_try
='test -s conftest$ac_exeext'
28545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28546 (eval $ac_try) 2>&5
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); }; }; then
28550 ac_cv_lib_ipc_shmat
=yes
28552 echo "$as_me: failed program was:" >&5
28553 sed 's/^/| /' conftest.
$ac_ext >&5
28555 ac_cv_lib_ipc_shmat
=no
28557 rm -f conftest.err conftest.
$ac_objext \
28558 conftest
$ac_exeext conftest.
$ac_ext
28559 LIBS
=$ac_check_lib_save_LIBS
28561 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28562 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28563 if test $ac_cv_lib_ipc_shmat = yes; then
28564 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28570 # Check for libraries that X11R6 Xt/Xaw programs need.
28571 ac_save_LDFLAGS
=$LDFLAGS
28572 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28573 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28574 # check for ICE first), but we must link in the order -lSM -lICE or
28575 # we get undefined symbols. So assume we have SM if we have ICE.
28576 # These have to be linked with before -lX11, unlike the other
28577 # libraries we check for below, so use a different variable.
28578 # John Interrante, Karl Berry
28579 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28580 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28581 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28582 echo $ECHO_N "(cached) $ECHO_C" >&6
28584 ac_check_lib_save_LIBS
=$LIBS
28585 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28586 cat >conftest.
$ac_ext <<_ACEOF
28589 cat confdefs.h
>>conftest.
$ac_ext
28590 cat >>conftest.
$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28593 /* Override any gcc2 internal prototype to avoid an error. */
28597 /* We use char because int might match the return type of a gcc2
28598 builtin and then its argument prototype would still apply. */
28599 char IceConnectionNumber ();
28603 IceConnectionNumber ();
28608 rm -f conftest.
$ac_objext conftest
$ac_exeext
28609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28610 (eval $ac_link) 2>conftest.er1
28612 grep -v '^ *+' conftest.er1
>conftest.err
28614 cat conftest.err
>&5
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); } &&
28617 { ac_try
='test -z "$ac_c_werror_flag"
28618 || test ! -s conftest.err'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; } &&
28624 { ac_try
='test -s conftest$ac_exeext'
28625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28626 (eval $ac_try) 2>&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); }; }; then
28630 ac_cv_lib_ICE_IceConnectionNumber
=yes
28632 echo "$as_me: failed program was:" >&5
28633 sed 's/^/| /' conftest.
$ac_ext >&5
28635 ac_cv_lib_ICE_IceConnectionNumber
=no
28637 rm -f conftest.err conftest.
$ac_objext \
28638 conftest
$ac_exeext conftest.
$ac_ext
28639 LIBS
=$ac_check_lib_save_LIBS
28641 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28642 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28643 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28644 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28647 LDFLAGS
=$ac_save_LDFLAGS
28652 if test "$no_x" = "yes"; then
28653 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28654 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28655 { (exit 1); exit 1; }; }
28658 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28659 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28660 AFMINSTALL
=afminstall
28661 COMPILED_X_PROGRAM
=0
28665 if test "$wxUSE_X11" = 1; then
28666 if test "$wxUSE_NANOX" = "yes"; then
28667 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28668 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28669 if test "x$MICROWIN" = x
; then
28670 echo "$as_me:$LINENO: result: not found" >&5
28671 echo "${ECHO_T}not found" >&6
28672 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28673 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28674 { (exit 1); exit 1; }; }
28676 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28677 echo "${ECHO_T}$MICROWIN" >&6
28678 cat >>confdefs.h
<<\_ACEOF
28679 #define wxUSE_NANOX 1
28685 if test "$wxUSE_UNICODE" = "yes"; then
28689 if test -z "$PKG_CONFIG"; then
28690 # Extract the first word of "pkg-config", so it can be a program name with args.
28691 set dummy pkg
-config; ac_word
=$2
28692 echo "$as_me:$LINENO: checking for $ac_word" >&5
28693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28694 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28695 echo $ECHO_N "(cached) $ECHO_C" >&6
28697 case $PKG_CONFIG in
28699 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28703 for as_dir
in $PATH
28706 test -z "$as_dir" && as_dir
=.
28707 for ac_exec_ext
in '' $ac_executable_extensions; do
28708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28709 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28716 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28720 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28722 if test -n "$PKG_CONFIG"; then
28723 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28724 echo "${ECHO_T}$PKG_CONFIG" >&6
28726 echo "$as_me:$LINENO: result: no" >&5
28727 echo "${ECHO_T}no" >&6
28732 if test "$PKG_CONFIG" = "no" ; then
28733 echo "*** The pkg-config script could not be found. Make sure it is"
28734 echo "*** in your path, or set the PKG_CONFIG environment variable"
28735 echo "*** to the full path to pkg-config."
28736 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28738 PKG_CONFIG_MIN_VERSION
=0.9.0
28739 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28740 echo "$as_me:$LINENO: checking for pangox" >&5
28741 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28743 if $PKG_CONFIG --exists "pangox" ; then
28744 echo "$as_me:$LINENO: result: yes" >&5
28745 echo "${ECHO_T}yes" >&6
28748 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28749 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28750 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
28751 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28752 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28754 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28755 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28756 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
28757 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28758 echo "${ECHO_T}$PANGOX_LIBS" >&6
28762 ## If we have a custom action on failure, don't print errors, but
28763 ## do set a variable so people can do so.
28764 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28771 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28772 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28776 if test $succeeded = yes; then
28778 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
28779 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
28783 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28784 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28785 { (exit 1); exit 1; }; }
28793 if test -z "$PKG_CONFIG"; then
28794 # Extract the first word of "pkg-config", so it can be a program name with args.
28795 set dummy pkg
-config; ac_word
=$2
28796 echo "$as_me:$LINENO: checking for $ac_word" >&5
28797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28798 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28799 echo $ECHO_N "(cached) $ECHO_C" >&6
28801 case $PKG_CONFIG in
28803 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28807 for as_dir
in $PATH
28810 test -z "$as_dir" && as_dir
=.
28811 for ac_exec_ext
in '' $ac_executable_extensions; do
28812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28813 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28820 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28824 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28826 if test -n "$PKG_CONFIG"; then
28827 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28828 echo "${ECHO_T}$PKG_CONFIG" >&6
28830 echo "$as_me:$LINENO: result: no" >&5
28831 echo "${ECHO_T}no" >&6
28836 if test "$PKG_CONFIG" = "no" ; then
28837 echo "*** The pkg-config script could not be found. Make sure it is"
28838 echo "*** in your path, or set the PKG_CONFIG environment variable"
28839 echo "*** to the full path to pkg-config."
28840 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28842 PKG_CONFIG_MIN_VERSION
=0.9.0
28843 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28844 echo "$as_me:$LINENO: checking for pangoft2" >&5
28845 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28847 if $PKG_CONFIG --exists "pangoft2" ; then
28848 echo "$as_me:$LINENO: result: yes" >&5
28849 echo "${ECHO_T}yes" >&6
28852 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28853 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28854 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28855 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28856 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28858 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28859 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28860 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28861 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28862 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28866 ## If we have a custom action on failure, don't print errors, but
28867 ## do set a variable so people can do so.
28868 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28875 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28876 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28880 if test $succeeded = yes; then
28882 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
28883 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28887 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28888 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28889 wxUSE_PRINTING_ARCHITECTURE
="no"
28897 if test -z "$PKG_CONFIG"; then
28898 # Extract the first word of "pkg-config", so it can be a program name with args.
28899 set dummy pkg
-config; ac_word
=$2
28900 echo "$as_me:$LINENO: checking for $ac_word" >&5
28901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28902 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28903 echo $ECHO_N "(cached) $ECHO_C" >&6
28905 case $PKG_CONFIG in
28907 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28911 for as_dir
in $PATH
28914 test -z "$as_dir" && as_dir
=.
28915 for ac_exec_ext
in '' $ac_executable_extensions; do
28916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28917 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28924 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28928 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28930 if test -n "$PKG_CONFIG"; then
28931 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28932 echo "${ECHO_T}$PKG_CONFIG" >&6
28934 echo "$as_me:$LINENO: result: no" >&5
28935 echo "${ECHO_T}no" >&6
28940 if test "$PKG_CONFIG" = "no" ; then
28941 echo "*** The pkg-config script could not be found. Make sure it is"
28942 echo "*** in your path, or set the PKG_CONFIG environment variable"
28943 echo "*** to the full path to pkg-config."
28944 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28946 PKG_CONFIG_MIN_VERSION
=0.9.0
28947 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28948 echo "$as_me:$LINENO: checking for pangoxft" >&5
28949 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28951 if $PKG_CONFIG --exists "pangoxft" ; then
28952 echo "$as_me:$LINENO: result: yes" >&5
28953 echo "${ECHO_T}yes" >&6
28956 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28957 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28958 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
28959 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28960 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28962 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28963 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28964 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
28965 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28966 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28970 ## If we have a custom action on failure, don't print errors, but
28971 ## do set a variable so people can do so.
28972 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28979 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28980 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28984 if test $succeeded = yes; then
28986 cat >>confdefs.h
<<\_ACEOF
28987 #define HAVE_PANGO_XFT 1
28990 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
28991 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28995 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28996 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29001 save_CFLAGS
="$CFLAGS"
29003 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
29004 LIBS
="$LIBS $PANGOX_LIBS"
29006 for ac_func
in pango_font_family_is_monospace
29008 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29009 echo "$as_me:$LINENO: checking for $ac_func" >&5
29010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29011 if eval "test \"\${$as_ac_var+set}\" = set"; then
29012 echo $ECHO_N "(cached) $ECHO_C" >&6
29014 cat >conftest.
$ac_ext <<_ACEOF
29017 cat confdefs.h
>>conftest.
$ac_ext
29018 cat >>conftest.
$ac_ext <<_ACEOF
29019 /* end confdefs.h. */
29020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29022 #define $ac_func innocuous_$ac_func
29024 /* System header to define __stub macros and hopefully few prototypes,
29025 which can conflict with char $ac_func (); below.
29026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29027 <limits.h> exists even on freestanding compilers. */
29030 # include <limits.h>
29032 # include <assert.h>
29037 /* Override any gcc2 internal prototype to avoid an error. */
29042 /* We use char because int might match the return type of a gcc2
29043 builtin and then its argument prototype would still apply. */
29045 /* The GNU C library defines this for functions which it implements
29046 to always fail with ENOSYS. Some functions are actually named
29047 something starting with __ and the normal name is an alias. */
29048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29051 char (*f) () = $ac_func;
29060 return f != $ac_func;
29065 rm -f conftest.
$ac_objext conftest
$ac_exeext
29066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29067 (eval $ac_link) 2>conftest.er1
29069 grep -v '^ *+' conftest.er1
>conftest.err
29071 cat conftest.err
>&5
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); } &&
29074 { ac_try
='test -z "$ac_c_werror_flag"
29075 || test ! -s conftest.err'
29076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29077 (eval $ac_try) 2>&5
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); }; } &&
29081 { ac_try
='test -s conftest$ac_exeext'
29082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083 (eval $ac_try) 2>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); }; }; then
29087 eval "$as_ac_var=yes"
29089 echo "$as_me: failed program was:" >&5
29090 sed 's/^/| /' conftest.
$ac_ext >&5
29092 eval "$as_ac_var=no"
29094 rm -f conftest.err conftest.
$ac_objext \
29095 conftest
$ac_exeext conftest.
$ac_ext
29097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29099 if test `eval echo '${'$as_ac_var'}'` = yes; then
29100 cat >>confdefs.h
<<_ACEOF
29101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29107 CFLAGS
="$save_CFLAGS"
29111 wxUSE_UNIVERSAL
="yes"
29113 if test "$wxUSE_NANOX" = "yes"; then
29114 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29115 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"
29116 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29118 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29125 if test "$wxUSE_MOTIF" = 1; then
29126 if test "$wxUSE_UNICODE" = "yes"; then
29127 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29128 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29129 { (exit 1); exit 1; }; }
29132 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29133 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29136 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29138 if test -f "$ac_dir/Xm/Xm.h"; then
29139 ac_find_includes
=$ac_dir
29144 if test "$ac_find_includes" != "" ; then
29145 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29146 echo "${ECHO_T}found in $ac_find_includes" >&6
29148 if test "x$ac_find_includes" = "x/usr/include"; then
29149 ac_path_to_include
=""
29151 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29153 if test $result = 0; then
29154 ac_path_to_include
=""
29156 ac_path_to_include
=" -I$ac_find_includes"
29160 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29162 save_CFLAGS
=$CFLAGS
29163 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29165 cat >conftest.
$ac_ext <<_ACEOF
29168 cat confdefs.h
>>conftest.
$ac_ext
29169 cat >>conftest.
$ac_ext <<_ACEOF
29170 /* end confdefs.h. */
29179 version = xmUseVersion;
29185 rm -f conftest.
$ac_objext
29186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29187 (eval $ac_compile) 2>conftest.er1
29189 grep -v '^ *+' conftest.er1
>conftest.err
29191 cat conftest.err
>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } &&
29194 { ac_try
='test -z "$ac_c_werror_flag"
29195 || test ! -s conftest.err'
29196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29197 (eval $ac_try) 2>&5
29199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29200 (exit $ac_status); }; } &&
29201 { ac_try
='test -s conftest.$ac_objext'
29202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29203 (eval $ac_try) 2>&5
29205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206 (exit $ac_status); }; }; then
29208 echo "$as_me:$LINENO: result: found in default search path" >&5
29209 echo "${ECHO_T}found in default search path" >&6
29210 COMPILED_X_PROGRAM
=1
29213 echo "$as_me: failed program was:" >&5
29214 sed 's/^/| /' conftest.
$ac_ext >&5
29217 echo "$as_me:$LINENO: result: no" >&5
29218 echo "${ECHO_T}no" >&6
29219 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29220 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29221 { (exit 1); exit 1; }; }
29225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29227 CFLAGS
=$save_CFLAGS
29231 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29232 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29235 for ac_dir
in $SEARCH_LIB;
29237 for ac_extension
in a so sl dylib dll.a
; do
29238 if test -f "$ac_dir/libXm.$ac_extension"; then
29239 ac_find_libraries
=$ac_dir
29246 if test "x$ac_find_libraries" != "x" ; then
29247 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29248 echo "${ECHO_T}found in $ac_find_libraries" >&6
29251 if test "$ac_find_libraries" = "default location"; then
29254 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29256 if test $result = 0; then
29259 ac_path_to_link
=" -L$ac_find_libraries"
29263 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29265 save_CFLAGS
=$CFLAGS
29266 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29268 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29270 cat >conftest.
$ac_ext <<_ACEOF
29273 cat confdefs.h
>>conftest.
$ac_ext
29274 cat >>conftest.
$ac_ext <<_ACEOF
29275 /* end confdefs.h. */
29284 version = xmUseVersion;
29290 rm -f conftest.
$ac_objext conftest
$ac_exeext
29291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29292 (eval $ac_link) 2>conftest.er1
29294 grep -v '^ *+' conftest.er1
>conftest.err
29296 cat conftest.err
>&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } &&
29299 { ac_try
='test -z "$ac_c_werror_flag"
29300 || test ! -s conftest.err'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; } &&
29306 { ac_try
='test -s conftest$ac_exeext'
29307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29308 (eval $ac_try) 2>&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); }; }; then
29313 echo "$as_me:$LINENO: result: found in default search path" >&5
29314 echo "${ECHO_T}found in default search path" >&6
29315 COMPILED_X_PROGRAM
=1
29318 echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.
$ac_ext >&5
29322 echo "$as_me:$LINENO: result: no" >&5
29323 echo "${ECHO_T}no" >&6
29324 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29325 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29326 { (exit 1); exit 1; }; }
29330 rm -f conftest.err conftest.
$ac_objext \
29331 conftest
$ac_exeext conftest.
$ac_ext
29333 CFLAGS
=$save_CFLAGS
29337 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29338 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29342 for libp
in "" " -lXp"; do
29343 if test "$libs_found" = "0"; then
29344 for libsm_ice
in "" " -lSM -lICE"; do
29345 if test "$libs_found" = "0"; then
29347 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29348 save_CFLAGS
=$CFLAGS
29349 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29351 cat >conftest.
$ac_ext <<_ACEOF
29354 cat confdefs.h
>>conftest.
$ac_ext
29355 cat >>conftest.
$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29359 #include <Xm/List.h>
29365 XmString string = NULL;
29368 XmListAddItem(w, string, position);
29374 rm -f conftest.
$ac_objext conftest
$ac_exeext
29375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29376 (eval $ac_link) 2>conftest.er1
29378 grep -v '^ *+' conftest.er1
>conftest.err
29380 cat conftest.err
>&5
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); } &&
29383 { ac_try
='test -z "$ac_c_werror_flag"
29384 || test ! -s conftest.err'
29385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29386 (eval $ac_try) 2>&5
29388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29389 (exit $ac_status); }; } &&
29390 { ac_try
='test -s conftest$ac_exeext'
29391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29392 (eval $ac_try) 2>&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); }; }; then
29398 libsm_ice_link
="$libsm_ice"
29399 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29400 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.
$ac_ext >&5
29410 rm -f conftest.err conftest.
$ac_objext \
29411 conftest
$ac_exeext conftest.
$ac_ext
29414 CFLAGS
=$save_CFLAGS
29420 if test "$libs_found" = "0"; then
29421 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29422 echo "${ECHO_T}can't find the right libraries" >&6
29423 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29424 echo "$as_me: error: can't link a simple motif program" >&2;}
29425 { (exit 1); exit 1; }; }
29428 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29429 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29430 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29431 echo $ECHO_N "(cached) $ECHO_C" >&6
29433 ac_check_lib_save_LIBS
=$LIBS
29435 cat >conftest.
$ac_ext <<_ACEOF
29438 cat confdefs.h
>>conftest.
$ac_ext
29439 cat >>conftest.
$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29442 /* Override any gcc2 internal prototype to avoid an error. */
29446 /* We use char because int might match the return type of a gcc2
29447 builtin and then its argument prototype would still apply. */
29448 char SgCreateList ();
29457 rm -f conftest.
$ac_objext conftest
$ac_exeext
29458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29459 (eval $ac_link) 2>conftest.er1
29461 grep -v '^ *+' conftest.er1
>conftest.err
29463 cat conftest.err
>&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); } &&
29466 { ac_try
='test -z "$ac_c_werror_flag"
29467 || test ! -s conftest.err'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; } &&
29473 { ac_try
='test -s conftest$ac_exeext'
29474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475 (eval $ac_try) 2>&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); }; }; then
29479 ac_cv_lib_Sgm_SgCreateList
=yes
29481 echo "$as_me: failed program was:" >&5
29482 sed 's/^/| /' conftest.
$ac_ext >&5
29484 ac_cv_lib_Sgm_SgCreateList
=no
29486 rm -f conftest.err conftest.
$ac_objext \
29487 conftest
$ac_exeext conftest.
$ac_ext
29488 LIBS
=$ac_check_lib_save_LIBS
29490 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29491 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29492 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29493 libsgm_link
=" -lSgm"
29497 save_CFLAGS
=$CFLAGS
29498 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29500 echo "$as_me:$LINENO: checking for Motif 2" >&5
29501 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29502 if test "${wx_cv_lib_motif2+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29505 cat >conftest.
$ac_ext <<_ACEOF
29508 cat confdefs.h
>>conftest.
$ac_ext
29509 cat >>conftest.
$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29518 #if XmVersion < 2000
29526 rm -f conftest.
$ac_objext
29527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29528 (eval $ac_compile) 2>conftest.er1
29530 grep -v '^ *+' conftest.er1
>conftest.err
29532 cat conftest.err
>&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } &&
29535 { ac_try
='test -z "$ac_c_werror_flag"
29536 || 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_objext'
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 wx_cv_lib_motif2
="yes"
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.
$ac_ext >&5
29553 wx_cv_lib_motif2
="no"
29555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29557 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29558 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29559 if test "$wx_cv_lib_motif2" = "yes"; then
29560 cat >>confdefs.h
<<\_ACEOF
29561 #define __WXMOTIF20__ 1
29565 cat >>confdefs.h
<<\_ACEOF
29566 #define __WXMOTIF20__ 0
29571 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29572 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29573 if test "${wx_cv_lib_lesstif+set}" = set; then
29574 echo $ECHO_N "(cached) $ECHO_C" >&6
29576 cat >conftest.
$ac_ext <<_ACEOF
29579 cat confdefs.h
>>conftest.
$ac_ext
29580 cat >>conftest.
$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29589 #if !defined(LesstifVersion) || LesstifVersion <= 0
29597 rm -f conftest.
$ac_objext
29598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29599 (eval $ac_compile) 2>conftest.er1
29601 grep -v '^ *+' conftest.er1
>conftest.err
29603 cat conftest.err
>&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); } &&
29606 { ac_try
='test -z "$ac_c_werror_flag"
29607 || test ! -s conftest.err'
29608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29609 (eval $ac_try) 2>&5
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); }; } &&
29613 { ac_try
='test -s conftest.$ac_objext'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; }; then
29619 wx_cv_lib_lesstif
="yes"
29621 echo "$as_me: failed program was:" >&5
29622 sed 's/^/| /' conftest.
$ac_ext >&5
29624 wx_cv_lib_lesstif
="no"
29626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29629 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29630 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29631 if test "$wx_cv_lib_lesstif" = "yes"; then
29632 cat >>confdefs.h
<<\_ACEOF
29633 #define __WXLESSTIF__ 1
29637 cat >>confdefs.h
<<\_ACEOF
29638 #define __WXLESSTIF__ 0
29643 CFLAGS
=$save_CFLAGS
29645 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29650 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29651 if test "$wxUSE_LIBXPM" = "sys"; then
29652 echo "$as_me:$LINENO: checking for Xpm library" >&5
29653 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29656 for ac_dir
in $SEARCH_LIB;
29658 for ac_extension
in a so sl dylib dll.a
; do
29659 if test -f "$ac_dir/libXpm.$ac_extension"; then
29660 ac_find_libraries
=$ac_dir
29666 if test "$ac_find_libraries" != "" ; then
29668 if test "$ac_find_libraries" = "default location"; then
29671 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29673 if test $result = 0; then
29676 ac_path_to_link
=" -L$ac_find_libraries"
29680 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29681 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29682 echo "${ECHO_T}found in $ac_find_libraries" >&6
29684 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29685 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29686 if test "${wx_cv_x11_xpm_h+set}" = set; then
29687 echo $ECHO_N "(cached) $ECHO_C" >&6
29690 save_CFLAGS
=$CFLAGS
29691 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29693 cat >conftest.
$ac_ext <<_ACEOF
29696 cat confdefs.h
>>conftest.
$ac_ext
29697 cat >>conftest.
$ac_ext <<_ACEOF
29698 /* end confdefs.h. */
29700 #include <X11/xpm.h>
29707 version = XpmLibraryVersion();
29713 rm -f conftest.
$ac_objext
29714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29715 (eval $ac_compile) 2>conftest.er1
29717 grep -v '^ *+' conftest.er1
>conftest.err
29719 cat conftest.err
>&5
29720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 (exit $ac_status); } &&
29722 { ac_try
='test -z "$ac_c_werror_flag"
29723 || test ! -s conftest.err'
29724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29725 (eval $ac_try) 2>&5
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); }; } &&
29729 { ac_try
='test -s conftest.$ac_objext'
29730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29731 (eval $ac_try) 2>&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); }; }; then
29735 wx_cv_x11_xpm_h
=yes
29737 echo "$as_me: failed program was:" >&5
29738 sed 's/^/| /' conftest.
$ac_ext >&5
29743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29745 CFLAGS
=$save_CFLAGS
29749 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29750 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29752 if test $wx_cv_x11_xpm_h = "yes"; then
29753 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
29754 cat >>confdefs.h
<<\_ACEOF
29755 #define wxHAVE_LIB_XPM 1
29759 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29760 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29766 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29767 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29768 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29769 echo $ECHO_N "(cached) $ECHO_C" >&6
29771 ac_check_lib_save_LIBS
=$LIBS
29772 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29773 cat >conftest.
$ac_ext <<_ACEOF
29776 cat confdefs.h
>>conftest.
$ac_ext
29777 cat >>conftest.
$ac_ext <<_ACEOF
29778 /* end confdefs.h. */
29780 /* Override any gcc2 internal prototype to avoid an error. */
29784 /* We use char because int might match the return type of a gcc2
29785 builtin and then its argument prototype would still apply. */
29786 char XShapeQueryExtension ();
29790 XShapeQueryExtension ();
29795 rm -f conftest.
$ac_objext conftest
$ac_exeext
29796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29797 (eval $ac_link) 2>conftest.er1
29799 grep -v '^ *+' conftest.er1
>conftest.err
29801 cat conftest.err
>&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } &&
29804 { ac_try
='test -z "$ac_c_werror_flag"
29805 || test ! -s conftest.err'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; } &&
29811 { ac_try
='test -s conftest$ac_exeext'
29812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29813 (eval $ac_try) 2>&5
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); }; }; then
29817 ac_cv_lib_Xext_XShapeQueryExtension
=yes
29819 echo "$as_me: failed program was:" >&5
29820 sed 's/^/| /' conftest.
$ac_ext >&5
29822 ac_cv_lib_Xext_XShapeQueryExtension
=no
29824 rm -f conftest.err conftest.
$ac_objext \
29825 conftest
$ac_exeext conftest.
$ac_ext
29826 LIBS
=$ac_check_lib_save_LIBS
29828 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29829 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29830 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29832 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
29838 if test "$wxHAVE_XEXT_LIB" = 1; then
29839 save_CFLAGS
="$CFLAGS"
29840 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29842 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29843 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29844 cat >conftest.
$ac_ext <<_ACEOF
29847 cat confdefs.h
>>conftest.
$ac_ext
29848 cat >>conftest.
$ac_ext <<_ACEOF
29849 /* end confdefs.h. */
29851 #include <X11/Xlib.h>
29852 #include <X11/extensions/shape.h>
29858 int dummy1, dummy2;
29859 XShapeQueryExtension((Display*)NULL,
29860 (int*)NULL, (int*)NULL);
29866 rm -f conftest.
$ac_objext
29867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29868 (eval $ac_compile) 2>conftest.er1
29870 grep -v '^ *+' conftest.er1
>conftest.err
29872 cat conftest.err
>&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); } &&
29875 { ac_try
='test -z "$ac_c_werror_flag"
29876 || test ! -s conftest.err'
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); }; } &&
29882 { ac_try
='test -s conftest.$ac_objext'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; }; then
29889 cat >>confdefs.h
<<\_ACEOF
29890 #define HAVE_XSHAPE 1
29893 echo "$as_me:$LINENO: result: found" >&5
29894 echo "${ECHO_T}found" >&6
29897 echo "$as_me: failed program was:" >&5
29898 sed 's/^/| /' conftest.
$ac_ext >&5
29901 echo "$as_me:$LINENO: result: not found" >&5
29902 echo "${ECHO_T}not found" >&6
29905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29906 CFLAGS
="$save_CFLAGS"
29911 if test "$wxUSE_MAC" = 1; then
29912 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29913 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29914 if test "$GCC" = yes; then
29915 echo "$as_me:$LINENO: result: gcc" >&5
29916 echo "${ECHO_T}gcc" >&6
29917 CPPFLAGS_PASCAL
="-fpascal-strings"
29918 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29919 echo "$as_me:$LINENO: result: xlc" >&5
29920 echo "${ECHO_T}xlc" >&6
29921 CPPFLAGS_PASCAL
="-qmacpstr"
29923 echo "$as_me:$LINENO: result: none" >&5
29924 echo "${ECHO_T}none" >&6
29927 if test "x$wxUSE_UNIX" = "xyes"; then
29928 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29930 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29935 WXBASEPORT
="_carbon"
29938 if test "$wxUSE_COCOA" = 1; then
29943 if test "$wxUSE_PM" = 1; then
29946 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29947 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29948 if test "${wx_cv_spbcdata+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29952 cat >conftest.
$ac_ext <<_ACEOF
29955 cat confdefs.h
>>conftest.
$ac_ext
29956 cat >>conftest.
$ac_ext <<_ACEOF
29957 /* end confdefs.h. */
29972 rm -f conftest.
$ac_objext
29973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29974 (eval $ac_compile) 2>conftest.er1
29976 grep -v '^ *+' conftest.er1
>conftest.err
29978 cat conftest.err
>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); } &&
29981 { ac_try
='test -z "$ac_c_werror_flag"
29982 || test ! -s conftest.err'
29983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29984 (eval $ac_try) 2>&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); }; } &&
29988 { ac_try
='test -s conftest.$ac_objext'
29989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29990 (eval $ac_try) 2>&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); }; }; then
29996 echo "$as_me: failed program was:" >&5
29997 sed 's/^/| /' conftest.
$ac_ext >&5
30002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30006 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30007 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30009 if test $wx_cv_spbcdata = "yes"; then
30010 cat >>confdefs.h
<<\_ACEOF
30011 #define HAVE_SPBCDATA 1
30017 if test "$TOOLKIT" = "PM" ; then
30020 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30023 if test "$wxUSE_UNIVERSAL" = "yes"; then
30024 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30028 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30029 DISTDIR
="wx\$(TOOLKIT)"
30035 if test "$USE_WIN32" = 1 ; then
30039 GUIDIST
="BASE_DIST"
30044 if test "$wxUSE_GUI" = "yes"; then
30045 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30047 for ac_header
in X
11/Xlib.h
30049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30051 echo "$as_me:$LINENO: checking for $ac_header" >&5
30052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30054 echo $ECHO_N "(cached) $ECHO_C" >&6
30056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30059 # Is the header compilable?
30060 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30062 cat >conftest.
$ac_ext <<_ACEOF
30065 cat confdefs.h
>>conftest.
$ac_ext
30066 cat >>conftest.
$ac_ext <<_ACEOF
30067 /* end confdefs.h. */
30068 $ac_includes_default
30069 #include <$ac_header>
30071 rm -f conftest.
$ac_objext
30072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30073 (eval $ac_compile) 2>conftest.er1
30075 grep -v '^ *+' conftest.er1
>conftest.err
30077 cat conftest.err
>&5
30078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079 (exit $ac_status); } &&
30080 { ac_try
='test -z "$ac_c_werror_flag"
30081 || test ! -s conftest.err'
30082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30083 (eval $ac_try) 2>&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); }; } &&
30087 { ac_try
='test -s conftest.$ac_objext'
30088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30089 (eval $ac_try) 2>&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); }; }; then
30093 ac_header_compiler
=yes
30095 echo "$as_me: failed program was:" >&5
30096 sed 's/^/| /' conftest.
$ac_ext >&5
30098 ac_header_compiler
=no
30100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30102 echo "${ECHO_T}$ac_header_compiler" >&6
30104 # Is the header present?
30105 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30107 cat >conftest.
$ac_ext <<_ACEOF
30110 cat confdefs.h
>>conftest.
$ac_ext
30111 cat >>conftest.
$ac_ext <<_ACEOF
30112 /* end confdefs.h. */
30113 #include <$ac_header>
30115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30118 grep -v '^ *+' conftest.er1
>conftest.err
30120 cat conftest.err
>&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } >/dev
/null
; then
30123 if test -s conftest.err
; then
30124 ac_cpp_err
=$ac_c_preproc_warn_flag
30125 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30132 if test -z "$ac_cpp_err"; then
30133 ac_header_preproc
=yes
30135 echo "$as_me: failed program was:" >&5
30136 sed 's/^/| /' conftest.
$ac_ext >&5
30138 ac_header_preproc
=no
30140 rm -f conftest.err conftest.
$ac_ext
30141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30142 echo "${ECHO_T}$ac_header_preproc" >&6
30144 # So? What about this header?
30145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30150 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30151 ac_header_preproc
=yes
30154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30156 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30157 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30158 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30159 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30160 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30161 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30164 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30165 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30168 ## ----------------------------------------- ##
30169 ## Report this to wx-dev@lists.wxwidgets.org ##
30170 ## ----------------------------------------- ##
30173 sed "s/^/$as_me: WARNING: /" >&2
30176 echo "$as_me:$LINENO: checking for $ac_header" >&5
30177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30179 echo $ECHO_N "(cached) $ECHO_C" >&6
30181 eval "$as_ac_Header=\$ac_header_preproc"
30183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30188 cat >>confdefs.h
<<_ACEOF
30189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30197 for ac_header
in X
11/XKBlib.h
30199 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30200 echo "$as_me:$LINENO: checking for $ac_header" >&5
30201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30203 echo $ECHO_N "(cached) $ECHO_C" >&6
30205 cat >conftest.
$ac_ext <<_ACEOF
30208 cat confdefs.h
>>conftest.
$ac_ext
30209 cat >>conftest.
$ac_ext <<_ACEOF
30210 /* end confdefs.h. */
30212 #if HAVE_X11_XLIB_H
30213 #include <X11/Xlib.h>
30217 #include <$ac_header>
30219 rm -f conftest.
$ac_objext
30220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30221 (eval $ac_compile) 2>conftest.er1
30223 grep -v '^ *+' conftest.er1
>conftest.err
30225 cat conftest.err
>&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try
='test -z "$ac_c_werror_flag"
30229 || test ! -s conftest.err'
30230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30231 (eval $ac_try) 2>&5
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); }; } &&
30235 { ac_try
='test -s conftest.$ac_objext'
30236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30237 (eval $ac_try) 2>&5
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); }; }; then
30241 eval "$as_ac_Header=yes"
30243 echo "$as_me: failed program was:" >&5
30244 sed 's/^/| /' conftest.
$ac_ext >&5
30246 eval "$as_ac_Header=no"
30248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30253 cat >>confdefs.h
<<_ACEOF
30254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30269 if test "$TOOLKIT" != "MSW" ; then
30271 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30273 if test "${ac_cv_header_sql_h+set}" = set; then
30274 echo "$as_me:$LINENO: checking for sql.h" >&5
30275 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30276 if test "${ac_cv_header_sql_h+set}" = set; then
30277 echo $ECHO_N "(cached) $ECHO_C" >&6
30279 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30280 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30282 # Is the header compilable?
30283 echo "$as_me:$LINENO: checking sql.h usability" >&5
30284 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30285 cat >conftest.
$ac_ext <<_ACEOF
30288 cat confdefs.h
>>conftest.
$ac_ext
30289 cat >>conftest.
$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30291 $ac_includes_default
30294 rm -f conftest.
$ac_objext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30296 (eval $ac_compile) 2>conftest.er1
30298 grep -v '^ *+' conftest.er1
>conftest.err
30300 cat conftest.err
>&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try
='test -z "$ac_c_werror_flag"
30304 || test ! -s conftest.err'
30305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30306 (eval $ac_try) 2>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; } &&
30310 { ac_try
='test -s conftest.$ac_objext'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; }; then
30316 ac_header_compiler
=yes
30318 echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.
$ac_ext >&5
30321 ac_header_compiler
=no
30323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30325 echo "${ECHO_T}$ac_header_compiler" >&6
30327 # Is the header present?
30328 echo "$as_me:$LINENO: checking sql.h presence" >&5
30329 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30330 cat >conftest.
$ac_ext <<_ACEOF
30333 cat confdefs.h
>>conftest.
$ac_ext
30334 cat >>conftest.
$ac_ext <<_ACEOF
30335 /* end confdefs.h. */
30338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30339 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30341 grep -v '^ *+' conftest.er1
>conftest.err
30343 cat conftest.err
>&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } >/dev
/null
; then
30346 if test -s conftest.err
; then
30347 ac_cpp_err
=$ac_c_preproc_warn_flag
30348 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30355 if test -z "$ac_cpp_err"; then
30356 ac_header_preproc
=yes
30358 echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.
$ac_ext >&5
30361 ac_header_preproc
=no
30363 rm -f conftest.err conftest.
$ac_ext
30364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30365 echo "${ECHO_T}$ac_header_preproc" >&6
30367 # So? What about this header?
30368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30370 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30371 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30372 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30373 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30374 ac_header_preproc
=yes
30377 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30378 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30379 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30380 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30381 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30382 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30383 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30384 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30385 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30386 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30387 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30388 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30391 ## ----------------------------------------- ##
30392 ## Report this to wx-dev@lists.wxwidgets.org ##
30393 ## ----------------------------------------- ##
30396 sed "s/^/$as_me: WARNING: /" >&2
30399 echo "$as_me:$LINENO: checking for sql.h" >&5
30400 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30401 if test "${ac_cv_header_sql_h+set}" = set; then
30402 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 ac_cv_header_sql_h
=$ac_header_preproc
30406 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30407 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30410 if test $ac_cv_header_sql_h = yes; then
30415 if test "x$found_sql_h" = "x1" ; then
30416 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30417 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30418 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30419 echo $ECHO_N "(cached) $ECHO_C" >&6
30421 ac_check_lib_save_LIBS
=$LIBS
30422 LIBS
="-liodbc $LIBS"
30423 cat >conftest.
$ac_ext <<_ACEOF
30426 cat confdefs.h
>>conftest.
$ac_ext
30427 cat >>conftest.
$ac_ext <<_ACEOF
30428 /* end confdefs.h. */
30430 /* Override any gcc2 internal prototype to avoid an error. */
30434 /* We use char because int might match the return type of a gcc2
30435 builtin and then its argument prototype would still apply. */
30436 char SQLAllocEnv ();
30445 rm -f conftest.
$ac_objext conftest
$ac_exeext
30446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30447 (eval $ac_link) 2>conftest.er1
30449 grep -v '^ *+' conftest.er1
>conftest.err
30451 cat conftest.err
>&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } &&
30454 { ac_try
='test -z "$ac_c_werror_flag"
30455 || test ! -s conftest.err'
30456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30457 (eval $ac_try) 2>&5
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; } &&
30461 { ac_try
='test -s conftest$ac_exeext'
30462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30463 (eval $ac_try) 2>&5
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); }; }; then
30467 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30469 echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.
$ac_ext >&5
30472 ac_cv_lib_iodbc_SQLAllocEnv
=no
30474 rm -f conftest.err conftest.
$ac_objext \
30475 conftest
$ac_exeext conftest.
$ac_ext
30476 LIBS
=$ac_check_lib_save_LIBS
30478 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30479 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30480 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30481 ODBC_LINK
=" -liodbc"
30484 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30485 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30486 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30489 ac_check_lib_save_LIBS
=$LIBS
30490 LIBS
="-lunixodbc $LIBS"
30491 cat >conftest.
$ac_ext <<_ACEOF
30494 cat confdefs.h
>>conftest.
$ac_ext
30495 cat >>conftest.
$ac_ext <<_ACEOF
30496 /* end confdefs.h. */
30498 /* Override any gcc2 internal prototype to avoid an error. */
30502 /* We use char because int might match the return type of a gcc2
30503 builtin and then its argument prototype would still apply. */
30504 char SQLAllocEnv ();
30513 rm -f conftest.
$ac_objext conftest
$ac_exeext
30514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30515 (eval $ac_link) 2>conftest.er1
30517 grep -v '^ *+' conftest.er1
>conftest.err
30519 cat conftest.err
>&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); } &&
30522 { ac_try
='test -z "$ac_c_werror_flag"
30523 || test ! -s conftest.err'
30524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30525 (eval $ac_try) 2>&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); }; } &&
30529 { ac_try
='test -s conftest$ac_exeext'
30530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30531 (eval $ac_try) 2>&5
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); }; }; then
30535 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30537 echo "$as_me: failed program was:" >&5
30538 sed 's/^/| /' conftest.
$ac_ext >&5
30540 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30542 rm -f conftest.err conftest.
$ac_objext \
30543 conftest
$ac_exeext conftest.
$ac_ext
30544 LIBS
=$ac_check_lib_save_LIBS
30546 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30547 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30548 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30549 ODBC_LINK
=" -lunixodbc"
30552 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30553 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30554 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30555 echo $ECHO_N "(cached) $ECHO_C" >&6
30557 ac_check_lib_save_LIBS
=$LIBS
30558 LIBS
="-lodbc $LIBS"
30559 cat >conftest.
$ac_ext <<_ACEOF
30562 cat confdefs.h
>>conftest.
$ac_ext
30563 cat >>conftest.
$ac_ext <<_ACEOF
30564 /* end confdefs.h. */
30566 /* Override any gcc2 internal prototype to avoid an error. */
30570 /* We use char because int might match the return type of a gcc2
30571 builtin and then its argument prototype would still apply. */
30572 char SQLAllocEnv ();
30581 rm -f conftest.
$ac_objext conftest
$ac_exeext
30582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30583 (eval $ac_link) 2>conftest.er1
30585 grep -v '^ *+' conftest.er1
>conftest.err
30587 cat conftest.err
>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } &&
30590 { ac_try
='test -z "$ac_c_werror_flag"
30591 || test ! -s conftest.err'
30592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593 (eval $ac_try) 2>&5
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); }; } &&
30597 { ac_try
='test -s conftest$ac_exeext'
30598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 (eval $ac_try) 2>&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; }; then
30603 ac_cv_lib_odbc_SQLAllocEnv
=yes
30605 echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.
$ac_ext >&5
30608 ac_cv_lib_odbc_SQLAllocEnv
=no
30610 rm -f conftest.err conftest.
$ac_objext \
30611 conftest
$ac_exeext conftest.
$ac_ext
30612 LIBS
=$ac_check_lib_save_LIBS
30614 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30615 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30616 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30617 ODBC_LINK
=" -lodbc"
30627 if test "x$ODBC_LINK" = "x" ; then
30628 if test "$wxUSE_ODBC" = "sys" ; then
30629 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30630 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30631 { (exit 1); exit 1; }; }
30633 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30634 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30642 if test "$wxUSE_ODBC" = "builtin" ; then
30643 cat >>confdefs.h
<<\_ACEOF
30644 #define wxUSE_BUILTIN_IODBC 1
30650 if test "$wxUSE_ODBC" != "no" ; then
30651 cat >>confdefs.h
<<\_ACEOF
30652 #define wxUSE_ODBC 1
30655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30657 WXODBCFLAG
="-D_IODBC_"
30661 if test "$wxUSE_DISPLAY" = "yes"; then
30662 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30663 echo "$as_me:$LINENO: checking for Xinerama" >&5
30664 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30667 for ac_dir
in $SEARCH_LIB;
30669 for ac_extension
in a so sl dylib dll.a
; do
30670 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30671 ac_find_libraries
=$ac_dir
30677 if test "$ac_find_libraries" != "" ; then
30679 if test "$ac_find_libraries" = "default location"; then
30682 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30684 if test $result = 0; then
30687 ac_path_to_link
=" -L$ac_find_libraries"
30691 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30692 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30694 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30695 echo "$as_me:$LINENO: result: yes" >&5
30696 echo "${ECHO_T}yes" >&6
30698 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30699 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30702 for ac_dir
in $SEARCH_LIB;
30704 for ac_extension
in a so sl dylib dll.a
; do
30705 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30706 ac_find_libraries
=$ac_dir
30712 if test "$ac_find_libraries" != "" ; then
30713 echo "$as_me:$LINENO: result: yes" >&5
30714 echo "${ECHO_T}yes" >&6
30716 for ac_header
in X
11/extensions
/xf86vmode.h
30718 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30719 echo "$as_me:$LINENO: checking for $ac_header" >&5
30720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30722 echo $ECHO_N "(cached) $ECHO_C" >&6
30724 cat >conftest.
$ac_ext <<_ACEOF
30727 cat confdefs.h
>>conftest.
$ac_ext
30728 cat >>conftest.
$ac_ext <<_ACEOF
30729 /* end confdefs.h. */
30731 #if HAVE_X11_XLIB_H
30732 #include <X11/Xlib.h>
30736 #include <$ac_header>
30738 rm -f conftest.
$ac_objext
30739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30740 (eval $ac_compile) 2>conftest.er1
30742 grep -v '^ *+' conftest.er1
>conftest.err
30744 cat conftest.err
>&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); } &&
30747 { ac_try
='test -z "$ac_c_werror_flag"
30748 || test ! -s conftest.err'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; } &&
30754 { ac_try
='test -s conftest.$ac_objext'
30755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30756 (eval $ac_try) 2>&5
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); }; }; then
30760 eval "$as_ac_Header=yes"
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.
$ac_ext >&5
30765 eval "$as_ac_Header=no"
30767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30772 cat >>confdefs.h
<<_ACEOF
30773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30776 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
30783 echo "$as_me:$LINENO: result: no" >&5
30784 echo "${ECHO_T}no" >&6
30788 echo "$as_me:$LINENO: result: no" >&5
30789 echo "${ECHO_T}no" >&6
30790 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30791 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30794 elif test "$wxUSE_MSW" = 1; then
30797 for ac_header
in multimon.h ddraw.h
30799 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30800 echo "$as_me:$LINENO: checking for $ac_header" >&5
30801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30803 echo $ECHO_N "(cached) $ECHO_C" >&6
30805 cat >conftest.
$ac_ext <<_ACEOF
30808 cat confdefs.h
>>conftest.
$ac_ext
30809 cat >>conftest.
$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30811 #include <windows.h>
30813 #include <$ac_header>
30815 rm -f conftest.
$ac_objext
30816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30817 (eval $ac_compile) 2>conftest.er1
30819 grep -v '^ *+' conftest.er1
>conftest.err
30821 cat conftest.err
>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); } &&
30824 { ac_try
='test -z "$ac_c_werror_flag"
30825 || test ! -s conftest.err'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; } &&
30831 { ac_try
='test -s conftest.$ac_objext'
30832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30833 (eval $ac_try) 2>&5
30835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836 (exit $ac_status); }; }; then
30837 eval "$as_ac_Header=yes"
30839 echo "$as_me: failed program was:" >&5
30840 sed 's/^/| /' conftest.
$ac_ext >&5
30842 eval "$as_ac_Header=no"
30844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30849 cat >>confdefs.h
<<_ACEOF
30850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30856 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30857 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30868 if test "$wxUSE_OPENGL" = "yes"; then
30869 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30870 OPENGL_LIBS
="-framework OpenGL -framework AGL"
30871 elif test "$wxUSE_MSW" = 1; then
30872 OPENGL_LIBS
="-lopengl32 -lglu32"
30877 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30879 if test -f "$ac_dir/GL/gl.h"; then
30880 ac_find_includes
=$ac_dir
30885 if test "$ac_find_includes" != "" ; then
30886 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30887 echo "${ECHO_T}found in $ac_find_includes" >&6
30889 if test "x$ac_find_includes" = "x/usr/include"; then
30890 ac_path_to_include
=""
30892 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
30894 if test $result = 0; then
30895 ac_path_to_include
=""
30897 ac_path_to_include
=" -I$ac_find_includes"
30901 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
30904 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30905 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30906 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30907 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30908 echo $ECHO_N "(cached) $ECHO_C" >&6
30910 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30911 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30913 # Is the header compilable?
30914 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30915 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30916 cat >conftest.
$ac_ext <<_ACEOF
30919 cat confdefs.h
>>conftest.
$ac_ext
30920 cat >>conftest.
$ac_ext <<_ACEOF
30921 /* end confdefs.h. */
30922 $ac_includes_default
30925 rm -f conftest.
$ac_objext
30926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30927 (eval $ac_compile) 2>conftest.er1
30929 grep -v '^ *+' conftest.er1
>conftest.err
30931 cat conftest.err
>&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); } &&
30934 { ac_try
='test -z "$ac_c_werror_flag"
30935 || test ! -s conftest.err'
30936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937 (eval $ac_try) 2>&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); }; } &&
30941 { ac_try
='test -s conftest.$ac_objext'
30942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30943 (eval $ac_try) 2>&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); }; }; then
30947 ac_header_compiler
=yes
30949 echo "$as_me: failed program was:" >&5
30950 sed 's/^/| /' conftest.
$ac_ext >&5
30952 ac_header_compiler
=no
30954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30956 echo "${ECHO_T}$ac_header_compiler" >&6
30958 # Is the header present?
30959 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30960 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30961 cat >conftest.
$ac_ext <<_ACEOF
30964 cat confdefs.h
>>conftest.
$ac_ext
30965 cat >>conftest.
$ac_ext <<_ACEOF
30966 /* end confdefs.h. */
30969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30972 grep -v '^ *+' conftest.er1
>conftest.err
30974 cat conftest.err
>&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); } >/dev
/null
; then
30977 if test -s conftest.err
; then
30978 ac_cpp_err
=$ac_c_preproc_warn_flag
30979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30986 if test -z "$ac_cpp_err"; then
30987 ac_header_preproc
=yes
30989 echo "$as_me: failed program was:" >&5
30990 sed 's/^/| /' conftest.
$ac_ext >&5
30992 ac_header_preproc
=no
30994 rm -f conftest.err conftest.
$ac_ext
30995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30996 echo "${ECHO_T}$ac_header_preproc" >&6
30998 # So? What about this header?
30999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31001 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31002 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31003 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31004 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31005 ac_header_preproc
=yes
31008 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31009 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31010 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31011 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31012 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31013 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31014 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31015 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31016 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31017 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31018 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31019 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31022 ## ----------------------------------------- ##
31023 ## Report this to wx-dev@lists.wxwidgets.org ##
31024 ## ----------------------------------------- ##
31027 sed "s/^/$as_me: WARNING: /" >&2
31030 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31031 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31032 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31033 echo $ECHO_N "(cached) $ECHO_C" >&6
31035 ac_cv_header_GL_gl_h
=$ac_header_preproc
31037 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31038 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31041 if test $ac_cv_header_GL_gl_h = yes; then
31045 echo "$as_me:$LINENO: checking for -lGL" >&5
31046 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31049 for ac_dir
in $SEARCH_LIB;
31051 for ac_extension
in a so sl dylib dll.a
; do
31052 if test -f "$ac_dir/libGL.$ac_extension"; then
31053 ac_find_libraries
=$ac_dir
31059 if test "$ac_find_libraries" != "" ; then
31060 echo "$as_me:$LINENO: result: yes" >&5
31061 echo "${ECHO_T}yes" >&6
31064 if test "$ac_find_libraries" = "default location"; then
31067 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31069 if test $result = 0; then
31072 ac_path_to_link
=" -L$ac_find_libraries"
31076 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31077 LDFLAGS_GL
="$ac_path_to_link"
31080 echo "$as_me:$LINENO: checking for -lGLU" >&5
31081 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31084 for ac_dir
in $SEARCH_LIB;
31086 for ac_extension
in a so sl dylib dll.a
; do
31087 if test -f "$ac_dir/libGLU.$ac_extension"; then
31088 ac_find_libraries
=$ac_dir
31094 if test "$ac_find_libraries" != "" ; then
31096 if test "$ac_find_libraries" = "default location"; then
31099 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31101 if test $result = 0; then
31104 ac_path_to_link
=" -L$ac_find_libraries"
31108 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31109 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31110 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31114 OPENGL_LIBS
="-lGL -lGLU"
31115 echo "$as_me:$LINENO: result: yes" >&5
31116 echo "${ECHO_T}yes" >&6
31118 echo "$as_me:$LINENO: result: no" >&5
31119 echo "${ECHO_T}no" >&6
31122 echo "$as_me:$LINENO: result: no" >&5
31123 echo "${ECHO_T}no" >&6
31126 if test "$found_gl" != 1; then
31127 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31128 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31131 for ac_dir
in $SEARCH_LIB;
31133 for ac_extension
in a so sl dylib dll.a
; do
31134 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31135 ac_find_libraries
=$ac_dir
31141 if test "$ac_find_libraries" != "" ; then
31143 if test "$ac_find_libraries" = "default location"; then
31146 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31148 if test $result = 0; then
31151 ac_path_to_link
=" -L$ac_find_libraries"
31155 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31156 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31157 echo "$as_me:$LINENO: result: yes" >&5
31158 echo "${ECHO_T}yes" >&6
31160 echo "$as_me:$LINENO: result: no" >&5
31161 echo "${ECHO_T}no" >&6
31169 if test "x$OPENGL_LIBS" = "x"; then
31170 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31171 echo "$as_me: error: OpenGL libraries not available" >&2;}
31172 { (exit 1); exit 1; }; }
31176 if test "$wxUSE_OPENGL" = "yes"; then
31178 cat >>confdefs.h
<<\_ACEOF
31179 #define wxUSE_OPENGL 1
31182 cat >>confdefs.h
<<\_ACEOF
31183 #define wxUSE_GLCANVAS 1
31186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31191 if test -n "$TOOLKIT" ; then
31192 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31197 if test "$wxUSE_SHARED" = "yes"; then
31201 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31202 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31207 if test "$wxUSE_SHARED" = "yes"; then
31210 found_versioning
=no
31213 if test $found_versioning = no
; then
31214 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31215 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31216 if test "${wx_cv_version_script+set}" = set; then
31217 echo $ECHO_N "(cached) $ECHO_C" >&6
31220 echo "VER_1 { *; };" >conftest.sym
31221 echo "int main() { return 0; }" >conftest.cpp
31224 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31225 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; } ; then
31231 if test -s conftest.stderr
; then
31232 wx_cv_version_script
=no
31234 wx_cv_version_script
=yes
31237 wx_cv_version_script
=no
31240 if test $wx_cv_version_script = yes
31242 echo "struct B { virtual ~B() { } }; \
31243 struct D : public B { }; \
31244 void F() { D d; }" > conftest.cpp
31247 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31248 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250 (eval $ac_try) 2>&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); }; } &&
31255 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31256 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }
31264 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31265 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31267 (eval $ac_try) 2>&5
31269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270 (exit $ac_status); }; }
31272 wx_cv_version_script
=yes
31274 wx_cv_version_script
=no
31279 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31280 rm -f conftest1.output conftest2.output conftest3.output
31283 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31284 echo "${ECHO_T}$wx_cv_version_script" >&6
31285 if test $wx_cv_version_script = yes ; then
31286 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31292 *-*-linux* | *-*-gnu* )
31293 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31294 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31298 if test "$GCC" = yes ; then
31299 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
31301 saveLdflags
="$LDFLAGS"
31302 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31303 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31304 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31305 cat >conftest.
$ac_ext <<_ACEOF
31308 cat confdefs.h
>>conftest.
$ac_ext
31309 cat >>conftest.
$ac_ext <<_ACEOF
31310 /* end confdefs.h. */
31320 rm -f conftest.
$ac_objext conftest
$ac_exeext
31321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31322 (eval $ac_link) 2>conftest.er1
31324 grep -v '^ *+' conftest.er1
>conftest.err
31326 cat conftest.err
>&5
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); } &&
31329 { ac_try
='test -z "$ac_c_werror_flag"
31330 || test ! -s conftest.err'
31331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31332 (eval $ac_try) 2>&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); }; } &&
31336 { ac_try
='test -s conftest$ac_exeext'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; }; then
31343 echo "$as_me:$LINENO: result: yes" >&5
31344 echo "${ECHO_T}yes" >&6
31345 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31346 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.
$ac_ext >&5
31353 echo "$as_me:$LINENO: result: no" >&5
31354 echo "${ECHO_T}no" >&6
31355 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31356 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31357 LDFLAGS
="$saveLdflags -Wl,-R,/"
31358 cat >conftest.
$ac_ext <<_ACEOF
31361 cat confdefs.h
>>conftest.
$ac_ext
31362 cat >>conftest.
$ac_ext <<_ACEOF
31363 /* end confdefs.h. */
31373 rm -f conftest.
$ac_objext conftest
$ac_exeext
31374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31375 (eval $ac_link) 2>conftest.er1
31377 grep -v '^ *+' conftest.er1
>conftest.err
31379 cat conftest.err
>&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try
='test -z "$ac_c_werror_flag"
31383 || 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,-R,\$(top_builddir)lib"
31399 WXCONFIG_RPATH
="-Wl,-R,\$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
31410 rm -f conftest.err conftest.
$ac_objext \
31411 conftest
$ac_exeext conftest.
$ac_ext
31414 rm -f conftest.err conftest.
$ac_objext \
31415 conftest
$ac_exeext conftest.
$ac_ext
31416 LDFLAGS
="$saveLdflags"
31418 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31419 WXCONFIG_RPATH
="-R\$libdir"
31424 install_name_tool
=`which install_name_tool`
31425 if test "$install_name_tool" -a -x "$install_name_tool"; then
31426 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31427 cat <<EOF >change-install-names
31429 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31430 inst_cmd="install_name_tool "
31431 for i in \${libnames} ; do
31432 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31436 chmod +x change
-install-names
31440 *-*-cygwin* | *-*-mingw32* )
31441 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
31445 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31446 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31451 if test $wxUSE_RPATH = "no"; then
31452 SAMPLES_RPATH_FLAG
=''
31453 SAMPLES_RPATH_POSTLINK
=''
31461 config_linkage_component
="-static"
31468 lib_unicode_suffix
=
31470 if test "$wxUSE_UNICODE" = "yes"; then
31471 lib_unicode_suffix
=u
31472 WX_CHARTYPE
="unicode"
31477 WX_DEBUGTYPE
="release"
31479 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31481 WX_DEBUGTYPE
="debug"
31485 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31486 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31489 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31493 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31495 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31497 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31499 if test "$cross_compiling" = "yes"; then
31500 HOST_SUFFIX
="-$host_alias"
31501 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31502 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31505 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31506 if test "${TOOLKIT_DIR}" = "os2"; then
31507 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31509 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31514 if test "$wxUSE_COCOA" = 1; then
31518 ac_cpp
='$CPP $CPPFLAGS'
31519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31525 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31526 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31527 cat >conftest.
$ac_ext <<_ACEOF
31530 cat confdefs.h
>>conftest.
$ac_ext
31531 cat >>conftest.
$ac_ext <<_ACEOF
31532 /* end confdefs.h. */
31533 #include <AppKit/NSEvent.h>
31534 #include <CoreFoundation/CoreFoundation.h>
31544 rm -f conftest.
$ac_objext
31545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31546 (eval $ac_compile) 2>conftest.er1
31548 grep -v '^ *+' conftest.er1
>conftest.err
31550 cat conftest.err
>&5
31551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552 (exit $ac_status); } &&
31553 { ac_try
='test -z "$ac_c_werror_flag"
31554 || test ! -s conftest.err'
31555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31556 (eval $ac_try) 2>&5
31558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31559 (exit $ac_status); }; } &&
31560 { ac_try
='test -s conftest.$ac_objext'
31561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31562 (eval $ac_try) 2>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; }; then
31566 echo "$as_me:$LINENO: result: no" >&5
31567 echo "${ECHO_T}no" >&6
31569 echo "$as_me: failed program was:" >&5
31570 sed 's/^/| /' conftest.
$ac_ext >&5
31572 echo "$as_me:$LINENO: result: yes" >&5
31573 echo "${ECHO_T}yes" >&6
31574 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31575 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31576 cat >conftest.
$ac_ext <<_ACEOF
31579 cat confdefs.h
>>conftest.
$ac_ext
31580 cat >>conftest.
$ac_ext <<_ACEOF
31581 /* end confdefs.h. */
31582 #define __Point__ 1
31583 #include <AppKit/NSEvent.h>
31584 #include <CoreFoundation/CoreFoundation.h>
31594 rm -f conftest.
$ac_objext
31595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31596 (eval $ac_compile) 2>conftest.er1
31598 grep -v '^ *+' conftest.er1
>conftest.err
31600 cat conftest.err
>&5
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); } &&
31603 { ac_try
='test -z "$ac_c_werror_flag"
31604 || test ! -s conftest.err'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; } &&
31610 { ac_try
='test -s conftest.$ac_objext'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31616 echo "$as_me:$LINENO: result: yes" >&5
31617 echo "${ECHO_T}yes" >&6
31618 cat >>confdefs.h
<<\_ACEOF
31619 #define __Point__ 1
31624 echo "$as_me: failed program was:" >&5
31625 sed 's/^/| /' conftest.
$ac_ext >&5
31627 { { echo "$as_me:$LINENO: error: no
31628 See \`config.log' for more details." >&5
31629 echo "$as_me: error: no
31630 See \`config.log' for more details." >&2;}
31631 { (exit 1); exit 1; }; }
31634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31639 ac_cpp
='$CPP $CPPFLAGS'
31640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31646 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31647 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31648 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31650 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31652 # Extract the first word of "Rez", so it can be a program name with args.
31653 set dummy Rez
; ac_word
=$2
31654 echo "$as_me:$LINENO: checking for $ac_word" >&5
31655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31656 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31657 echo $ECHO_N "(cached) $ECHO_C" >&6
31659 if test -n "$RESCOMP"; then
31660 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
31662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31663 for as_dir
in $PATH
31666 test -z "$as_dir" && as_dir
=.
31667 for ac_exec_ext
in '' $ac_executable_extensions; do
31668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31669 ac_cv_prog_RESCOMP
="Rez"
31670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31676 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
31679 RESCOMP
=$ac_cv_prog_RESCOMP
31680 if test -n "$RESCOMP"; then
31681 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31682 echo "${ECHO_T}$RESCOMP" >&6
31684 echo "$as_me:$LINENO: result: no" >&5
31685 echo "${ECHO_T}no" >&6
31688 # Extract the first word of "DeRez", so it can be a program name with args.
31689 set dummy DeRez
; ac_word
=$2
31690 echo "$as_me:$LINENO: checking for $ac_word" >&5
31691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31692 if test "${ac_cv_prog_DEREZ+set}" = set; then
31693 echo $ECHO_N "(cached) $ECHO_C" >&6
31695 if test -n "$DEREZ"; then
31696 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31699 for as_dir
in $PATH
31702 test -z "$as_dir" && as_dir
=.
31703 for ac_exec_ext
in '' $ac_executable_extensions; do
31704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31705 ac_cv_prog_DEREZ
="DeRez"
31706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31712 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31715 DEREZ
=$ac_cv_prog_DEREZ
31716 if test -n "$DEREZ"; then
31717 echo "$as_me:$LINENO: result: $DEREZ" >&5
31718 echo "${ECHO_T}$DEREZ" >&6
31720 echo "$as_me:$LINENO: result: no" >&5
31721 echo "${ECHO_T}no" >&6
31724 # Extract the first word of "SetFile", so it can be a program name with args.
31725 set dummy SetFile
; ac_word
=$2
31726 echo "$as_me:$LINENO: checking for $ac_word" >&5
31727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31728 if test "${ac_cv_prog_SETFILE+set}" = set; then
31729 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 if test -n "$SETFILE"; then
31732 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
31734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31735 for as_dir
in $PATH
31738 test -z "$as_dir" && as_dir
=.
31739 for ac_exec_ext
in '' $ac_executable_extensions; do
31740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31741 ac_cv_prog_SETFILE
="SetFile"
31742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31748 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
31751 SETFILE
=$ac_cv_prog_SETFILE
31752 if test -n "$SETFILE"; then
31753 echo "$as_me:$LINENO: result: $SETFILE" >&5
31754 echo "${ECHO_T}$SETFILE" >&6
31756 echo "$as_me:$LINENO: result: no" >&5
31757 echo "${ECHO_T}no" >&6
31761 MACSETFILE
="\$(SETFILE)"
31763 if test "$wxUSE_MAC" = 1; then
31764 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31766 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31768 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31769 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31773 MACRESWXCONFIG
="@true"
31775 if test "$wxUSE_PM" = 1; then
31776 MACRESCOMP
="emxbind -ep"
31784 echo "$as_me:$LINENO: checking for mode_t" >&5
31785 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31786 if test "${ac_cv_type_mode_t+set}" = set; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 cat >conftest.
$ac_ext <<_ACEOF
31792 cat confdefs.h
>>conftest.
$ac_ext
31793 cat >>conftest.
$ac_ext <<_ACEOF
31794 /* end confdefs.h. */
31795 $ac_includes_default
31801 if (sizeof (mode_t))
31807 rm -f conftest.
$ac_objext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31809 (eval $ac_compile) 2>conftest.er1
31811 grep -v '^ *+' conftest.er1
>conftest.err
31813 cat conftest.err
>&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try
='test -z "$ac_c_werror_flag"
31817 || test ! -s conftest.err'
31818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819 (eval $ac_try) 2>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; } &&
31823 { ac_try
='test -s conftest.$ac_objext'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; }; then
31829 ac_cv_type_mode_t
=yes
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.
$ac_ext >&5
31834 ac_cv_type_mode_t
=no
31836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31838 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31839 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31840 if test $ac_cv_type_mode_t = yes; then
31844 cat >>confdefs.h
<<_ACEOF
31850 echo "$as_me:$LINENO: checking for off_t" >&5
31851 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31852 if test "${ac_cv_type_off_t+set}" = set; then
31853 echo $ECHO_N "(cached) $ECHO_C" >&6
31855 cat >conftest.
$ac_ext <<_ACEOF
31858 cat confdefs.h
>>conftest.
$ac_ext
31859 cat >>conftest.
$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31861 $ac_includes_default
31867 if (sizeof (off_t))
31873 rm -f conftest.
$ac_objext
31874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31875 (eval $ac_compile) 2>conftest.er1
31877 grep -v '^ *+' conftest.er1
>conftest.err
31879 cat conftest.err
>&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } &&
31882 { ac_try
='test -z "$ac_c_werror_flag"
31883 || test ! -s conftest.err'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; } &&
31889 { ac_try
='test -s conftest.$ac_objext'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; }; then
31895 ac_cv_type_off_t
=yes
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.
$ac_ext >&5
31900 ac_cv_type_off_t
=no
31902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31904 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31905 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31906 if test $ac_cv_type_off_t = yes; then
31910 cat >>confdefs.h
<<_ACEOF
31916 echo "$as_me:$LINENO: checking for pid_t" >&5
31917 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31918 if test "${ac_cv_type_pid_t+set}" = set; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31921 cat >conftest.
$ac_ext <<_ACEOF
31924 cat confdefs.h
>>conftest.
$ac_ext
31925 cat >>conftest.
$ac_ext <<_ACEOF
31926 /* end confdefs.h. */
31927 $ac_includes_default
31933 if (sizeof (pid_t))
31939 rm -f conftest.
$ac_objext
31940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31941 (eval $ac_compile) 2>conftest.er1
31943 grep -v '^ *+' conftest.er1
>conftest.err
31945 cat conftest.err
>&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); } &&
31948 { ac_try
='test -z "$ac_c_werror_flag"
31949 || test ! -s conftest.err'
31950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31951 (eval $ac_try) 2>&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); }; } &&
31955 { ac_try
='test -s conftest.$ac_objext'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; }; then
31961 ac_cv_type_pid_t
=yes
31963 echo "$as_me: failed program was:" >&5
31964 sed 's/^/| /' conftest.
$ac_ext >&5
31966 ac_cv_type_pid_t
=no
31968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31970 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31971 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31972 if test $ac_cv_type_pid_t = yes; then
31976 cat >>confdefs.h
<<_ACEOF
31982 echo "$as_me:$LINENO: checking for size_t" >&5
31983 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31984 if test "${ac_cv_type_size_t+set}" = set; then
31985 echo $ECHO_N "(cached) $ECHO_C" >&6
31987 cat >conftest.
$ac_ext <<_ACEOF
31990 cat confdefs.h
>>conftest.
$ac_ext
31991 cat >>conftest.
$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 $ac_includes_default
31999 if (sizeof (size_t))
32005 rm -f conftest.
$ac_objext
32006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32007 (eval $ac_compile) 2>conftest.er1
32009 grep -v '^ *+' conftest.er1
>conftest.err
32011 cat conftest.err
>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); } &&
32014 { ac_try
='test -z "$ac_c_werror_flag"
32015 || test ! -s conftest.err'
32016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32017 (eval $ac_try) 2>&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); }; } &&
32021 { ac_try
='test -s conftest.$ac_objext'
32022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32023 (eval $ac_try) 2>&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); }; }; then
32027 ac_cv_type_size_t
=yes
32029 echo "$as_me: failed program was:" >&5
32030 sed 's/^/| /' conftest.
$ac_ext >&5
32032 ac_cv_type_size_t
=no
32034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32036 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32037 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32038 if test $ac_cv_type_size_t = yes; then
32042 cat >>confdefs.h
<<_ACEOF
32043 #define size_t unsigned
32048 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32049 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32050 if test "${ac_cv_type_uid_t+set}" = set; then
32051 echo $ECHO_N "(cached) $ECHO_C" >&6
32053 cat >conftest.
$ac_ext <<_ACEOF
32056 cat confdefs.h
>>conftest.
$ac_ext
32057 cat >>conftest.
$ac_ext <<_ACEOF
32058 /* end confdefs.h. */
32059 #include <sys/types.h>
32062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32063 $EGREP "uid_t" >/dev
/null
2>&1; then
32064 ac_cv_type_uid_t
=yes
32066 ac_cv_type_uid_t
=no
32071 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32072 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32073 if test $ac_cv_type_uid_t = no
; then
32075 cat >>confdefs.h
<<\_ACEOF
32080 cat >>confdefs.h
<<\_ACEOF
32087 echo "$as_me:$LINENO: checking for ssize_t" >&5
32088 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32089 if test "${ac_cv_type_ssize_t+set}" = set; then
32090 echo $ECHO_N "(cached) $ECHO_C" >&6
32092 cat >conftest.
$ac_ext <<_ACEOF
32095 cat confdefs.h
>>conftest.
$ac_ext
32096 cat >>conftest.
$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32098 $ac_includes_default
32104 if (sizeof (ssize_t))
32110 rm -f conftest.
$ac_objext
32111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32112 (eval $ac_compile) 2>conftest.er1
32114 grep -v '^ *+' conftest.er1
>conftest.err
32116 cat conftest.err
>&5
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); } &&
32119 { ac_try
='test -z "$ac_c_werror_flag"
32120 || test ! -s conftest.err'
32121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32122 (eval $ac_try) 2>&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); }; } &&
32126 { ac_try
='test -s conftest.$ac_objext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 ac_cv_type_ssize_t
=yes
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.
$ac_ext >&5
32137 ac_cv_type_ssize_t
=no
32139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32141 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32142 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32143 if test $ac_cv_type_ssize_t = yes; then
32145 cat >>confdefs.h
<<_ACEOF
32146 #define HAVE_SSIZE_T 1
32156 ac_cpp
='$CXXCPP $CPPFLAGS'
32157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32161 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32162 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32163 if test "${wx_cv_size_t_is_uint+set}" = set; then
32164 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 cat >conftest.
$ac_ext <<_ACEOF
32170 cat confdefs.h
>>conftest.
$ac_ext
32171 cat >>conftest.
$ac_ext <<_ACEOF
32172 /* end confdefs.h. */
32173 #include <stddef.h>
32180 struct Foo { void foo(size_t); void foo(unsigned int); };
32188 rm -f conftest.
$ac_objext
32189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32190 (eval $ac_compile) 2>conftest.er1
32192 grep -v '^ *+' conftest.er1
>conftest.err
32194 cat conftest.err
>&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); } &&
32197 { ac_try
='test -z "$ac_cxx_werror_flag"
32198 || test ! -s conftest.err'
32199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32200 (eval $ac_try) 2>&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); }; } &&
32204 { ac_try
='test -s conftest.$ac_objext'
32205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32206 (eval $ac_try) 2>&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); }; }; then
32210 wx_cv_size_t_is_uint
=no
32212 echo "$as_me: failed program was:" >&5
32213 sed 's/^/| /' conftest.
$ac_ext >&5
32215 wx_cv_size_t_is_uint
=yes
32218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32222 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32223 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32225 if test "$wx_cv_size_t_is_uint" = "yes"; then
32226 cat >>confdefs.h
<<\_ACEOF
32227 #define wxSIZE_T_IS_UINT 1
32231 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32232 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32233 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32234 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 cat >conftest.
$ac_ext <<_ACEOF
32239 cat confdefs.h
>>conftest.
$ac_ext
32240 cat >>conftest.
$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242 #include <stddef.h>
32249 struct Foo { void foo(size_t); void foo(unsigned long); };
32257 rm -f conftest.
$ac_objext
32258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32259 (eval $ac_compile) 2>conftest.er1
32261 grep -v '^ *+' conftest.er1
>conftest.err
32263 cat conftest.err
>&5
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); } &&
32266 { ac_try
='test -z "$ac_cxx_werror_flag"
32267 || test ! -s conftest.err'
32268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32269 (eval $ac_try) 2>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; } &&
32273 { ac_try
='test -s conftest.$ac_objext'
32274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32275 (eval $ac_try) 2>&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); }; }; then
32279 wx_cv_size_t_is_ulong
=no
32281 echo "$as_me: failed program was:" >&5
32282 sed 's/^/| /' conftest.
$ac_ext >&5
32284 wx_cv_size_t_is_ulong
=yes
32287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32290 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32291 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32293 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32294 cat >>confdefs.h
<<\_ACEOF
32295 #define wxSIZE_T_IS_ULONG 1
32302 ac_cpp
='$CPP $CPPFLAGS'
32303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32309 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32310 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32311 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32315 cat >conftest.
$ac_ext <<_ACEOF
32318 cat confdefs.h
>>conftest.
$ac_ext
32319 cat >>conftest.
$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32334 rm -f conftest.
$ac_objext
32335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32336 (eval $ac_compile) 2>conftest.er1
32338 grep -v '^ *+' conftest.er1
>conftest.err
32340 cat conftest.err
>&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } &&
32343 { ac_try
='test -z "$ac_c_werror_flag"
32344 || test ! -s conftest.err'
32345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32346 (eval $ac_try) 2>&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); }; } &&
32350 { ac_try
='test -s conftest.$ac_objext'
32351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32352 (eval $ac_try) 2>&5
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); }; }; then
32357 wx_cv_struct_pw_gecos
=yes
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.
$ac_ext >&5
32364 wx_cv_struct_pw_gecos
=no
32368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32372 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32373 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32375 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32376 cat >>confdefs.h
<<\_ACEOF
32377 #define HAVE_PW_GECOS 1
32383 if test "$wxUSE_WCHAR_T" = "yes"; then
32384 cat >>confdefs.h
<<\_ACEOF
32385 #define wxUSE_WCHAR_T 1
32392 for ac_func
in wcslen
32394 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32395 echo "$as_me:$LINENO: checking for $ac_func" >&5
32396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32397 if eval "test \"\${$as_ac_var+set}\" = set"; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 cat >conftest.
$ac_ext <<_ACEOF
32403 cat confdefs.h
>>conftest.
$ac_ext
32404 cat >>conftest.
$ac_ext <<_ACEOF
32405 /* end confdefs.h. */
32406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32408 #define $ac_func innocuous_$ac_func
32410 /* System header to define __stub macros and hopefully few prototypes,
32411 which can conflict with char $ac_func (); below.
32412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32413 <limits.h> exists even on freestanding compilers. */
32416 # include <limits.h>
32418 # include <assert.h>
32423 /* Override any gcc2 internal prototype to avoid an error. */
32428 /* We use char because int might match the return type of a gcc2
32429 builtin and then its argument prototype would still apply. */
32431 /* The GNU C library defines this for functions which it implements
32432 to always fail with ENOSYS. Some functions are actually named
32433 something starting with __ and the normal name is an alias. */
32434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32437 char (*f) () = $ac_func;
32446 return f != $ac_func;
32451 rm -f conftest.
$ac_objext conftest
$ac_exeext
32452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32453 (eval $ac_link) 2>conftest.er1
32455 grep -v '^ *+' conftest.er1
>conftest.err
32457 cat conftest.err
>&5
32458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32459 (exit $ac_status); } &&
32460 { ac_try
='test -z "$ac_c_werror_flag"
32461 || test ! -s conftest.err'
32462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32463 (eval $ac_try) 2>&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); }; } &&
32467 { ac_try
='test -s conftest$ac_exeext'
32468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32469 (eval $ac_try) 2>&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); }; }; then
32473 eval "$as_ac_var=yes"
32475 echo "$as_me: failed program was:" >&5
32476 sed 's/^/| /' conftest.
$ac_ext >&5
32478 eval "$as_ac_var=no"
32480 rm -f conftest.err conftest.
$ac_objext \
32481 conftest
$ac_exeext conftest.
$ac_ext
32483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32485 if test `eval echo '${'$as_ac_var'}'` = yes; then
32486 cat >>confdefs.h
<<_ACEOF
32487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32494 if test "$WCSLEN_FOUND" = 0; then
32495 if test "$TOOLKIT" = "MSW"; then
32496 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32497 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32498 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32499 echo $ECHO_N "(cached) $ECHO_C" >&6
32501 ac_check_lib_save_LIBS
=$LIBS
32502 LIBS
="-lmsvcrt $LIBS"
32503 cat >conftest.
$ac_ext <<_ACEOF
32506 cat confdefs.h
>>conftest.
$ac_ext
32507 cat >>conftest.
$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32510 /* Override any gcc2 internal prototype to avoid an error. */
32514 /* We use char because int might match the return type of a gcc2
32515 builtin and then its argument prototype would still apply. */
32525 rm -f conftest.
$ac_objext conftest
$ac_exeext
32526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32527 (eval $ac_link) 2>conftest.er1
32529 grep -v '^ *+' conftest.er1
>conftest.err
32531 cat conftest.err
>&5
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); } &&
32534 { ac_try
='test -z "$ac_c_werror_flag"
32535 || test ! -s conftest.err'
32536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32537 (eval $ac_try) 2>&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); }; } &&
32541 { ac_try
='test -s conftest$ac_exeext'
32542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543 (eval $ac_try) 2>&5
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); }; }; then
32547 ac_cv_lib_msvcrt_wcslen
=yes
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.
$ac_ext >&5
32552 ac_cv_lib_msvcrt_wcslen
=no
32554 rm -f conftest.err conftest.
$ac_objext \
32555 conftest
$ac_exeext conftest.
$ac_ext
32556 LIBS
=$ac_check_lib_save_LIBS
32558 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32559 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32560 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32565 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32566 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32567 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32568 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 ac_check_lib_save_LIBS
=$LIBS
32572 cat >conftest.
$ac_ext <<_ACEOF
32575 cat confdefs.h
>>conftest.
$ac_ext
32576 cat >>conftest.
$ac_ext <<_ACEOF
32577 /* end confdefs.h. */
32579 /* Override any gcc2 internal prototype to avoid an error. */
32583 /* We use char because int might match the return type of a gcc2
32584 builtin and then its argument prototype would still apply. */
32594 rm -f conftest.
$ac_objext conftest
$ac_exeext
32595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32596 (eval $ac_link) 2>conftest.er1
32598 grep -v '^ *+' conftest.er1
>conftest.err
32600 cat conftest.err
>&5
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); } &&
32603 { ac_try
='test -z "$ac_c_werror_flag"
32604 || test ! -s conftest.err'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; } &&
32610 { ac_try
='test -s conftest$ac_exeext'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; }; then
32616 ac_cv_lib_w_wcslen
=yes
32618 echo "$as_me: failed program was:" >&5
32619 sed 's/^/| /' conftest.
$ac_ext >&5
32621 ac_cv_lib_w_wcslen
=no
32623 rm -f conftest.err conftest.
$ac_objext \
32624 conftest
$ac_exeext conftest.
$ac_ext
32625 LIBS
=$ac_check_lib_save_LIBS
32627 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32628 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32629 if test $ac_cv_lib_w_wcslen = yes; then
32639 if test "$WCSLEN_FOUND" = 1; then
32640 cat >>confdefs.h
<<\_ACEOF
32641 #define HAVE_WCSLEN 1
32646 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32647 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32650 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32651 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32652 if test "${ac_cv_type_mbstate_t+set}" = set; then
32653 echo $ECHO_N "(cached) $ECHO_C" >&6
32655 cat >conftest.
$ac_ext <<_ACEOF
32658 cat confdefs.h
>>conftest.
$ac_ext
32659 cat >>conftest.
$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32666 if ((mbstate_t *) 0)
32668 if (sizeof (mbstate_t))
32674 rm -f conftest.
$ac_objext
32675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32676 (eval $ac_compile) 2>conftest.er1
32678 grep -v '^ *+' conftest.er1
>conftest.err
32680 cat conftest.err
>&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } &&
32683 { ac_try
='test -z "$ac_c_werror_flag"
32684 || test ! -s conftest.err'
32685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32686 (eval $ac_try) 2>&5
32688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32689 (exit $ac_status); }; } &&
32690 { ac_try
='test -s conftest.$ac_objext'
32691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32692 (eval $ac_try) 2>&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); }; }; then
32696 ac_cv_type_mbstate_t
=yes
32698 echo "$as_me: failed program was:" >&5
32699 sed 's/^/| /' conftest.
$ac_ext >&5
32701 ac_cv_type_mbstate_t
=no
32703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32705 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32706 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32707 if test $ac_cv_type_mbstate_t = yes; then
32709 cat >>confdefs.h
<<_ACEOF
32710 #define HAVE_MBSTATE_T 1
32714 for ac_func
in wcsrtombs
32716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32717 echo "$as_me:$LINENO: checking for $ac_func" >&5
32718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32719 if eval "test \"\${$as_ac_var+set}\" = set"; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 cat >conftest.
$ac_ext <<_ACEOF
32725 cat confdefs.h
>>conftest.
$ac_ext
32726 cat >>conftest.
$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32730 #define $ac_func innocuous_$ac_func
32732 /* System header to define __stub macros and hopefully few prototypes,
32733 which can conflict with char $ac_func (); below.
32734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32735 <limits.h> exists even on freestanding compilers. */
32738 # include <limits.h>
32740 # include <assert.h>
32745 /* Override any gcc2 internal prototype to avoid an error. */
32750 /* We use char because int might match the return type of a gcc2
32751 builtin and then its argument prototype would still apply. */
32753 /* The GNU C library defines this for functions which it implements
32754 to always fail with ENOSYS. Some functions are actually named
32755 something starting with __ and the normal name is an alias. */
32756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32759 char (*f) () = $ac_func;
32768 return f != $ac_func;
32773 rm -f conftest.
$ac_objext conftest
$ac_exeext
32774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32775 (eval $ac_link) 2>conftest.er1
32777 grep -v '^ *+' conftest.er1
>conftest.err
32779 cat conftest.err
>&5
32780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 (exit $ac_status); } &&
32782 { ac_try
='test -z "$ac_c_werror_flag"
32783 || test ! -s conftest.err'
32784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32785 (eval $ac_try) 2>&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); }; } &&
32789 { ac_try
='test -s conftest$ac_exeext'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; }; then
32795 eval "$as_ac_var=yes"
32797 echo "$as_me: failed program was:" >&5
32798 sed 's/^/| /' conftest.
$ac_ext >&5
32800 eval "$as_ac_var=no"
32802 rm -f conftest.err conftest.
$ac_objext \
32803 conftest
$ac_exeext conftest.
$ac_ext
32805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32807 if test `eval echo '${'$as_ac_var'}'` = yes; then
32808 cat >>confdefs.h
<<_ACEOF
32809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32818 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32819 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32825 ac_cpp
='$CXXCPP $CPPFLAGS'
32826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32833 for ac_func
in snprintf vsnprintf
32835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32836 echo "$as_me:$LINENO: checking for $ac_func" >&5
32837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32838 if eval "test \"\${$as_ac_var+set}\" = set"; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32841 cat >conftest.
$ac_ext <<_ACEOF
32844 cat confdefs.h
>>conftest.
$ac_ext
32845 cat >>conftest.
$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32849 #define $ac_func innocuous_$ac_func
32851 /* System header to define __stub macros and hopefully few prototypes,
32852 which can conflict with char $ac_func (); below.
32853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32854 <limits.h> exists even on freestanding compilers. */
32857 # include <limits.h>
32859 # include <assert.h>
32864 /* Override any gcc2 internal prototype to avoid an error. */
32869 /* We use char because int might match the return type of a gcc2
32870 builtin and then its argument prototype would still apply. */
32872 /* The GNU C library defines this for functions which it implements
32873 to always fail with ENOSYS. Some functions are actually named
32874 something starting with __ and the normal name is an alias. */
32875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32878 char (*f) () = $ac_func;
32887 return f != $ac_func;
32892 rm -f conftest.
$ac_objext conftest
$ac_exeext
32893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32894 (eval $ac_link) 2>conftest.er1
32896 grep -v '^ *+' conftest.er1
>conftest.err
32898 cat conftest.err
>&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } &&
32901 { ac_try
='test -z "$ac_cxx_werror_flag"
32902 || test ! -s conftest.err'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; } &&
32908 { ac_try
='test -s conftest$ac_exeext'
32909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32910 (eval $ac_try) 2>&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); }; }; then
32914 eval "$as_ac_var=yes"
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.
$ac_ext >&5
32919 eval "$as_ac_var=no"
32921 rm -f conftest.err conftest.
$ac_objext \
32922 conftest
$ac_exeext conftest.
$ac_ext
32924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32926 if test `eval echo '${'$as_ac_var'}'` = yes; then
32927 cat >>confdefs.h
<<_ACEOF
32928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32935 if test "$ac_cv_func_vsnprintf" = "yes"; then
32936 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32937 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32938 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32939 echo $ECHO_N "(cached) $ECHO_C" >&6
32942 cat >conftest.
$ac_ext <<_ACEOF
32945 cat confdefs.h
>>conftest.
$ac_ext
32946 cat >>conftest.
$ac_ext <<_ACEOF
32947 /* end confdefs.h. */
32950 #include <stdarg.h>
32952 #if __MSL__ >= 0x6000
32954 using namespace std;
32964 vsnprintf(buf, 10u, "%s", ap);
32970 rm -f conftest.
$ac_objext
32971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32972 (eval $ac_compile) 2>conftest.er1
32974 grep -v '^ *+' conftest.er1
>conftest.err
32976 cat conftest.err
>&5
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); } &&
32979 { ac_try
='test -z "$ac_cxx_werror_flag"
32980 || test ! -s conftest.err'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; } &&
32986 { ac_try
='test -s conftest.$ac_objext'
32987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32988 (eval $ac_try) 2>&5
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); }; }; then
32992 wx_cv_func_vsnprintf_decl
=yes
32994 echo "$as_me: failed program was:" >&5
32995 sed 's/^/| /' conftest.
$ac_ext >&5
32997 wx_cv_func_vsnprintf_decl
=no
33000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33004 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33005 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33007 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33008 cat >>confdefs.h
<<\_ACEOF
33009 #define HAVE_VSNPRINTF_DECL 1
33013 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33014 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33015 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33019 cat >conftest.
$ac_ext <<_ACEOF
33022 cat confdefs.h
>>conftest.
$ac_ext
33023 cat >>conftest.
$ac_ext <<_ACEOF
33024 /* end confdefs.h. */
33027 #include <stdarg.h>
33029 #if __MSL__ >= 0x6000
33031 using namespace std;
33041 const char *fmt = "%s";
33042 vsnprintf(buf, 10u, fmt, ap);
33048 rm -f conftest.
$ac_objext
33049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33050 (eval $ac_compile) 2>conftest.er1
33052 grep -v '^ *+' conftest.er1
>conftest.err
33054 cat conftest.err
>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } &&
33057 { ac_try
='test -z "$ac_cxx_werror_flag"
33058 || test ! -s conftest.err'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; } &&
33064 { ac_try
='test -s conftest.$ac_objext'
33065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066 (eval $ac_try) 2>&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; }; then
33070 wx_cv_func_broken_vsnprintf_decl
=no
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.
$ac_ext >&5
33075 wx_cv_func_broken_vsnprintf_decl
=yes
33078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33082 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33083 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33085 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33086 cat >>confdefs.h
<<\_ACEOF
33087 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33094 if test "$ac_cv_func_snprintf" = "yes"; then
33095 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33096 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33097 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 cat >conftest.
$ac_ext <<_ACEOF
33104 cat confdefs.h
>>conftest.
$ac_ext
33105 cat >>conftest.
$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33109 #include <stdarg.h>
33111 #if __MSL__ >= 0x6000
33113 using namespace std;
33122 snprintf(buf, 10u, "%s", "wx");
33128 rm -f conftest.
$ac_objext
33129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33130 (eval $ac_compile) 2>conftest.er1
33132 grep -v '^ *+' conftest.er1
>conftest.err
33134 cat conftest.err
>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); } &&
33137 { ac_try
='test -z "$ac_cxx_werror_flag"
33138 || test ! -s conftest.err'
33139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33140 (eval $ac_try) 2>&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); }; } &&
33144 { ac_try
='test -s conftest.$ac_objext'
33145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33146 (eval $ac_try) 2>&5
33148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33149 (exit $ac_status); }; }; then
33150 wx_cv_func_snprintf_decl
=yes
33152 echo "$as_me: failed program was:" >&5
33153 sed 's/^/| /' conftest.
$ac_ext >&5
33155 wx_cv_func_snprintf_decl
=no
33158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33162 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33163 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33165 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33166 cat >>confdefs.h
<<\_ACEOF
33167 #define HAVE_SNPRINTF_DECL 1
33171 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33172 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33173 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 cat >conftest.
$ac_ext <<_ACEOF
33180 cat confdefs.h
>>conftest.
$ac_ext
33181 cat >>conftest.
$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33185 #include <stdarg.h>
33187 #if __MSL__ >= 0x6000
33189 using namespace std;
33198 const char *fmt = "%s";
33199 snprintf(buf, 10u, fmt, "wx");
33205 rm -f conftest.
$ac_objext
33206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33207 (eval $ac_compile) 2>conftest.er1
33209 grep -v '^ *+' conftest.er1
>conftest.err
33211 cat conftest.err
>&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); } &&
33214 { ac_try
='test -z "$ac_cxx_werror_flag"
33215 || test ! -s conftest.err'
33216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33217 (eval $ac_try) 2>&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); }; } &&
33221 { ac_try
='test -s conftest.$ac_objext'
33222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33223 (eval $ac_try) 2>&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); }; }; then
33227 wx_cv_func_broken_snprintf_decl
=no
33229 echo "$as_me: failed program was:" >&5
33230 sed 's/^/| /' conftest.
$ac_ext >&5
33232 wx_cv_func_broken_snprintf_decl
=yes
33235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33239 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33240 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33242 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33243 cat >>confdefs.h
<<\_ACEOF
33244 #define HAVE_BROKEN_SNPRINTF_DECL 1
33251 if test "$wxUSE_UNICODE" = yes; then
33258 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33261 echo "$as_me:$LINENO: checking for $ac_func" >&5
33262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33263 if eval "test \"\${$as_ac_var+set}\" = set"; then
33264 echo $ECHO_N "(cached) $ECHO_C" >&6
33266 cat >conftest.
$ac_ext <<_ACEOF
33269 cat confdefs.h
>>conftest.
$ac_ext
33270 cat >>conftest.
$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33274 #define $ac_func innocuous_$ac_func
33276 /* System header to define __stub macros and hopefully few prototypes,
33277 which can conflict with char $ac_func (); below.
33278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33279 <limits.h> exists even on freestanding compilers. */
33282 # include <limits.h>
33284 # include <assert.h>
33289 /* Override any gcc2 internal prototype to avoid an error. */
33294 /* We use char because int might match the return type of a gcc2
33295 builtin and then its argument prototype would still apply. */
33297 /* The GNU C library defines this for functions which it implements
33298 to always fail with ENOSYS. Some functions are actually named
33299 something starting with __ and the normal name is an alias. */
33300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33303 char (*f) () = $ac_func;
33312 return f != $ac_func;
33317 rm -f conftest.
$ac_objext conftest
$ac_exeext
33318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33319 (eval $ac_link) 2>conftest.er1
33321 grep -v '^ *+' conftest.er1
>conftest.err
33323 cat conftest.err
>&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); } &&
33326 { ac_try
='test -z "$ac_cxx_werror_flag"
33327 || test ! -s conftest.err'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; } &&
33333 { ac_try
='test -s conftest$ac_exeext'
33334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33335 (eval $ac_try) 2>&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); }; }; then
33339 eval "$as_ac_var=yes"
33341 echo "$as_me: failed program was:" >&5
33342 sed 's/^/| /' conftest.
$ac_ext >&5
33344 eval "$as_ac_var=no"
33346 rm -f conftest.err conftest.
$ac_objext \
33347 conftest
$ac_exeext conftest.
$ac_ext
33349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33351 if test `eval echo '${'$as_ac_var'}'` = yes; then
33352 cat >>confdefs.h
<<_ACEOF
33353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33360 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33361 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33362 cat >conftest.
$ac_ext <<_ACEOF
33365 cat confdefs.h
>>conftest.
$ac_ext
33366 cat >>conftest.
$ac_ext <<_ACEOF
33367 /* end confdefs.h. */
33377 rm -f conftest.
$ac_objext
33378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33379 (eval $ac_compile) 2>conftest.er1
33381 grep -v '^ *+' conftest.er1
>conftest.err
33383 cat conftest.err
>&5
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); } &&
33386 { ac_try
='test -z "$ac_cxx_werror_flag"
33387 || test ! -s conftest.err'
33388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33389 (eval $ac_try) 2>&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); }; } &&
33393 { ac_try
='test -s conftest.$ac_objext'
33394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395 (eval $ac_try) 2>&5
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; }; then
33399 echo "$as_me:$LINENO: result: yes" >&5
33400 echo "${ECHO_T}yes" >&6
33401 cat >>confdefs.h
<<\_ACEOF
33402 #define HAVE__VSNWPRINTF 1
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.
$ac_ext >&5
33409 echo "$as_me:$LINENO: result: no" >&5
33410 echo "${ECHO_T}no" >&6
33412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33416 ac_cpp
='$CPP $CPPFLAGS'
33417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33422 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33424 for ac_func
in fnmatch
33426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33427 echo "$as_me:$LINENO: checking for $ac_func" >&5
33428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33429 if eval "test \"\${$as_ac_var+set}\" = set"; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33432 cat >conftest.
$ac_ext <<_ACEOF
33435 cat confdefs.h
>>conftest.
$ac_ext
33436 cat >>conftest.
$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33440 #define $ac_func innocuous_$ac_func
33442 /* System header to define __stub macros and hopefully few prototypes,
33443 which can conflict with char $ac_func (); below.
33444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33445 <limits.h> exists even on freestanding compilers. */
33448 # include <limits.h>
33450 # include <assert.h>
33455 /* Override any gcc2 internal prototype to avoid an error. */
33460 /* We use char because int might match the return type of a gcc2
33461 builtin and then its argument prototype would still apply. */
33463 /* The GNU C library defines this for functions which it implements
33464 to always fail with ENOSYS. Some functions are actually named
33465 something starting with __ and the normal name is an alias. */
33466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33469 char (*f) () = $ac_func;
33478 return f != $ac_func;
33483 rm -f conftest.
$ac_objext conftest
$ac_exeext
33484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33485 (eval $ac_link) 2>conftest.er1
33487 grep -v '^ *+' conftest.er1
>conftest.err
33489 cat conftest.err
>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } &&
33492 { ac_try
='test -z "$ac_c_werror_flag"
33493 || test ! -s conftest.err'
33494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495 (eval $ac_try) 2>&5
33497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498 (exit $ac_status); }; } &&
33499 { ac_try
='test -s conftest$ac_exeext'
33500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33501 (eval $ac_try) 2>&5
33503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504 (exit $ac_status); }; }; then
33505 eval "$as_ac_var=yes"
33507 echo "$as_me: failed program was:" >&5
33508 sed 's/^/| /' conftest.
$ac_ext >&5
33510 eval "$as_ac_var=no"
33512 rm -f conftest.err conftest.
$ac_objext \
33513 conftest
$ac_exeext conftest.
$ac_ext
33515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33517 if test `eval echo '${'$as_ac_var'}'` = yes; then
33518 cat >>confdefs.h
<<_ACEOF
33519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33527 if test "$wxUSE_FILE" = "yes"; then
33529 for ac_func
in fsync
33531 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33532 echo "$as_me:$LINENO: checking for $ac_func" >&5
33533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33534 if eval "test \"\${$as_ac_var+set}\" = set"; then
33535 echo $ECHO_N "(cached) $ECHO_C" >&6
33537 cat >conftest.
$ac_ext <<_ACEOF
33540 cat confdefs.h
>>conftest.
$ac_ext
33541 cat >>conftest.
$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33545 #define $ac_func innocuous_$ac_func
33547 /* System header to define __stub macros and hopefully few prototypes,
33548 which can conflict with char $ac_func (); below.
33549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33550 <limits.h> exists even on freestanding compilers. */
33553 # include <limits.h>
33555 # include <assert.h>
33560 /* Override any gcc2 internal prototype to avoid an error. */
33565 /* We use char because int might match the return type of a gcc2
33566 builtin and then its argument prototype would still apply. */
33568 /* The GNU C library defines this for functions which it implements
33569 to always fail with ENOSYS. Some functions are actually named
33570 something starting with __ and the normal name is an alias. */
33571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33574 char (*f) () = $ac_func;
33583 return f != $ac_func;
33588 rm -f conftest.
$ac_objext conftest
$ac_exeext
33589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33590 (eval $ac_link) 2>conftest.er1
33592 grep -v '^ *+' conftest.er1
>conftest.err
33594 cat conftest.err
>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); } &&
33597 { ac_try
='test -z "$ac_c_werror_flag"
33598 || test ! -s conftest.err'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; } &&
33604 { ac_try
='test -s conftest$ac_exeext'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; }; then
33610 eval "$as_ac_var=yes"
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.
$ac_ext >&5
33615 eval "$as_ac_var=no"
33617 rm -f conftest.err conftest.
$ac_objext \
33618 conftest
$ac_exeext conftest.
$ac_ext
33620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33622 if test `eval echo '${'$as_ac_var'}'` = yes; then
33623 cat >>confdefs.h
<<_ACEOF
33624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33633 if test "$TOOLKIT" != "MSW"; then
33639 ac_cpp
='$CXXCPP $CPPFLAGS'
33640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33647 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33648 if test "${with_libiconv_prefix+set}" = set; then
33649 withval
="$with_libiconv_prefix"
33651 for dir
in `echo "$withval" | tr : ' '`; do
33652 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33653 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33658 echo "$as_me:$LINENO: checking for iconv" >&5
33659 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33660 if test "${am_cv_func_iconv+set}" = set; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33664 am_cv_func_iconv
="no, consider installing GNU libiconv"
33666 cat >conftest.
$ac_ext <<_ACEOF
33669 cat confdefs.h
>>conftest.
$ac_ext
33670 cat >>conftest.
$ac_ext <<_ACEOF
33671 /* end confdefs.h. */
33672 #include <stdlib.h>
33677 iconv_t cd = iconv_open("","");
33678 iconv(cd,NULL,NULL,NULL,NULL);
33684 rm -f conftest.
$ac_objext conftest
$ac_exeext
33685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33686 (eval $ac_link) 2>conftest.er1
33688 grep -v '^ *+' conftest.er1
>conftest.err
33690 cat conftest.err
>&5
33691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33692 (exit $ac_status); } &&
33693 { ac_try
='test -z "$ac_cxx_werror_flag"
33694 || test ! -s conftest.err'
33695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33696 (eval $ac_try) 2>&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); }; } &&
33700 { ac_try
='test -s conftest$ac_exeext'
33701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33702 (eval $ac_try) 2>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); }; }; then
33706 am_cv_func_iconv
=yes
33708 echo "$as_me: failed program was:" >&5
33709 sed 's/^/| /' conftest.
$ac_ext >&5
33712 rm -f conftest.err conftest.
$ac_objext \
33713 conftest
$ac_exeext conftest.
$ac_ext
33714 if test "$am_cv_func_iconv" != yes; then
33715 am_save_LIBS
="$LIBS"
33716 LIBS
="$LIBS -liconv"
33717 cat >conftest.
$ac_ext <<_ACEOF
33720 cat confdefs.h
>>conftest.
$ac_ext
33721 cat >>conftest.
$ac_ext <<_ACEOF
33722 /* end confdefs.h. */
33723 #include <stdlib.h>
33728 iconv_t cd = iconv_open("","");
33729 iconv(cd,NULL,NULL,NULL,NULL);
33735 rm -f conftest.
$ac_objext conftest
$ac_exeext
33736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33737 (eval $ac_link) 2>conftest.er1
33739 grep -v '^ *+' conftest.er1
>conftest.err
33741 cat conftest.err
>&5
33742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33743 (exit $ac_status); } &&
33744 { ac_try
='test -z "$ac_cxx_werror_flag"
33745 || test ! -s conftest.err'
33746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33747 (eval $ac_try) 2>&5
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); }; } &&
33751 { ac_try
='test -s conftest$ac_exeext'
33752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33753 (eval $ac_try) 2>&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); }; }; then
33757 am_cv_lib_iconv
=yes
33758 am_cv_func_iconv
=yes
33760 echo "$as_me: failed program was:" >&5
33761 sed 's/^/| /' conftest.
$ac_ext >&5
33764 rm -f conftest.err conftest.
$ac_objext \
33765 conftest
$ac_exeext conftest.
$ac_ext
33766 LIBS
="$am_save_LIBS"
33770 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33771 echo "${ECHO_T}$am_cv_func_iconv" >&6
33772 if test "$am_cv_func_iconv" = yes; then
33774 cat >>confdefs.h
<<\_ACEOF
33775 #define HAVE_ICONV 1
33778 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33779 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33780 if test "${wx_cv_func_iconv_const+set}" = set; then
33781 echo $ECHO_N "(cached) $ECHO_C" >&6
33783 cat >conftest.
$ac_ext <<_ACEOF
33786 cat confdefs.h
>>conftest.
$ac_ext
33787 cat >>conftest.
$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33790 #include <stdlib.h>
33796 #if defined(__STDC__) || defined(__cplusplus)
33797 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33810 rm -f conftest.
$ac_objext
33811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33812 (eval $ac_compile) 2>conftest.er1
33814 grep -v '^ *+' conftest.er1
>conftest.err
33816 cat conftest.err
>&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); } &&
33819 { ac_try
='test -z "$ac_cxx_werror_flag"
33820 || test ! -s conftest.err'
33821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33822 (eval $ac_try) 2>&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); }; } &&
33826 { ac_try
='test -s conftest.$ac_objext'
33827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33828 (eval $ac_try) 2>&5
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); }; }; then
33832 wx_cv_func_iconv_const
="no"
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.
$ac_ext >&5
33837 wx_cv_func_iconv_const
="yes"
33840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33843 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33844 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33847 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33848 iconv_const
="const"
33852 cat >>confdefs.h
<<_ACEOF
33853 #define ICONV_CONST $iconv_const
33858 if test "$am_cv_lib_iconv" = yes; then
33863 LIBS
="$LIBICONV $LIBS"
33865 ac_cpp
='$CPP $CPPFLAGS'
33866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33871 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33873 for ac_func
in sigaction
33875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33876 echo "$as_me:$LINENO: checking for $ac_func" >&5
33877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33878 if eval "test \"\${$as_ac_var+set}\" = set"; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33881 cat >conftest.
$ac_ext <<_ACEOF
33884 cat confdefs.h
>>conftest.
$ac_ext
33885 cat >>conftest.
$ac_ext <<_ACEOF
33886 /* end confdefs.h. */
33887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33889 #define $ac_func innocuous_$ac_func
33891 /* System header to define __stub macros and hopefully few prototypes,
33892 which can conflict with char $ac_func (); below.
33893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33894 <limits.h> exists even on freestanding compilers. */
33897 # include <limits.h>
33899 # include <assert.h>
33904 /* Override any gcc2 internal prototype to avoid an error. */
33909 /* We use char because int might match the return type of a gcc2
33910 builtin and then its argument prototype would still apply. */
33912 /* The GNU C library defines this for functions which it implements
33913 to always fail with ENOSYS. Some functions are actually named
33914 something starting with __ and the normal name is an alias. */
33915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33918 char (*f) () = $ac_func;
33927 return f != $ac_func;
33932 rm -f conftest.
$ac_objext conftest
$ac_exeext
33933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33934 (eval $ac_link) 2>conftest.er1
33936 grep -v '^ *+' conftest.er1
>conftest.err
33938 cat conftest.err
>&5
33939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940 (exit $ac_status); } &&
33941 { ac_try
='test -z "$ac_c_werror_flag"
33942 || test ! -s conftest.err'
33943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33944 (eval $ac_try) 2>&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); }; } &&
33948 { ac_try
='test -s conftest$ac_exeext'
33949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33950 (eval $ac_try) 2>&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); }; }; then
33954 eval "$as_ac_var=yes"
33956 echo "$as_me: failed program was:" >&5
33957 sed 's/^/| /' conftest.
$ac_ext >&5
33959 eval "$as_ac_var=no"
33961 rm -f conftest.err conftest.
$ac_objext \
33962 conftest
$ac_exeext conftest.
$ac_ext
33964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33966 if test `eval echo '${'$as_ac_var'}'` = yes; then
33967 cat >>confdefs.h
<<_ACEOF
33968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33975 if test "$ac_cv_func_sigaction" = "no"; then
33976 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33977 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33978 wxUSE_ON_FATAL_EXCEPTION
=no
33981 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33985 ac_cpp
='$CXXCPP $CPPFLAGS'
33986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33991 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33992 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33993 if test "${wx_cv_type_sa_handler+set}" = set; then
33994 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 #include <signal.h>
34008 extern void testSigHandler(int);
34010 struct sigaction sa;
34011 sa.sa_handler = testSigHandler;
34017 rm -f conftest.
$ac_objext
34018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34019 (eval $ac_compile) 2>conftest.er1
34021 grep -v '^ *+' conftest.er1
>conftest.err
34023 cat conftest.err
>&5
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); } &&
34026 { ac_try
='test -z "$ac_cxx_werror_flag"
34027 || test ! -s conftest.err'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; } &&
34033 { ac_try
='test -s conftest.$ac_objext'
34034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34035 (eval $ac_try) 2>&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); }; }; then
34040 wx_cv_type_sa_handler
=int
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.
$ac_ext >&5
34047 wx_cv_type_sa_handler
=void
34050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34053 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34054 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34057 ac_cpp
='$CPP $CPPFLAGS'
34058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34063 cat >>confdefs.h
<<_ACEOF
34064 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34070 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34074 ac_cpp
='$CXXCPP $CPPFLAGS'
34075 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34076 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34077 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34080 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34081 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34082 if test "${wx_cv_func_backtrace+set}" = set; then
34083 echo $ECHO_N "(cached) $ECHO_C" >&6
34086 cat >conftest.
$ac_ext <<_ACEOF
34089 cat confdefs.h
>>conftest.
$ac_ext
34090 cat >>conftest.
$ac_ext <<_ACEOF
34091 /* end confdefs.h. */
34092 #include <execinfo.h>
34100 backtrace(trace, 1);
34101 messages = backtrace_symbols(trace, 1);
34107 rm -f conftest.
$ac_objext
34108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34109 (eval $ac_compile) 2>conftest.er1
34111 grep -v '^ *+' conftest.er1
>conftest.err
34113 cat conftest.err
>&5
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); } &&
34116 { ac_try
='test -z "$ac_cxx_werror_flag"
34117 || test ! -s conftest.err'
34118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34119 (eval $ac_try) 2>&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; } &&
34123 { ac_try
='test -s conftest.$ac_objext'
34124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34125 (eval $ac_try) 2>&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); }; }; then
34129 wx_cv_func_backtrace
=yes
34131 echo "$as_me: failed program was:" >&5
34132 sed 's/^/| /' conftest.
$ac_ext >&5
34134 wx_cv_func_backtrace
=no
34137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34141 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34142 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34145 if test "$wx_cv_func_backtrace" = "no"; then
34146 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34147 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34148 wxUSE_STACKWALKER
=no
34150 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34151 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34152 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34153 echo $ECHO_N "(cached) $ECHO_C" >&6
34156 cat >conftest.
$ac_ext <<_ACEOF
34159 cat confdefs.h
>>conftest.
$ac_ext
34160 cat >>conftest.
$ac_ext <<_ACEOF
34161 /* end confdefs.h. */
34162 #include <cxxabi.h>
34168 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34174 rm -f conftest.
$ac_objext conftest
$ac_exeext
34175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34176 (eval $ac_link) 2>conftest.er1
34178 grep -v '^ *+' conftest.er1
>conftest.err
34180 cat conftest.err
>&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); } &&
34183 { ac_try
='test -z "$ac_cxx_werror_flag"
34184 || test ! -s conftest.err'
34185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34186 (eval $ac_try) 2>&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); }; } &&
34190 { ac_try
='test -s conftest$ac_exeext'
34191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34192 (eval $ac_try) 2>&5
34194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34195 (exit $ac_status); }; }; then
34196 wx_cv_func_cxa_demangle
=yes
34198 echo "$as_me: failed program was:" >&5
34199 sed 's/^/| /' conftest.
$ac_ext >&5
34201 wx_cv_func_cxa_demangle
=no
34204 rm -f conftest.err conftest.
$ac_objext \
34205 conftest
$ac_exeext conftest.
$ac_ext
34209 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34210 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34212 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34213 cat >>confdefs.h
<<\_ACEOF
34214 #define HAVE_CXA_DEMANGLE 1
34221 ac_cpp
='$CPP $CPPFLAGS'
34222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34228 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34229 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34230 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34231 wxUSE_STACKWALKER
=no
34237 for ac_func
in mkstemp mktemp
34239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34240 echo "$as_me:$LINENO: checking for $ac_func" >&5
34241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34242 if eval "test \"\${$as_ac_var+set}\" = set"; then
34243 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 cat >conftest.
$ac_ext <<_ACEOF
34248 cat confdefs.h
>>conftest.
$ac_ext
34249 cat >>conftest.
$ac_ext <<_ACEOF
34250 /* end confdefs.h. */
34251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34253 #define $ac_func innocuous_$ac_func
34255 /* System header to define __stub macros and hopefully few prototypes,
34256 which can conflict with char $ac_func (); below.
34257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34258 <limits.h> exists even on freestanding compilers. */
34261 # include <limits.h>
34263 # include <assert.h>
34268 /* Override any gcc2 internal prototype to avoid an error. */
34273 /* We use char because int might match the return type of a gcc2
34274 builtin and then its argument prototype would still apply. */
34276 /* The GNU C library defines this for functions which it implements
34277 to always fail with ENOSYS. Some functions are actually named
34278 something starting with __ and the normal name is an alias. */
34279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34282 char (*f) () = $ac_func;
34291 return f != $ac_func;
34296 rm -f conftest.
$ac_objext conftest
$ac_exeext
34297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34298 (eval $ac_link) 2>conftest.er1
34300 grep -v '^ *+' conftest.er1
>conftest.err
34302 cat conftest.err
>&5
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); } &&
34305 { ac_try
='test -z "$ac_c_werror_flag"
34306 || test ! -s conftest.err'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; } &&
34312 { ac_try
='test -s conftest$ac_exeext'
34313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34314 (eval $ac_try) 2>&5
34316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317 (exit $ac_status); }; }; then
34318 eval "$as_ac_var=yes"
34320 echo "$as_me: failed program was:" >&5
34321 sed 's/^/| /' conftest.
$ac_ext >&5
34323 eval "$as_ac_var=no"
34325 rm -f conftest.err conftest.
$ac_objext \
34326 conftest
$ac_exeext conftest.
$ac_ext
34328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34330 if test `eval echo '${'$as_ac_var'}'` = yes; then
34331 cat >>confdefs.h
<<_ACEOF
34332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34339 echo "$as_me:$LINENO: checking for statfs" >&5
34340 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34341 if test "${wx_cv_func_statfs+set}" = set; then
34342 echo $ECHO_N "(cached) $ECHO_C" >&6
34344 cat >conftest.
$ac_ext <<_ACEOF
34347 cat confdefs.h
>>conftest.
$ac_ext
34348 cat >>conftest.
$ac_ext <<_ACEOF
34349 /* end confdefs.h. */
34351 #if defined(__BSD__)
34352 #include <sys/param.h>
34353 #include <sys/mount.h>
34355 #include <sys/vfs.h>
34373 rm -f conftest.
$ac_objext
34374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34375 (eval $ac_compile) 2>conftest.er1
34377 grep -v '^ *+' conftest.er1
>conftest.err
34379 cat conftest.err
>&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); } &&
34382 { ac_try
='test -z "$ac_c_werror_flag"
34383 || test ! -s conftest.err'
34384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34385 (eval $ac_try) 2>&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); }; } &&
34389 { ac_try
='test -s conftest.$ac_objext'
34390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34391 (eval $ac_try) 2>&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); }; }; then
34395 wx_cv_func_statfs
=yes
34397 echo "$as_me: failed program was:" >&5
34398 sed 's/^/| /' conftest.
$ac_ext >&5
34400 wx_cv_func_statfs
=no
34403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34406 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34407 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34409 if test "$wx_cv_func_statfs" = "yes"; then
34413 ac_cpp
='$CXXCPP $CPPFLAGS'
34414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34418 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34419 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34420 if test "${wx_cv_func_statfs_decl+set}" = set; then
34421 echo $ECHO_N "(cached) $ECHO_C" >&6
34423 cat >conftest.
$ac_ext <<_ACEOF
34426 cat confdefs.h
>>conftest.
$ac_ext
34427 cat >>conftest.
$ac_ext <<_ACEOF
34428 /* end confdefs.h. */
34430 #if defined(__BSD__)
34431 #include <sys/param.h>
34432 #include <sys/mount.h>
34434 #include <sys/vfs.h>
34448 rm -f conftest.
$ac_objext
34449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34450 (eval $ac_compile) 2>conftest.er1
34452 grep -v '^ *+' conftest.er1
>conftest.err
34454 cat conftest.err
>&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } &&
34457 { ac_try
='test -z "$ac_cxx_werror_flag"
34458 || test ! -s conftest.err'
34459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34460 (eval $ac_try) 2>&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); }; } &&
34464 { ac_try
='test -s conftest.$ac_objext'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; }; then
34470 wx_cv_func_statfs_decl
=yes
34472 echo "$as_me: failed program was:" >&5
34473 sed 's/^/| /' conftest.
$ac_ext >&5
34475 wx_cv_func_statfs_decl
=no
34478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34481 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34482 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34484 ac_cpp
='$CPP $CPPFLAGS'
34485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34490 if test "$wx_cv_func_statfs_decl" = "yes"; then
34491 cat >>confdefs.h
<<\_ACEOF
34492 #define HAVE_STATFS_DECL 1
34497 wx_cv_type_statvfs_t
="struct statfs"
34498 cat >>confdefs.h
<<\_ACEOF
34499 #define HAVE_STATFS 1
34503 echo "$as_me:$LINENO: checking for statvfs" >&5
34504 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34505 if test "${wx_cv_func_statvfs+set}" = set; then
34506 echo $ECHO_N "(cached) $ECHO_C" >&6
34508 cat >conftest.
$ac_ext <<_ACEOF
34511 cat confdefs.h
>>conftest.
$ac_ext
34512 cat >>conftest.
$ac_ext <<_ACEOF
34513 /* end confdefs.h. */
34515 #include <stddef.h>
34516 #include <sys/statvfs.h>
34522 statvfs("/", NULL);
34528 rm -f conftest.
$ac_objext
34529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34530 (eval $ac_compile) 2>conftest.er1
34532 grep -v '^ *+' conftest.er1
>conftest.err
34534 cat conftest.err
>&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } &&
34537 { ac_try
='test -z "$ac_c_werror_flag"
34538 || test ! -s conftest.err'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; } &&
34544 { ac_try
='test -s conftest.$ac_objext'
34545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34546 (eval $ac_try) 2>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); }; }; then
34550 wx_cv_func_statvfs
=yes
34552 echo "$as_me: failed program was:" >&5
34553 sed 's/^/| /' conftest.
$ac_ext >&5
34555 wx_cv_func_statvfs
=no
34558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34561 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34562 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34564 if test "$wx_cv_func_statvfs" = "yes"; then
34568 ac_cpp
='$CXXCPP $CPPFLAGS'
34569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34574 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34575 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34576 if test "${wx_cv_type_statvfs_t+set}" = set; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34579 cat >conftest.
$ac_ext <<_ACEOF
34582 cat confdefs.h
>>conftest.
$ac_ext
34583 cat >>conftest.
$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34586 #include <sys/statvfs.h>
34603 rm -f conftest.
$ac_objext
34604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34605 (eval $ac_compile) 2>conftest.er1
34607 grep -v '^ *+' conftest.er1
>conftest.err
34609 cat conftest.err
>&5
34610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611 (exit $ac_status); } &&
34612 { ac_try
='test -z "$ac_cxx_werror_flag"
34613 || test ! -s conftest.err'
34614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615 (eval $ac_try) 2>&5
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; } &&
34619 { ac_try
='test -s conftest.$ac_objext'
34620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34621 (eval $ac_try) 2>&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); }; }; then
34625 wx_cv_type_statvfs_t
=statvfs_t
34627 echo "$as_me: failed program was:" >&5
34628 sed 's/^/| /' conftest.
$ac_ext >&5
34631 cat >conftest.
$ac_ext <<_ACEOF
34634 cat confdefs.h
>>conftest.
$ac_ext
34635 cat >>conftest.
$ac_ext <<_ACEOF
34636 /* end confdefs.h. */
34638 #include <sys/statvfs.h>
34655 rm -f conftest.
$ac_objext
34656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34657 (eval $ac_compile) 2>conftest.er1
34659 grep -v '^ *+' conftest.er1
>conftest.err
34661 cat conftest.err
>&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); } &&
34664 { ac_try
='test -z "$ac_cxx_werror_flag"
34665 || test ! -s conftest.err'
34666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34667 (eval $ac_try) 2>&5
34669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670 (exit $ac_status); }; } &&
34671 { ac_try
='test -s conftest.$ac_objext'
34672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34673 (eval $ac_try) 2>&5
34675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34676 (exit $ac_status); }; }; then
34677 wx_cv_type_statvfs_t
="struct statvfs"
34679 echo "$as_me: failed program was:" >&5
34680 sed 's/^/| /' conftest.
$ac_ext >&5
34682 wx_cv_type_statvfs_t
="unknown"
34685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34692 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34693 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34696 ac_cpp
='$CPP $CPPFLAGS'
34697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34702 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34703 cat >>confdefs.h
<<\_ACEOF
34704 #define HAVE_STATVFS 1
34709 wx_cv_type_statvfs_t
="unknown"
34713 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34714 cat >>confdefs.h
<<_ACEOF
34715 #define WX_STATFS_T $wx_cv_type_statvfs_t
34719 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34720 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34723 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34726 for ac_func
in fcntl flock
34728 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34729 echo "$as_me:$LINENO: checking for $ac_func" >&5
34730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34731 if eval "test \"\${$as_ac_var+set}\" = set"; then
34732 echo $ECHO_N "(cached) $ECHO_C" >&6
34734 cat >conftest.
$ac_ext <<_ACEOF
34737 cat confdefs.h
>>conftest.
$ac_ext
34738 cat >>conftest.
$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34742 #define $ac_func innocuous_$ac_func
34744 /* System header to define __stub macros and hopefully few prototypes,
34745 which can conflict with char $ac_func (); below.
34746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34747 <limits.h> exists even on freestanding compilers. */
34750 # include <limits.h>
34752 # include <assert.h>
34757 /* Override any gcc2 internal prototype to avoid an error. */
34762 /* We use char because int might match the return type of a gcc2
34763 builtin and then its argument prototype would still apply. */
34765 /* The GNU C library defines this for functions which it implements
34766 to always fail with ENOSYS. Some functions are actually named
34767 something starting with __ and the normal name is an alias. */
34768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34771 char (*f) () = $ac_func;
34780 return f != $ac_func;
34785 rm -f conftest.
$ac_objext conftest
$ac_exeext
34786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34787 (eval $ac_link) 2>conftest.er1
34789 grep -v '^ *+' conftest.er1
>conftest.err
34791 cat conftest.err
>&5
34792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34793 (exit $ac_status); } &&
34794 { ac_try
='test -z "$ac_c_werror_flag"
34795 || test ! -s conftest.err'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; } &&
34801 { ac_try
='test -s conftest$ac_exeext'
34802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803 (eval $ac_try) 2>&5
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); }; }; then
34807 eval "$as_ac_var=yes"
34809 echo "$as_me: failed program was:" >&5
34810 sed 's/^/| /' conftest.
$ac_ext >&5
34812 eval "$as_ac_var=no"
34814 rm -f conftest.err conftest.
$ac_objext \
34815 conftest
$ac_exeext conftest.
$ac_ext
34817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34819 if test `eval echo '${'$as_ac_var'}'` = yes; then
34820 cat >>confdefs.h
<<_ACEOF
34821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34828 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34829 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34830 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34831 wxUSE_SNGLINST_CHECKER
=no
34836 for ac_func
in timegm
34838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34839 echo "$as_me:$LINENO: checking for $ac_func" >&5
34840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34841 if eval "test \"\${$as_ac_var+set}\" = set"; then
34842 echo $ECHO_N "(cached) $ECHO_C" >&6
34844 cat >conftest.
$ac_ext <<_ACEOF
34847 cat confdefs.h
>>conftest.
$ac_ext
34848 cat >>conftest.
$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34852 #define $ac_func innocuous_$ac_func
34854 /* System header to define __stub macros and hopefully few prototypes,
34855 which can conflict with char $ac_func (); below.
34856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34857 <limits.h> exists even on freestanding compilers. */
34860 # include <limits.h>
34862 # include <assert.h>
34867 /* Override any gcc2 internal prototype to avoid an error. */
34872 /* We use char because int might match the return type of a gcc2
34873 builtin and then its argument prototype would still apply. */
34875 /* The GNU C library defines this for functions which it implements
34876 to always fail with ENOSYS. Some functions are actually named
34877 something starting with __ and the normal name is an alias. */
34878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34881 char (*f) () = $ac_func;
34890 return f != $ac_func;
34895 rm -f conftest.
$ac_objext conftest
$ac_exeext
34896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34897 (eval $ac_link) 2>conftest.er1
34899 grep -v '^ *+' conftest.er1
>conftest.err
34901 cat conftest.err
>&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); } &&
34904 { ac_try
='test -z "$ac_c_werror_flag"
34905 || test ! -s conftest.err'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; } &&
34911 { ac_try
='test -s conftest$ac_exeext'
34912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34913 (eval $ac_try) 2>&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); }; }; then
34917 eval "$as_ac_var=yes"
34919 echo "$as_me: failed program was:" >&5
34920 sed 's/^/| /' conftest.
$ac_ext >&5
34922 eval "$as_ac_var=no"
34924 rm -f conftest.err conftest.
$ac_objext \
34925 conftest
$ac_exeext conftest.
$ac_ext
34927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34929 if test `eval echo '${'$as_ac_var'}'` = yes; then
34930 cat >>confdefs.h
<<_ACEOF
34931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34940 for ac_func
in putenv setenv
34942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34943 echo "$as_me:$LINENO: checking for $ac_func" >&5
34944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34945 if eval "test \"\${$as_ac_var+set}\" = set"; then
34946 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 cat >conftest.
$ac_ext <<_ACEOF
34951 cat confdefs.h
>>conftest.
$ac_ext
34952 cat >>conftest.
$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34956 #define $ac_func innocuous_$ac_func
34958 /* System header to define __stub macros and hopefully few prototypes,
34959 which can conflict with char $ac_func (); below.
34960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34961 <limits.h> exists even on freestanding compilers. */
34964 # include <limits.h>
34966 # include <assert.h>
34971 /* Override any gcc2 internal prototype to avoid an error. */
34976 /* We use char because int might match the return type of a gcc2
34977 builtin and then its argument prototype would still apply. */
34979 /* The GNU C library defines this for functions which it implements
34980 to always fail with ENOSYS. Some functions are actually named
34981 something starting with __ and the normal name is an alias. */
34982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34985 char (*f) () = $ac_func;
34994 return f != $ac_func;
34999 rm -f conftest.
$ac_objext conftest
$ac_exeext
35000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35001 (eval $ac_link) 2>conftest.er1
35003 grep -v '^ *+' conftest.er1
>conftest.err
35005 cat conftest.err
>&5
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); } &&
35008 { ac_try
='test -z "$ac_c_werror_flag"
35009 || test ! -s conftest.err'
35010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35011 (eval $ac_try) 2>&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); }; } &&
35015 { ac_try
='test -s conftest$ac_exeext'
35016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35017 (eval $ac_try) 2>&5
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); }; }; then
35021 eval "$as_ac_var=yes"
35023 echo "$as_me: failed program was:" >&5
35024 sed 's/^/| /' conftest.
$ac_ext >&5
35026 eval "$as_ac_var=no"
35028 rm -f conftest.err conftest.
$ac_objext \
35029 conftest
$ac_exeext conftest.
$ac_ext
35031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35033 if test `eval echo '${'$as_ac_var'}'` = yes; then
35034 cat >>confdefs.h
<<_ACEOF
35035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35042 HAVE_SOME_SLEEP_FUNC
=0
35043 if test "$USE_BEOS" = 1; then
35044 cat >>confdefs.h
<<\_ACEOF
35045 #define HAVE_SLEEP 1
35048 HAVE_SOME_SLEEP_FUNC
=1
35051 if test "$USE_DARWIN" = 1; then
35052 cat >>confdefs.h
<<\_ACEOF
35053 #define HAVE_USLEEP 1
35056 HAVE_SOME_SLEEP_FUNC
=1
35059 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35062 for ac_func
in nanosleep
35064 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35065 echo "$as_me:$LINENO: checking for $ac_func" >&5
35066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35067 if eval "test \"\${$as_ac_var+set}\" = set"; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 cat >conftest.
$ac_ext <<_ACEOF
35073 cat confdefs.h
>>conftest.
$ac_ext
35074 cat >>conftest.
$ac_ext <<_ACEOF
35075 /* end confdefs.h. */
35076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35078 #define $ac_func innocuous_$ac_func
35080 /* System header to define __stub macros and hopefully few prototypes,
35081 which can conflict with char $ac_func (); below.
35082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35083 <limits.h> exists even on freestanding compilers. */
35086 # include <limits.h>
35088 # include <assert.h>
35093 /* Override any gcc2 internal prototype to avoid an error. */
35098 /* We use char because int might match the return type of a gcc2
35099 builtin and then its argument prototype would still apply. */
35101 /* The GNU C library defines this for functions which it implements
35102 to always fail with ENOSYS. Some functions are actually named
35103 something starting with __ and the normal name is an alias. */
35104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35107 char (*f) () = $ac_func;
35116 return f != $ac_func;
35121 rm -f conftest.
$ac_objext conftest
$ac_exeext
35122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35123 (eval $ac_link) 2>conftest.er1
35125 grep -v '^ *+' conftest.er1
>conftest.err
35127 cat conftest.err
>&5
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); } &&
35130 { ac_try
='test -z "$ac_c_werror_flag"
35131 || test ! -s conftest.err'
35132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35133 (eval $ac_try) 2>&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); }; } &&
35137 { ac_try
='test -s conftest$ac_exeext'
35138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35139 (eval $ac_try) 2>&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); }; }; then
35143 eval "$as_ac_var=yes"
35145 echo "$as_me: failed program was:" >&5
35146 sed 's/^/| /' conftest.
$ac_ext >&5
35148 eval "$as_ac_var=no"
35150 rm -f conftest.err conftest.
$ac_objext \
35151 conftest
$ac_exeext conftest.
$ac_ext
35153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35155 if test `eval echo '${'$as_ac_var'}'` = yes; then
35156 cat >>confdefs.h
<<_ACEOF
35157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35159 cat >>confdefs.h
<<\_ACEOF
35160 #define HAVE_NANOSLEEP 1
35165 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35166 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35167 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35168 echo $ECHO_N "(cached) $ECHO_C" >&6
35170 ac_check_lib_save_LIBS
=$LIBS
35171 LIBS
="-lposix4 $LIBS"
35172 cat >conftest.
$ac_ext <<_ACEOF
35175 cat confdefs.h
>>conftest.
$ac_ext
35176 cat >>conftest.
$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35179 /* Override any gcc2 internal prototype to avoid an error. */
35183 /* We use char because int might match the return type of a gcc2
35184 builtin and then its argument prototype would still apply. */
35194 rm -f conftest.
$ac_objext conftest
$ac_exeext
35195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35196 (eval $ac_link) 2>conftest.er1
35198 grep -v '^ *+' conftest.er1
>conftest.err
35200 cat conftest.err
>&5
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); } &&
35203 { ac_try
='test -z "$ac_c_werror_flag"
35204 || test ! -s conftest.err'
35205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35206 (eval $ac_try) 2>&5
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); }; } &&
35210 { ac_try
='test -s conftest$ac_exeext'
35211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35212 (eval $ac_try) 2>&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); }; }; then
35216 ac_cv_lib_posix4_nanosleep
=yes
35218 echo "$as_me: failed program was:" >&5
35219 sed 's/^/| /' conftest.
$ac_ext >&5
35221 ac_cv_lib_posix4_nanosleep
=no
35223 rm -f conftest.err conftest.
$ac_objext \
35224 conftest
$ac_exeext conftest.
$ac_ext
35225 LIBS
=$ac_check_lib_save_LIBS
35227 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35228 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35229 if test $ac_cv_lib_posix4_nanosleep = yes; then
35231 cat >>confdefs.h
<<\_ACEOF
35232 #define HAVE_NANOSLEEP 1
35235 POSIX4_LINK
=" -lposix4"
35240 for ac_func
in usleep
35242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35243 echo "$as_me:$LINENO: checking for $ac_func" >&5
35244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35245 if eval "test \"\${$as_ac_var+set}\" = set"; then
35246 echo $ECHO_N "(cached) $ECHO_C" >&6
35248 cat >conftest.
$ac_ext <<_ACEOF
35251 cat confdefs.h
>>conftest.
$ac_ext
35252 cat >>conftest.
$ac_ext <<_ACEOF
35253 /* end confdefs.h. */
35254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35256 #define $ac_func innocuous_$ac_func
35258 /* System header to define __stub macros and hopefully few prototypes,
35259 which can conflict with char $ac_func (); below.
35260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35261 <limits.h> exists even on freestanding compilers. */
35264 # include <limits.h>
35266 # include <assert.h>
35271 /* Override any gcc2 internal prototype to avoid an error. */
35276 /* We use char because int might match the return type of a gcc2
35277 builtin and then its argument prototype would still apply. */
35279 /* The GNU C library defines this for functions which it implements
35280 to always fail with ENOSYS. Some functions are actually named
35281 something starting with __ and the normal name is an alias. */
35282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35285 char (*f) () = $ac_func;
35294 return f != $ac_func;
35299 rm -f conftest.
$ac_objext conftest
$ac_exeext
35300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35301 (eval $ac_link) 2>conftest.er1
35303 grep -v '^ *+' conftest.er1
>conftest.err
35305 cat conftest.err
>&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } &&
35308 { ac_try
='test -z "$ac_c_werror_flag"
35309 || test ! -s conftest.err'
35310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35311 (eval $ac_try) 2>&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); }; } &&
35315 { ac_try
='test -s conftest$ac_exeext'
35316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317 (eval $ac_try) 2>&5
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); }; }; then
35321 eval "$as_ac_var=yes"
35323 echo "$as_me: failed program was:" >&5
35324 sed 's/^/| /' conftest.
$ac_ext >&5
35326 eval "$as_ac_var=no"
35328 rm -f conftest.err conftest.
$ac_objext \
35329 conftest
$ac_exeext conftest.
$ac_ext
35331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35333 if test `eval echo '${'$as_ac_var'}'` = yes; then
35334 cat >>confdefs.h
<<_ACEOF
35335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35337 cat >>confdefs.h
<<\_ACEOF
35338 #define HAVE_USLEEP 1
35342 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35343 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35361 for ac_func
in uname gethostname
35363 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35364 echo "$as_me:$LINENO: checking for $ac_func" >&5
35365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35366 if eval "test \"\${$as_ac_var+set}\" = set"; then
35367 echo $ECHO_N "(cached) $ECHO_C" >&6
35369 cat >conftest.
$ac_ext <<_ACEOF
35372 cat confdefs.h
>>conftest.
$ac_ext
35373 cat >>conftest.
$ac_ext <<_ACEOF
35374 /* end confdefs.h. */
35375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35377 #define $ac_func innocuous_$ac_func
35379 /* System header to define __stub macros and hopefully few prototypes,
35380 which can conflict with char $ac_func (); below.
35381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35382 <limits.h> exists even on freestanding compilers. */
35385 # include <limits.h>
35387 # include <assert.h>
35392 /* Override any gcc2 internal prototype to avoid an error. */
35397 /* We use char because int might match the return type of a gcc2
35398 builtin and then its argument prototype would still apply. */
35400 /* The GNU C library defines this for functions which it implements
35401 to always fail with ENOSYS. Some functions are actually named
35402 something starting with __ and the normal name is an alias. */
35403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35406 char (*f) () = $ac_func;
35415 return f != $ac_func;
35420 rm -f conftest.
$ac_objext conftest
$ac_exeext
35421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35422 (eval $ac_link) 2>conftest.er1
35424 grep -v '^ *+' conftest.er1
>conftest.err
35426 cat conftest.err
>&5
35427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35428 (exit $ac_status); } &&
35429 { ac_try
='test -z "$ac_c_werror_flag"
35430 || test ! -s conftest.err'
35431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35432 (eval $ac_try) 2>&5
35434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435 (exit $ac_status); }; } &&
35436 { ac_try
='test -s conftest$ac_exeext'
35437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35438 (eval $ac_try) 2>&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); }; }; then
35442 eval "$as_ac_var=yes"
35444 echo "$as_me: failed program was:" >&5
35445 sed 's/^/| /' conftest.
$ac_ext >&5
35447 eval "$as_ac_var=no"
35449 rm -f conftest.err conftest.
$ac_objext \
35450 conftest
$ac_exeext conftest.
$ac_ext
35452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35454 if test `eval echo '${'$as_ac_var'}'` = yes; then
35455 cat >>confdefs.h
<<_ACEOF
35456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35466 ac_cpp
='$CXXCPP $CPPFLAGS'
35467 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35473 for ac_func
in strtok_r
35475 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35476 echo "$as_me:$LINENO: checking for $ac_func" >&5
35477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35478 if eval "test \"\${$as_ac_var+set}\" = set"; then
35479 echo $ECHO_N "(cached) $ECHO_C" >&6
35481 cat >conftest.
$ac_ext <<_ACEOF
35484 cat confdefs.h
>>conftest.
$ac_ext
35485 cat >>conftest.
$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35489 #define $ac_func innocuous_$ac_func
35491 /* System header to define __stub macros and hopefully few prototypes,
35492 which can conflict with char $ac_func (); below.
35493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35494 <limits.h> exists even on freestanding compilers. */
35497 # include <limits.h>
35499 # include <assert.h>
35504 /* Override any gcc2 internal prototype to avoid an error. */
35509 /* We use char because int might match the return type of a gcc2
35510 builtin and then its argument prototype would still apply. */
35512 /* The GNU C library defines this for functions which it implements
35513 to always fail with ENOSYS. Some functions are actually named
35514 something starting with __ and the normal name is an alias. */
35515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35518 char (*f) () = $ac_func;
35527 return f != $ac_func;
35532 rm -f conftest.
$ac_objext conftest
$ac_exeext
35533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35534 (eval $ac_link) 2>conftest.er1
35536 grep -v '^ *+' conftest.er1
>conftest.err
35538 cat conftest.err
>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); } &&
35541 { ac_try
='test -z "$ac_cxx_werror_flag"
35542 || test ! -s conftest.err'
35543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35544 (eval $ac_try) 2>&5
35546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547 (exit $ac_status); }; } &&
35548 { ac_try
='test -s conftest$ac_exeext'
35549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35550 (eval $ac_try) 2>&5
35552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553 (exit $ac_status); }; }; then
35554 eval "$as_ac_var=yes"
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.
$ac_ext >&5
35559 eval "$as_ac_var=no"
35561 rm -f conftest.err conftest.
$ac_objext \
35562 conftest
$ac_exeext conftest.
$ac_ext
35564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35566 if test `eval echo '${'$as_ac_var'}'` = yes; then
35567 cat >>confdefs.h
<<_ACEOF
35568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35576 ac_cpp
='$CPP $CPPFLAGS'
35577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35584 for ac_func
in inet_addr
35586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35587 echo "$as_me:$LINENO: checking for $ac_func" >&5
35588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35589 if eval "test \"\${$as_ac_var+set}\" = set"; then
35590 echo $ECHO_N "(cached) $ECHO_C" >&6
35592 cat >conftest.
$ac_ext <<_ACEOF
35595 cat confdefs.h
>>conftest.
$ac_ext
35596 cat >>conftest.
$ac_ext <<_ACEOF
35597 /* end confdefs.h. */
35598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35600 #define $ac_func innocuous_$ac_func
35602 /* System header to define __stub macros and hopefully few prototypes,
35603 which can conflict with char $ac_func (); below.
35604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35605 <limits.h> exists even on freestanding compilers. */
35608 # include <limits.h>
35610 # include <assert.h>
35615 /* Override any gcc2 internal prototype to avoid an error. */
35620 /* We use char because int might match the return type of a gcc2
35621 builtin and then its argument prototype would still apply. */
35623 /* The GNU C library defines this for functions which it implements
35624 to always fail with ENOSYS. Some functions are actually named
35625 something starting with __ and the normal name is an alias. */
35626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35629 char (*f) () = $ac_func;
35638 return f != $ac_func;
35643 rm -f conftest.
$ac_objext conftest
$ac_exeext
35644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35645 (eval $ac_link) 2>conftest.er1
35647 grep -v '^ *+' conftest.er1
>conftest.err
35649 cat conftest.err
>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); } &&
35652 { ac_try
='test -z "$ac_c_werror_flag"
35653 || test ! -s conftest.err'
35654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35655 (eval $ac_try) 2>&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); }; } &&
35659 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
35665 eval "$as_ac_var=yes"
35667 echo "$as_me: failed program was:" >&5
35668 sed 's/^/| /' conftest.
$ac_ext >&5
35670 eval "$as_ac_var=no"
35672 rm -f conftest.err conftest.
$ac_objext \
35673 conftest
$ac_exeext conftest.
$ac_ext
35675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35677 if test `eval echo '${'$as_ac_var'}'` = yes; then
35678 cat >>confdefs.h
<<_ACEOF
35679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35681 cat >>confdefs.h
<<\_ACEOF
35682 #define HAVE_INET_ADDR 1
35687 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35688 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35689 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35690 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 ac_check_lib_save_LIBS
=$LIBS
35694 cat >conftest.
$ac_ext <<_ACEOF
35697 cat confdefs.h
>>conftest.
$ac_ext
35698 cat >>conftest.
$ac_ext <<_ACEOF
35699 /* end confdefs.h. */
35701 /* Override any gcc2 internal prototype to avoid an error. */
35705 /* We use char because int might match the return type of a gcc2
35706 builtin and then its argument prototype would still apply. */
35716 rm -f conftest.
$ac_objext conftest
$ac_exeext
35717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35718 (eval $ac_link) 2>conftest.er1
35720 grep -v '^ *+' conftest.er1
>conftest.err
35722 cat conftest.err
>&5
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); } &&
35725 { ac_try
='test -z "$ac_c_werror_flag"
35726 || test ! -s conftest.err'
35727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35728 (eval $ac_try) 2>&5
35730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35731 (exit $ac_status); }; } &&
35732 { ac_try
='test -s conftest$ac_exeext'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; }; then
35738 ac_cv_lib_nsl_inet_addr
=yes
35740 echo "$as_me: failed program was:" >&5
35741 sed 's/^/| /' conftest.
$ac_ext >&5
35743 ac_cv_lib_nsl_inet_addr
=no
35745 rm -f conftest.err conftest.
$ac_objext \
35746 conftest
$ac_exeext conftest.
$ac_ext
35747 LIBS
=$ac_check_lib_save_LIBS
35749 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35750 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35751 if test $ac_cv_lib_nsl_inet_addr = yes; then
35755 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35756 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35757 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35758 echo $ECHO_N "(cached) $ECHO_C" >&6
35760 ac_check_lib_save_LIBS
=$LIBS
35761 LIBS
="-lresolv $LIBS"
35762 cat >conftest.
$ac_ext <<_ACEOF
35765 cat confdefs.h
>>conftest.
$ac_ext
35766 cat >>conftest.
$ac_ext <<_ACEOF
35767 /* end confdefs.h. */
35769 /* Override any gcc2 internal prototype to avoid an error. */
35773 /* We use char because int might match the return type of a gcc2
35774 builtin and then its argument prototype would still apply. */
35784 rm -f conftest.
$ac_objext conftest
$ac_exeext
35785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35786 (eval $ac_link) 2>conftest.er1
35788 grep -v '^ *+' conftest.er1
>conftest.err
35790 cat conftest.err
>&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } &&
35793 { ac_try
='test -z "$ac_c_werror_flag"
35794 || test ! -s conftest.err'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; } &&
35800 { ac_try
='test -s conftest$ac_exeext'
35801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35802 (eval $ac_try) 2>&5
35804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35805 (exit $ac_status); }; }; then
35806 ac_cv_lib_resolv_inet_addr
=yes
35808 echo "$as_me: failed program was:" >&5
35809 sed 's/^/| /' conftest.
$ac_ext >&5
35811 ac_cv_lib_resolv_inet_addr
=no
35813 rm -f conftest.err conftest.
$ac_objext \
35814 conftest
$ac_exeext conftest.
$ac_ext
35815 LIBS
=$ac_check_lib_save_LIBS
35817 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35818 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35819 if test $ac_cv_lib_resolv_inet_addr = yes; then
35823 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35824 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35825 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35826 echo $ECHO_N "(cached) $ECHO_C" >&6
35828 ac_check_lib_save_LIBS
=$LIBS
35829 LIBS
="-lsocket $LIBS"
35830 cat >conftest.
$ac_ext <<_ACEOF
35833 cat confdefs.h
>>conftest.
$ac_ext
35834 cat >>conftest.
$ac_ext <<_ACEOF
35835 /* end confdefs.h. */
35837 /* Override any gcc2 internal prototype to avoid an error. */
35841 /* We use char because int might match the return type of a gcc2
35842 builtin and then its argument prototype would still apply. */
35852 rm -f conftest.
$ac_objext conftest
$ac_exeext
35853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35854 (eval $ac_link) 2>conftest.er1
35856 grep -v '^ *+' conftest.er1
>conftest.err
35858 cat conftest.err
>&5
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); } &&
35861 { ac_try
='test -z "$ac_c_werror_flag"
35862 || test ! -s conftest.err'
35863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35864 (eval $ac_try) 2>&5
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); }; } &&
35868 { ac_try
='test -s conftest$ac_exeext'
35869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870 (eval $ac_try) 2>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); }; }; then
35874 ac_cv_lib_socket_inet_addr
=yes
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.
$ac_ext >&5
35879 ac_cv_lib_socket_inet_addr
=no
35881 rm -f conftest.err conftest.
$ac_objext \
35882 conftest
$ac_exeext conftest.
$ac_ext
35883 LIBS
=$ac_check_lib_save_LIBS
35885 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35886 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35887 if test $ac_cv_lib_socket_inet_addr = yes; then
35907 for ac_func
in inet_aton
35909 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35910 echo "$as_me:$LINENO: checking for $ac_func" >&5
35911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35912 if eval "test \"\${$as_ac_var+set}\" = set"; then
35913 echo $ECHO_N "(cached) $ECHO_C" >&6
35915 cat >conftest.
$ac_ext <<_ACEOF
35918 cat confdefs.h
>>conftest.
$ac_ext
35919 cat >>conftest.
$ac_ext <<_ACEOF
35920 /* end confdefs.h. */
35921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35923 #define $ac_func innocuous_$ac_func
35925 /* System header to define __stub macros and hopefully few prototypes,
35926 which can conflict with char $ac_func (); below.
35927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35928 <limits.h> exists even on freestanding compilers. */
35931 # include <limits.h>
35933 # include <assert.h>
35938 /* Override any gcc2 internal prototype to avoid an error. */
35943 /* We use char because int might match the return type of a gcc2
35944 builtin and then its argument prototype would still apply. */
35946 /* The GNU C library defines this for functions which it implements
35947 to always fail with ENOSYS. Some functions are actually named
35948 something starting with __ and the normal name is an alias. */
35949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35952 char (*f) () = $ac_func;
35961 return f != $ac_func;
35966 rm -f conftest.
$ac_objext conftest
$ac_exeext
35967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35968 (eval $ac_link) 2>conftest.er1
35970 grep -v '^ *+' conftest.er1
>conftest.err
35972 cat conftest.err
>&5
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); } &&
35975 { ac_try
='test -z "$ac_c_werror_flag"
35976 || test ! -s conftest.err'
35977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35978 (eval $ac_try) 2>&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); }; } &&
35982 { ac_try
='test -s conftest$ac_exeext'
35983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35984 (eval $ac_try) 2>&5
35986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35987 (exit $ac_status); }; }; then
35988 eval "$as_ac_var=yes"
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.
$ac_ext >&5
35993 eval "$as_ac_var=no"
35995 rm -f conftest.err conftest.
$ac_objext \
35996 conftest
$ac_exeext conftest.
$ac_ext
35998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36000 if test `eval echo '${'$as_ac_var'}'` = yes; then
36001 cat >>confdefs.h
<<_ACEOF
36002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36004 cat >>confdefs.h
<<\_ACEOF
36005 #define HAVE_INET_ATON 1
36010 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36011 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36012 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36013 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36016 ac_check_lib_save_LIBS
=$LIBS
36017 LIBS
="-l$INET_LINK $LIBS"
36018 cat >conftest.
$ac_ext <<_ACEOF
36021 cat confdefs.h
>>conftest.
$ac_ext
36022 cat >>conftest.
$ac_ext <<_ACEOF
36023 /* end confdefs.h. */
36025 /* Override any gcc2 internal prototype to avoid an error. */
36029 /* We use char because int might match the return type of a gcc2
36030 builtin and then its argument prototype would still apply. */
36040 rm -f conftest.
$ac_objext conftest
$ac_exeext
36041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36042 (eval $ac_link) 2>conftest.er1
36044 grep -v '^ *+' conftest.er1
>conftest.err
36046 cat conftest.err
>&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); } &&
36049 { ac_try
='test -z "$ac_c_werror_flag"
36050 || test ! -s conftest.err'
36051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36052 (eval $ac_try) 2>&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); }; } &&
36056 { ac_try
='test -s conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 eval "$as_ac_Lib=yes"
36064 echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.
$ac_ext >&5
36067 eval "$as_ac_Lib=no"
36069 rm -f conftest.err conftest.
$ac_objext \
36070 conftest
$ac_exeext conftest.
$ac_ext
36071 LIBS
=$ac_check_lib_save_LIBS
36073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36074 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36075 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36076 cat >>confdefs.h
<<\_ACEOF
36077 #define HAVE_INET_ATON 1
36087 if test "x$INET_LINK" != "x"; then
36088 cat >>confdefs.h
<<\_ACEOF
36089 #define HAVE_INET_ADDR 1
36092 INET_LINK
=" -l$INET_LINK"
36100 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36101 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36102 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36103 echo $ECHO_N "(cached) $ECHO_C" >&6
36105 ac_check_lib_save_LIBS
=$LIBS
36107 cat >conftest.
$ac_ext <<_ACEOF
36110 cat confdefs.h
>>conftest.
$ac_ext
36111 cat >>conftest.
$ac_ext <<_ACEOF
36112 /* end confdefs.h. */
36114 /* Override any gcc2 internal prototype to avoid an error. */
36118 /* We use char because int might match the return type of a gcc2
36119 builtin and then its argument prototype would still apply. */
36129 rm -f conftest.
$ac_objext conftest
$ac_exeext
36130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36131 (eval $ac_link) 2>conftest.er1
36133 grep -v '^ *+' conftest.er1
>conftest.err
36135 cat conftest.err
>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } &&
36138 { ac_try
='test -z "$ac_c_werror_flag"
36139 || 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"
36201 || test ! -s conftest.err'
36202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36203 (eval $ac_try) 2>&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); }; } &&
36207 { ac_try
='test -s conftest.$ac_objext'
36208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36209 (eval $ac_try) 2>&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); }; }; then
36213 ac_header_compiler
=yes
36215 echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.
$ac_ext >&5
36218 ac_header_compiler
=no
36220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36222 echo "${ECHO_T}$ac_header_compiler" >&6
36224 # Is the header present?
36225 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36227 cat >conftest.
$ac_ext <<_ACEOF
36230 cat confdefs.h
>>conftest.
$ac_ext
36231 cat >>conftest.
$ac_ext <<_ACEOF
36232 /* end confdefs.h. */
36233 #include <$ac_header>
36235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36236 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36238 grep -v '^ *+' conftest.er1
>conftest.err
36240 cat conftest.err
>&5
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); } >/dev
/null
; then
36243 if test -s conftest.err
; then
36244 ac_cpp_err
=$ac_c_preproc_warn_flag
36245 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36252 if test -z "$ac_cpp_err"; then
36253 ac_header_preproc
=yes
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.
$ac_ext >&5
36258 ac_header_preproc
=no
36260 rm -f conftest.err conftest.
$ac_ext
36261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36262 echo "${ECHO_T}$ac_header_preproc" >&6
36264 # So? What about this header?
36265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36267 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36268 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36270 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36271 ac_header_preproc
=yes
36274 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36276 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36277 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36278 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36279 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36280 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36281 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36284 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36285 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36288 ## ----------------------------------------- ##
36289 ## Report this to wx-dev@lists.wxwidgets.org ##
36290 ## ----------------------------------------- ##
36293 sed "s/^/$as_me: WARNING: /" >&2
36296 echo "$as_me:$LINENO: checking for $ac_header" >&5
36297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36299 echo $ECHO_N "(cached) $ECHO_C" >&6
36301 eval "$as_ac_Header=\$ac_header_preproc"
36303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36308 cat >>confdefs.h
<<_ACEOF
36309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36312 EXTRALIBS_ESD
="-lesd"
36323 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36324 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36325 cat >conftest.
$ac_ext <<_ACEOF
36328 cat confdefs.h
>>conftest.
$ac_ext
36329 cat >>conftest.
$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36332 #include <linux/cdrom.h>
36335 #include <sys/cdio.h>
36341 struct cdrom_tocentry entry, old_entry;
36346 rm -f conftest.
$ac_objext
36347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36348 (eval $ac_compile) 2>conftest.er1
36350 grep -v '^ *+' conftest.er1
>conftest.err
36352 cat conftest.err
>&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); } &&
36355 { ac_try
='test -z "$ac_c_werror_flag"
36356 || test ! -s conftest.err'
36357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36358 (eval $ac_try) 2>&5
36360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36361 (exit $ac_status); }; } &&
36362 { ac_try
='test -s conftest.$ac_objext'
36363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36364 (eval $ac_try) 2>&5
36366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36367 (exit $ac_status); }; }; then
36368 echo "$as_me:$LINENO: result: yes" >&5
36369 echo "${ECHO_T}yes" >&6
36370 cat >>confdefs.h
<<\_ACEOF
36371 #define HAVE_KNOWN_CDROM_INTERFACE 1
36375 echo "$as_me: failed program was:" >&5
36376 sed 's/^/| /' conftest.
$ac_ext >&5
36378 echo "$as_me:$LINENO: result: no" >&5
36379 echo "${ECHO_T}no" >&6
36381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36384 cat >confcache
<<\_ACEOF
36385 # This file is a shell script that caches the results of configure
36386 # tests run on this system so they can be shared between configure
36387 # scripts and configure runs, see configure's option --config-cache.
36388 # It is not useful on other systems. If it contains results you don't
36389 # want to keep, you may remove or edit it.
36391 # config.status only pays attention to the cache file if you give it
36392 # the --recheck option to rerun configure.
36394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36396 # following values.
36400 # The following way of writing the cache mishandles newlines in values,
36401 # but we know of no workaround that is simple, portable, and efficient.
36402 # So, don't put newlines in cache variables' values.
36403 # Ultrix sh set writes to stderr and can't be redirected directly,
36404 # and sets the high bit in the cache file unless we assign to the vars.
36407 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36409 # `set' does not quote correctly, so add quotes (double-quote
36410 # substitution turns \\\\ into \\, and sed turns \\ into \).
36413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36416 # `set' quotes correctly as required by POSIX, so do not add quotes.
36418 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36425 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36427 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36429 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36430 if test -w $cache_file; then
36431 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36432 cat confcache
>$cache_file
36434 echo "not updating unwritable cache $cache_file"
36441 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36447 if test "$wxUSE_THREADS" = "yes" ; then
36448 if test "$USE_BEOS" = 1; then
36449 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36450 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36455 if test "$wxUSE_THREADS" = "yes" ; then
36458 THREAD_OPTS
="-pthread"
36460 *-*-solaris2* | *-*-sunos4* )
36461 if test "x$GCC" = "xyes"; then
36462 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36464 THREAD_OPTS
="-mt $THREAD_OPTS"
36468 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36470 *-*-darwin* | *-*-cygwin* )
36474 THREAD_OPTS
="pthreads"
36477 if test "x$GCC" = "xyes"; then
36478 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36486 if test "x$GCC" = "xyes"; then
36492 if test "x$GCC" != "xyes"; then
36493 THREAD_OPTS
="-Ethread"
36498 THREAD_OPTS
="$THREAD_OPTS pthread none"
36501 for flag
in $THREAD_OPTS; do
36504 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36505 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36509 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36510 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36511 THREADS_CFLAGS
="$flag"
36515 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36516 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36517 THREADS_LINK
="-l$flag"
36522 save_CFLAGS
="$CFLAGS"
36523 LIBS
="$THREADS_LINK $LIBS"
36524 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36526 cat >conftest.
$ac_ext <<_ACEOF
36529 cat confdefs.h
>>conftest.
$ac_ext
36530 cat >>conftest.
$ac_ext <<_ACEOF
36531 /* end confdefs.h. */
36532 #include <pthread.h>
36536 pthread_create(0,0,0,0);
36541 rm -f conftest.
$ac_objext conftest
$ac_exeext
36542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36543 (eval $ac_link) 2>conftest.er1
36545 grep -v '^ *+' conftest.er1
>conftest.err
36547 cat conftest.err
>&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); } &&
36550 { ac_try
='test -z "$ac_c_werror_flag"
36551 || test ! -s conftest.err'
36552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36553 (eval $ac_try) 2>&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); }; } &&
36557 { ac_try
='test -s conftest$ac_exeext'
36558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36559 (eval $ac_try) 2>&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); }; }; then
36565 echo "$as_me: failed program was:" >&5
36566 sed 's/^/| /' conftest.
$ac_ext >&5
36569 rm -f conftest.err conftest.
$ac_objext \
36570 conftest
$ac_exeext conftest.
$ac_ext
36573 CFLAGS
="$save_CFLAGS"
36575 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36576 echo "${ECHO_T}$THREADS_OK" >&6
36577 if test "x$THREADS_OK" = "xyes"; then
36585 if test "x$THREADS_OK" != "xyes"; then
36587 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36588 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36590 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36591 LIBS
="$THREADS_LINK $LIBS"
36593 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36594 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36598 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
36599 flag
="-D_THREAD_SAFE"
36602 flag
="-D_THREAD_SAFE"
36605 flag
="-D_REENTRANT"
36606 if test "x$GCC" != "xyes"; then
36607 flag
="$flag -D_RWSTD_MULTI_THREAD"
36610 *solaris
* | alpha
*-osf*)
36611 flag
="-D_REENTRANT"
36614 echo "$as_me:$LINENO: result: ${flag}" >&5
36615 echo "${ECHO_T}${flag}" >&6
36616 if test "x$flag" != xno
; then
36617 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
36620 if test "x$THREADS_CFLAGS" != "x"; then
36621 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
36622 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
36627 if test "$wxUSE_THREADS" = "yes" ; then
36629 for ac_func
in thr_setconcurrency
36631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36632 echo "$as_me:$LINENO: checking for $ac_func" >&5
36633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36634 if eval "test \"\${$as_ac_var+set}\" = set"; then
36635 echo $ECHO_N "(cached) $ECHO_C" >&6
36637 cat >conftest.
$ac_ext <<_ACEOF
36640 cat confdefs.h
>>conftest.
$ac_ext
36641 cat >>conftest.
$ac_ext <<_ACEOF
36642 /* end confdefs.h. */
36643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36645 #define $ac_func innocuous_$ac_func
36647 /* System header to define __stub macros and hopefully few prototypes,
36648 which can conflict with char $ac_func (); below.
36649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36650 <limits.h> exists even on freestanding compilers. */
36653 # include <limits.h>
36655 # include <assert.h>
36660 /* Override any gcc2 internal prototype to avoid an error. */
36665 /* We use char because int might match the return type of a gcc2
36666 builtin and then its argument prototype would still apply. */
36668 /* The GNU C library defines this for functions which it implements
36669 to always fail with ENOSYS. Some functions are actually named
36670 something starting with __ and the normal name is an alias. */
36671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36674 char (*f) () = $ac_func;
36683 return f != $ac_func;
36688 rm -f conftest.
$ac_objext conftest
$ac_exeext
36689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36690 (eval $ac_link) 2>conftest.er1
36692 grep -v '^ *+' conftest.er1
>conftest.err
36694 cat conftest.err
>&5
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); } &&
36697 { ac_try
='test -z "$ac_c_werror_flag"
36698 || test ! -s conftest.err'
36699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36700 (eval $ac_try) 2>&5
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); }; } &&
36704 { ac_try
='test -s conftest$ac_exeext'
36705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36706 (eval $ac_try) 2>&5
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); }; }; then
36710 eval "$as_ac_var=yes"
36712 echo "$as_me: failed program was:" >&5
36713 sed 's/^/| /' conftest.
$ac_ext >&5
36715 eval "$as_ac_var=no"
36717 rm -f conftest.err conftest.
$ac_objext \
36718 conftest
$ac_exeext conftest.
$ac_ext
36720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36722 if test `eval echo '${'$as_ac_var'}'` = yes; then
36723 cat >>confdefs.h
<<_ACEOF
36724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36731 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36732 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36733 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36734 echo $ECHO_N "(cached) $ECHO_C" >&6
36737 cat >conftest.
$ac_ext <<_ACEOF
36740 cat confdefs.h
>>conftest.
$ac_ext
36741 cat >>conftest.
$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 #include <pthread.h>
36744 void ThreadCleanupFunc(void *p);
36751 pthread_cleanup_push(ThreadCleanupFunc, p);
36752 pthread_cleanup_pop(0);
36758 rm -f conftest.
$ac_objext
36759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36760 (eval $ac_compile) 2>conftest.er1
36762 grep -v '^ *+' conftest.er1
>conftest.err
36764 cat conftest.err
>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); } &&
36767 { ac_try
='test -z "$ac_c_werror_flag"
36768 || test ! -s conftest.err'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; } &&
36774 { ac_try
='test -s conftest.$ac_objext'
36775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36776 (eval $ac_try) 2>&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); }; }; then
36781 wx_cv_func_pthread_cleanup
=yes
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.
$ac_ext >&5
36788 wx_cv_func_pthread_cleanup
=no
36792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36795 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36796 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36797 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36798 cat >>confdefs.h
<<\_ACEOF
36799 #define wxHAVE_PTHREAD_CLEANUP 1
36805 for ac_header
in sched.h
36807 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36809 echo "$as_me:$LINENO: checking for $ac_header" >&5
36810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36812 echo $ECHO_N "(cached) $ECHO_C" >&6
36814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36817 # Is the header compilable?
36818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36820 cat >conftest.
$ac_ext <<_ACEOF
36823 cat confdefs.h
>>conftest.
$ac_ext
36824 cat >>conftest.
$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36826 $ac_includes_default
36827 #include <$ac_header>
36829 rm -f conftest.
$ac_objext
36830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36831 (eval $ac_compile) 2>conftest.er1
36833 grep -v '^ *+' conftest.er1
>conftest.err
36835 cat conftest.err
>&5
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); } &&
36838 { ac_try
='test -z "$ac_c_werror_flag"
36839 || test ! -s conftest.err'
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); }; } &&
36845 { ac_try
='test -s conftest.$ac_objext'
36846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36847 (eval $ac_try) 2>&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); }; }; then
36851 ac_header_compiler
=yes
36853 echo "$as_me: failed program was:" >&5
36854 sed 's/^/| /' conftest.
$ac_ext >&5
36856 ac_header_compiler
=no
36858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36860 echo "${ECHO_T}$ac_header_compiler" >&6
36862 # Is the header present?
36863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36865 cat >conftest.
$ac_ext <<_ACEOF
36868 cat confdefs.h
>>conftest.
$ac_ext
36869 cat >>conftest.
$ac_ext <<_ACEOF
36870 /* end confdefs.h. */
36871 #include <$ac_header>
36873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36876 grep -v '^ *+' conftest.er1
>conftest.err
36878 cat conftest.err
>&5
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); } >/dev
/null
; then
36881 if test -s conftest.err
; then
36882 ac_cpp_err
=$ac_c_preproc_warn_flag
36883 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36890 if test -z "$ac_cpp_err"; then
36891 ac_header_preproc
=yes
36893 echo "$as_me: failed program was:" >&5
36894 sed 's/^/| /' conftest.
$ac_ext >&5
36896 ac_header_preproc
=no
36898 rm -f conftest.err conftest.
$ac_ext
36899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36900 echo "${ECHO_T}$ac_header_preproc" >&6
36902 # So? What about this header?
36903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36909 ac_header_preproc
=yes
36912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36926 ## ----------------------------------------- ##
36927 ## Report this to wx-dev@lists.wxwidgets.org ##
36928 ## ----------------------------------------- ##
36931 sed "s/^/$as_me: WARNING: /" >&2
36934 echo "$as_me:$LINENO: checking for $ac_header" >&5
36935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 eval "$as_ac_Header=\$ac_header_preproc"
36941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36946 cat >>confdefs.h
<<_ACEOF
36947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36954 if test "$ac_cv_header_sched_h" = "yes"; then
36955 echo "$as_me:$LINENO: checking for sched_yield" >&5
36956 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36957 if test "${ac_cv_func_sched_yield+set}" = set; then
36958 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 cat >conftest.
$ac_ext <<_ACEOF
36963 cat confdefs.h
>>conftest.
$ac_ext
36964 cat >>conftest.
$ac_ext <<_ACEOF
36965 /* end confdefs.h. */
36966 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36968 #define sched_yield innocuous_sched_yield
36970 /* System header to define __stub macros and hopefully few prototypes,
36971 which can conflict with char sched_yield (); below.
36972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36973 <limits.h> exists even on freestanding compilers. */
36976 # include <limits.h>
36978 # include <assert.h>
36983 /* Override any gcc2 internal prototype to avoid an error. */
36988 /* We use char because int might match the return type of a gcc2
36989 builtin and then its argument prototype would still apply. */
36990 char sched_yield ();
36991 /* The GNU C library defines this for functions which it implements
36992 to always fail with ENOSYS. Some functions are actually named
36993 something starting with __ and the normal name is an alias. */
36994 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36997 char (*f) () = sched_yield;
37006 return f != sched_yield;
37011 rm -f conftest.
$ac_objext conftest
$ac_exeext
37012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37013 (eval $ac_link) 2>conftest.er1
37015 grep -v '^ *+' conftest.er1
>conftest.err
37017 cat conftest.err
>&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); } &&
37020 { ac_try
='test -z "$ac_c_werror_flag"
37021 || test ! -s conftest.err'
37022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37023 (eval $ac_try) 2>&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); }; } &&
37027 { ac_try
='test -s conftest$ac_exeext'
37028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37029 (eval $ac_try) 2>&5
37031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032 (exit $ac_status); }; }; then
37033 ac_cv_func_sched_yield
=yes
37035 echo "$as_me: failed program was:" >&5
37036 sed 's/^/| /' conftest.
$ac_ext >&5
37038 ac_cv_func_sched_yield
=no
37040 rm -f conftest.err conftest.
$ac_objext \
37041 conftest
$ac_exeext conftest.
$ac_ext
37043 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37044 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37045 if test $ac_cv_func_sched_yield = yes; then
37046 cat >>confdefs.h
<<\_ACEOF
37047 #define HAVE_SCHED_YIELD 1
37052 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37053 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37054 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37055 echo $ECHO_N "(cached) $ECHO_C" >&6
37057 ac_check_lib_save_LIBS
=$LIBS
37058 LIBS
="-lposix4 $LIBS"
37059 cat >conftest.
$ac_ext <<_ACEOF
37062 cat confdefs.h
>>conftest.
$ac_ext
37063 cat >>conftest.
$ac_ext <<_ACEOF
37064 /* end confdefs.h. */
37066 /* Override any gcc2 internal prototype to avoid an error. */
37070 /* We use char because int might match the return type of a gcc2
37071 builtin and then its argument prototype would still apply. */
37072 char sched_yield ();
37081 rm -f conftest.
$ac_objext conftest
$ac_exeext
37082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37083 (eval $ac_link) 2>conftest.er1
37085 grep -v '^ *+' conftest.er1
>conftest.err
37087 cat conftest.err
>&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } &&
37090 { ac_try
='test -z "$ac_c_werror_flag"
37091 || test ! -s conftest.err'
37092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37093 (eval $ac_try) 2>&5
37095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37096 (exit $ac_status); }; } &&
37097 { ac_try
='test -s conftest$ac_exeext'
37098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37099 (eval $ac_try) 2>&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); }; }; then
37103 ac_cv_lib_posix4_sched_yield
=yes
37105 echo "$as_me: failed program was:" >&5
37106 sed 's/^/| /' conftest.
$ac_ext >&5
37108 ac_cv_lib_posix4_sched_yield
=no
37110 rm -f conftest.err conftest.
$ac_objext \
37111 conftest
$ac_exeext conftest.
$ac_ext
37112 LIBS
=$ac_check_lib_save_LIBS
37114 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37115 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37116 if test $ac_cv_lib_posix4_sched_yield = yes; then
37117 cat >>confdefs.h
<<\_ACEOF
37118 #define HAVE_SCHED_YIELD 1
37120 POSIX4_LINK
=" -lposix4"
37122 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37123 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37134 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37135 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37136 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37137 echo $ECHO_N "(cached) $ECHO_C" >&6
37139 cat >conftest.
$ac_ext <<_ACEOF
37142 cat confdefs.h
>>conftest.
$ac_ext
37143 cat >>conftest.
$ac_ext <<_ACEOF
37144 /* end confdefs.h. */
37145 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37147 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37149 /* System header to define __stub macros and hopefully few prototypes,
37150 which can conflict with char pthread_attr_getschedpolicy (); below.
37151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37152 <limits.h> exists even on freestanding compilers. */
37155 # include <limits.h>
37157 # include <assert.h>
37160 #undef pthread_attr_getschedpolicy
37162 /* Override any gcc2 internal prototype to avoid an error. */
37167 /* We use char because int might match the return type of a gcc2
37168 builtin and then its argument prototype would still apply. */
37169 char pthread_attr_getschedpolicy ();
37170 /* The GNU C library defines this for functions which it implements
37171 to always fail with ENOSYS. Some functions are actually named
37172 something starting with __ and the normal name is an alias. */
37173 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37176 char (*f) () = pthread_attr_getschedpolicy;
37185 return f != pthread_attr_getschedpolicy;
37190 rm -f conftest.
$ac_objext conftest
$ac_exeext
37191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37192 (eval $ac_link) 2>conftest.er1
37194 grep -v '^ *+' conftest.er1
>conftest.err
37196 cat conftest.err
>&5
37197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 (exit $ac_status); } &&
37199 { ac_try
='test -z "$ac_c_werror_flag"
37200 || test ! -s conftest.err'
37201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37202 (eval $ac_try) 2>&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); }; } &&
37206 { ac_try
='test -s conftest$ac_exeext'
37207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208 (eval $ac_try) 2>&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); }; }; then
37212 ac_cv_func_pthread_attr_getschedpolicy
=yes
37214 echo "$as_me: failed program was:" >&5
37215 sed 's/^/| /' conftest.
$ac_ext >&5
37217 ac_cv_func_pthread_attr_getschedpolicy
=no
37219 rm -f conftest.err conftest.
$ac_objext \
37220 conftest
$ac_exeext conftest.
$ac_ext
37222 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37223 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37224 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37225 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37226 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37227 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37228 echo $ECHO_N "(cached) $ECHO_C" >&6
37230 cat >conftest.
$ac_ext <<_ACEOF
37233 cat confdefs.h
>>conftest.
$ac_ext
37234 cat >>conftest.
$ac_ext <<_ACEOF
37235 /* end confdefs.h. */
37236 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37238 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37240 /* System header to define __stub macros and hopefully few prototypes,
37241 which can conflict with char pthread_attr_setschedparam (); below.
37242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37243 <limits.h> exists even on freestanding compilers. */
37246 # include <limits.h>
37248 # include <assert.h>
37251 #undef pthread_attr_setschedparam
37253 /* Override any gcc2 internal prototype to avoid an error. */
37258 /* We use char because int might match the return type of a gcc2
37259 builtin and then its argument prototype would still apply. */
37260 char pthread_attr_setschedparam ();
37261 /* The GNU C library defines this for functions which it implements
37262 to always fail with ENOSYS. Some functions are actually named
37263 something starting with __ and the normal name is an alias. */
37264 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37267 char (*f) () = pthread_attr_setschedparam;
37276 return f != pthread_attr_setschedparam;
37281 rm -f conftest.
$ac_objext conftest
$ac_exeext
37282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37283 (eval $ac_link) 2>conftest.er1
37285 grep -v '^ *+' conftest.er1
>conftest.err
37287 cat conftest.err
>&5
37288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37289 (exit $ac_status); } &&
37290 { ac_try
='test -z "$ac_c_werror_flag"
37291 || test ! -s conftest.err'
37292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37293 (eval $ac_try) 2>&5
37295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37296 (exit $ac_status); }; } &&
37297 { ac_try
='test -s conftest$ac_exeext'
37298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37299 (eval $ac_try) 2>&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); }; }; then
37303 ac_cv_func_pthread_attr_setschedparam
=yes
37305 echo "$as_me: failed program was:" >&5
37306 sed 's/^/| /' conftest.
$ac_ext >&5
37308 ac_cv_func_pthread_attr_setschedparam
=no
37310 rm -f conftest.err conftest.
$ac_objext \
37311 conftest
$ac_exeext conftest.
$ac_ext
37313 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37314 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37315 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37316 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37317 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37318 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37319 echo $ECHO_N "(cached) $ECHO_C" >&6
37321 cat >conftest.
$ac_ext <<_ACEOF
37324 cat confdefs.h
>>conftest.
$ac_ext
37325 cat >>conftest.
$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37329 #define sched_get_priority_max innocuous_sched_get_priority_max
37331 /* System header to define __stub macros and hopefully few prototypes,
37332 which can conflict with char sched_get_priority_max (); below.
37333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37334 <limits.h> exists even on freestanding compilers. */
37337 # include <limits.h>
37339 # include <assert.h>
37342 #undef sched_get_priority_max
37344 /* Override any gcc2 internal prototype to avoid an error. */
37349 /* We use char because int might match the return type of a gcc2
37350 builtin and then its argument prototype would still apply. */
37351 char sched_get_priority_max ();
37352 /* The GNU C library defines this for functions which it implements
37353 to always fail with ENOSYS. Some functions are actually named
37354 something starting with __ and the normal name is an alias. */
37355 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37358 char (*f) () = sched_get_priority_max;
37367 return f != sched_get_priority_max;
37372 rm -f conftest.
$ac_objext conftest
$ac_exeext
37373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37374 (eval $ac_link) 2>conftest.er1
37376 grep -v '^ *+' conftest.er1
>conftest.err
37378 cat conftest.err
>&5
37379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37380 (exit $ac_status); } &&
37381 { ac_try
='test -z "$ac_c_werror_flag"
37382 || test ! -s conftest.err'
37383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37384 (eval $ac_try) 2>&5
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); }; } &&
37388 { ac_try
='test -s conftest$ac_exeext'
37389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37390 (eval $ac_try) 2>&5
37392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393 (exit $ac_status); }; }; then
37394 ac_cv_func_sched_get_priority_max
=yes
37396 echo "$as_me: failed program was:" >&5
37397 sed 's/^/| /' conftest.
$ac_ext >&5
37399 ac_cv_func_sched_get_priority_max
=no
37401 rm -f conftest.err conftest.
$ac_objext \
37402 conftest
$ac_exeext conftest.
$ac_ext
37404 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37405 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37406 if test $ac_cv_func_sched_get_priority_max = yes; then
37409 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37410 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37411 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37412 echo $ECHO_N "(cached) $ECHO_C" >&6
37414 ac_check_lib_save_LIBS
=$LIBS
37415 LIBS
="-lposix4 $LIBS"
37416 cat >conftest.
$ac_ext <<_ACEOF
37419 cat confdefs.h
>>conftest.
$ac_ext
37420 cat >>conftest.
$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37423 /* Override any gcc2 internal prototype to avoid an error. */
37427 /* We use char because int might match the return type of a gcc2
37428 builtin and then its argument prototype would still apply. */
37429 char sched_get_priority_max ();
37433 sched_get_priority_max ();
37438 rm -f conftest.
$ac_objext conftest
$ac_exeext
37439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37440 (eval $ac_link) 2>conftest.er1
37442 grep -v '^ *+' conftest.er1
>conftest.err
37444 cat conftest.err
>&5
37445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37446 (exit $ac_status); } &&
37447 { ac_try
='test -z "$ac_c_werror_flag"
37448 || test ! -s conftest.err'
37449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37450 (eval $ac_try) 2>&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); }; } &&
37454 { ac_try
='test -s conftest$ac_exeext'
37455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37456 (eval $ac_try) 2>&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); }; }; then
37460 ac_cv_lib_posix4_sched_get_priority_max
=yes
37462 echo "$as_me: failed program was:" >&5
37463 sed 's/^/| /' conftest.
$ac_ext >&5
37465 ac_cv_lib_posix4_sched_get_priority_max
=no
37467 rm -f conftest.err conftest.
$ac_objext \
37468 conftest
$ac_exeext conftest.
$ac_ext
37469 LIBS
=$ac_check_lib_save_LIBS
37471 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37472 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37473 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37476 POSIX4_LINK
=" -lposix4"
37490 if test "$HAVE_PRIOR_FUNCS" = 1; then
37491 cat >>confdefs.h
<<\_ACEOF
37492 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37496 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37497 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37500 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37501 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37502 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37503 echo $ECHO_N "(cached) $ECHO_C" >&6
37505 cat >conftest.
$ac_ext <<_ACEOF
37508 cat confdefs.h
>>conftest.
$ac_ext
37509 cat >>conftest.
$ac_ext <<_ACEOF
37510 /* end confdefs.h. */
37511 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37513 #define pthread_cancel innocuous_pthread_cancel
37515 /* System header to define __stub macros and hopefully few prototypes,
37516 which can conflict with char pthread_cancel (); below.
37517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37518 <limits.h> exists even on freestanding compilers. */
37521 # include <limits.h>
37523 # include <assert.h>
37526 #undef pthread_cancel
37528 /* Override any gcc2 internal prototype to avoid an error. */
37533 /* We use char because int might match the return type of a gcc2
37534 builtin and then its argument prototype would still apply. */
37535 char pthread_cancel ();
37536 /* The GNU C library defines this for functions which it implements
37537 to always fail with ENOSYS. Some functions are actually named
37538 something starting with __ and the normal name is an alias. */
37539 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37542 char (*f) () = pthread_cancel;
37551 return f != pthread_cancel;
37556 rm -f conftest.
$ac_objext conftest
$ac_exeext
37557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37558 (eval $ac_link) 2>conftest.er1
37560 grep -v '^ *+' conftest.er1
>conftest.err
37562 cat conftest.err
>&5
37563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37564 (exit $ac_status); } &&
37565 { ac_try
='test -z "$ac_c_werror_flag"
37566 || test ! -s conftest.err'
37567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37568 (eval $ac_try) 2>&5
37570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571 (exit $ac_status); }; } &&
37572 { ac_try
='test -s conftest$ac_exeext'
37573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37574 (eval $ac_try) 2>&5
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); }; }; then
37578 ac_cv_func_pthread_cancel
=yes
37580 echo "$as_me: failed program was:" >&5
37581 sed 's/^/| /' conftest.
$ac_ext >&5
37583 ac_cv_func_pthread_cancel
=no
37585 rm -f conftest.err conftest.
$ac_objext \
37586 conftest
$ac_exeext conftest.
$ac_ext
37588 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37589 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37590 if test $ac_cv_func_pthread_cancel = yes; then
37591 cat >>confdefs.h
<<\_ACEOF
37592 #define HAVE_PTHREAD_CANCEL 1
37596 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37597 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37601 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37602 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37603 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37604 echo $ECHO_N "(cached) $ECHO_C" >&6
37606 cat >conftest.
$ac_ext <<_ACEOF
37609 cat confdefs.h
>>conftest.
$ac_ext
37610 cat >>conftest.
$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37614 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37616 /* System header to define __stub macros and hopefully few prototypes,
37617 which can conflict with char pthread_attr_setstacksize (); below.
37618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37619 <limits.h> exists even on freestanding compilers. */
37622 # include <limits.h>
37624 # include <assert.h>
37627 #undef pthread_attr_setstacksize
37629 /* Override any gcc2 internal prototype to avoid an error. */
37634 /* We use char because int might match the return type of a gcc2
37635 builtin and then its argument prototype would still apply. */
37636 char pthread_attr_setstacksize ();
37637 /* The GNU C library defines this for functions which it implements
37638 to always fail with ENOSYS. Some functions are actually named
37639 something starting with __ and the normal name is an alias. */
37640 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37643 char (*f) () = pthread_attr_setstacksize;
37652 return f != pthread_attr_setstacksize;
37657 rm -f conftest.
$ac_objext conftest
$ac_exeext
37658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37659 (eval $ac_link) 2>conftest.er1
37661 grep -v '^ *+' conftest.er1
>conftest.err
37663 cat conftest.err
>&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); } &&
37666 { ac_try
='test -z "$ac_c_werror_flag"
37667 || test ! -s conftest.err'
37668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37669 (eval $ac_try) 2>&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); }; } &&
37673 { ac_try
='test -s conftest$ac_exeext'
37674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37675 (eval $ac_try) 2>&5
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); }; }; then
37679 ac_cv_func_pthread_attr_setstacksize
=yes
37681 echo "$as_me: failed program was:" >&5
37682 sed 's/^/| /' conftest.
$ac_ext >&5
37684 ac_cv_func_pthread_attr_setstacksize
=no
37686 rm -f conftest.err conftest.
$ac_objext \
37687 conftest
$ac_exeext conftest.
$ac_ext
37689 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37690 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37691 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37692 cat >>confdefs.h
<<\_ACEOF
37693 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37700 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37701 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37702 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37706 cat >conftest.
$ac_ext <<_ACEOF
37709 cat confdefs.h
>>conftest.
$ac_ext
37710 cat >>conftest.
$ac_ext <<_ACEOF
37711 /* end confdefs.h. */
37712 #include <pthread.h>
37717 pthread_mutexattr_t attr;
37718 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37724 rm -f conftest.
$ac_objext
37725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37726 (eval $ac_compile) 2>conftest.er1
37728 grep -v '^ *+' conftest.er1
>conftest.err
37730 cat conftest.err
>&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } &&
37733 { ac_try
='test -z "$ac_c_werror_flag"
37734 || test ! -s conftest.err'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; } &&
37740 { ac_try
='test -s conftest.$ac_objext'
37741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37742 (eval $ac_try) 2>&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); }; }; then
37746 wx_cv_type_pthread_mutexattr_t
=yes
37748 echo "$as_me: failed program was:" >&5
37749 sed 's/^/| /' conftest.
$ac_ext >&5
37751 wx_cv_type_pthread_mutexattr_t
=no
37754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37757 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37758 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37760 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37761 cat >>confdefs.h
<<\_ACEOF
37762 #define HAVE_PTHREAD_MUTEXATTR_T 1
37766 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37767 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37768 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37769 echo $ECHO_N "(cached) $ECHO_C" >&6
37772 cat >conftest.
$ac_ext <<_ACEOF
37775 cat confdefs.h
>>conftest.
$ac_ext
37776 cat >>conftest.
$ac_ext <<_ACEOF
37777 /* end confdefs.h. */
37778 #include <pthread.h>
37783 pthread_mutexattr_t attr;
37784 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37790 rm -f conftest.
$ac_objext
37791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37792 (eval $ac_compile) 2>conftest.er1
37794 grep -v '^ *+' conftest.er1
>conftest.err
37796 cat conftest.err
>&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); } &&
37799 { ac_try
='test -z "$ac_c_werror_flag"
37800 || test ! -s conftest.err'
37801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37802 (eval $ac_try) 2>&5
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); }; } &&
37806 { ac_try
='test -s conftest.$ac_objext'
37807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37808 (eval $ac_try) 2>&5
37810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37811 (exit $ac_status); }; }; then
37812 wx_cv_func_pthread_mutexattr_settype_decl
=yes
37814 echo "$as_me: failed program was:" >&5
37815 sed 's/^/| /' conftest.
$ac_ext >&5
37817 wx_cv_func_pthread_mutexattr_settype_decl
=no
37820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37823 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37824 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37825 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37826 cat >>confdefs.h
<<\_ACEOF
37827 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37832 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37833 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37834 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37835 echo $ECHO_N "(cached) $ECHO_C" >&6
37838 cat >conftest.
$ac_ext <<_ACEOF
37841 cat confdefs.h
>>conftest.
$ac_ext
37842 cat >>conftest.
$ac_ext <<_ACEOF
37843 /* end confdefs.h. */
37844 #include <pthread.h>
37849 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37855 rm -f conftest.
$ac_objext
37856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37857 (eval $ac_compile) 2>conftest.er1
37859 grep -v '^ *+' conftest.er1
>conftest.err
37861 cat conftest.err
>&5
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); } &&
37864 { ac_try
='test -z "$ac_c_werror_flag"
37865 || test ! -s conftest.err'
37866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37867 (eval $ac_try) 2>&5
37869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37870 (exit $ac_status); }; } &&
37871 { ac_try
='test -s conftest.$ac_objext'
37872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37873 (eval $ac_try) 2>&5
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); }; }; then
37878 wx_cv_type_pthread_rec_mutex_init
=yes
37881 echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.
$ac_ext >&5
37885 wx_cv_type_pthread_rec_mutex_init
=no
37889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37892 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37893 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37894 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37895 cat >>confdefs.h
<<\_ACEOF
37896 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37900 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37901 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37907 if test "$wxUSE_THREADS" = "yes" ; then
37910 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37911 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37912 if test "${wx_cv_cflags_mthread+set}" = set; then
37913 echo $ECHO_N "(cached) $ECHO_C" >&6
37916 CFLAGS_OLD
="$CFLAGS"
37917 CFLAGS
="$CFLAGS -mthreads"
37918 cat >conftest.
$ac_ext <<_ACEOF
37921 cat confdefs.h
>>conftest.
$ac_ext
37922 cat >>conftest.
$ac_ext <<_ACEOF
37923 /* end confdefs.h. */
37933 rm -f conftest.
$ac_objext
37934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37935 (eval $ac_compile) 2>conftest.er1
37937 grep -v '^ *+' conftest.er1
>conftest.err
37939 cat conftest.err
>&5
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); } &&
37942 { ac_try
='test -z "$ac_c_werror_flag"
37943 || test ! -s conftest.err'
37944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37945 (eval $ac_try) 2>&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); }; } &&
37949 { ac_try
='test -s conftest.$ac_objext'
37950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37951 (eval $ac_try) 2>&5
37953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37954 (exit $ac_status); }; }; then
37955 wx_cv_cflags_mthread
=yes
37957 echo "$as_me: failed program was:" >&5
37958 sed 's/^/| /' conftest.
$ac_ext >&5
37960 wx_cv_cflags_mthread
=no
37963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37967 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37968 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37970 if test "$wx_cv_cflags_mthread" = "yes"; then
37971 CXXFLAGS
="$CXXFLAGS -mthreads"
37972 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
37973 LDFLAGS
="$LDFLAGS -mthreads"
37975 CFLAGS
="$CFLAGS_OLD"
37979 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37980 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37981 LDFLAGS
="$LDFLAGS -Zmt"
37987 if test "$wxUSE_THREADS" = "yes"; then
37988 cat >>confdefs.h
<<\_ACEOF
37989 #define wxUSE_THREADS 1
37993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
37995 if test "$ac_cv_func_strtok_r" = "yes"; then
37996 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37997 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37998 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37999 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
38000 echo "$as_me:$LINENO: result: yes" >&5
38001 echo "${ECHO_T}yes" >&6
38003 echo "$as_me:$LINENO: result: no" >&5
38004 echo "${ECHO_T}no" >&6
38009 if test "$WXGTK20" = 1 ; then
38010 cat >>confdefs.h
<<_ACEOF
38011 #define __WXGTK20__ $WXGTK20
38017 if test "$WXGTK12" = 1 ; then
38018 cat >>confdefs.h
<<_ACEOF
38019 #define __WXGTK12__ $WXGTK12
38024 if test "$WXGTK127" = 1 ; then
38025 cat >>confdefs.h
<<_ACEOF
38026 #define __WXGTK127__ $WXGTK127
38031 if test "$WXGPE" = 1 ; then
38032 cat >>confdefs.h
<<_ACEOF
38033 #define __WXGPE__ $WXGPE
38040 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
38045 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
38046 wxUSE_DEBUG_INFO
=yes
38047 if test "$GCC" = yes; then
38052 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
38053 cat >>confdefs.h
<<\_ACEOF
38057 WXDEBUG_DEFINE
="-D__WXDEBUG__"
38059 if test "$wxUSE_GTK" = 1 ; then
38060 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
38064 if test "$wxUSE_MEM_TRACING" = "yes" ; then
38065 cat >>confdefs.h
<<\_ACEOF
38066 #define wxUSE_MEMORY_TRACING 1
38069 cat >>confdefs.h
<<\_ACEOF
38070 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
38073 cat >>confdefs.h
<<\_ACEOF
38074 #define wxUSE_DEBUG_NEW_ALWAYS 1
38077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
38080 if test "$wxUSE_DMALLOC" = "yes" ; then
38081 DMALLOC_LIBS
="-ldmallocthcxx"
38085 if test "$wxUSE_PROFILE" = "yes" ; then
38090 CODE_GEN_FLAGS_CXX
=
38091 if test "$GCC" = "yes" ; then
38092 if test "$wxUSE_NO_RTTI" = "yes" ; then
38093 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
38095 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38096 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
38098 if test "$wxUSE_PERMISSIVE" = "yes" ; then
38099 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
38104 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
38107 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
38113 if test "$wxUSE_OPTIMISE" = "no" ; then
38114 if test "$GCC" = yes ; then
38118 if test "$GCC" = yes ; then
38122 i586
-*-*|i686
-*-* )
38123 OPTIMISE
="${OPTIMISE} "
38132 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
38133 cat >>confdefs.h
<<\_ACEOF
38134 #define WXWIN_COMPATIBILITY_2_4 1
38138 WXWIN_COMPATIBILITY_2_6
="yes"
38141 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
38142 cat >>confdefs.h
<<\_ACEOF
38143 #define WXWIN_COMPATIBILITY_2_6 1
38149 if test "$wxUSE_GUI" = "yes"; then
38150 cat >>confdefs.h
<<\_ACEOF
38151 #define wxUSE_GUI 1
38158 if test "$wxUSE_UNIX" = "yes"; then
38159 cat >>confdefs.h
<<\_ACEOF
38160 #define wxUSE_UNIX 1
38166 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38170 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38171 if test "$USE_DARWIN" = 1; then
38173 elif test "$USE_DOS" = 1; then
38177 for ac_func
in dlopen
38179 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38180 echo "$as_me:$LINENO: checking for $ac_func" >&5
38181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38182 if eval "test \"\${$as_ac_var+set}\" = set"; then
38183 echo $ECHO_N "(cached) $ECHO_C" >&6
38185 cat >conftest.
$ac_ext <<_ACEOF
38188 cat confdefs.h
>>conftest.
$ac_ext
38189 cat >>conftest.
$ac_ext <<_ACEOF
38190 /* end confdefs.h. */
38191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38193 #define $ac_func innocuous_$ac_func
38195 /* System header to define __stub macros and hopefully few prototypes,
38196 which can conflict with char $ac_func (); below.
38197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38198 <limits.h> exists even on freestanding compilers. */
38201 # include <limits.h>
38203 # include <assert.h>
38208 /* Override any gcc2 internal prototype to avoid an error. */
38213 /* We use char because int might match the return type of a gcc2
38214 builtin and then its argument prototype would still apply. */
38216 /* The GNU C library defines this for functions which it implements
38217 to always fail with ENOSYS. Some functions are actually named
38218 something starting with __ and the normal name is an alias. */
38219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38222 char (*f) () = $ac_func;
38231 return f != $ac_func;
38236 rm -f conftest.
$ac_objext conftest
$ac_exeext
38237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38238 (eval $ac_link) 2>conftest.er1
38240 grep -v '^ *+' conftest.er1
>conftest.err
38242 cat conftest.err
>&5
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); } &&
38245 { ac_try
='test -z "$ac_c_werror_flag"
38246 || test ! -s conftest.err'
38247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38248 (eval $ac_try) 2>&5
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); }; } &&
38252 { ac_try
='test -s conftest$ac_exeext'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; }; then
38258 eval "$as_ac_var=yes"
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.
$ac_ext >&5
38263 eval "$as_ac_var=no"
38265 rm -f conftest.err conftest.
$ac_objext \
38266 conftest
$ac_exeext conftest.
$ac_ext
38268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38270 if test `eval echo '${'$as_ac_var'}'` = yes; then
38271 cat >>confdefs.h
<<_ACEOF
38272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38275 cat >>confdefs.h
<<\_ACEOF
38276 #define HAVE_DLOPEN 1
38283 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38284 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38285 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38288 ac_check_lib_save_LIBS
=$LIBS
38290 cat >conftest.
$ac_ext <<_ACEOF
38293 cat confdefs.h
>>conftest.
$ac_ext
38294 cat >>conftest.
$ac_ext <<_ACEOF
38295 /* end confdefs.h. */
38297 /* Override any gcc2 internal prototype to avoid an error. */
38301 /* We use char because int might match the return type of a gcc2
38302 builtin and then its argument prototype would still apply. */
38312 rm -f conftest.
$ac_objext conftest
$ac_exeext
38313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38314 (eval $ac_link) 2>conftest.er1
38316 grep -v '^ *+' conftest.er1
>conftest.err
38318 cat conftest.err
>&5
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); } &&
38321 { ac_try
='test -z "$ac_c_werror_flag"
38322 || test ! -s conftest.err'
38323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324 (eval $ac_try) 2>&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); }; } &&
38328 { ac_try
='test -s conftest$ac_exeext'
38329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38330 (eval $ac_try) 2>&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); }; }; then
38334 ac_cv_lib_dl_dlopen
=yes
38336 echo "$as_me: failed program was:" >&5
38337 sed 's/^/| /' conftest.
$ac_ext >&5
38339 ac_cv_lib_dl_dlopen
=no
38341 rm -f conftest.err conftest.
$ac_objext \
38342 conftest
$ac_exeext conftest.
$ac_ext
38343 LIBS
=$ac_check_lib_save_LIBS
38345 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38346 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38347 if test $ac_cv_lib_dl_dlopen = yes; then
38349 cat >>confdefs.h
<<\_ACEOF
38350 #define HAVE_DLOPEN 1
38354 DL_LINK
=" -ldl$DL_LINK"
38359 for ac_func
in shl_load
38361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38362 echo "$as_me:$LINENO: checking for $ac_func" >&5
38363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38364 if eval "test \"\${$as_ac_var+set}\" = set"; then
38365 echo $ECHO_N "(cached) $ECHO_C" >&6
38367 cat >conftest.
$ac_ext <<_ACEOF
38370 cat confdefs.h
>>conftest.
$ac_ext
38371 cat >>conftest.
$ac_ext <<_ACEOF
38372 /* end confdefs.h. */
38373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38375 #define $ac_func innocuous_$ac_func
38377 /* System header to define __stub macros and hopefully few prototypes,
38378 which can conflict with char $ac_func (); below.
38379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38380 <limits.h> exists even on freestanding compilers. */
38383 # include <limits.h>
38385 # include <assert.h>
38390 /* Override any gcc2 internal prototype to avoid an error. */
38395 /* We use char because int might match the return type of a gcc2
38396 builtin and then its argument prototype would still apply. */
38398 /* The GNU C library defines this for functions which it implements
38399 to always fail with ENOSYS. Some functions are actually named
38400 something starting with __ and the normal name is an alias. */
38401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38404 char (*f) () = $ac_func;
38413 return f != $ac_func;
38418 rm -f conftest.
$ac_objext conftest
$ac_exeext
38419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38420 (eval $ac_link) 2>conftest.er1
38422 grep -v '^ *+' conftest.er1
>conftest.err
38424 cat conftest.err
>&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); } &&
38427 { ac_try
='test -z "$ac_c_werror_flag"
38428 || test ! -s conftest.err'
38429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38430 (eval $ac_try) 2>&5
38432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433 (exit $ac_status); }; } &&
38434 { ac_try
='test -s conftest$ac_exeext'
38435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38436 (eval $ac_try) 2>&5
38438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38439 (exit $ac_status); }; }; then
38440 eval "$as_ac_var=yes"
38442 echo "$as_me: failed program was:" >&5
38443 sed 's/^/| /' conftest.
$ac_ext >&5
38445 eval "$as_ac_var=no"
38447 rm -f conftest.err conftest.
$ac_objext \
38448 conftest
$ac_exeext conftest.
$ac_ext
38450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38452 if test `eval echo '${'$as_ac_var'}'` = yes; then
38453 cat >>confdefs.h
<<_ACEOF
38454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38457 cat >>confdefs.h
<<\_ACEOF
38458 #define HAVE_SHL_LOAD 1
38465 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38466 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38467 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38468 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 ac_check_lib_save_LIBS
=$LIBS
38471 LIBS
="-lshl_load $LIBS"
38472 cat >conftest.
$ac_ext <<_ACEOF
38475 cat confdefs.h
>>conftest.
$ac_ext
38476 cat >>conftest.
$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38479 /* Override any gcc2 internal prototype to avoid an error. */
38483 /* We use char because int might match the return type of a gcc2
38484 builtin and then its argument prototype would still apply. */
38494 rm -f conftest.
$ac_objext conftest
$ac_exeext
38495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38496 (eval $ac_link) 2>conftest.er1
38498 grep -v '^ *+' conftest.er1
>conftest.err
38500 cat conftest.err
>&5
38501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38502 (exit $ac_status); } &&
38503 { ac_try
='test -z "$ac_c_werror_flag"
38504 || test ! -s conftest.err'
38505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38506 (eval $ac_try) 2>&5
38508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38509 (exit $ac_status); }; } &&
38510 { ac_try
='test -s conftest$ac_exeext'
38511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38512 (eval $ac_try) 2>&5
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); }; }; then
38516 ac_cv_lib_shl_load_dld
=yes
38518 echo "$as_me: failed program was:" >&5
38519 sed 's/^/| /' conftest.
$ac_ext >&5
38521 ac_cv_lib_shl_load_dld
=no
38523 rm -f conftest.err conftest.
$ac_objext \
38524 conftest
$ac_exeext conftest.
$ac_ext
38525 LIBS
=$ac_check_lib_save_LIBS
38527 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38528 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38529 if test $ac_cv_lib_shl_load_dld = yes; then
38532 DL_LINK
=" -ldld$DL_LINK"
38548 if test "$HAVE_DL_FUNCS" = 1; then
38550 for ac_func
in dlerror
38552 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38553 echo "$as_me:$LINENO: checking for $ac_func" >&5
38554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38555 if eval "test \"\${$as_ac_var+set}\" = set"; then
38556 echo $ECHO_N "(cached) $ECHO_C" >&6
38558 cat >conftest.
$ac_ext <<_ACEOF
38561 cat confdefs.h
>>conftest.
$ac_ext
38562 cat >>conftest.
$ac_ext <<_ACEOF
38563 /* end confdefs.h. */
38564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38566 #define $ac_func innocuous_$ac_func
38568 /* System header to define __stub macros and hopefully few prototypes,
38569 which can conflict with char $ac_func (); below.
38570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38571 <limits.h> exists even on freestanding compilers. */
38574 # include <limits.h>
38576 # include <assert.h>
38581 /* Override any gcc2 internal prototype to avoid an error. */
38586 /* We use char because int might match the return type of a gcc2
38587 builtin and then its argument prototype would still apply. */
38589 /* The GNU C library defines this for functions which it implements
38590 to always fail with ENOSYS. Some functions are actually named
38591 something starting with __ and the normal name is an alias. */
38592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38595 char (*f) () = $ac_func;
38604 return f != $ac_func;
38609 rm -f conftest.
$ac_objext conftest
$ac_exeext
38610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38611 (eval $ac_link) 2>conftest.er1
38613 grep -v '^ *+' conftest.er1
>conftest.err
38615 cat conftest.err
>&5
38616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38617 (exit $ac_status); } &&
38618 { ac_try
='test -z "$ac_c_werror_flag"
38619 || test ! -s conftest.err'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; } &&
38625 { ac_try
='test -s conftest$ac_exeext'
38626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38627 (eval $ac_try) 2>&5
38629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630 (exit $ac_status); }; }; then
38631 eval "$as_ac_var=yes"
38633 echo "$as_me: failed program was:" >&5
38634 sed 's/^/| /' conftest.
$ac_ext >&5
38636 eval "$as_ac_var=no"
38638 rm -f conftest.err conftest.
$ac_objext \
38639 conftest
$ac_exeext conftest.
$ac_ext
38641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38643 if test `eval echo '${'$as_ac_var'}'` = yes; then
38644 cat >>confdefs.h
<<_ACEOF
38645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38647 cat >>confdefs.h
<<\_ACEOF
38648 #define HAVE_DLERROR 1
38653 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38654 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38655 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38656 echo $ECHO_N "(cached) $ECHO_C" >&6
38658 ac_check_lib_save_LIBS
=$LIBS
38660 cat >conftest.
$ac_ext <<_ACEOF
38663 cat confdefs.h
>>conftest.
$ac_ext
38664 cat >>conftest.
$ac_ext <<_ACEOF
38665 /* end confdefs.h. */
38667 /* Override any gcc2 internal prototype to avoid an error. */
38671 /* We use char because int might match the return type of a gcc2
38672 builtin and then its argument prototype would still apply. */
38682 rm -f conftest.
$ac_objext conftest
$ac_exeext
38683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38684 (eval $ac_link) 2>conftest.er1
38686 grep -v '^ *+' conftest.er1
>conftest.err
38688 cat conftest.err
>&5
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); } &&
38691 { ac_try
='test -z "$ac_c_werror_flag"
38692 || test ! -s conftest.err'
38693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38694 (eval $ac_try) 2>&5
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); }; } &&
38698 { ac_try
='test -s conftest$ac_exeext'
38699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38700 (eval $ac_try) 2>&5
38702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703 (exit $ac_status); }; }; then
38704 ac_cv_lib_dl_dlerror
=yes
38706 echo "$as_me: failed program was:" >&5
38707 sed 's/^/| /' conftest.
$ac_ext >&5
38709 ac_cv_lib_dl_dlerror
=no
38711 rm -f conftest.err conftest.
$ac_objext \
38712 conftest
$ac_exeext conftest.
$ac_ext
38713 LIBS
=$ac_check_lib_save_LIBS
38715 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38716 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38717 if test $ac_cv_lib_dl_dlerror = yes; then
38718 cat >>confdefs.h
<<\_ACEOF
38719 #define HAVE_DLERROR 1
38732 if test "$HAVE_DL_FUNCS" = 0; then
38733 if test "$HAVE_SHL_FUNCS" = 0; then
38734 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38735 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38736 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38737 wxUSE_DYNAMIC_LOADER
=no
38738 wxUSE_DYNLIB_CLASS
=no
38740 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38741 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38748 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38749 cat >>confdefs.h
<<\_ACEOF
38750 #define wxUSE_DYNAMIC_LOADER 1
38754 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38755 cat >>confdefs.h
<<\_ACEOF
38756 #define wxUSE_DYNLIB_CLASS 1
38763 if test "$wxUSE_PLUGINS" = "yes" ; then
38764 if test "$wxUSE_SHARED" = "no" ; then
38765 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38766 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38769 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38770 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38771 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38774 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38775 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38776 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38779 if test "$wxUSE_PLUGINS" = "yes" ; then
38780 cat >>confdefs.h
<<\_ACEOF
38781 #define wxUSE_PLUGINS 1
38788 if test "$wxUSE_STL" = "yes"; then
38789 cat >>confdefs.h
<<\_ACEOF
38790 #define wxUSE_STL 1
38795 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38796 cat >>confdefs.h
<<\_ACEOF
38797 #define wxUSE_APPLE_IEEE 1
38802 if test "$wxUSE_TIMER" = "yes"; then
38803 cat >>confdefs.h
<<\_ACEOF
38804 #define wxUSE_TIMER 1
38809 if test "$USE_UNIX" = "1" ; then
38810 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38811 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38812 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38813 echo $ECHO_N "(cached) $ECHO_C" >&6
38816 cat >conftest.
$ac_ext <<_ACEOF
38819 cat confdefs.h
>>conftest.
$ac_ext
38820 cat >>conftest.
$ac_ext <<_ACEOF
38821 /* end confdefs.h. */
38823 #include <sys/soundcard.h>
38829 ioctl(0, SNDCTL_DSP_SYNC, 0);
38835 rm -f conftest.
$ac_objext conftest
$ac_exeext
38836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38837 (eval $ac_link) 2>conftest.er1
38839 grep -v '^ *+' conftest.er1
>conftest.err
38841 cat conftest.err
>&5
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); } &&
38844 { ac_try
='test -z "$ac_c_werror_flag"
38845 || test ! -s conftest.err'
38846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847 (eval $ac_try) 2>&5
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); }; } &&
38851 { ac_try
='test -s conftest$ac_exeext'
38852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38853 (eval $ac_try) 2>&5
38855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38856 (exit $ac_status); }; }; then
38857 ac_cv_header_sys_soundcard
=yes
38859 echo "$as_me: failed program was:" >&5
38860 sed 's/^/| /' conftest.
$ac_ext >&5
38864 LIBS
="$saveLibs -lossaudio"
38865 cat >conftest.
$ac_ext <<_ACEOF
38868 cat confdefs.h
>>conftest.
$ac_ext
38869 cat >>conftest.
$ac_ext <<_ACEOF
38870 /* end confdefs.h. */
38872 #include <sys/soundcard.h>
38878 ioctl(0, SNDCTL_DSP_SYNC, 0);
38884 rm -f conftest.
$ac_objext conftest
$ac_exeext
38885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38886 (eval $ac_link) 2>conftest.er1
38888 grep -v '^ *+' conftest.er1
>conftest.err
38890 cat conftest.err
>&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); } &&
38893 { ac_try
='test -z "$ac_c_werror_flag"
38894 || test ! -s conftest.err'
38895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38896 (eval $ac_try) 2>&5
38898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38899 (exit $ac_status); }; } &&
38900 { ac_try
='test -s conftest$ac_exeext'
38901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38902 (eval $ac_try) 2>&5
38904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38905 (exit $ac_status); }; }; then
38906 ac_cv_header_sys_soundcard
=yes
38908 echo "$as_me: failed program was:" >&5
38909 sed 's/^/| /' conftest.
$ac_ext >&5
38913 ac_cv_header_sys_soundcard
=no
38917 rm -f conftest.err conftest.
$ac_objext \
38918 conftest
$ac_exeext conftest.
$ac_ext
38922 rm -f conftest.err conftest.
$ac_objext \
38923 conftest
$ac_exeext conftest.
$ac_ext
38926 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38927 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38929 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38930 cat >>confdefs.h
<<\_ACEOF
38931 #define HAVE_SYS_SOUNDCARD_H 1
38935 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
38939 if test "$wxUSE_SOUND" = "yes"; then
38940 if test "$USE_UNIX" = "1" ; then
38941 if test "$wxUSE_LIBSDL" != "no"; then
38943 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38944 if test "${with_sdl_prefix+set}" = set; then
38945 withval
="$with_sdl_prefix"
38946 sdl_prefix
="$withval"
38951 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38952 if test "${with_sdl_exec_prefix+set}" = set; then
38953 withval
="$with_sdl_exec_prefix"
38954 sdl_exec_prefix
="$withval"
38958 # Check whether --enable-sdltest or --disable-sdltest was given.
38959 if test "${enable_sdltest+set}" = set; then
38960 enableval
="$enable_sdltest"
38966 if test x
$sdl_exec_prefix != x
; then
38967 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
38968 if test x
${SDL_CONFIG+set} != xset
; then
38969 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
38972 if test x
$sdl_prefix != x
; then
38973 sdl_args
="$sdl_args --prefix=$sdl_prefix"
38974 if test x
${SDL_CONFIG+set} != xset
; then
38975 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
38980 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
38981 # Extract the first word of "sdl-config", so it can be a program name with args.
38982 set dummy sdl
-config; ac_word
=$2
38983 echo "$as_me:$LINENO: checking for $ac_word" >&5
38984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38985 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38986 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 case $SDL_CONFIG in
38990 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
38993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38994 for as_dir
in $PATH
38997 test -z "$as_dir" && as_dir
=.
38998 for ac_exec_ext
in '' $ac_executable_extensions; do
38999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39000 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39007 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
39011 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
39013 if test -n "$SDL_CONFIG"; then
39014 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
39015 echo "${ECHO_T}$SDL_CONFIG" >&6
39017 echo "$as_me:$LINENO: result: no" >&5
39018 echo "${ECHO_T}no" >&6
39021 min_sdl_version
=1.2.0
39022 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
39023 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
39025 if test "$SDL_CONFIG" = "no" ; then
39028 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
39029 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
39031 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
39032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39033 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
39034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39035 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
39036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39037 if test "x$enable_sdltest" = "xyes" ; then
39038 ac_save_CFLAGS
="$CFLAGS"
39039 ac_save_CXXFLAGS
="$CXXFLAGS"
39040 ac_save_LIBS
="$LIBS"
39041 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39042 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39043 LIBS
="$LIBS $SDL_LIBS"
39045 if test "$cross_compiling" = yes; then
39046 echo $ac_n "cross compiling; assumed OK... $ac_c"
39048 cat >conftest.
$ac_ext <<_ACEOF
39051 cat confdefs.h
>>conftest.
$ac_ext
39052 cat >>conftest.
$ac_ext <<_ACEOF
39053 /* end confdefs.h. */
39056 #include <stdlib.h>
39057 #include <string.h>
39061 my_strdup (char *str)
39067 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
39068 strcpy (new_str, str);
39076 int main (int argc, char *argv[])
39078 int major, minor, micro;
39081 /* This hangs on some systems (?)
39082 system ("touch conf.sdltest");
39084 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
39086 /* HP/UX 9 (%@#!) writes to sscanf strings */
39087 tmp_version = my_strdup("$min_sdl_version");
39088 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
39089 printf("%s, bad version string\n", "$min_sdl_version");
39093 if (($sdl_major_version > major) ||
39094 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
39095 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
39101 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
39102 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
39103 printf("*** best to upgrade to the required version.\n");
39104 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
39105 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
39106 printf("*** config.cache before re-running configure\n");
39113 rm -f conftest
$ac_exeext
39114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39115 (eval $ac_link) 2>&5
39117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39118 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
39119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39120 (eval $ac_try) 2>&5
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); }; }; then
39126 echo "$as_me: program exited with status $ac_status" >&5
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.
$ac_ext >&5
39130 ( exit $ac_status )
39133 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
39135 CFLAGS
="$ac_save_CFLAGS"
39136 CXXFLAGS
="$ac_save_CXXFLAGS"
39137 LIBS
="$ac_save_LIBS"
39140 if test "x$no_sdl" = x
; then
39141 echo "$as_me:$LINENO: result: yes" >&5
39142 echo "${ECHO_T}yes" >&6
39144 EXTRALIBS_SDL
="$SDL_LIBS"
39145 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39146 cat >>confdefs.h
<<\_ACEOF
39147 #define wxUSE_LIBSDL 1
39152 echo "$as_me:$LINENO: result: no" >&5
39153 echo "${ECHO_T}no" >&6
39154 if test "$SDL_CONFIG" = "no" ; then
39155 echo "*** The sdl-config script installed by SDL could not be found"
39156 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39157 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39158 echo "*** full path to sdl-config."
39160 if test -f conf.sdltest
; then
39163 echo "*** Could not run SDL test program, checking why..."
39164 CFLAGS
="$CFLAGS $SDL_CFLAGS"
39165 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
39166 LIBS
="$LIBS $SDL_LIBS"
39167 cat >conftest.
$ac_ext <<_ACEOF
39170 cat confdefs.h
>>conftest.
$ac_ext
39171 cat >>conftest.
$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39177 int main(int argc, char *argv[])
39180 #define main K_and_R_C_main
39190 rm -f conftest.
$ac_objext conftest
$ac_exeext
39191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39192 (eval $ac_link) 2>conftest.er1
39194 grep -v '^ *+' conftest.er1
>conftest.err
39196 cat conftest.err
>&5
39197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198 (exit $ac_status); } &&
39199 { ac_try
='test -z "$ac_c_werror_flag"
39200 || test ! -s conftest.err'
39201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39202 (eval $ac_try) 2>&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); }; } &&
39206 { ac_try
='test -s conftest$ac_exeext'
39207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39208 (eval $ac_try) 2>&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); }; }; then
39212 echo "*** The test program compiled, but did not run. This usually means"
39213 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39214 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39215 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39216 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39217 echo "*** is required on your system"
39219 echo "*** If you have an old version installed, it is best to remove it, although"
39220 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.
$ac_ext >&5
39225 echo "*** The test program failed to compile or link. See the file config.log for the"
39226 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39227 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39228 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39230 rm -f conftest.err conftest.
$ac_objext \
39231 conftest
$ac_exeext conftest.
$ac_ext
39232 CFLAGS
="$ac_save_CFLAGS"
39233 CXXFLAGS
="$ac_save_CXXFLAGS"
39234 LIBS
="$ac_save_LIBS"
39245 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39251 cat >>confdefs.h
<<\_ACEOF
39252 #define wxUSE_SOUND 1
39255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
39258 if test "$WXGTK20" = 1; then
39259 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39260 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39265 if test -z "$PKG_CONFIG"; then
39266 # Extract the first word of "pkg-config", so it can be a program name with args.
39267 set dummy pkg
-config; ac_word
=$2
39268 echo "$as_me:$LINENO: checking for $ac_word" >&5
39269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39270 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 case $PKG_CONFIG in
39275 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39279 for as_dir
in $PATH
39282 test -z "$as_dir" && as_dir
=.
39283 for ac_exec_ext
in '' $ac_executable_extensions; do
39284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39285 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39292 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39296 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39298 if test -n "$PKG_CONFIG"; then
39299 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39300 echo "${ECHO_T}$PKG_CONFIG" >&6
39302 echo "$as_me:$LINENO: result: no" >&5
39303 echo "${ECHO_T}no" >&6
39308 if test "$PKG_CONFIG" = "no" ; then
39309 echo "*** The pkg-config script could not be found. Make sure it is"
39310 echo "*** in your path, or set the PKG_CONFIG environment variable"
39311 echo "*** to the full path to pkg-config."
39312 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39314 PKG_CONFIG_MIN_VERSION
=0.9.0
39315 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39316 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39317 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39319 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39320 echo "$as_me:$LINENO: result: yes" >&5
39321 echo "${ECHO_T}yes" >&6
39324 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39325 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39326 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39327 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39328 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39330 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39331 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39332 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39333 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39334 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39336 LIBGNOMEPRINTUI_CFLAGS
=""
39337 LIBGNOMEPRINTUI_LIBS
=""
39338 ## If we have a custom action on failure, don't print errors, but
39339 ## do set a variable so people can do so.
39340 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39347 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39348 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39352 if test $succeeded = yes; then
39354 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39355 cat >>confdefs.h
<<\_ACEOF
39356 #define wxUSE_LIBGNOMEPRINT 1
39362 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39363 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39364 wxUSE_LIBGNOMEPRINT
="no"
39374 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39375 cat >>confdefs.h
<<\_ACEOF
39376 #define wxUSE_CMDLINE_PARSER 1
39381 if test "$wxUSE_STOPWATCH" = "yes"; then
39382 cat >>confdefs.h
<<\_ACEOF
39383 #define wxUSE_STOPWATCH 1
39388 if test "$wxUSE_DATETIME" = "yes"; then
39389 cat >>confdefs.h
<<\_ACEOF
39390 #define wxUSE_DATETIME 1
39395 if test "$wxUSE_FILE" = "yes"; then
39396 cat >>confdefs.h
<<\_ACEOF
39397 #define wxUSE_FILE 1
39402 if test "$wxUSE_FFILE" = "yes"; then
39403 cat >>confdefs.h
<<\_ACEOF
39404 #define wxUSE_FFILE 1
39409 if test "$wxUSE_FILESYSTEM" = "yes"; then
39410 cat >>confdefs.h
<<\_ACEOF
39411 #define wxUSE_FILESYSTEM 1
39416 if test "$wxUSE_FS_ZIP" = "yes"; then
39417 cat >>confdefs.h
<<\_ACEOF
39418 #define wxUSE_FS_ZIP 1
39423 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39424 cat >>confdefs.h
<<\_ACEOF
39425 #define wxUSE_ARCHIVE_STREAMS 1
39430 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39431 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39432 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39433 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39434 elif test "$wxUSE_ZLIB" = "no"; then
39435 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39436 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39438 cat >>confdefs.h
<<\_ACEOF
39439 #define wxUSE_ZIPSTREAM 1
39445 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39446 if test "$USE_UNIX" != 1; then
39447 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39448 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39449 wxUSE_ON_FATAL_EXCEPTION
=no
39451 cat >>confdefs.h
<<\_ACEOF
39452 #define wxUSE_ON_FATAL_EXCEPTION 1
39458 if test "$wxUSE_STACKWALKER" = "yes"; then
39459 cat >>confdefs.h
<<\_ACEOF
39460 #define wxUSE_STACKWALKER 1
39465 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39466 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39467 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39468 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39469 wxUSE_DEBUGREPORT
=no
39471 cat >>confdefs.h
<<\_ACEOF
39472 #define wxUSE_DEBUGREPORT 1
39475 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
39481 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39482 cat >>confdefs.h
<<\_ACEOF
39483 #define wxUSE_SNGLINST_CHECKER 1
39488 if test "$wxUSE_BUSYINFO" = "yes"; then
39489 cat >>confdefs.h
<<\_ACEOF
39490 #define wxUSE_BUSYINFO 1
39495 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39496 cat >>confdefs.h
<<\_ACEOF
39497 #define wxUSE_STD_IOSTREAM 1
39502 if test "$wxUSE_STD_STRING" = "yes"; then
39503 cat >>confdefs.h
<<\_ACEOF
39504 #define wxUSE_STD_STRING 1
39509 if test "$wxUSE_STDPATHS" = "yes"; then
39510 cat >>confdefs.h
<<\_ACEOF
39511 #define wxUSE_STDPATHS 1
39516 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39517 cat >>confdefs.h
<<\_ACEOF
39518 #define wxUSE_TEXTBUFFER 1
39523 if test "$wxUSE_TEXTFILE" = "yes"; then
39524 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39525 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39526 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39528 cat >>confdefs.h
<<\_ACEOF
39529 #define wxUSE_TEXTFILE 1
39535 if test "$wxUSE_CONFIG" = "yes" ; then
39536 if test "$wxUSE_TEXTFILE" != "yes"; then
39537 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39538 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39540 cat >>confdefs.h
<<\_ACEOF
39541 #define wxUSE_CONFIG 1
39544 cat >>confdefs.h
<<\_ACEOF
39545 #define wxUSE_CONFIG_NATIVE 1
39548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
39552 if test "$wxUSE_INTL" = "yes" ; then
39553 if test "$wxUSE_FILE" != "yes"; then
39554 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39555 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39557 cat >>confdefs.h
<<\_ACEOF
39558 #define wxUSE_INTL 1
39561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
39562 GUIDIST
="$GUIDIST INTL_DIST"
39566 if test "$wxUSE_LOG" = "yes"; then
39567 cat >>confdefs.h
<<\_ACEOF
39568 #define wxUSE_LOG 1
39572 if test "$wxUSE_LOGGUI" = "yes"; then
39573 cat >>confdefs.h
<<\_ACEOF
39574 #define wxUSE_LOGGUI 1
39579 if test "$wxUSE_LOGWINDOW" = "yes"; then
39580 cat >>confdefs.h
<<\_ACEOF
39581 #define wxUSE_LOGWINDOW 1
39586 if test "$wxUSE_LOGDIALOG" = "yes"; then
39587 cat >>confdefs.h
<<\_ACEOF
39588 #define wxUSE_LOG_DIALOG 1
39593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
39596 if test "$wxUSE_LONGLONG" = "yes"; then
39597 cat >>confdefs.h
<<\_ACEOF
39598 #define wxUSE_LONGLONG 1
39603 if test "$wxUSE_GEOMETRY" = "yes"; then
39604 cat >>confdefs.h
<<\_ACEOF
39605 #define wxUSE_GEOMETRY 1
39610 if test "$wxUSE_STREAMS" = "yes" ; then
39611 cat >>confdefs.h
<<\_ACEOF
39612 #define wxUSE_STREAMS 1
39618 if test "$wxUSE_DATETIME" = "yes"; then
39620 for ac_func
in strptime
39622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39623 echo "$as_me:$LINENO: checking for $ac_func" >&5
39624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39625 if eval "test \"\${$as_ac_var+set}\" = set"; then
39626 echo $ECHO_N "(cached) $ECHO_C" >&6
39628 cat >conftest.
$ac_ext <<_ACEOF
39631 cat confdefs.h
>>conftest.
$ac_ext
39632 cat >>conftest.
$ac_ext <<_ACEOF
39633 /* end confdefs.h. */
39634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39636 #define $ac_func innocuous_$ac_func
39638 /* System header to define __stub macros and hopefully few prototypes,
39639 which can conflict with char $ac_func (); below.
39640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39641 <limits.h> exists even on freestanding compilers. */
39644 # include <limits.h>
39646 # include <assert.h>
39651 /* Override any gcc2 internal prototype to avoid an error. */
39656 /* We use char because int might match the return type of a gcc2
39657 builtin and then its argument prototype would still apply. */
39659 /* The GNU C library defines this for functions which it implements
39660 to always fail with ENOSYS. Some functions are actually named
39661 something starting with __ and the normal name is an alias. */
39662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39665 char (*f) () = $ac_func;
39674 return f != $ac_func;
39679 rm -f conftest.
$ac_objext conftest
$ac_exeext
39680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39681 (eval $ac_link) 2>conftest.er1
39683 grep -v '^ *+' conftest.er1
>conftest.err
39685 cat conftest.err
>&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); } &&
39688 { ac_try
='test -z "$ac_c_werror_flag"
39689 || test ! -s conftest.err'
39690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39691 (eval $ac_try) 2>&5
39693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694 (exit $ac_status); }; } &&
39695 { ac_try
='test -s conftest$ac_exeext'
39696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39697 (eval $ac_try) 2>&5
39699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700 (exit $ac_status); }; }; then
39701 eval "$as_ac_var=yes"
39703 echo "$as_me: failed program was:" >&5
39704 sed 's/^/| /' conftest.
$ac_ext >&5
39706 eval "$as_ac_var=no"
39708 rm -f conftest.err conftest.
$ac_objext \
39709 conftest
$ac_exeext conftest.
$ac_ext
39711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39713 if test `eval echo '${'$as_ac_var'}'` = yes; then
39714 cat >>confdefs.h
<<_ACEOF
39715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39721 if test "$ac_cv_func_strptime" = "yes"; then
39722 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39723 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39724 if test "${wx_cv_func_strptime_decl+set}" = set; then
39725 echo $ECHO_N "(cached) $ECHO_C" >&6
39731 ac_cpp
='$CXXCPP $CPPFLAGS'
39732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39736 cat >conftest.
$ac_ext <<_ACEOF
39739 cat confdefs.h
>>conftest.
$ac_ext
39740 cat >>conftest.
$ac_ext <<_ACEOF
39741 /* end confdefs.h. */
39750 strptime("foo", "bar", &t);
39756 rm -f conftest.
$ac_objext
39757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39758 (eval $ac_compile) 2>conftest.er1
39760 grep -v '^ *+' conftest.er1
>conftest.err
39762 cat conftest.err
>&5
39763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39764 (exit $ac_status); } &&
39765 { ac_try
='test -z "$ac_cxx_werror_flag"
39766 || test ! -s conftest.err'
39767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39768 (eval $ac_try) 2>&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); }; } &&
39772 { ac_try
='test -s conftest.$ac_objext'
39773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39774 (eval $ac_try) 2>&5
39776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39777 (exit $ac_status); }; }; then
39778 wx_cv_func_strptime_decl
=yes
39780 echo "$as_me: failed program was:" >&5
39781 sed 's/^/| /' conftest.
$ac_ext >&5
39783 wx_cv_func_strptime_decl
=no
39786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39788 ac_cpp
='$CPP $CPPFLAGS'
39789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39796 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39797 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39799 if test "$wx_cv_func_strptime_decl" = "yes"; then
39800 cat >>confdefs.h
<<\_ACEOF
39801 #define HAVE_STRPTIME_DECL 1
39806 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39807 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39808 if test "${wx_cv_var_timezone+set}" = set; then
39809 echo $ECHO_N "(cached) $ECHO_C" >&6
39812 cat >conftest.
$ac_ext <<_ACEOF
39815 cat confdefs.h
>>conftest.
$ac_ext
39816 cat >>conftest.
$ac_ext <<_ACEOF
39817 /* end confdefs.h. */
39832 rm -f conftest.
$ac_objext
39833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39834 (eval $ac_compile) 2>conftest.er1
39836 grep -v '^ *+' conftest.er1
>conftest.err
39838 cat conftest.err
>&5
39839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39840 (exit $ac_status); } &&
39841 { ac_try
='test -z "$ac_c_werror_flag"
39842 || test ! -s conftest.err'
39843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39844 (eval $ac_try) 2>&5
39846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39847 (exit $ac_status); }; } &&
39848 { ac_try
='test -s conftest.$ac_objext'
39849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39850 (eval $ac_try) 2>&5
39852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39853 (exit $ac_status); }; }; then
39855 wx_cv_var_timezone
=timezone
39858 echo "$as_me: failed program was:" >&5
39859 sed 's/^/| /' conftest.
$ac_ext >&5
39862 cat >conftest.
$ac_ext <<_ACEOF
39865 cat confdefs.h
>>conftest.
$ac_ext
39866 cat >>conftest.
$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39882 rm -f conftest.
$ac_objext
39883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39884 (eval $ac_compile) 2>conftest.er1
39886 grep -v '^ *+' conftest.er1
>conftest.err
39888 cat conftest.err
>&5
39889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890 (exit $ac_status); } &&
39891 { ac_try
='test -z "$ac_c_werror_flag"
39892 || test ! -s conftest.err'
39893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894 (eval $ac_try) 2>&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); }; } &&
39898 { ac_try
='test -s conftest.$ac_objext'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; }; then
39905 wx_cv_var_timezone
=_timezone
39908 echo "$as_me: failed program was:" >&5
39909 sed 's/^/| /' conftest.
$ac_ext >&5
39912 cat >conftest.
$ac_ext <<_ACEOF
39915 cat confdefs.h
>>conftest.
$ac_ext
39916 cat >>conftest.
$ac_ext <<_ACEOF
39917 /* end confdefs.h. */
39932 rm -f conftest.
$ac_objext
39933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39934 (eval $ac_compile) 2>conftest.er1
39936 grep -v '^ *+' conftest.er1
>conftest.err
39938 cat conftest.err
>&5
39939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39940 (exit $ac_status); } &&
39941 { ac_try
='test -z "$ac_c_werror_flag"
39942 || test ! -s conftest.err'
39943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39944 (eval $ac_try) 2>&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); }; } &&
39948 { ac_try
='test -s conftest.$ac_objext'
39949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39950 (eval $ac_try) 2>&5
39952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953 (exit $ac_status); }; }; then
39955 wx_cv_var_timezone
=__timezone
39958 echo "$as_me: failed program was:" >&5
39959 sed 's/^/| /' conftest.
$ac_ext >&5
39962 if test "$USE_DOS" = 0 ; then
39963 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39964 echo "$as_me: WARNING: no timezone variable" >&2;}
39969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39981 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39982 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39984 if test "x$wx_cv_var_timezone" != x
; then
39985 cat >>confdefs.h
<<_ACEOF
39986 #define WX_TIMEZONE $wx_cv_var_timezone
39992 for ac_func
in localtime
39994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39995 echo "$as_me:$LINENO: checking for $ac_func" >&5
39996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39997 if eval "test \"\${$as_ac_var+set}\" = set"; then
39998 echo $ECHO_N "(cached) $ECHO_C" >&6
40000 cat >conftest.
$ac_ext <<_ACEOF
40003 cat confdefs.h
>>conftest.
$ac_ext
40004 cat >>conftest.
$ac_ext <<_ACEOF
40005 /* end confdefs.h. */
40006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40008 #define $ac_func innocuous_$ac_func
40010 /* System header to define __stub macros and hopefully few prototypes,
40011 which can conflict with char $ac_func (); below.
40012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40013 <limits.h> exists even on freestanding compilers. */
40016 # include <limits.h>
40018 # include <assert.h>
40023 /* Override any gcc2 internal prototype to avoid an error. */
40028 /* We use char because int might match the return type of a gcc2
40029 builtin and then its argument prototype would still apply. */
40031 /* The GNU C library defines this for functions which it implements
40032 to always fail with ENOSYS. Some functions are actually named
40033 something starting with __ and the normal name is an alias. */
40034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40037 char (*f) () = $ac_func;
40046 return f != $ac_func;
40051 rm -f conftest.
$ac_objext conftest
$ac_exeext
40052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40053 (eval $ac_link) 2>conftest.er1
40055 grep -v '^ *+' conftest.er1
>conftest.err
40057 cat conftest.err
>&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); } &&
40060 { ac_try
='test -z "$ac_c_werror_flag"
40061 || test ! -s conftest.err'
40062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40063 (eval $ac_try) 2>&5
40065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40066 (exit $ac_status); }; } &&
40067 { ac_try
='test -s conftest$ac_exeext'
40068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40069 (eval $ac_try) 2>&5
40071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40072 (exit $ac_status); }; }; then
40073 eval "$as_ac_var=yes"
40075 echo "$as_me: failed program was:" >&5
40076 sed 's/^/| /' conftest.
$ac_ext >&5
40078 eval "$as_ac_var=no"
40080 rm -f conftest.err conftest.
$ac_objext \
40081 conftest
$ac_exeext conftest.
$ac_ext
40083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40085 if test `eval echo '${'$as_ac_var'}'` = yes; then
40086 cat >>confdefs.h
<<_ACEOF
40087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40094 if test "$ac_cv_func_localtime" = "yes"; then
40095 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
40096 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
40097 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
40098 echo $ECHO_N "(cached) $ECHO_C" >&6
40101 cat >conftest.
$ac_ext <<_ACEOF
40104 cat confdefs.h
>>conftest.
$ac_ext
40105 cat >>conftest.
$ac_ext <<_ACEOF
40106 /* end confdefs.h. */
40121 rm -f conftest.
$ac_objext
40122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40123 (eval $ac_compile) 2>conftest.er1
40125 grep -v '^ *+' conftest.er1
>conftest.err
40127 cat conftest.err
>&5
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); } &&
40130 { ac_try
='test -z "$ac_c_werror_flag"
40131 || test ! -s conftest.err'
40132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40133 (eval $ac_try) 2>&5
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); }; } &&
40137 { ac_try
='test -s conftest.$ac_objext'
40138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40139 (eval $ac_try) 2>&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); }; }; then
40144 wx_cv_struct_tm_has_gmtoff
=yes
40147 echo "$as_me: failed program was:" >&5
40148 sed 's/^/| /' conftest.
$ac_ext >&5
40150 wx_cv_struct_tm_has_gmtoff
=no
40153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40156 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40157 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40160 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40161 cat >>confdefs.h
<<\_ACEOF
40162 #define WX_GMTOFF_IN_TM 1
40169 for ac_func
in gettimeofday ftime
40171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40172 echo "$as_me:$LINENO: checking for $ac_func" >&5
40173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40174 if eval "test \"\${$as_ac_var+set}\" = set"; then
40175 echo $ECHO_N "(cached) $ECHO_C" >&6
40177 cat >conftest.
$ac_ext <<_ACEOF
40180 cat confdefs.h
>>conftest.
$ac_ext
40181 cat >>conftest.
$ac_ext <<_ACEOF
40182 /* end confdefs.h. */
40183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40185 #define $ac_func innocuous_$ac_func
40187 /* System header to define __stub macros and hopefully few prototypes,
40188 which can conflict with char $ac_func (); below.
40189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40190 <limits.h> exists even on freestanding compilers. */
40193 # include <limits.h>
40195 # include <assert.h>
40200 /* Override any gcc2 internal prototype to avoid an error. */
40205 /* We use char because int might match the return type of a gcc2
40206 builtin and then its argument prototype would still apply. */
40208 /* The GNU C library defines this for functions which it implements
40209 to always fail with ENOSYS. Some functions are actually named
40210 something starting with __ and the normal name is an alias. */
40211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40214 char (*f) () = $ac_func;
40223 return f != $ac_func;
40228 rm -f conftest.
$ac_objext conftest
$ac_exeext
40229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40230 (eval $ac_link) 2>conftest.er1
40232 grep -v '^ *+' conftest.er1
>conftest.err
40234 cat conftest.err
>&5
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); } &&
40237 { ac_try
='test -z "$ac_c_werror_flag"
40238 || test ! -s conftest.err'
40239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40240 (eval $ac_try) 2>&5
40242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243 (exit $ac_status); }; } &&
40244 { ac_try
='test -s conftest$ac_exeext'
40245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40246 (eval $ac_try) 2>&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); }; }; then
40250 eval "$as_ac_var=yes"
40252 echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.
$ac_ext >&5
40255 eval "$as_ac_var=no"
40257 rm -f conftest.err conftest.
$ac_objext \
40258 conftest
$ac_exeext conftest.
$ac_ext
40260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40262 if test `eval echo '${'$as_ac_var'}'` = yes; then
40263 cat >>confdefs.h
<<_ACEOF
40264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40271 if test "$ac_cv_func_gettimeofday" = "yes"; then
40272 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40273 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40274 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40275 echo $ECHO_N "(cached) $ECHO_C" >&6
40281 ac_cpp
='$CXXCPP $CPPFLAGS'
40282 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40287 cat >conftest.
$ac_ext <<_ACEOF
40290 cat confdefs.h
>>conftest.
$ac_ext
40291 cat >>conftest.
$ac_ext <<_ACEOF
40292 /* end confdefs.h. */
40294 #include <sys/time.h>
40295 #include <unistd.h>
40302 gettimeofday(&tv, NULL);
40308 rm -f conftest.
$ac_objext
40309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40310 (eval $ac_compile) 2>conftest.er1
40312 grep -v '^ *+' conftest.er1
>conftest.err
40314 cat conftest.err
>&5
40315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40316 (exit $ac_status); } &&
40317 { ac_try
='test -z "$ac_cxx_werror_flag"
40318 || test ! -s conftest.err'
40319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40320 (eval $ac_try) 2>&5
40322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40323 (exit $ac_status); }; } &&
40324 { ac_try
='test -s conftest.$ac_objext'
40325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40326 (eval $ac_try) 2>&5
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); }; }; then
40330 wx_cv_func_gettimeofday_has_2_args
=yes
40332 echo "$as_me: failed program was:" >&5
40333 sed 's/^/| /' conftest.
$ac_ext >&5
40335 cat >conftest.
$ac_ext <<_ACEOF
40338 cat confdefs.h
>>conftest.
$ac_ext
40339 cat >>conftest.
$ac_ext <<_ACEOF
40340 /* end confdefs.h. */
40342 #include <sys/time.h>
40343 #include <unistd.h>
40356 rm -f conftest.
$ac_objext
40357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40358 (eval $ac_compile) 2>conftest.er1
40360 grep -v '^ *+' conftest.er1
>conftest.err
40362 cat conftest.err
>&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } &&
40365 { ac_try
='test -z "$ac_cxx_werror_flag"
40366 || test ! -s conftest.err'
40367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40368 (eval $ac_try) 2>&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); }; } &&
40372 { ac_try
='test -s conftest.$ac_objext'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; }; then
40378 wx_cv_func_gettimeofday_has_2_args
=no
40380 echo "$as_me: failed program was:" >&5
40381 sed 's/^/| /' conftest.
$ac_ext >&5
40384 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40385 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40386 wx_cv_func_gettimeofday_has_2_args
=unknown
40390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40395 ac_cpp
='$CPP $CPPFLAGS'
40396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40402 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40403 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40405 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40406 cat >>confdefs.h
<<\_ACEOF
40407 #define WX_GETTIMEOFDAY_NO_TZ 1
40413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
40417 if test "$wxUSE_SOCKETS" = "yes"; then
40418 if test "$wxUSE_MGL" = "1"; then
40419 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40420 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40425 if test "$wxUSE_SOCKETS" = "yes"; then
40426 if test "$TOOLKIT" != "MSW"; then
40427 echo "$as_me:$LINENO: checking for socket" >&5
40428 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40429 if test "${ac_cv_func_socket+set}" = set; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40432 cat >conftest.
$ac_ext <<_ACEOF
40435 cat confdefs.h
>>conftest.
$ac_ext
40436 cat >>conftest.
$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40440 #define socket innocuous_socket
40442 /* System header to define __stub macros and hopefully few prototypes,
40443 which can conflict with char socket (); below.
40444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40445 <limits.h> exists even on freestanding compilers. */
40448 # include <limits.h>
40450 # include <assert.h>
40455 /* Override any gcc2 internal prototype to avoid an error. */
40460 /* We use char because int might match the return type of a gcc2
40461 builtin and then its argument prototype would still apply. */
40463 /* The GNU C library defines this for functions which it implements
40464 to always fail with ENOSYS. Some functions are actually named
40465 something starting with __ and the normal name is an alias. */
40466 #if defined (__stub_socket) || defined (__stub___socket)
40469 char (*f) () = socket;
40478 return f != socket;
40483 rm -f conftest.
$ac_objext conftest
$ac_exeext
40484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40485 (eval $ac_link) 2>conftest.er1
40487 grep -v '^ *+' conftest.er1
>conftest.err
40489 cat conftest.err
>&5
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); } &&
40492 { ac_try
='test -z "$ac_c_werror_flag"
40493 || test ! -s conftest.err'
40494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40495 (eval $ac_try) 2>&5
40497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498 (exit $ac_status); }; } &&
40499 { ac_try
='test -s conftest$ac_exeext'
40500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40501 (eval $ac_try) 2>&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); }; }; then
40505 ac_cv_func_socket
=yes
40507 echo "$as_me: failed program was:" >&5
40508 sed 's/^/| /' conftest.
$ac_ext >&5
40510 ac_cv_func_socket
=no
40512 rm -f conftest.err conftest.
$ac_objext \
40513 conftest
$ac_exeext conftest.
$ac_ext
40515 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40516 echo "${ECHO_T}$ac_cv_func_socket" >&6
40517 if test $ac_cv_func_socket = yes; then
40521 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40522 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40523 if test "${ac_cv_lib_socket_socket+set}" = set; then
40524 echo $ECHO_N "(cached) $ECHO_C" >&6
40526 ac_check_lib_save_LIBS
=$LIBS
40527 LIBS
="-lsocket $LIBS"
40528 cat >conftest.
$ac_ext <<_ACEOF
40531 cat confdefs.h
>>conftest.
$ac_ext
40532 cat >>conftest.
$ac_ext <<_ACEOF
40533 /* end confdefs.h. */
40535 /* Override any gcc2 internal prototype to avoid an error. */
40539 /* We use char because int might match the return type of a gcc2
40540 builtin and then its argument prototype would still apply. */
40550 rm -f conftest.
$ac_objext conftest
$ac_exeext
40551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40552 (eval $ac_link) 2>conftest.er1
40554 grep -v '^ *+' conftest.er1
>conftest.err
40556 cat conftest.err
>&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } &&
40559 { ac_try
='test -z "$ac_c_werror_flag"
40560 || test ! -s conftest.err'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; } &&
40566 { ac_try
='test -s conftest$ac_exeext'
40567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40568 (eval $ac_try) 2>&5
40570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40571 (exit $ac_status); }; }; then
40572 ac_cv_lib_socket_socket
=yes
40574 echo "$as_me: failed program was:" >&5
40575 sed 's/^/| /' conftest.
$ac_ext >&5
40577 ac_cv_lib_socket_socket
=no
40579 rm -f conftest.err conftest.
$ac_objext \
40580 conftest
$ac_exeext conftest.
$ac_ext
40581 LIBS
=$ac_check_lib_save_LIBS
40583 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40584 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40585 if test $ac_cv_lib_socket_socket = yes; then
40586 if test "$INET_LINK" != " -lsocket"; then
40587 INET_LINK
="$INET_LINK -lsocket"
40591 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40592 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40605 if test "$wxUSE_SOCKETS" = "yes" ; then
40606 if test "$TOOLKIT" != "MSW"; then
40608 ac_cpp
='$CXXCPP $CPPFLAGS'
40609 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40610 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40611 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40613 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40614 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40615 if test "${wx_cv_type_getsockname3+set}" = set; then
40616 echo $ECHO_N "(cached) $ECHO_C" >&6
40619 cat >conftest.
$ac_ext <<_ACEOF
40622 cat confdefs.h
>>conftest.
$ac_ext
40623 cat >>conftest.
$ac_ext <<_ACEOF
40624 /* end confdefs.h. */
40626 #include <sys/types.h>
40627 #include <sys/socket.h>
40634 getsockname(0, 0, &len);
40640 rm -f conftest.
$ac_objext
40641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40642 (eval $ac_compile) 2>conftest.er1
40644 grep -v '^ *+' conftest.er1
>conftest.err
40646 cat conftest.err
>&5
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); } &&
40649 { ac_try
='test -z "$ac_cxx_werror_flag"
40650 || test ! -s conftest.err'
40651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40652 (eval $ac_try) 2>&5
40654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40655 (exit $ac_status); }; } &&
40656 { ac_try
='test -s conftest.$ac_objext'
40657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40658 (eval $ac_try) 2>&5
40660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661 (exit $ac_status); }; }; then
40662 wx_cv_type_getsockname3
=socklen_t
40664 echo "$as_me: failed program was:" >&5
40665 sed 's/^/| /' conftest.
$ac_ext >&5
40668 CXXFLAGS_OLD
="$CXXFLAGS"
40669 if test "$GCC" = yes ; then
40670 CXXFLAGS
="$CXXFLAGS -Werror"
40673 cat >conftest.
$ac_ext <<_ACEOF
40676 cat confdefs.h
>>conftest.
$ac_ext
40677 cat >>conftest.
$ac_ext <<_ACEOF
40678 /* end confdefs.h. */
40680 #include <sys/types.h>
40681 #include <sys/socket.h>
40688 getsockname(0, 0, &len);
40694 rm -f conftest.
$ac_objext
40695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40696 (eval $ac_compile) 2>conftest.er1
40698 grep -v '^ *+' conftest.er1
>conftest.err
40700 cat conftest.err
>&5
40701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40702 (exit $ac_status); } &&
40703 { ac_try
='test -z "$ac_cxx_werror_flag"
40704 || test ! -s conftest.err'
40705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40706 (eval $ac_try) 2>&5
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); }; } &&
40710 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
40716 wx_cv_type_getsockname3
=size_t
40718 echo "$as_me: failed program was:" >&5
40719 sed 's/^/| /' conftest.
$ac_ext >&5
40721 cat >conftest.
$ac_ext <<_ACEOF
40724 cat confdefs.h
>>conftest.
$ac_ext
40725 cat >>conftest.
$ac_ext <<_ACEOF
40726 /* end confdefs.h. */
40728 #include <sys/types.h>
40729 #include <sys/socket.h>
40736 getsockname(0, 0, &len);
40742 rm -f conftest.
$ac_objext
40743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40744 (eval $ac_compile) 2>conftest.er1
40746 grep -v '^ *+' conftest.er1
>conftest.err
40748 cat conftest.err
>&5
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); } &&
40751 { ac_try
='test -z "$ac_cxx_werror_flag"
40752 || test ! -s conftest.err'
40753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40754 (eval $ac_try) 2>&5
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); }; } &&
40758 { ac_try
='test -s conftest.$ac_objext'
40759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40760 (eval $ac_try) 2>&5
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); }; }; then
40764 wx_cv_type_getsockname3
=int
40766 echo "$as_me: failed program was:" >&5
40767 sed 's/^/| /' conftest.
$ac_ext >&5
40769 wx_cv_type_getsockname3
=unknown
40772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40777 CXXFLAGS
="$CXXFLAGS_OLD"
40781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40784 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40785 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40787 if test "$wx_cv_type_getsockname3" = "unknown"; then
40789 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40790 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40792 cat >>confdefs.h
<<_ACEOF
40793 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40797 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40798 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40799 if test "${wx_cv_type_getsockopt5+set}" = set; then
40800 echo $ECHO_N "(cached) $ECHO_C" >&6
40803 cat >conftest.
$ac_ext <<_ACEOF
40806 cat confdefs.h
>>conftest.
$ac_ext
40807 cat >>conftest.
$ac_ext <<_ACEOF
40808 /* end confdefs.h. */
40810 #include <sys/types.h>
40811 #include <sys/socket.h>
40818 getsockopt(0, 0, 0, 0, &len);
40824 rm -f conftest.
$ac_objext
40825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40826 (eval $ac_compile) 2>conftest.er1
40828 grep -v '^ *+' conftest.er1
>conftest.err
40830 cat conftest.err
>&5
40831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40832 (exit $ac_status); } &&
40833 { ac_try
='test -z "$ac_cxx_werror_flag"
40834 || test ! -s conftest.err'
40835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40836 (eval $ac_try) 2>&5
40838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839 (exit $ac_status); }; } &&
40840 { ac_try
='test -s conftest.$ac_objext'
40841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40842 (eval $ac_try) 2>&5
40844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40845 (exit $ac_status); }; }; then
40846 wx_cv_type_getsockopt5
=socklen_t
40848 echo "$as_me: failed program was:" >&5
40849 sed 's/^/| /' conftest.
$ac_ext >&5
40852 CXXFLAGS_OLD
="$CXXFLAGS"
40853 if test "$GCC" = yes ; then
40854 CXXFLAGS
="$CXXFLAGS -Werror"
40857 cat >conftest.
$ac_ext <<_ACEOF
40860 cat confdefs.h
>>conftest.
$ac_ext
40861 cat >>conftest.
$ac_ext <<_ACEOF
40862 /* end confdefs.h. */
40864 #include <sys/types.h>
40865 #include <sys/socket.h>
40872 getsockopt(0, 0, 0, 0, &len);
40878 rm -f conftest.
$ac_objext
40879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40880 (eval $ac_compile) 2>conftest.er1
40882 grep -v '^ *+' conftest.er1
>conftest.err
40884 cat conftest.err
>&5
40885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40886 (exit $ac_status); } &&
40887 { ac_try
='test -z "$ac_cxx_werror_flag"
40888 || test ! -s conftest.err'
40889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40890 (eval $ac_try) 2>&5
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); }; } &&
40894 { ac_try
='test -s conftest.$ac_objext'
40895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40896 (eval $ac_try) 2>&5
40898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40899 (exit $ac_status); }; }; then
40900 wx_cv_type_getsockopt5
=size_t
40902 echo "$as_me: failed program was:" >&5
40903 sed 's/^/| /' conftest.
$ac_ext >&5
40905 cat >conftest.
$ac_ext <<_ACEOF
40908 cat confdefs.h
>>conftest.
$ac_ext
40909 cat >>conftest.
$ac_ext <<_ACEOF
40910 /* end confdefs.h. */
40912 #include <sys/types.h>
40913 #include <sys/socket.h>
40920 getsockopt(0, 0, 0, 0, &len);
40926 rm -f conftest.
$ac_objext
40927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40928 (eval $ac_compile) 2>conftest.er1
40930 grep -v '^ *+' conftest.er1
>conftest.err
40932 cat conftest.err
>&5
40933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 (exit $ac_status); } &&
40935 { ac_try
='test -z "$ac_cxx_werror_flag"
40936 || test ! -s conftest.err'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try
='test -s conftest.$ac_objext'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; }; then
40948 wx_cv_type_getsockopt5
=int
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.
$ac_ext >&5
40953 wx_cv_type_getsockopt5
=unknown
40956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40961 CXXFLAGS
="$CXXFLAGS_OLD"
40965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40968 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40969 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40971 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40973 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40974 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40976 cat >>confdefs.h
<<_ACEOF
40977 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40982 ac_cpp
='$CPP $CPPFLAGS'
40983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40990 if test "$wxUSE_SOCKETS" = "yes" ; then
40991 cat >>confdefs.h
<<\_ACEOF
40992 #define wxUSE_SOCKETS 1
40995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
40998 if test "$wxUSE_PROTOCOL" = "yes"; then
40999 if test "$wxUSE_SOCKETS" != "yes"; then
41000 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
41001 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
41006 if test "$wxUSE_PROTOCOL" = "yes"; then
41007 cat >>confdefs.h
<<\_ACEOF
41008 #define wxUSE_PROTOCOL 1
41012 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
41013 cat >>confdefs.h
<<\_ACEOF
41014 #define wxUSE_PROTOCOL_HTTP 1
41018 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
41019 cat >>confdefs.h
<<\_ACEOF
41020 #define wxUSE_PROTOCOL_FTP 1
41024 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
41025 cat >>confdefs.h
<<\_ACEOF
41026 #define wxUSE_PROTOCOL_FILE 1
41031 if test "$wxUSE_FS_INET" = "yes"; then
41032 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
41033 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
41038 if test "$wxUSE_URL" = "yes"; then
41039 if test "$wxUSE_PROTOCOL" != "yes"; then
41040 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
41041 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
41044 if test "$wxUSE_URL" = "yes"; then
41045 cat >>confdefs.h
<<\_ACEOF
41046 #define wxUSE_URL 1
41052 if test "$wxUSE_FS_INET" = "yes"; then
41053 cat >>confdefs.h
<<\_ACEOF
41054 #define wxUSE_FS_INET 1
41060 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
41063 if test "$TOOLKIT" = "MSW"; then
41066 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
41067 if test "$USE_DARWIN" = 1; then
41068 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
41069 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
41071 ac_cpp
='$CXXCPP $CPPFLAGS'
41072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41076 cat >conftest.
$ac_ext <<_ACEOF
41079 cat confdefs.h
>>conftest.
$ac_ext
41080 cat >>conftest.
$ac_ext <<_ACEOF
41081 /* end confdefs.h. */
41082 #include <IOKit/hid/IOHIDLib.h>
41086 IOHIDQueueInterface *qi = NULL;
41087 IOHIDCallbackFunction cb = NULL;
41088 qi->setEventCallout(NULL, cb, NULL, NULL);
41093 rm -f conftest.
$ac_objext
41094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41095 (eval $ac_compile) 2>conftest.er1
41097 grep -v '^ *+' conftest.er1
>conftest.err
41099 cat conftest.err
>&5
41100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41101 (exit $ac_status); } &&
41102 { ac_try
='test -z "$ac_cxx_werror_flag"
41103 || test ! -s conftest.err'
41104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41105 (eval $ac_try) 2>&5
41107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41108 (exit $ac_status); }; } &&
41109 { ac_try
='test -s conftest.$ac_objext'
41110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41111 (eval $ac_try) 2>&5
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); }; }; then
41118 echo "$as_me: failed program was:" >&5
41119 sed 's/^/| /' conftest.
$ac_ext >&5
41122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41124 ac_cpp
='$CPP $CPPFLAGS'
41125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41129 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
41130 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
41135 for ac_header
in linux
/joystick.h
41137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41139 echo "$as_me:$LINENO: checking for $ac_header" >&5
41140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41142 echo $ECHO_N "(cached) $ECHO_C" >&6
41144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41147 # Is the header compilable?
41148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41150 cat >conftest.
$ac_ext <<_ACEOF
41153 cat confdefs.h
>>conftest.
$ac_ext
41154 cat >>conftest.
$ac_ext <<_ACEOF
41155 /* end confdefs.h. */
41156 $ac_includes_default
41157 #include <$ac_header>
41159 rm -f conftest.
$ac_objext
41160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41161 (eval $ac_compile) 2>conftest.er1
41163 grep -v '^ *+' conftest.er1
>conftest.err
41165 cat conftest.err
>&5
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); } &&
41168 { ac_try
='test -z "$ac_c_werror_flag"
41169 || test ! -s conftest.err'
41170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41171 (eval $ac_try) 2>&5
41173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41174 (exit $ac_status); }; } &&
41175 { ac_try
='test -s conftest.$ac_objext'
41176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41177 (eval $ac_try) 2>&5
41179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41180 (exit $ac_status); }; }; then
41181 ac_header_compiler
=yes
41183 echo "$as_me: failed program was:" >&5
41184 sed 's/^/| /' conftest.
$ac_ext >&5
41186 ac_header_compiler
=no
41188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41190 echo "${ECHO_T}$ac_header_compiler" >&6
41192 # Is the header present?
41193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41195 cat >conftest.
$ac_ext <<_ACEOF
41198 cat confdefs.h
>>conftest.
$ac_ext
41199 cat >>conftest.
$ac_ext <<_ACEOF
41200 /* end confdefs.h. */
41201 #include <$ac_header>
41203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41206 grep -v '^ *+' conftest.er1
>conftest.err
41208 cat conftest.err
>&5
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); } >/dev
/null
; then
41211 if test -s conftest.err
; then
41212 ac_cpp_err
=$ac_c_preproc_warn_flag
41213 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41220 if test -z "$ac_cpp_err"; then
41221 ac_header_preproc
=yes
41223 echo "$as_me: failed program was:" >&5
41224 sed 's/^/| /' conftest.
$ac_ext >&5
41226 ac_header_preproc
=no
41228 rm -f conftest.err conftest.
$ac_ext
41229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41230 echo "${ECHO_T}$ac_header_preproc" >&6
41232 # So? What about this header?
41233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41239 ac_header_preproc
=yes
41242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41256 ## ----------------------------------------- ##
41257 ## Report this to wx-dev@lists.wxwidgets.org ##
41258 ## ----------------------------------------- ##
41261 sed "s/^/$as_me: WARNING: /" >&2
41264 echo "$as_me:$LINENO: checking for $ac_header" >&5
41265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41267 echo $ECHO_N "(cached) $ECHO_C" >&6
41269 eval "$as_ac_Header=\$ac_header_preproc"
41271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41276 cat >>confdefs.h
<<_ACEOF
41277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41286 if test "$wxUSE_JOYSTICK" = "yes"; then
41287 cat >>confdefs.h
<<\_ACEOF
41288 #define wxUSE_JOYSTICK 1
41291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
41293 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41294 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41300 if test "$wxUSE_FONTMAP" = "yes" ; then
41301 cat >>confdefs.h
<<\_ACEOF
41302 #define wxUSE_FONTMAP 1
41307 if test "$wxUSE_UNICODE" = "yes" ; then
41308 cat >>confdefs.h
<<\_ACEOF
41309 #define wxUSE_UNICODE 1
41313 if test "$USE_WIN32" != 1; then
41314 wxUSE_UNICODE_MSLU
=no
41317 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41318 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41319 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41320 if test "${ac_cv_lib_unicows_main+set}" = set; then
41321 echo $ECHO_N "(cached) $ECHO_C" >&6
41323 ac_check_lib_save_LIBS
=$LIBS
41324 LIBS
="-lunicows $LIBS"
41325 cat >conftest.
$ac_ext <<_ACEOF
41328 cat confdefs.h
>>conftest.
$ac_ext
41329 cat >>conftest.
$ac_ext <<_ACEOF
41330 /* end confdefs.h. */
41341 rm -f conftest.
$ac_objext conftest
$ac_exeext
41342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41343 (eval $ac_link) 2>conftest.er1
41345 grep -v '^ *+' conftest.er1
>conftest.err
41347 cat conftest.err
>&5
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); } &&
41350 { ac_try
='test -z "$ac_c_werror_flag"
41351 || test ! -s conftest.err'
41352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41353 (eval $ac_try) 2>&5
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); }; } &&
41357 { ac_try
='test -s conftest$ac_exeext'
41358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41359 (eval $ac_try) 2>&5
41361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362 (exit $ac_status); }; }; then
41363 ac_cv_lib_unicows_main
=yes
41365 echo "$as_me: failed program was:" >&5
41366 sed 's/^/| /' conftest.
$ac_ext >&5
41368 ac_cv_lib_unicows_main
=no
41370 rm -f conftest.err conftest.
$ac_objext \
41371 conftest
$ac_exeext conftest.
$ac_ext
41372 LIBS
=$ac_check_lib_save_LIBS
41374 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41375 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41376 if test $ac_cv_lib_unicows_main = yes; then
41378 cat >>confdefs.h
<<\_ACEOF
41379 #define wxUSE_UNICODE_MSLU 1
41385 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41386 Applications will only run on Windows NT/2000/XP!" >&5
41387 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41388 Applications will only run on Windows NT/2000/XP!" >&2;}
41389 wxUSE_UNICODE_MSLU
=no
41396 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41397 cat >>confdefs.h
<<\_ACEOF
41398 #define wxUSE_EXPERIMENTAL_PRINTF 1
41404 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41405 cat >>confdefs.h
<<\_ACEOF
41406 #define wxUSE_POSTSCRIPT 1
41411 cat >>confdefs.h
<<\_ACEOF
41412 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41416 cat >>confdefs.h
<<\_ACEOF
41417 #define wxUSE_NORMALIZED_PS_FONTS 1
41422 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41423 cat >>confdefs.h
<<\_ACEOF
41424 #define wxUSE_CONSTRAINTS 1
41427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
41430 if test "$wxUSE_MDI" = "yes"; then
41431 cat >>confdefs.h
<<\_ACEOF
41432 #define wxUSE_MDI 1
41436 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41437 cat >>confdefs.h
<<\_ACEOF
41438 #define wxUSE_MDI_ARCHITECTURE 1
41441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
41445 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41446 cat >>confdefs.h
<<\_ACEOF
41447 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
41451 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
41456 if test "$wxUSE_HELP" = "yes"; then
41457 cat >>confdefs.h
<<\_ACEOF
41458 #define wxUSE_HELP 1
41461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
41463 if test "$wxUSE_MSW" = 1; then
41464 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41465 cat >>confdefs.h
<<\_ACEOF
41466 #define wxUSE_MS_HTML_HELP 1
41472 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41473 if test "$wxUSE_HTML" = "yes"; then
41474 cat >>confdefs.h
<<\_ACEOF
41475 #define wxUSE_WXHTML_HELP 1
41479 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41480 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41481 wxUSE_WXHTML_HELP
=no
41486 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41487 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41488 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41489 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41491 cat >>confdefs.h
<<\_ACEOF
41492 #define wxUSE_PRINTING_ARCHITECTURE 1
41496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
41499 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41500 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41501 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41502 { (exit 1); exit 1; }; }
41506 if test "$wxUSE_METAFILE" = "yes"; then
41507 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41508 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41509 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41515 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
41516 -o "$wxUSE_CLIPBOARD" = "yes" \
41517 -o "$wxUSE_OLE" = "yes" \
41518 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
41520 for ac_header
in ole2.h
41522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41524 echo "$as_me:$LINENO: checking for $ac_header" >&5
41525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41527 echo $ECHO_N "(cached) $ECHO_C" >&6
41529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41532 # Is the header compilable?
41533 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41535 cat >conftest.
$ac_ext <<_ACEOF
41538 cat confdefs.h
>>conftest.
$ac_ext
41539 cat >>conftest.
$ac_ext <<_ACEOF
41540 /* end confdefs.h. */
41541 $ac_includes_default
41542 #include <$ac_header>
41544 rm -f conftest.
$ac_objext
41545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41546 (eval $ac_compile) 2>conftest.er1
41548 grep -v '^ *+' conftest.er1
>conftest.err
41550 cat conftest.err
>&5
41551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41552 (exit $ac_status); } &&
41553 { ac_try
='test -z "$ac_c_werror_flag"
41554 || test ! -s conftest.err'
41555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41556 (eval $ac_try) 2>&5
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; } &&
41560 { ac_try
='test -s conftest.$ac_objext'
41561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41562 (eval $ac_try) 2>&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); }; }; then
41566 ac_header_compiler
=yes
41568 echo "$as_me: failed program was:" >&5
41569 sed 's/^/| /' conftest.
$ac_ext >&5
41571 ac_header_compiler
=no
41573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41575 echo "${ECHO_T}$ac_header_compiler" >&6
41577 # Is the header present?
41578 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41580 cat >conftest.
$ac_ext <<_ACEOF
41583 cat confdefs.h
>>conftest.
$ac_ext
41584 cat >>conftest.
$ac_ext <<_ACEOF
41585 /* end confdefs.h. */
41586 #include <$ac_header>
41588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
41591 grep -v '^ *+' conftest.er1
>conftest.err
41593 cat conftest.err
>&5
41594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41595 (exit $ac_status); } >/dev
/null
; then
41596 if test -s conftest.err
; then
41597 ac_cpp_err
=$ac_c_preproc_warn_flag
41598 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
41605 if test -z "$ac_cpp_err"; then
41606 ac_header_preproc
=yes
41608 echo "$as_me: failed program was:" >&5
41609 sed 's/^/| /' conftest.
$ac_ext >&5
41611 ac_header_preproc
=no
41613 rm -f conftest.err conftest.
$ac_ext
41614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41615 echo "${ECHO_T}$ac_header_preproc" >&6
41617 # So? What about this header?
41618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41621 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41623 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41624 ac_header_preproc
=yes
41627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41631 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41632 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41633 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41641 ## ----------------------------------------- ##
41642 ## Report this to wx-dev@lists.wxwidgets.org ##
41643 ## ----------------------------------------- ##
41646 sed "s/^/$as_me: WARNING: /" >&2
41649 echo "$as_me:$LINENO: checking for $ac_header" >&5
41650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41652 echo $ECHO_N "(cached) $ECHO_C" >&6
41654 eval "$as_ac_Header=\$ac_header_preproc"
41656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41661 cat >>confdefs.h
<<_ACEOF
41662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41670 if test "$ac_cv_header_ole2_h" = "yes" ; then
41671 if test "$GCC" = yes ; then
41675 ac_cpp
='$CXXCPP $CPPFLAGS'
41676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41681 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41682 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41683 cat >conftest.
$ac_ext <<_ACEOF
41686 cat confdefs.h
>>conftest.
$ac_ext
41687 cat >>conftest.
$ac_ext <<_ACEOF
41688 /* end confdefs.h. */
41689 #include <windows.h>
41699 rm -f conftest.
$ac_objext
41700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41701 (eval $ac_compile) 2>conftest.er1
41703 grep -v '^ *+' conftest.er1
>conftest.err
41705 cat conftest.err
>&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } &&
41708 { ac_try
='test -z "$ac_cxx_werror_flag"
41709 || test ! -s conftest.err'
41710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41711 (eval $ac_try) 2>&5
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); }; } &&
41715 { ac_try
='test -s conftest.$ac_objext'
41716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41717 (eval $ac_try) 2>&5
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); }; }; then
41721 echo "$as_me:$LINENO: result: no" >&5
41722 echo "${ECHO_T}no" >&6
41724 echo "$as_me: failed program was:" >&5
41725 sed 's/^/| /' conftest.
$ac_ext >&5
41727 echo "$as_me:$LINENO: result: yes" >&5
41728 echo "${ECHO_T}yes" >&6
41729 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
41731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41733 ac_cpp
='$CPP $CPPFLAGS'
41734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41738 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41739 if test "$wxUSE_OLE" = "yes" ; then
41740 cat >>confdefs.h
<<\_ACEOF
41741 #define wxUSE_OLE 1
41744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
41748 if test "$wxUSE_DATAOBJ" = "yes" ; then
41749 cat >>confdefs.h
<<\_ACEOF
41750 #define wxUSE_DATAOBJ 1
41755 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41756 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41759 wxUSE_DRAG_AND_DROP
=no
41764 if test "$wxUSE_METAFILE" = "yes"; then
41765 cat >>confdefs.h
<<\_ACEOF
41766 #define wxUSE_METAFILE 1
41770 cat >>confdefs.h
<<\_ACEOF
41771 #define wxUSE_ENH_METAFILE 1
41777 if test "$wxUSE_IPC" = "yes"; then
41778 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41779 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41780 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41784 if test "$wxUSE_IPC" = "yes"; then
41785 cat >>confdefs.h
<<\_ACEOF
41786 #define wxUSE_IPC 1
41789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
41793 if test "$wxUSE_DATAOBJ" = "yes"; then
41794 if test "$wxUSE_MGL" = 1; then
41795 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41796 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41799 cat >>confdefs.h
<<\_ACEOF
41800 #define wxUSE_DATAOBJ 1
41805 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41806 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41808 wxUSE_DRAG_AND_DROP
=no
41811 if test "$wxUSE_CLIPBOARD" = "yes"; then
41812 if test "$wxUSE_MGL" = 1; then
41813 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41814 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41818 if test "$wxUSE_CLIPBOARD" = "yes"; then
41819 cat >>confdefs.h
<<\_ACEOF
41820 #define wxUSE_CLIPBOARD 1
41826 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41827 if test "$wxUSE_GTK" = 1; then
41828 if test "$WXGTK12" != 1; then
41829 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41830 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41831 wxUSE_DRAG_AND_DROP
=no
41835 if test "$wxUSE_MOTIF" = 1; then
41836 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41837 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41838 wxUSE_DRAG_AND_DROP
=no
41841 if test "$wxUSE_X11" = 1; then
41842 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41843 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41844 wxUSE_DRAG_AND_DROP
=no
41847 if test "$wxUSE_MGL" = 1; then
41848 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41849 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41850 wxUSE_DRAG_AND_DROP
=no
41853 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41854 cat >>confdefs.h
<<\_ACEOF
41855 #define wxUSE_DRAG_AND_DROP 1
41862 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
41866 if test "$wxUSE_SPLINES" = "yes" ; then
41867 cat >>confdefs.h
<<\_ACEOF
41868 #define wxUSE_SPLINES 1
41873 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41874 cat >>confdefs.h
<<\_ACEOF
41875 #define wxUSE_MOUSEWHEEL 1
41882 if test "$wxUSE_CONTROLS" = "yes"; then
41886 if test "$wxUSE_ACCEL" = "yes"; then
41887 cat >>confdefs.h
<<\_ACEOF
41888 #define wxUSE_ACCEL 1
41894 if test "$wxUSE_BUTTON" = "yes"; then
41895 cat >>confdefs.h
<<\_ACEOF
41896 #define wxUSE_BUTTON 1
41902 if test "$wxUSE_BMPBUTTON" = "yes"; then
41903 cat >>confdefs.h
<<\_ACEOF
41904 #define wxUSE_BMPBUTTON 1
41910 if test "$wxUSE_CALCTRL" = "yes"; then
41911 cat >>confdefs.h
<<\_ACEOF
41912 #define wxUSE_CALENDARCTRL 1
41916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
41919 if test "$wxUSE_CARET" = "yes"; then
41920 cat >>confdefs.h
<<\_ACEOF
41921 #define wxUSE_CARET 1
41925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
41928 if test "$wxUSE_COMBOBOX" = "yes"; then
41929 cat >>confdefs.h
<<\_ACEOF
41930 #define wxUSE_COMBOBOX 1
41936 if test "$wxUSE_CHOICE" = "yes"; then
41937 cat >>confdefs.h
<<\_ACEOF
41938 #define wxUSE_CHOICE 1
41944 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41945 cat >>confdefs.h
<<\_ACEOF
41946 #define wxUSE_CHOICEBOOK 1
41952 if test "$wxUSE_CHECKBOX" = "yes"; then
41953 cat >>confdefs.h
<<\_ACEOF
41954 #define wxUSE_CHECKBOX 1
41960 if test "$wxUSE_CHECKLST" = "yes"; then
41961 cat >>confdefs.h
<<\_ACEOF
41962 #define wxUSE_CHECKLISTBOX 1
41966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
41969 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41970 cat >>confdefs.h
<<\_ACEOF
41971 #define wxUSE_DATEPICKCTRL 1
41977 if test "$wxUSE_DISPLAY" = "yes"; then
41978 cat >>confdefs.h
<<\_ACEOF
41979 #define wxUSE_DISPLAY 1
41982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
41985 if test "$wxUSE_GAUGE" = "yes"; then
41986 cat >>confdefs.h
<<\_ACEOF
41987 #define wxUSE_GAUGE 1
41993 if test "$wxUSE_GRID" = "yes"; then
41994 cat >>confdefs.h
<<\_ACEOF
41995 #define wxUSE_GRID 1
41999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
42002 if test "$wxUSE_IMAGLIST" = "yes"; then
42003 cat >>confdefs.h
<<\_ACEOF
42004 #define wxUSE_IMAGLIST 1
42009 if test "$wxUSE_LISTBOOK" = "yes"; then
42010 cat >>confdefs.h
<<\_ACEOF
42011 #define wxUSE_LISTBOOK 1
42017 if test "$wxUSE_LISTBOX" = "yes"; then
42018 cat >>confdefs.h
<<\_ACEOF
42019 #define wxUSE_LISTBOX 1
42023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
42026 if test "$wxUSE_LISTCTRL" = "yes"; then
42027 if test "$wxUSE_IMAGLIST" = "yes"; then
42028 cat >>confdefs.h
<<\_ACEOF
42029 #define wxUSE_LISTCTRL 1
42033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
42035 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
42036 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
42040 if test "$wxUSE_NOTEBOOK" = "yes"; then
42041 cat >>confdefs.h
<<\_ACEOF
42042 #define wxUSE_NOTEBOOK 1
42046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
42050 if test "$wxUSE_RADIOBOX" = "yes"; then
42051 cat >>confdefs.h
<<\_ACEOF
42052 #define wxUSE_RADIOBOX 1
42058 if test "$wxUSE_RADIOBTN" = "yes"; then
42059 cat >>confdefs.h
<<\_ACEOF
42060 #define wxUSE_RADIOBTN 1
42066 if test "$wxUSE_SASH" = "yes"; then
42067 cat >>confdefs.h
<<\_ACEOF
42068 #define wxUSE_SASH 1
42071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
42074 if test "$wxUSE_SCROLLBAR" = "yes"; then
42075 cat >>confdefs.h
<<\_ACEOF
42076 #define wxUSE_SCROLLBAR 1
42080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
42083 if test "$wxUSE_SLIDER" = "yes"; then
42084 cat >>confdefs.h
<<\_ACEOF
42085 #define wxUSE_SLIDER 1
42091 if test "$wxUSE_SPINBTN" = "yes"; then
42092 cat >>confdefs.h
<<\_ACEOF
42093 #define wxUSE_SPINBTN 1
42099 if test "$wxUSE_SPINCTRL" = "yes"; then
42100 cat >>confdefs.h
<<\_ACEOF
42101 #define wxUSE_SPINCTRL 1
42107 if test "$wxUSE_SPLITTER" = "yes"; then
42108 cat >>confdefs.h
<<\_ACEOF
42109 #define wxUSE_SPLITTER 1
42112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
42115 if test "$wxUSE_STATBMP" = "yes"; then
42116 cat >>confdefs.h
<<\_ACEOF
42117 #define wxUSE_STATBMP 1
42123 if test "$wxUSE_STATBOX" = "yes"; then
42124 cat >>confdefs.h
<<\_ACEOF
42125 #define wxUSE_STATBOX 1
42131 if test "$wxUSE_STATTEXT" = "yes"; then
42132 cat >>confdefs.h
<<\_ACEOF
42133 #define wxUSE_STATTEXT 1
42139 if test "$wxUSE_STATLINE" = "yes"; then
42140 cat >>confdefs.h
<<\_ACEOF
42141 #define wxUSE_STATLINE 1
42147 if test "$wxUSE_STATUSBAR" = "yes"; then
42148 cat >>confdefs.h
<<\_ACEOF
42149 #define wxUSE_NATIVE_STATUSBAR 1
42152 cat >>confdefs.h
<<\_ACEOF
42153 #define wxUSE_STATUSBAR 1
42158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
42161 if test "$wxUSE_TABDIALOG" = "yes"; then
42162 cat >>confdefs.h
<<\_ACEOF
42163 #define wxUSE_TAB_DIALOG 1
42168 if test "$wxUSE_TEXTCTRL" = "yes"; then
42169 cat >>confdefs.h
<<\_ACEOF
42170 #define wxUSE_TEXTCTRL 1
42174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
42177 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42178 if test "$wxUSE_COCOA" = 1 ; then
42179 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42180 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42183 if test "$wxUSE_UNIVERSAL" = "yes"; then
42184 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42185 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42189 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42190 cat >>confdefs.h
<<\_ACEOF
42191 #define wxUSE_TOGGLEBTN 1
42198 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42199 cat >>confdefs.h
<<\_ACEOF
42200 #define wxUSE_TOOLBAR_SIMPLE 1
42203 wxUSE_TOOLBAR
="yes"
42207 if test "$wxUSE_TOOLBAR" = "yes"; then
42208 cat >>confdefs.h
<<\_ACEOF
42209 #define wxUSE_TOOLBAR 1
42214 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42215 wxUSE_TOOLBAR_NATIVE
="yes"
42218 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42219 cat >>confdefs.h
<<\_ACEOF
42220 #define wxUSE_TOOLBAR_NATIVE 1
42226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
42229 if test "$wxUSE_TOOLTIPS" = "yes"; then
42230 if test "$wxUSE_MOTIF" = 1; then
42231 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42232 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42234 if test "$wxUSE_UNIVERSAL" = "yes"; then
42235 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42236 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42238 cat >>confdefs.h
<<\_ACEOF
42239 #define wxUSE_TOOLTIPS 1
42246 if test "$wxUSE_TREECTRL" = "yes"; then
42247 if test "$wxUSE_IMAGLIST" = "yes"; then
42248 cat >>confdefs.h
<<\_ACEOF
42249 #define wxUSE_TREECTRL 1
42253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
42255 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42256 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42260 if test "$wxUSE_POPUPWIN" = "yes"; then
42261 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42262 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42263 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42265 if test "$wxUSE_PM" = 1; then
42266 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42267 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42269 cat >>confdefs.h
<<\_ACEOF
42270 #define wxUSE_POPUPWIN 1
42273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
42280 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42281 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42282 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42283 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42285 cat >>confdefs.h
<<\_ACEOF
42286 #define wxUSE_DIALUP_MANAGER 1
42289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
42293 if test "$wxUSE_TIPWINDOW" = "yes"; then
42294 if test "$wxUSE_PM" = 1; then
42295 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42296 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42298 cat >>confdefs.h
<<\_ACEOF
42299 #define wxUSE_TIPWINDOW 1
42305 if test "$USES_CONTROLS" = 1; then
42306 cat >>confdefs.h
<<\_ACEOF
42307 #define wxUSE_CONTROLS 1
42313 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42314 cat >>confdefs.h
<<\_ACEOF
42315 #define wxUSE_ACCESSIBILITY 1
42318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
42321 if test "$wxUSE_DC_CACHEING" = "yes"; then
42322 cat >>confdefs.h
<<\_ACEOF
42323 #define wxUSE_DC_CACHEING 1
42328 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42329 cat >>confdefs.h
<<\_ACEOF
42330 #define wxUSE_DRAGIMAGE 1
42333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
42336 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42337 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42338 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42339 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42341 cat >>confdefs.h
<<\_ACEOF
42342 #define wxUSE_EXCEPTIONS 1
42345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
42350 if test "$wxUSE_HTML" = "yes"; then
42351 cat >>confdefs.h
<<\_ACEOF
42352 #define wxUSE_HTML 1
42356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42357 if test "$wxUSE_MAC" = 1; then
42358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
42361 if test "$wxUSE_WEBKIT" = "yes"; then
42362 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42363 old_CPPFLAGS
="$CPPFLAGS"
42364 CPPFLAGS
="$CPPFLAGS -x objective-c++"
42365 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42366 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42367 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42368 echo $ECHO_N "(cached) $ECHO_C" >&6
42370 cat >conftest.
$ac_ext <<_ACEOF
42373 cat confdefs.h
>>conftest.
$ac_ext
42374 cat >>conftest.
$ac_ext <<_ACEOF
42375 /* end confdefs.h. */
42376 #include <Carbon/Carbon.h>
42378 #include <WebKit/HIWebView.h>
42380 rm -f conftest.
$ac_objext
42381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42382 (eval $ac_compile) 2>conftest.er1
42384 grep -v '^ *+' conftest.er1
>conftest.err
42386 cat conftest.err
>&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } &&
42389 { ac_try
='test -z "$ac_c_werror_flag"
42390 || test ! -s conftest.err'
42391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42392 (eval $ac_try) 2>&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); }; } &&
42396 { ac_try
='test -s conftest.$ac_objext'
42397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42398 (eval $ac_try) 2>&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); }; }; then
42402 ac_cv_header_WebKit_HIWebView_h
=yes
42404 echo "$as_me: failed program was:" >&5
42405 sed 's/^/| /' conftest.
$ac_ext >&5
42407 ac_cv_header_WebKit_HIWebView_h
=no
42409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42411 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42412 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42413 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42415 cat >>confdefs.h
<<\_ACEOF
42416 #define wxUSE_WEBKIT 1
42419 WEBKIT_LINK
="-framework WebKit"
42423 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42424 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42430 CPPFLAGS
="$old_CPPFLAGS"
42431 elif test "$wxUSE_COCOA" = 1; then
42432 cat >>confdefs.h
<<\_ACEOF
42433 #define wxUSE_WEBKIT 1
42442 if test "$wxUSE_XRC" = "yes"; then
42443 if test "$wxUSE_XML" != "yes"; then
42444 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42445 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42448 cat >>confdefs.h
<<\_ACEOF
42449 #define wxUSE_XRC 1
42453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
42457 if test "$wxUSE_MENUS" = "yes"; then
42458 cat >>confdefs.h
<<\_ACEOF
42459 #define wxUSE_MENUS 1
42462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
42465 if test "$wxUSE_METAFILE" = "yes"; then
42466 cat >>confdefs.h
<<\_ACEOF
42467 #define wxUSE_METAFILE 1
42472 if test "$wxUSE_MIMETYPE" = "yes"; then
42473 cat >>confdefs.h
<<\_ACEOF
42474 #define wxUSE_MIMETYPE 1
42479 if test "$wxUSE_MINIFRAME" = "yes"; then
42480 cat >>confdefs.h
<<\_ACEOF
42481 #define wxUSE_MINIFRAME 1
42484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
42487 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42488 cat >>confdefs.h
<<\_ACEOF
42489 #define wxUSE_SYSTEM_OPTIONS 1
42492 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42493 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
42499 if test "$wxUSE_VALIDATORS" = "yes"; then
42500 cat >>confdefs.h
<<\_ACEOF
42501 #define wxUSE_VALIDATORS 1
42504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
42507 if test "$wxUSE_PALETTE" = "yes" ; then
42508 cat >>confdefs.h
<<\_ACEOF
42509 #define wxUSE_PALETTE 1
42514 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42515 LIBS
=" -lunicows $LIBS"
42519 if test "$wxUSE_IMAGE" = "yes" ; then
42520 cat >>confdefs.h
<<\_ACEOF
42521 #define wxUSE_IMAGE 1
42525 if test "$wxUSE_GIF" = "yes" ; then
42526 cat >>confdefs.h
<<\_ACEOF
42527 #define wxUSE_GIF 1
42532 if test "$wxUSE_PCX" = "yes" ; then
42533 cat >>confdefs.h
<<\_ACEOF
42534 #define wxUSE_PCX 1
42539 if test "$wxUSE_IFF" = "yes" ; then
42540 cat >>confdefs.h
<<\_ACEOF
42541 #define wxUSE_IFF 1
42546 if test "$wxUSE_PNM" = "yes" ; then
42547 cat >>confdefs.h
<<\_ACEOF
42548 #define wxUSE_PNM 1
42553 if test "$wxUSE_XPM" = "yes" ; then
42554 cat >>confdefs.h
<<\_ACEOF
42555 #define wxUSE_XPM 1
42560 if test "$wxUSE_ICO_CUR" = "yes" ; then
42561 cat >>confdefs.h
<<\_ACEOF
42562 #define wxUSE_ICO_CUR 1
42569 if test "$wxUSE_CHOICEDLG" = "yes"; then
42570 cat >>confdefs.h
<<\_ACEOF
42571 #define wxUSE_CHOICEDLG 1
42576 if test "$wxUSE_COLOURDLG" = "yes"; then
42577 cat >>confdefs.h
<<\_ACEOF
42578 #define wxUSE_COLOURDLG 1
42583 if test "$wxUSE_FILEDLG" = "yes"; then
42584 cat >>confdefs.h
<<\_ACEOF
42585 #define wxUSE_FILEDLG 1
42590 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42591 cat >>confdefs.h
<<\_ACEOF
42592 #define wxUSE_FINDREPLDLG 1
42597 if test "$wxUSE_FONTDLG" = "yes"; then
42598 cat >>confdefs.h
<<\_ACEOF
42599 #define wxUSE_FONTDLG 1
42604 if test "$wxUSE_DIRDLG" = "yes"; then
42605 if test "$wxUSE_TREECTRL" != "yes"; then
42606 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42607 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42609 cat >>confdefs.h
<<\_ACEOF
42610 #define wxUSE_DIRDLG 1
42616 if test "$wxUSE_MSGDLG" = "yes"; then
42617 cat >>confdefs.h
<<\_ACEOF
42618 #define wxUSE_MSGDLG 1
42623 if test "$wxUSE_NUMBERDLG" = "yes"; then
42624 cat >>confdefs.h
<<\_ACEOF
42625 #define wxUSE_NUMBERDLG 1
42630 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42631 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42632 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42633 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42635 cat >>confdefs.h
<<\_ACEOF
42636 #define wxUSE_PROGRESSDLG 1
42642 if test "$wxUSE_SPLASH" = "yes"; then
42643 cat >>confdefs.h
<<\_ACEOF
42644 #define wxUSE_SPLASH 1
42647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
42650 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42651 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42652 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42653 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42655 cat >>confdefs.h
<<\_ACEOF
42656 #define wxUSE_STARTUP_TIPS 1
42662 if test "$wxUSE_TEXTDLG" = "yes"; then
42663 cat >>confdefs.h
<<\_ACEOF
42664 #define wxUSE_TEXTDLG 1
42669 if test "$wxUSE_WIZARDDLG" = "yes"; then
42670 cat >>confdefs.h
<<\_ACEOF
42671 #define wxUSE_WIZARDDLG 1
42674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
42678 if test "$wxUSE_MEDIACTRL" = "yes"; then
42679 if test "$wxUSE_GTK" = 1; then
42680 wxUSE_GSTREAMER
="yes"
42685 if test -z "$PKG_CONFIG"; then
42686 # Extract the first word of "pkg-config", so it can be a program name with args.
42687 set dummy pkg
-config; ac_word
=$2
42688 echo "$as_me:$LINENO: checking for $ac_word" >&5
42689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42690 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42691 echo $ECHO_N "(cached) $ECHO_C" >&6
42693 case $PKG_CONFIG in
42695 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42699 for as_dir
in $PATH
42702 test -z "$as_dir" && as_dir
=.
42703 for ac_exec_ext
in '' $ac_executable_extensions; do
42704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42705 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42712 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
42716 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42718 if test -n "$PKG_CONFIG"; then
42719 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42720 echo "${ECHO_T}$PKG_CONFIG" >&6
42722 echo "$as_me:$LINENO: result: no" >&5
42723 echo "${ECHO_T}no" >&6
42728 if test "$PKG_CONFIG" = "no" ; then
42729 echo "*** The pkg-config script could not be found. Make sure it is"
42730 echo "*** in your path, or set the PKG_CONFIG environment variable"
42731 echo "*** to the full path to pkg-config."
42732 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42734 PKG_CONFIG_MIN_VERSION
=0.9.0
42735 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42736 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42737 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42739 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42740 echo "$as_me:$LINENO: result: yes" >&5
42741 echo "${ECHO_T}yes" >&6
42744 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42745 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42746 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42747 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42748 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42750 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42751 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42752 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
42753 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42754 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42756 GSTREAMER_CFLAGS
=""
42758 ## If we have a custom action on failure, don't print errors, but
42759 ## do set a variable so people can do so.
42760 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42767 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42768 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42772 if test $succeeded = yes; then
42774 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
42775 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42779 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42780 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42781 wxUSE_GSTREAMER
="no"
42789 if test "x$GST_INSPECT" == "x"; then
42790 # Extract the first word of "gst-inspect", so it can be a program name with args.
42791 set dummy gst
-inspect; ac_word
=$2
42792 echo "$as_me:$LINENO: checking for $ac_word" >&5
42793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42794 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42795 echo $ECHO_N "(cached) $ECHO_C" >&6
42797 if test -n "$GST_INSPECT"; then
42798 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
42800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42801 for as_dir
in $PATH
42804 test -z "$as_dir" && as_dir
=.
42805 for ac_exec_ext
in '' $ac_executable_extensions; do
42806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42807 ac_cv_prog_GST_INSPECT
="gst-inspect"
42808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42816 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
42817 if test -n "$GST_INSPECT"; then
42818 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42819 echo "${ECHO_T}$GST_INSPECT" >&6
42821 echo "$as_me:$LINENO: result: no" >&5
42822 echo "${ECHO_T}no" >&6
42827 if test "x$GST_INSPECT" != "x"; then
42828 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42829 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42830 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
42831 echo "$as_me:$LINENO: result: found." >&5
42832 echo "${ECHO_T}found." >&6
42835 echo "$as_me:$LINENO: result: not found." >&5
42836 echo "${ECHO_T}not found." >&6
42838 wxUSE_GSTREAMER
="no"
42839 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42840 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42846 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42847 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42848 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42849 echo $ECHO_N "(cached) $ECHO_C" >&6
42851 cat >conftest.
$ac_ext <<_ACEOF
42854 cat confdefs.h
>>conftest.
$ac_ext
42855 cat >>conftest.
$ac_ext <<_ACEOF
42856 /* end confdefs.h. */
42857 #include <gst/gst.h>
42859 #include <gst/xoverlay/xoverlay.h>
42861 rm -f conftest.
$ac_objext
42862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42863 (eval $ac_compile) 2>conftest.er1
42865 grep -v '^ *+' conftest.er1
>conftest.err
42867 cat conftest.err
>&5
42868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869 (exit $ac_status); } &&
42870 { ac_try
='test -z "$ac_c_werror_flag"
42871 || test ! -s conftest.err'
42872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42873 (eval $ac_try) 2>&5
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); }; } &&
42877 { ac_try
='test -s conftest.$ac_objext'
42878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42879 (eval $ac_try) 2>&5
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); }; }; then
42883 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
42885 echo "$as_me: failed program was:" >&5
42886 sed 's/^/| /' conftest.
$ac_ext >&5
42888 ac_cv_header_gst_xoverlay_xoverlay_h
=no
42890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42892 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42893 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42894 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42898 wxUSE_GSTREAMER
="no"
42899 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42900 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42906 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42907 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42910 for ac_dir
in $SEARCH_LIB;
42912 for ac_extension
in a so sl dylib dll.a
; do
42913 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42914 ac_find_libraries
=$ac_dir
42921 if test "$ac_find_libraries" = "" ; then
42922 echo "$as_me:$LINENO: result: no" >&5
42923 echo "${ECHO_T}no" >&6
42924 wxUSE_GSTREAMER
="no"
42926 echo "$as_me:$LINENO: result: yes" >&5
42927 echo "${ECHO_T}yes" >&6
42930 if test "$wxUSE_GSTREAMER" = "yes"; then
42931 cat >>confdefs.h
<<\_ACEOF
42932 #define wxUSE_GSTREAMER 1
42935 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42936 echo "${ECHO_T}GStreamer detection successful" >&6
42939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
42940 cat >>confdefs.h
<<\_ACEOF
42941 #define wxUSE_MEDIACTRL 1
42947 if test "$cross_compiling" = "yes"; then
42950 OSINFO
=`uname -s -r -m`
42951 OSINFO
="\"$OSINFO\""
42954 cat >>confdefs.h
<<_ACEOF
42955 #define WXWIN_OS_DESCRIPTION $OSINFO
42960 if test "x$prefix" != "xNONE"; then
42963 wxPREFIX
=$ac_default_prefix
42966 cat >>confdefs.h
<<_ACEOF
42967 #define wxINSTALL_PREFIX "$wxPREFIX"
42973 CORE_BASE_LIBS
="net base"
42974 CORE_GUI_LIBS
="adv core"
42976 if test "$wxUSE_XML" = "yes" ; then
42977 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
42979 if test "$wxUSE_ODBC" != "no" ; then
42980 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
42981 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
42983 if test "$wxUSE_HTML" = "yes" ; then
42984 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
42986 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42987 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
42989 if test "$wxUSE_XRC" = "yes" ; then
42990 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
42993 if test "$wxUSE_GUI" != "yes"; then
43004 if test "$wxUSE_MAC" = 1 ; then
43005 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
43006 if test "$USE_DARWIN" = 1; then
43007 LDFLAGS
="$LDFLAGS -framework QuickTime"
43009 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
43012 if test "$USE_DARWIN" = 1; then
43013 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
43015 LDFLAGS
="$LDFLAGS -lCarbonLib"
43018 if test "$wxUSE_COCOA" = 1 ; then
43019 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
43020 if test "$wxUSE_MEDIACTRL" = "yes"; then
43021 LDFLAGS
="$LDFLAGS -framework QuickTime"
43024 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
43025 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
43029 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
43036 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43037 echo "$as_me:$LINENO: checking for $ac_func" >&5
43038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43039 if eval "test \"\${$as_ac_var+set}\" = set"; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43042 cat >conftest.
$ac_ext <<_ACEOF
43045 cat confdefs.h
>>conftest.
$ac_ext
43046 cat >>conftest.
$ac_ext <<_ACEOF
43047 /* end confdefs.h. */
43048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43050 #define $ac_func innocuous_$ac_func
43052 /* System header to define __stub macros and hopefully few prototypes,
43053 which can conflict with char $ac_func (); below.
43054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43055 <limits.h> exists even on freestanding compilers. */
43058 # include <limits.h>
43060 # include <assert.h>
43065 /* Override any gcc2 internal prototype to avoid an error. */
43070 /* We use char because int might match the return type of a gcc2
43071 builtin and then its argument prototype would still apply. */
43073 /* The GNU C library defines this for functions which it implements
43074 to always fail with ENOSYS. Some functions are actually named
43075 something starting with __ and the normal name is an alias. */
43076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43079 char (*f) () = $ac_func;
43088 return f != $ac_func;
43093 rm -f conftest.
$ac_objext conftest
$ac_exeext
43094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43095 (eval $ac_link) 2>conftest.er1
43097 grep -v '^ *+' conftest.er1
>conftest.err
43099 cat conftest.err
>&5
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); } &&
43102 { ac_try
='test -z "$ac_c_werror_flag"
43103 || test ! -s conftest.err'
43104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43105 (eval $ac_try) 2>&5
43107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43108 (exit $ac_status); }; } &&
43109 { ac_try
='test -s conftest$ac_exeext'
43110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43111 (eval $ac_try) 2>&5
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); }; }; then
43115 eval "$as_ac_var=yes"
43117 echo "$as_me: failed program was:" >&5
43118 sed 's/^/| /' conftest.
$ac_ext >&5
43120 eval "$as_ac_var=no"
43122 rm -f conftest.err conftest.
$ac_objext \
43123 conftest
$ac_exeext conftest.
$ac_ext
43125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43127 if test `eval echo '${'$as_ac_var'}'` = yes; then
43128 cat >>confdefs.h
<<_ACEOF
43129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43136 for ac_func
in floor
43138 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43139 echo "$as_me:$LINENO: checking for $ac_func" >&5
43140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43141 if eval "test \"\${$as_ac_var+set}\" = set"; then
43142 echo $ECHO_N "(cached) $ECHO_C" >&6
43144 cat >conftest.
$ac_ext <<_ACEOF
43147 cat confdefs.h
>>conftest.
$ac_ext
43148 cat >>conftest.
$ac_ext <<_ACEOF
43149 /* end confdefs.h. */
43150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43152 #define $ac_func innocuous_$ac_func
43154 /* System header to define __stub macros and hopefully few prototypes,
43155 which can conflict with char $ac_func (); below.
43156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43157 <limits.h> exists even on freestanding compilers. */
43160 # include <limits.h>
43162 # include <assert.h>
43167 /* Override any gcc2 internal prototype to avoid an error. */
43172 /* We use char because int might match the return type of a gcc2
43173 builtin and then its argument prototype would still apply. */
43175 /* The GNU C library defines this for functions which it implements
43176 to always fail with ENOSYS. Some functions are actually named
43177 something starting with __ and the normal name is an alias. */
43178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43181 char (*f) () = $ac_func;
43190 return f != $ac_func;
43195 rm -f conftest.
$ac_objext conftest
$ac_exeext
43196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43197 (eval $ac_link) 2>conftest.er1
43199 grep -v '^ *+' conftest.er1
>conftest.err
43201 cat conftest.err
>&5
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); } &&
43204 { ac_try
='test -z "$ac_c_werror_flag"
43205 || test ! -s conftest.err'
43206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43207 (eval $ac_try) 2>&5
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); }; } &&
43211 { ac_try
='test -s conftest$ac_exeext'
43212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43213 (eval $ac_try) 2>&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); }; }; then
43217 eval "$as_ac_var=yes"
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.
$ac_ext >&5
43222 eval "$as_ac_var=no"
43224 rm -f conftest.err conftest.
$ac_objext \
43225 conftest
$ac_exeext conftest.
$ac_ext
43227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43229 if test `eval echo '${'$as_ac_var'}'` = yes; then
43230 cat >>confdefs.h
<<_ACEOF
43231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43237 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43238 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43239 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43240 echo "$as_me:$LINENO: result: yes" >&5
43241 echo "${ECHO_T}yes" >&6
43243 echo "$as_me:$LINENO: result: no" >&5
43244 echo "${ECHO_T}no" >&6
43246 # use different functions to avoid configure caching
43252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43253 echo "$as_me:$LINENO: checking for $ac_func" >&5
43254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43255 if eval "test \"\${$as_ac_var+set}\" = set"; then
43256 echo $ECHO_N "(cached) $ECHO_C" >&6
43258 cat >conftest.
$ac_ext <<_ACEOF
43261 cat confdefs.h
>>conftest.
$ac_ext
43262 cat >>conftest.
$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43266 #define $ac_func innocuous_$ac_func
43268 /* System header to define __stub macros and hopefully few prototypes,
43269 which can conflict with char $ac_func (); below.
43270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43271 <limits.h> exists even on freestanding compilers. */
43274 # include <limits.h>
43276 # include <assert.h>
43281 /* Override any gcc2 internal prototype to avoid an error. */
43286 /* We use char because int might match the return type of a gcc2
43287 builtin and then its argument prototype would still apply. */
43289 /* The GNU C library defines this for functions which it implements
43290 to always fail with ENOSYS. Some functions are actually named
43291 something starting with __ and the normal name is an alias. */
43292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43295 char (*f) () = $ac_func;
43304 return f != $ac_func;
43309 rm -f conftest.
$ac_objext conftest
$ac_exeext
43310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43311 (eval $ac_link) 2>conftest.er1
43313 grep -v '^ *+' conftest.er1
>conftest.err
43315 cat conftest.err
>&5
43316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317 (exit $ac_status); } &&
43318 { ac_try
='test -z "$ac_c_werror_flag"
43319 || test ! -s conftest.err'
43320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43321 (eval $ac_try) 2>&5
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); }; } &&
43325 { ac_try
='test -s conftest$ac_exeext'
43326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43327 (eval $ac_try) 2>&5
43329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43330 (exit $ac_status); }; }; then
43331 eval "$as_ac_var=yes"
43333 echo "$as_me: failed program was:" >&5
43334 sed 's/^/| /' conftest.
$ac_ext >&5
43336 eval "$as_ac_var=no"
43338 rm -f conftest.err conftest.
$ac_objext \
43339 conftest
$ac_exeext conftest.
$ac_ext
43341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43343 if test `eval echo '${'$as_ac_var'}'` = yes; then
43344 cat >>confdefs.h
<<_ACEOF
43345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43352 for ac_func
in ceil
43354 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43355 echo "$as_me:$LINENO: checking for $ac_func" >&5
43356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43357 if eval "test \"\${$as_ac_var+set}\" = set"; then
43358 echo $ECHO_N "(cached) $ECHO_C" >&6
43360 cat >conftest.
$ac_ext <<_ACEOF
43363 cat confdefs.h
>>conftest.
$ac_ext
43364 cat >>conftest.
$ac_ext <<_ACEOF
43365 /* end confdefs.h. */
43366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43368 #define $ac_func innocuous_$ac_func
43370 /* System header to define __stub macros and hopefully few prototypes,
43371 which can conflict with char $ac_func (); below.
43372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43373 <limits.h> exists even on freestanding compilers. */
43376 # include <limits.h>
43378 # include <assert.h>
43383 /* Override any gcc2 internal prototype to avoid an error. */
43388 /* We use char because int might match the return type of a gcc2
43389 builtin and then its argument prototype would still apply. */
43391 /* The GNU C library defines this for functions which it implements
43392 to always fail with ENOSYS. Some functions are actually named
43393 something starting with __ and the normal name is an alias. */
43394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43397 char (*f) () = $ac_func;
43406 return f != $ac_func;
43411 rm -f conftest.
$ac_objext conftest
$ac_exeext
43412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43413 (eval $ac_link) 2>conftest.er1
43415 grep -v '^ *+' conftest.er1
>conftest.err
43417 cat conftest.err
>&5
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); } &&
43420 { ac_try
='test -z "$ac_c_werror_flag"
43421 || test ! -s conftest.err'
43422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43423 (eval $ac_try) 2>&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); }; } &&
43427 { ac_try
='test -s conftest$ac_exeext'
43428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43429 (eval $ac_try) 2>&5
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); }; }; then
43433 eval "$as_ac_var=yes"
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.
$ac_ext >&5
43438 eval "$as_ac_var=no"
43440 rm -f conftest.err conftest.
$ac_objext \
43441 conftest
$ac_exeext conftest.
$ac_ext
43443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43445 if test `eval echo '${'$as_ac_var'}'` = yes; then
43446 cat >>confdefs.h
<<_ACEOF
43447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43453 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43454 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43455 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43456 echo "$as_me:$LINENO: result: yes" >&5
43457 echo "${ECHO_T}yes" >&6
43459 echo "$as_me:$LINENO: result: no" >&5
43460 echo "${ECHO_T}no" >&6
43461 # not sure we should warn the user, crash, etc.
43465 if test "$wxUSE_GUI" = "yes"; then
43468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43469 dynamic erase event exec font image minimal mobile \
43470 mobile/wxedit mobile/styles propsize render \
43471 richedit rotate shaped vscroll widgets"
43473 if test "$wxUSE_MONOLITHIC" != "yes"; then
43474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
43476 if test "$TOOLKIT" = "MSW"; then
43477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
43478 if test "$wxUSE_UNIVERSAL" != "yes"; then
43479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43482 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
43486 SAMPLES_SUBDIRS
="console"
43490 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43491 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
43493 if test "x$INTELCC" = "xyes" ; then
43494 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
43495 elif test "$GCC" = yes ; then
43496 CWARNINGS
="-Wall -Wundef"
43499 if test "x$INTELCXX" = "xyes" ; then
43500 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
43501 elif test "$GXX" = yes ; then
43502 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
43505 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
43507 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
43508 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
43509 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
43511 if test "x$MWCC" = "xyes"; then
43513 CC
="$CC -cwd source -I-"
43514 CXX
="$CXX -cwd source -I-"
43519 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43520 EXTRALIBS_XML
="$EXPAT_LINK"
43521 EXTRALIBS_HTML
="$MSPACK_LINK"
43522 EXTRALIBS_ODBC
="$ODBC_LINK"
43523 if test "$wxUSE_GUI" = "yes"; then
43524 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43526 if test "$wxUSE_OPENGL" = "yes"; then
43527 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
43530 LDFLAGS
="$LDFLAGS $PROFILE"
43532 if test "$wxUSE_GTK" = 1; then
43535 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
43538 WXCONFIG_EXTRALIBS
="$LIBS"
43540 if test "$wxUSE_REGEX" = "builtin" ; then
43541 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43543 if test "$wxUSE_EXPAT" = "builtin" ; then
43544 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
43546 if test "$wxUSE_ODBC" = "builtin" ; then
43547 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
43549 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43550 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
43552 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43553 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
43555 if test "$wxUSE_LIBPNG" = "builtin" ; then
43556 wxconfig_3rdparty
="png $wxconfig_3rdparty"
43558 if test "$wxUSE_ZLIB" = "builtin" ; then
43559 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
43562 for i
in $wxconfig_3rdparty ; do
43563 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
43567 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43581 if test $wxUSE_MONOLITHIC = "yes" ; then
43587 if test $wxUSE_PLUGINS = "yes" ; then
43593 if test $wxUSE_ODBC != "no" ; then
43599 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43605 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43633 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43644 TOOLKIT_USER
="GTK+"
43645 if test "$WXGTK20" = 1; then
43646 TOOLKIT_USER
="$TOOLKIT_USER 2"
43651 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
43655 if test "$wxUSE_WINE" = "yes"; then
43656 BAKEFILE_FORCE_PLATFORM
=win32
43662 if test "x$BAKEFILE_HOST" = "x"; then
43663 BAKEFILE_HOST
="${host}"
43666 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43668 if test -n "$ac_tool_prefix"; then
43669 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43670 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
43671 echo "$as_me:$LINENO: checking for $ac_word" >&5
43672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43673 if test "${ac_cv_prog_RANLIB+set}" = set; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43676 if test -n "$RANLIB"; then
43677 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
43679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43680 for as_dir
in $PATH
43683 test -z "$as_dir" && as_dir
=.
43684 for ac_exec_ext
in '' $ac_executable_extensions; do
43685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43686 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
43687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43695 RANLIB
=$ac_cv_prog_RANLIB
43696 if test -n "$RANLIB"; then
43697 echo "$as_me:$LINENO: result: $RANLIB" >&5
43698 echo "${ECHO_T}$RANLIB" >&6
43700 echo "$as_me:$LINENO: result: no" >&5
43701 echo "${ECHO_T}no" >&6
43705 if test -z "$ac_cv_prog_RANLIB"; then
43706 ac_ct_RANLIB
=$RANLIB
43707 # Extract the first word of "ranlib", so it can be a program name with args.
43708 set dummy ranlib
; ac_word
=$2
43709 echo "$as_me:$LINENO: checking for $ac_word" >&5
43710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43711 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43712 echo $ECHO_N "(cached) $ECHO_C" >&6
43714 if test -n "$ac_ct_RANLIB"; then
43715 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
43717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43718 for as_dir
in $PATH
43721 test -z "$as_dir" && as_dir
=.
43722 for ac_exec_ext
in '' $ac_executable_extensions; do
43723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43724 ac_cv_prog_ac_ct_RANLIB
="ranlib"
43725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43731 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
43734 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
43735 if test -n "$ac_ct_RANLIB"; then
43736 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43737 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43739 echo "$as_me:$LINENO: result: no" >&5
43740 echo "${ECHO_T}no" >&6
43743 RANLIB
=$ac_ct_RANLIB
43745 RANLIB
="$ac_cv_prog_RANLIB"
43748 # Find a good install program. We prefer a C program (faster),
43749 # so one script is as good as another. But avoid the broken or
43750 # incompatible versions:
43751 # SysV /etc/install, /usr/sbin/install
43752 # SunOS /usr/etc/install
43753 # IRIX /sbin/install
43755 # AmigaOS /C/install, which installs bootblocks on floppy discs
43756 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43757 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43758 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43759 # OS/2's system install, which has a completely different semantic
43760 # ./install, which can be erroneously created by make from ./install.sh.
43761 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43762 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43763 if test -z "$INSTALL"; then
43764 if test "${ac_cv_path_install+set}" = set; then
43765 echo $ECHO_N "(cached) $ECHO_C" >&6
43767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43768 for as_dir
in $PATH
43771 test -z "$as_dir" && as_dir
=.
43772 # Account for people who put trailing slashes in PATH elements.
43774 .
/ | .
// | /cC
/* | \
43775 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
43776 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
43779 # OSF1 and SCO ODT 3.0 have their own names for install.
43780 # Don't use installbsd from OSF since it installs stuff as root
43782 for ac_prog
in ginstall scoinst
install; do
43783 for ac_exec_ext
in '' $ac_executable_extensions; do
43784 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43785 if test $ac_prog = install &&
43786 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43787 # AIX install. It has an incompatible calling convention.
43789 elif test $ac_prog = install &&
43790 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43791 # program-specific install script used by HP pwplus--don't use.
43794 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
43806 if test "${ac_cv_path_install+set}" = set; then
43807 INSTALL
=$ac_cv_path_install
43809 # As a last resort, use the slow shell script. We don't cache a
43810 # path for INSTALL within a source directory, because that will
43811 # break other packages using the cache if that directory is
43812 # removed, or if the path is relative.
43813 INSTALL
=$ac_install_sh
43816 echo "$as_me:$LINENO: result: $INSTALL" >&5
43817 echo "${ECHO_T}$INSTALL" >&6
43819 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43820 # It thinks the first close brace ends the variable substitution.
43821 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
43823 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
43825 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
43827 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43828 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43830 if test "$LN_S" = "ln -s"; then
43831 echo "$as_me:$LINENO: result: yes" >&5
43832 echo "${ECHO_T}yes" >&6
43834 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43835 echo "${ECHO_T}no, using $LN_S" >&6
43839 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43840 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43841 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43842 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43843 echo $ECHO_N "(cached) $ECHO_C" >&6
43845 cat >conftest.
make <<\_ACEOF
43847 @
echo 'ac_maketemp="$(MAKE)"'
43849 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43850 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43851 if test -n "$ac_maketemp"; then
43852 eval ac_cv_prog_make_
${ac_make}_set
=yes
43854 eval ac_cv_prog_make_
${ac_make}_set
=no
43856 rm -f conftest.
make
43858 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43859 echo "$as_me:$LINENO: result: yes" >&5
43860 echo "${ECHO_T}yes" >&6
43863 echo "$as_me:$LINENO: result: no" >&5
43864 echo "${ECHO_T}no" >&6
43865 SET_MAKE
="MAKE=${MAKE-make}"
43870 if test -n "$ac_tool_prefix"; then
43871 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43872 set dummy
${ac_tool_prefix}ar; ac_word
=$2
43873 echo "$as_me:$LINENO: checking for $ac_word" >&5
43874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43875 if test "${ac_cv_prog_AR+set}" = set; then
43876 echo $ECHO_N "(cached) $ECHO_C" >&6
43878 if test -n "$AR"; then
43879 ac_cv_prog_AR
="$AR" # Let the user override the test.
43881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43882 for as_dir
in $PATH
43885 test -z "$as_dir" && as_dir
=.
43886 for ac_exec_ext
in '' $ac_executable_extensions; do
43887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43888 ac_cv_prog_AR
="${ac_tool_prefix}ar"
43889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43898 if test -n "$AR"; then
43899 echo "$as_me:$LINENO: result: $AR" >&5
43900 echo "${ECHO_T}$AR" >&6
43902 echo "$as_me:$LINENO: result: no" >&5
43903 echo "${ECHO_T}no" >&6
43907 if test -z "$ac_cv_prog_AR"; then
43909 # Extract the first word of "ar", so it can be a program name with args.
43910 set dummy
ar; ac_word
=$2
43911 echo "$as_me:$LINENO: checking for $ac_word" >&5
43912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43913 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43914 echo $ECHO_N "(cached) $ECHO_C" >&6
43916 if test -n "$ac_ct_AR"; then
43917 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
43919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43920 for as_dir
in $PATH
43923 test -z "$as_dir" && as_dir
=.
43924 for ac_exec_ext
in '' $ac_executable_extensions; do
43925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43926 ac_cv_prog_ac_ct_AR
="ar"
43927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43933 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
43936 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
43937 if test -n "$ac_ct_AR"; then
43938 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43939 echo "${ECHO_T}$ac_ct_AR" >&6
43941 echo "$as_me:$LINENO: result: no" >&5
43942 echo "${ECHO_T}no" >&6
43947 AR
="$ac_cv_prog_AR"
43950 if test -n "$ac_tool_prefix"; then
43951 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43952 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
43953 echo "$as_me:$LINENO: checking for $ac_word" >&5
43954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43955 if test "${ac_cv_prog_STRIP+set}" = set; then
43956 echo $ECHO_N "(cached) $ECHO_C" >&6
43958 if test -n "$STRIP"; then
43959 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
43961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43962 for as_dir
in $PATH
43965 test -z "$as_dir" && as_dir
=.
43966 for ac_exec_ext
in '' $ac_executable_extensions; do
43967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43968 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
43969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43977 STRIP
=$ac_cv_prog_STRIP
43978 if test -n "$STRIP"; then
43979 echo "$as_me:$LINENO: result: $STRIP" >&5
43980 echo "${ECHO_T}$STRIP" >&6
43982 echo "$as_me:$LINENO: result: no" >&5
43983 echo "${ECHO_T}no" >&6
43987 if test -z "$ac_cv_prog_STRIP"; then
43989 # Extract the first word of "strip", so it can be a program name with args.
43990 set dummy strip
; ac_word
=$2
43991 echo "$as_me:$LINENO: checking for $ac_word" >&5
43992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43993 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43994 echo $ECHO_N "(cached) $ECHO_C" >&6
43996 if test -n "$ac_ct_STRIP"; then
43997 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
43999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44000 for as_dir
in $PATH
44003 test -z "$as_dir" && as_dir
=.
44004 for ac_exec_ext
in '' $ac_executable_extensions; do
44005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44006 ac_cv_prog_ac_ct_STRIP
="strip"
44007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44013 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
44016 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
44017 if test -n "$ac_ct_STRIP"; then
44018 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
44019 echo "${ECHO_T}$ac_ct_STRIP" >&6
44021 echo "$as_me:$LINENO: result: no" >&5
44022 echo "${ECHO_T}no" >&6
44027 STRIP
="$ac_cv_prog_STRIP"
44030 if test -n "$ac_tool_prefix"; then
44031 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
44032 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
44033 echo "$as_me:$LINENO: checking for $ac_word" >&5
44034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44035 if test "${ac_cv_prog_NM+set}" = set; then
44036 echo $ECHO_N "(cached) $ECHO_C" >&6
44038 if test -n "$NM"; then
44039 ac_cv_prog_NM
="$NM" # Let the user override the test.
44041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44042 for as_dir
in $PATH
44045 test -z "$as_dir" && as_dir
=.
44046 for ac_exec_ext
in '' $ac_executable_extensions; do
44047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44048 ac_cv_prog_NM
="${ac_tool_prefix}nm"
44049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44058 if test -n "$NM"; then
44059 echo "$as_me:$LINENO: result: $NM" >&5
44060 echo "${ECHO_T}$NM" >&6
44062 echo "$as_me:$LINENO: result: no" >&5
44063 echo "${ECHO_T}no" >&6
44067 if test -z "$ac_cv_prog_NM"; then
44069 # Extract the first word of "nm", so it can be a program name with args.
44070 set dummy nm
; ac_word
=$2
44071 echo "$as_me:$LINENO: checking for $ac_word" >&5
44072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44073 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
44074 echo $ECHO_N "(cached) $ECHO_C" >&6
44076 if test -n "$ac_ct_NM"; then
44077 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
44079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44080 for as_dir
in $PATH
44083 test -z "$as_dir" && as_dir
=.
44084 for ac_exec_ext
in '' $ac_executable_extensions; do
44085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44086 ac_cv_prog_ac_ct_NM
="nm"
44087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44093 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
44096 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
44097 if test -n "$ac_ct_NM"; then
44098 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
44099 echo "${ECHO_T}$ac_ct_NM" >&6
44101 echo "$as_me:$LINENO: result: no" >&5
44102 echo "${ECHO_T}no" >&6
44107 NM
="$ac_cv_prog_NM"
44111 case ${BAKEFILE_HOST} in
44113 INSTALL_DIR
="mkdir -p"
44115 *) INSTALL_DIR
="$INSTALL -d"
44121 case ${BAKEFILE_HOST} in
44122 *-*-cygwin* | *-*-mingw32* )
44123 LDFLAGS_GUI
="-mwindows"
44129 echo "$as_me:$LINENO: checking if make is GNU make" >&5
44130 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
44131 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
44132 echo $ECHO_N "(cached) $ECHO_C" >&6
44135 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
44136 egrep -s GNU
> /dev
/null
); then
44137 bakefile_cv_prog_makeisgnu
="yes"
44139 bakefile_cv_prog_makeisgnu
="no"
44143 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
44144 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
44146 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
44163 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44164 case "${BAKEFILE_HOST}" in
44171 *-pc-os2_emx | *-pc-os2-emx )
44181 powerpc
-apple-macos* )
44190 case "$BAKEFILE_FORCE_PLATFORM" in
44211 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44212 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44213 { (exit 1); exit 1; }; }
44228 # Check whether --enable-omf or --disable-omf was given.
44229 if test "${enable_omf+set}" = set; then
44230 enableval
="$enable_omf"
44231 bk_os2_use_omf
="$enableval"
44234 case "${BAKEFILE_HOST}" in
44236 if test "x$GCC" = "xyes"; then
44237 CFLAGS
="$CFLAGS -fno-common"
44238 CXXFLAGS
="$CXXFLAGS -fno-common"
44240 if test "x$XLCC" = "xyes"; then
44241 CFLAGS
="$CFLAGS -qnocommon"
44242 CXXFLAGS
="$CXXFLAGS -qnocommon"
44246 *-pc-os2_emx | *-pc-os2-emx )
44247 if test "x$bk_os2_use_omf" = "xyes" ; then
44250 LDFLAGS
="-Zomf $LDFLAGS"
44251 CFLAGS
="-Zomf $CFLAGS"
44252 CXXFLAGS
="-Zomf $CXXFLAGS"
44260 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
44266 SO_SUFFIX_MODULE
="so"
44271 DLLPREFIX_MODULE
=""
44275 case "${BAKEFILE_HOST}" in
44278 SO_SUFFIX_MODULE
="sl"
44282 SO_SUFFIX_MODULE
="a"
44286 SO_SUFFIX_MODULE
="dll"
44287 DLLIMP_SUFFIX
="dll.a"
44294 SO_SUFFIX_MODULE
="dll"
44295 DLLIMP_SUFFIX
="dll.a"
44305 *-pc-os2_emx | *-pc-os2-emx )
44307 SO_SUFFIX_MODULE
="dll"
44308 DLLIMP_SUFFIX
=$OS2_LIBEXT
44312 LIBEXT
=".$OS2_LIBEXT"
44317 SO_SUFFIX_MODULE
="bundle"
44321 if test "x$DLLIMP_SUFFIX" = "x" ; then
44322 DLLIMP_SUFFIX
="$SO_SUFFIX"
44337 if test "x$GCC" = "xyes"; then
44341 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
44342 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
44345 case "${BAKEFILE_HOST}" in
44347 if test "x$GCC" != "xyes"; then
44348 LDFLAGS
="$LDFLAGS -L/usr/lib"
44350 SHARED_LD_CC
="${CC} -b -o"
44351 SHARED_LD_CXX
="${CXX} -b -o"
44357 if test "x$GCC" != "xyes"; then
44358 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44359 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44360 if test "${bakefile_cv_prog_icc+set}" = set; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44364 cat >conftest.
$ac_ext <<_ACEOF
44367 cat confdefs.h
>>conftest.
$ac_ext
44368 cat >>conftest.
$ac_ext <<_ACEOF
44369 /* end confdefs.h. */
44375 #ifndef __INTEL_COMPILER
44383 rm -f conftest.
$ac_objext
44384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44385 (eval $ac_compile) 2>conftest.er1
44387 grep -v '^ *+' conftest.er1
>conftest.err
44389 cat conftest.err
>&5
44390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391 (exit $ac_status); } &&
44392 { ac_try
='test -z "$ac_c_werror_flag"
44393 || test ! -s conftest.err'
44394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44395 (eval $ac_try) 2>&5
44397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44398 (exit $ac_status); }; } &&
44399 { ac_try
='test -s conftest.$ac_objext'
44400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44401 (eval $ac_try) 2>&5
44403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44404 (exit $ac_status); }; }; then
44405 bakefile_cv_prog_icc
=yes
44407 echo "$as_me: failed program was:" >&5
44408 sed 's/^/| /' conftest.
$ac_ext >&5
44410 bakefile_cv_prog_icc
=no
44413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44416 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44417 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44418 if test "$bakefile_cv_prog_icc" = "yes"; then
44425 if test "x$GCC" != xyes
; then
44426 SHARED_LD_CC
="${CC} -G -o"
44427 SHARED_LD_CXX
="${CXX} -G -o"
44434 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44435 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
44437 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44438 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44439 if test "${bakefile_cv_gcc31+set}" = set; then
44440 echo $ECHO_N "(cached) $ECHO_C" >&6
44443 cat >conftest.
$ac_ext <<_ACEOF
44446 cat confdefs.h
>>conftest.
$ac_ext
44447 cat >>conftest.
$ac_ext <<_ACEOF
44448 /* end confdefs.h. */
44454 #if (__GNUC__ < 3) || \
44455 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44463 rm -f conftest.
$ac_objext
44464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44465 (eval $ac_compile) 2>conftest.er1
44467 grep -v '^ *+' conftest.er1
>conftest.err
44469 cat conftest.err
>&5
44470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471 (exit $ac_status); } &&
44472 { ac_try
='test -z "$ac_c_werror_flag"
44473 || test ! -s conftest.err'
44474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44475 (eval $ac_try) 2>&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); }; } &&
44479 { ac_try
='test -s conftest.$ac_objext'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; }; then
44486 bakefile_cv_gcc31
=yes
44489 echo "$as_me: failed program was:" >&5
44490 sed 's/^/| /' conftest.
$ac_ext >&5
44493 bakefile_cv_gcc31
=no
44497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44500 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44501 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44502 if test "$bakefile_cv_gcc31" = "no"; then
44505 cat <<EOF >shared-ld-sh
44507 #-----------------------------------------------------------------------------
44508 #-- Name: distrib/mac/shared-ld-sh
44509 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44510 #-- Author: Gilles Depeyrot
44511 #-- Copyright: (c) 2002 Gilles Depeyrot
44512 #-- Licence: any use permitted
44513 #-----------------------------------------------------------------------------
44518 linking_flag="-dynamiclib"
44519 ldargs="-r -keep_private_externs -nostdlib"
44521 while test ${D}# -gt 0; do
44528 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44529 # collect these options and values
44530 args="${D}{args} ${D}1 ${D}2"
44535 # collect these load args
44536 ldargs="${D}{ldargs} ${D}1"
44539 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44540 # collect these options
44541 args="${D}{args} ${D}1"
44544 -dynamiclib|-bundle)
44545 linking_flag="${D}1"
44549 echo "shared-ld: unhandled option '${D}1'"
44553 *.o | *.a | *.dylib)
44554 # collect object files
44555 objects="${D}{objects} ${D}1"
44559 echo "shared-ld: unhandled argument '${D}1'"
44570 # Link one module containing all the others
44572 if test ${D}{verbose} = 1; then
44573 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44575 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44579 # Link the shared library from the single module created, but only if the
44580 # previous command didn't fail:
44582 if test ${D}{status} = 0; then
44583 if test ${D}{verbose} = 1; then
44584 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44586 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44591 # Remove intermediate module
44593 rm -f master.${D}${D}.o
44598 chmod +x shared
-ld-sh
44600 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44601 SHARED_LD_CXX
="$SHARED_LD_CC"
44603 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44604 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44607 if test "x$GCC" == "xyes"; then
44608 PIC_FLAG
="-dynamic -fPIC"
44610 if test "x$XLCC" = "xyes"; then
44611 PIC_FLAG
="-dynamic -DPIC"
44616 if test "x$GCC" = "xyes"; then
44619 case "${BAKEFILE_HOST}" in
44621 LD_EXPFULL
="-Wl,-bexpfull"
44625 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
44626 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
44628 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44629 set dummy makeC
++SharedLib
; ac_word
=$2
44630 echo "$as_me:$LINENO: checking for $ac_word" >&5
44631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44632 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44633 echo $ECHO_N "(cached) $ECHO_C" >&6
44635 if test -n "$AIX_CXX_LD"; then
44636 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
44638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44639 for as_dir
in $PATH
44642 test -z "$as_dir" && as_dir
=.
44643 for ac_exec_ext
in '' $ac_executable_extensions; do
44644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44645 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
44646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44652 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
44655 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
44656 if test -n "$AIX_CXX_LD"; then
44657 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44658 echo "${ECHO_T}$AIX_CXX_LD" >&6
44660 echo "$as_me:$LINENO: result: no" >&5
44661 echo "${ECHO_T}no" >&6
44664 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
44665 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
44670 SHARED_LD_CC
="${LD} -nostart -o"
44671 SHARED_LD_CXX
="${LD} -nostart -o"
44675 if test "x$GCC" != "xyes"; then
44680 *-*-cygwin* | *-*-mingw32* )
44682 SHARED_LD_CC
="\$(CC) -shared -o"
44683 SHARED_LD_CXX
="\$(CXX) -shared -o"
44687 *-pc-os2_emx | *-pc-os2-emx )
44688 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44689 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44693 cat <<EOF >dllar.sh
44696 # dllar - a tool to build both a .dll and an .a file
44697 # from a set of object (.o) files for EMX/OS2.
44699 # Written by Andrew Zabolotny, bit@freya.etu.ru
44700 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44702 # This script will accept a set of files on the command line.
44703 # All the public symbols from the .o files will be exported into
44704 # a .DEF file, then linker will be run (through gcc) against them to
44705 # build a shared library consisting of all given .o files. All libraries
44706 # (.a) will be first decompressed into component .o files then act as
44707 # described above. You can optionally give a description (-d "description")
44708 # which will be put into .DLL. To see the list of accepted options (as well
44709 # as command-line format) simply run this program without options. The .DLL
44710 # is built to be imported by name (there is no guarantee that new versions
44711 # of the library you build will have same ordinals for same symbols).
44713 # dllar is free software; you can redistribute it and/or modify
44714 # it under the terms of the GNU General Public License as published by
44715 # the Free Software Foundation; either version 2, or (at your option)
44716 # any later version.
44718 # dllar is distributed in the hope that it will be useful,
44719 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44720 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44721 # GNU General Public License for more details.
44723 # You should have received a copy of the GNU General Public License
44724 # along with dllar; see the file COPYING. If not, write to the Free
44725 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44728 # To successfuly run this program you will need:
44729 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44730 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44732 # (used to build the .dll)
44734 # (used to create .def file from .o files)
44736 # (used to create .a file from .def file)
44737 # - GNU text utilites (cat, sort, uniq)
44738 # used to process emxexp output
44739 # - GNU file utilities (mv, rm)
44741 # - lxlite (optional, see flag below)
44742 # (used for general .dll cleanup)
44749 # basnam, variant of basename, which does _not_ remove the path, _iff_
44750 # second argument (suffix to remove) is given
44754 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44757 echo ${D}1 | sed 's/'${D}2'${D}//'
44760 echo "error in basnam ${D}*"
44766 # Cleanup temporary files and output
44769 for i in ${D}inputFiles ; do
44772 rm -rf \`basnam ${D}i !\`
44779 # Kill result in case of failure as there is just to many stupid make/nmake
44780 # things out there which doesn't do this.
44781 if [ ${D}# -eq 0 ]; then
44782 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44786 # Print usage and exit script with rc=1.
44788 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44789 echo ' [-name-mangler-script script.sh]'
44790 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44791 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44792 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44793 echo ' [*.o] [*.a]'
44794 echo '*> "output_file" should have no extension.'
44795 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44796 echo ' The import library name is derived from this and is set to "name".a,'
44797 echo ' unless overridden by -import'
44798 echo '*> "importlib_name" should have no extension.'
44799 echo ' If it has the .o, or .a extension, it is automatically removed.'
44800 echo ' This name is used as the import library name and may be longer and'
44801 echo ' more descriptive than the DLL name which has to follow the old '
44802 echo ' 8.3 convention of FAT.'
44803 echo '*> "script.sh may be given to override the output_file name by a'
44804 echo ' different name. It is mainly useful if the regular make process'
44805 echo ' of some package does not take into account OS/2 restriction of'
44806 echo ' DLL name lengths. It takes the importlib name as input and is'
44807 echo ' supposed to procude a shorter name as output. The script should'
44808 echo ' expect to get importlib_name without extension and should produce'
44809 echo ' a (max.) 8 letter name without extension.'
44810 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44811 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44812 echo ' These flags will be put at the start of GCC command line.'
44813 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44814 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44815 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44816 echo ' If the last character of a symbol is "*", all symbols beginning'
44817 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44818 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44819 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44820 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44821 echo ' C runtime DLLs.'
44822 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44823 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44824 echo ' unchanged to GCC at the end of command line.'
44825 echo '*> If you create a DLL from a library and you do not specify -o,'
44826 echo ' the basename for DLL and import library will be set to library name,'
44827 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44828 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44829 echo ' library will be renamed into gcc_s.a.'
44832 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44833 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44838 # Execute a command.
44839 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44840 # @Uses Whatever CleanUp() uses.
44846 if [ ${D}rcCmd -ne 0 ]; then
44847 echo "command failed, exit code="${D}rcCmd
44862 CFLAGS="-s -Zcrtdll"
44864 EXPORT_BY_ORDINALS=0
44869 case ${D}curDirS in
44873 curDirS=${D}{curDirS}"/"
44876 # Parse commandline
44879 while [ ${D}1 ]; do
44882 EXPORT_BY_ORDINALS=1;
44892 -name-mangler-script)
44913 exclude_symbols=${D}{exclude_symbols}${D}1" "
44917 library_flags=${D}{library_flags}${D}1" "
44936 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44939 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44940 if [ ${D}omfLinking -eq 1 ]; then
44941 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44943 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44948 if [ ${D}libsToLink -ne 0 ]; then
44949 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44951 for file in ${D}1 ; do
44952 if [ -f ${D}file ]; then
44953 inputFiles="${D}{inputFiles} ${D}file"
44957 if [ ${D}found -eq 0 ]; then
44958 echo "ERROR: No file(s) found: "${D}1
44965 done # iterate cmdline words
44968 if [ -z "${D}inputFiles" ]; then
44969 echo "dllar: no input files"
44973 # Now extract all .o files from .a files
44975 for file in ${D}inputFiles ; do
44986 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44991 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44993 if [ ${D}? -ne 0 ]; then
44994 echo "Failed to create subdirectory ./${D}dirname"
44998 # Append '!' to indicate archive
44999 newInputFiles="${D}newInputFiles ${D}{dirname}!"
45000 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
45003 for subfile in ${D}dirname/*.o* ; do
45004 if [ -f ${D}subfile ]; then
45006 if [ -s ${D}subfile ]; then
45007 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
45008 newInputFiles="${D}newInputFiles ${D}subfile"
45012 if [ ${D}found -eq 0 ]; then
45013 echo "WARNING: there are no files in archive \\'${D}file\\'"
45017 newInputFiles="${D}{newInputFiles} ${D}file"
45021 inputFiles="${D}newInputFiles"
45023 # Output filename(s).
45025 if [ -z ${D}outFile ]; then
45027 set outFile ${D}inputFiles; outFile=${D}2
45030 # If it is an archive, remove the '!' and the '_%' suffixes
45031 case ${D}outFile in
45033 outFile=\`basnam ${D}outFile _%!\`
45038 case ${D}outFile in
45040 outFile=\`basnam ${D}outFile .dll\`
45043 outFile=\`basnam ${D}outFile .DLL\`
45046 outFile=\`basnam ${D}outFile .o\`
45049 outFile=\`basnam ${D}outFile .obj\`
45052 outFile=\`basnam ${D}outFile .a\`
45055 outFile=\`basnam ${D}outFile .lib\`
45060 case ${D}outimpFile in
45062 outimpFile=\`basnam ${D}outimpFile .a\`
45065 outimpFile=\`basnam ${D}outimpFile .lib\`
45070 if [ -z ${D}outimpFile ]; then
45071 outimpFile=${D}outFile
45073 defFile="${D}{outFile}.def"
45074 arcFile="${D}{outimpFile}.a"
45075 arcFile2="${D}{outimpFile}.lib"
45077 #create ${D}dllFile as something matching 8.3 restrictions,
45078 if [ -z ${D}renameScript ] ; then
45079 dllFile="${D}outFile"
45081 dllFile=\`${D}renameScript ${D}outimpFile\`
45084 if [ ${D}do_backup -ne 0 ] ; then
45085 if [ -f ${D}arcFile ] ; then
45086 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
45088 if [ -f ${D}arcFile2 ] ; then
45089 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
45093 # Extract public symbols from all the object files.
45094 tmpdefFile=${D}{defFile}_%
45095 rm -f ${D}tmpdefFile
45096 for file in ${D}inputFiles ; do
45101 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
45106 # Create the def file.
45108 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
45109 dllFile="${D}{dllFile}.dll"
45110 if [ ! -z ${D}description ]; then
45111 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
45113 echo "EXPORTS" >> ${D}defFile
45115 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
45116 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
45118 # Checks if the export is ok or not.
45119 for word in ${D}exclude_symbols; do
45120 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
45121 mv ${D}{tmpdefFile}% ${D}tmpdefFile
45125 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45126 sed "=" < ${D}tmpdefFile | \\
45130 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
45132 ' > ${D}{tmpdefFile}%
45133 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
45135 rm -f ${D}{tmpdefFile}%
45137 cat ${D}tmpdefFile >> ${D}defFile
45138 rm -f ${D}tmpdefFile
45140 # Do linking, create implib, and apply lxlite.
45142 for file in ${D}inputFiles ; do
45147 gccCmdl="${D}gccCmdl ${D}file"
45151 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
45152 touch "${D}{outFile}.dll"
45154 doCommand "emximp -o ${D}arcFile ${D}defFile"
45155 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
45157 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45160 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45162 doCommand "emxomf -s -l ${D}arcFile"
45172 powerpc
-apple-macos* | \
45173 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
45182 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45183 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45184 { (exit 1); exit 1; }; }
45187 if test "x$PIC_FLAG" != "x" ; then
45188 PIC_FLAG
="$PIC_FLAG -DPIC"
45191 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45192 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
45194 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45195 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
45214 case "${BAKEFILE_HOST}" in
45215 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
45216 SONAME_FLAG
="-Wl,-soname,"
45250 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45251 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45254 if test "x$GCC" = "xyes"; then
45256 case "${BAKEFILE_HOST}" in
45258 DEPSFLAG
="-no-cpp-precomp -MMD"
45264 echo "$as_me:$LINENO: result: gcc" >&5
45265 echo "${ECHO_T}gcc" >&6
45266 elif test "x$MWCC" = "xyes"; then
45269 echo "$as_me:$LINENO: result: mwcc" >&5
45270 echo "${ECHO_T}mwcc" >&6
45271 elif test "x$SUNCC" = "xyes"; then
45274 echo "$as_me:$LINENO: result: Sun cc" >&5
45275 echo "${ECHO_T}Sun cc" >&6
45276 elif test "x$SGICC" = "xyes"; then
45279 echo "$as_me:$LINENO: result: SGI cc" >&5
45280 echo "${ECHO_T}SGI cc" >&6
45281 elif test "x$HPCC" = "xyes"; then
45284 echo "$as_me:$LINENO: result: HP cc" >&5
45285 echo "${ECHO_T}HP cc" >&6
45286 elif test "x$COMPAQCC" = "xyes"; then
45289 echo "$as_me:$LINENO: result: Compaq cc" >&5
45290 echo "${ECHO_T}Compaq cc" >&6
45293 echo "$as_me:$LINENO: result: none" >&5
45294 echo "${ECHO_T}none" >&6
45297 if test $DEPS_TRACKING = 1 ; then
45303 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45304 # script. It is used to track C/C++ files dependencies in portable way.
45306 # Permission is given to use this file in any way.
45308 DEPSMODE=${DEPSMODE}
45310 DEPSFLAG="${DEPSFLAG}"
45312 mkdir -p ${D}DEPSDIR
45314 if test ${D}DEPSMODE = gcc ; then
45315 ${D}* ${D}{DEPSFLAG}
45317 if test ${D}{status} != 0 ; then
45320 # move created file to the location we want it in:
45321 while test ${D}# -gt 0; do
45335 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45336 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45337 if test -f ${D}depfile ; then
45338 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45341 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45342 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45343 if test ! -f ${D}depfile ; then
45344 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45345 depfile="${D}objfile.d"
45347 if test -f ${D}depfile ; then
45348 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45353 elif test ${D}DEPSMODE = mwcc ; then
45354 ${D}* || exit ${D}?
45355 # Run mwcc again with -MM and redirect into the dep file we want
45356 # NOTE: We can't use shift here because we need ${D}* to be valid
45358 for arg in ${D}* ; do
45359 if test "${D}prevarg" = "-o"; then
45372 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45374 elif test ${D}DEPSMODE = unixcc; then
45375 ${D}* || exit ${D}?
45376 # Run compiler again with deps flag and redirect into the dep file.
45377 # It doesn't work if the '-o FILE' option is used, but without it the
45378 # dependency file will contain the wrong name for the object. So it is
45379 # removed from the command line, and the dep file is fixed with sed.
45381 while test ${D}# -gt 0; do
45388 eval arg${D}#=\\${D}1
45389 cmd="${D}cmd \\${D}arg${D}#"
45394 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45411 case ${BAKEFILE_HOST} in
45412 *-*-cygwin* | *-*-mingw32* )
45413 if test "$build" != "$host" ; then
45414 RESCOMP
=$host_alias-windres
45416 # Extract the first word of "windres", so it can be a program name with args.
45417 set dummy windres
; ac_word
=$2
45418 echo "$as_me:$LINENO: checking for $ac_word" >&5
45419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45420 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45421 echo $ECHO_N "(cached) $ECHO_C" >&6
45423 if test -n "$RESCOMP"; then
45424 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45427 for as_dir
in $PATH
45430 test -z "$as_dir" && as_dir
=.
45431 for ac_exec_ext
in '' $ac_executable_extensions; do
45432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45433 ac_cv_prog_RESCOMP
="windres"
45434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45440 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
45443 RESCOMP
=$ac_cv_prog_RESCOMP
45444 if test -n "$RESCOMP"; then
45445 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45446 echo "${ECHO_T}$RESCOMP" >&6
45448 echo "$as_me:$LINENO: result: no" >&5
45449 echo "${ECHO_T}no" >&6
45455 *-*-darwin* | powerpc
-apple-macos* )
45456 # Extract the first word of "Rez", so it can be a program name with args.
45457 set dummy Rez
; ac_word
=$2
45458 echo "$as_me:$LINENO: checking for $ac_word" >&5
45459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45460 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45461 echo $ECHO_N "(cached) $ECHO_C" >&6
45463 if test -n "$RESCOMP"; then
45464 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
45466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45467 for as_dir
in $PATH
45470 test -z "$as_dir" && as_dir
=.
45471 for ac_exec_ext
in '' $ac_executable_extensions; do
45472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45473 ac_cv_prog_RESCOMP
="Rez"
45474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45480 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
45483 RESCOMP
=$ac_cv_prog_RESCOMP
45484 if test -n "$RESCOMP"; then
45485 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45486 echo "${ECHO_T}$RESCOMP" >&6
45488 echo "$as_me:$LINENO: result: no" >&5
45489 echo "${ECHO_T}no" >&6
45492 # Extract the first word of "SetFile", so it can be a program name with args.
45493 set dummy SetFile
; ac_word
=$2
45494 echo "$as_me:$LINENO: checking for $ac_word" >&5
45495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45496 if test "${ac_cv_prog_SETFILE+set}" = set; then
45497 echo $ECHO_N "(cached) $ECHO_C" >&6
45499 if test -n "$SETFILE"; then
45500 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
45502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45503 for as_dir
in $PATH
45506 test -z "$as_dir" && as_dir
=.
45507 for ac_exec_ext
in '' $ac_executable_extensions; do
45508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45509 ac_cv_prog_SETFILE
="SetFile"
45510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45516 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
45519 SETFILE
=$ac_cv_prog_SETFILE
45520 if test -n "$SETFILE"; then
45521 echo "$as_me:$LINENO: result: $SETFILE" >&5
45522 echo "${ECHO_T}$SETFILE" >&6
45524 echo "$as_me:$LINENO: result: no" >&5
45525 echo "${ECHO_T}no" >&6
45535 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
45538 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
45542 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45543 if test "${enable_precomp_headers+set}" = set; then
45544 enableval
="$enable_precomp_headers"
45545 bk_use_pch
="$enableval"
45550 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45551 if test "x$GCC" = "xyes"; then
45552 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45553 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45554 cat >conftest.
$ac_ext <<_ACEOF
45557 cat confdefs.h
>>conftest.
$ac_ext
45558 cat >>conftest.
$ac_ext <<_ACEOF
45559 /* end confdefs.h. */
45565 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45566 #error "no pch support"
45569 #error "no pch support"
45571 #if (__GNUC__ == 3) && \
45572 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45573 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45574 #error "no pch support"
45581 rm -f conftest.
$ac_objext
45582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45583 (eval $ac_compile) 2>conftest.er1
45585 grep -v '^ *+' conftest.er1
>conftest.err
45587 cat conftest.err
>&5
45588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45589 (exit $ac_status); } &&
45590 { ac_try
='test -z "$ac_c_werror_flag"
45591 || test ! -s conftest.err'
45592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45593 (eval $ac_try) 2>&5
45595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45596 (exit $ac_status); }; } &&
45597 { ac_try
='test -s conftest.$ac_objext'
45598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45599 (eval $ac_try) 2>&5
45601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45602 (exit $ac_status); }; }; then
45604 echo "$as_me:$LINENO: result: yes" >&5
45605 echo "${ECHO_T}yes" >&6
45609 echo "$as_me: failed program was:" >&5
45610 sed 's/^/| /' conftest.
$ac_ext >&5
45613 echo "$as_me:$LINENO: result: no" >&5
45614 echo "${ECHO_T}no" >&6
45617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45618 if test $GCC_PCH = 1 ; then
45621 cat <<EOF >bk-make-pch
45624 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45625 # script. It is used to generated precompiled headers.
45627 # Permission is given to use this file in any way.
45636 while test ${D}{#} -gt 0; do
45639 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45640 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45641 headerfile="${D}{incdir}/${D}{header}"
45645 compiler="${D}{compiler} ${D}{1}"
45649 if test "x${D}{headerfile}" = "x" ; then
45650 echo "error: can't find header ${D}{header} in include paths" >2
45652 if test -f ${D}{outfile} ; then
45653 rm -f ${D}{outfile}
45655 mkdir -p \`dirname ${D}{outfile}\`
45657 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45659 # can do this because gcc is >= 3.4:
45660 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45665 chmod +x bk
-make-pch
45672 COND_BUILD_DEBUG
="#"
45673 if test "x$BUILD" = "xdebug" ; then
45674 COND_BUILD_DEBUG
=""
45677 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
45678 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
45679 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
45682 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
45683 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
45684 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
45687 COND_BUILD_DEBUG_UNICODE_0
="#"
45688 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45689 COND_BUILD_DEBUG_UNICODE_0
=""
45692 COND_BUILD_DEBUG_UNICODE_1
="#"
45693 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45694 COND_BUILD_DEBUG_UNICODE_1
=""
45697 COND_BUILD_RELEASE
="#"
45698 if test "x$BUILD" = "xrelease" ; then
45699 COND_BUILD_RELEASE
=""
45702 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
45703 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45704 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
45707 COND_BUILD_RELEASE_UNICODE_0
="#"
45708 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45709 COND_BUILD_RELEASE_UNICODE_0
=""
45712 COND_BUILD_RELEASE_UNICODE_1
="#"
45713 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45714 COND_BUILD_RELEASE_UNICODE_1
=""
45717 COND_DEBUG_FLAG_1
="#"
45718 if test "x$DEBUG_FLAG" = "x1" ; then
45719 COND_DEBUG_FLAG_1
=""
45722 COND_DEBUG_INFO_0
="#"
45723 if test "x$DEBUG_INFO" = "x0" ; then
45724 COND_DEBUG_INFO_0
=""
45727 COND_DEBUG_INFO_1
="#"
45728 if test "x$DEBUG_INFO" = "x1" ; then
45729 COND_DEBUG_INFO_1
=""
45732 COND_DEPS_TRACKING_0
="#"
45733 if test "x$DEPS_TRACKING" = "x0" ; then
45734 COND_DEPS_TRACKING_0
=""
45737 COND_DEPS_TRACKING_1
="#"
45738 if test "x$DEPS_TRACKING" = "x1" ; then
45739 COND_DEPS_TRACKING_1
=""
45743 if test "x$GCC_PCH" = "x1" ; then
45747 COND_MONOLITHIC_0
="#"
45748 if test "x$MONOLITHIC" = "x0" ; then
45749 COND_MONOLITHIC_0
=""
45752 COND_MONOLITHIC_0_SHARED_0
="#"
45753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45754 COND_MONOLITHIC_0_SHARED_0
=""
45757 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
45758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
45762 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
45763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
45767 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
45768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
45772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
45773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
45777 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
45778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45779 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
45782 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
45783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45784 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
45787 COND_MONOLITHIC_0_SHARED_1
="#"
45788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45789 COND_MONOLITHIC_0_SHARED_1
=""
45792 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
45793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
45797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
45798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45799 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
45802 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
45803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45804 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
45807 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
45808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
45812 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
45813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45814 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
45817 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
45818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45819 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
45822 COND_MONOLITHIC_0_USE_ODBC_1
="#"
45823 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45824 COND_MONOLITHIC_0_USE_ODBC_1
=""
45827 COND_MONOLITHIC_1
="#"
45828 if test "x$MONOLITHIC" = "x1" ; then
45829 COND_MONOLITHIC_1
=""
45832 COND_MONOLITHIC_1_SHARED_0
="#"
45833 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45834 COND_MONOLITHIC_1_SHARED_0
=""
45837 COND_MONOLITHIC_1_SHARED_1
="#"
45838 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45839 COND_MONOLITHIC_1_SHARED_1
=""
45842 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
45843 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45844 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
45847 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
45848 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45849 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
45852 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
45853 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45854 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
45857 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
45858 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45859 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
45862 COND_PLATFORM_MACOSX_1
="#"
45863 if test "x$PLATFORM_MACOSX" = "x1" ; then
45864 COND_PLATFORM_MACOSX_1
=""
45867 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
45868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45869 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
45872 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
45873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45874 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
45877 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
45878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45879 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
45882 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
45883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45884 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
45887 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
45888 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45889 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
45892 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45893 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45894 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45897 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
45898 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45899 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
45902 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
45903 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45904 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
45907 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
45908 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45909 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
45912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
45913 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45914 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
45917 COND_PLATFORM_MACOS_1
="#"
45918 if test "x$PLATFORM_MACOS" = "x1" ; then
45919 COND_PLATFORM_MACOS_1
=""
45922 COND_PLATFORM_MAC_1
="#"
45923 if test "x$PLATFORM_MAC" = "x1" ; then
45924 COND_PLATFORM_MAC_1
=""
45927 COND_PLATFORM_MSDOS_1
="#"
45928 if test "x$PLATFORM_MSDOS" = "x1" ; then
45929 COND_PLATFORM_MSDOS_1
=""
45932 COND_PLATFORM_OS2_1
="#"
45933 if test "x$PLATFORM_OS2" = "x1" ; then
45934 COND_PLATFORM_OS2_1
=""
45937 COND_PLATFORM_UNIX_0
="#"
45938 if test "x$PLATFORM_UNIX" = "x0" ; then
45939 COND_PLATFORM_UNIX_0
=""
45942 COND_PLATFORM_UNIX_1
="#"
45943 if test "x$PLATFORM_UNIX" = "x1" ; then
45944 COND_PLATFORM_UNIX_1
=""
45947 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
45948 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45949 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
45952 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
45953 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45954 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
45957 COND_PLATFORM_WIN32_0
="#"
45958 if test "x$PLATFORM_WIN32" = "x0" ; then
45959 COND_PLATFORM_WIN32_0
=""
45962 COND_PLATFORM_WIN32_1
="#"
45963 if test "x$PLATFORM_WIN32" = "x1" ; then
45964 COND_PLATFORM_WIN32_1
=""
45968 if test "x$SHARED" = "x0" ; then
45972 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
45973 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45974 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
45977 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
45978 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45979 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
45982 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
45983 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45984 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
45987 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
45988 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45989 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
45992 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45993 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45994 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45997 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45998 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45999 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
46002 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
46003 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46004 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46007 COND_SHARED_0_USE_XRC_1
="#"
46008 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
46009 COND_SHARED_0_USE_XRC_1
=""
46012 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
46013 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
46014 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
46017 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
46018 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
46019 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
46022 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
46023 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
46024 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
46027 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
46028 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
46029 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
46033 if test "x$SHARED" = "x1" ; then
46037 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
46038 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
46039 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
46042 COND_SHARED_1_USE_XRC_1
="#"
46043 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
46044 COND_SHARED_1_USE_XRC_1
=""
46048 if test "x$TOOLKIT" = "x" ; then
46052 COND_TOOLKIT_COCOA
="#"
46053 if test "x$TOOLKIT" = "xCOCOA" ; then
46054 COND_TOOLKIT_COCOA
=""
46057 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
46058 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
46059 COND_TOOLKIT_COCOA_USE_GUI_1
=""
46062 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
46063 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46064 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
46067 COND_TOOLKIT_GTK
="#"
46068 if test "x$TOOLKIT" = "xGTK" ; then
46069 COND_TOOLKIT_GTK
=""
46072 COND_TOOLKIT_GTK_USE_GUI_1
="#"
46073 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
46074 COND_TOOLKIT_GTK_USE_GUI_1
=""
46077 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
46078 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46079 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
46082 COND_TOOLKIT_MAC
="#"
46083 if test "x$TOOLKIT" = "xMAC" ; then
46084 COND_TOOLKIT_MAC
=""
46087 COND_TOOLKIT_MAC_USE_GUI_1
="#"
46088 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
46089 COND_TOOLKIT_MAC_USE_GUI_1
=""
46092 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
46093 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46094 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
46097 COND_TOOLKIT_MGL
="#"
46098 if test "x$TOOLKIT" = "xMGL" ; then
46099 COND_TOOLKIT_MGL
=""
46102 COND_TOOLKIT_MGL_USE_GUI_1
="#"
46103 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
46104 COND_TOOLKIT_MGL_USE_GUI_1
=""
46107 COND_TOOLKIT_MOTIF
="#"
46108 if test "x$TOOLKIT" = "xMOTIF" ; then
46109 COND_TOOLKIT_MOTIF
=""
46112 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
46113 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
46114 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
46117 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
46118 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46119 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
46122 COND_TOOLKIT_MSW
="#"
46123 if test "x$TOOLKIT" = "xMSW" ; then
46124 COND_TOOLKIT_MSW
=""
46127 COND_TOOLKIT_MSW_USE_GUI_1
="#"
46128 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
46129 COND_TOOLKIT_MSW_USE_GUI_1
=""
46132 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
46133 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46134 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
46137 COND_TOOLKIT_MSW_WXUNIV_0
="#"
46138 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
46139 COND_TOOLKIT_MSW_WXUNIV_0
=""
46142 COND_TOOLKIT_PM
="#"
46143 if test "x$TOOLKIT" = "xPM" ; then
46147 COND_TOOLKIT_PM_USE_GUI_1
="#"
46148 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
46149 COND_TOOLKIT_PM_USE_GUI_1
=""
46152 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
46153 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46154 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
46157 COND_TOOLKIT_WINCE
="#"
46158 if test "x$TOOLKIT" = "xWINCE" ; then
46159 COND_TOOLKIT_WINCE
=""
46162 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
46163 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46164 COND_TOOLKIT_WINCE_USE_GUI_1
=""
46167 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
46168 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46169 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
46172 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
46173 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46174 COND_TOOLKIT_WINCE_WXUNIV_0
=""
46177 COND_TOOLKIT_X11
="#"
46178 if test "x$TOOLKIT" = "xX11" ; then
46179 COND_TOOLKIT_X11
=""
46182 COND_TOOLKIT_X11_USE_GUI_1
="#"
46183 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46184 COND_TOOLKIT_X11_USE_GUI_1
=""
46188 if test "x$UNICODE" = "x1" ; then
46192 COND_USE_EXCEPTIONS_0
="#"
46193 if test "x$USE_EXCEPTIONS" = "x0" ; then
46194 COND_USE_EXCEPTIONS_0
=""
46197 COND_USE_EXCEPTIONS_1
="#"
46198 if test "x$USE_EXCEPTIONS" = "x1" ; then
46199 COND_USE_EXCEPTIONS_1
=""
46203 if test "x$USE_GUI" = "x0" ; then
46208 if test "x$USE_GUI" = "x1" ; then
46212 COND_USE_GUI_1_WXUNIV_0
="#"
46213 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46214 COND_USE_GUI_1_WXUNIV_0
=""
46217 COND_USE_GUI_1_WXUNIV_1
="#"
46218 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46219 COND_USE_GUI_1_WXUNIV_1
=""
46222 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
46223 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46224 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
46227 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
46228 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46229 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
46232 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
46233 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46234 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
46237 COND_USE_ODBC_1
="#"
46238 if test "x$USE_ODBC" = "x1" ; then
46242 COND_USE_OPENGL_1
="#"
46243 if test "x$USE_OPENGL" = "x1" ; then
46244 COND_USE_OPENGL_1
=""
46247 COND_USE_PLUGINS_0
="#"
46248 if test "x$USE_PLUGINS" = "x0" ; then
46249 COND_USE_PLUGINS_0
=""
46252 COND_USE_RTTI_0
="#"
46253 if test "x$USE_RTTI" = "x0" ; then
46257 COND_USE_RTTI_1
="#"
46258 if test "x$USE_RTTI" = "x1" ; then
46262 COND_USE_SOSYMLINKS_1
="#"
46263 if test "x$USE_SOSYMLINKS" = "x1" ; then
46264 COND_USE_SOSYMLINKS_1
=""
46267 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
46268 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46269 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
46272 COND_USE_SOVERLINUX_1
="#"
46273 if test "x$USE_SOVERLINUX" = "x1" ; then
46274 COND_USE_SOVERLINUX_1
=""
46277 COND_USE_SOVERSION_0
="#"
46278 if test "x$USE_SOVERSION" = "x0" ; then
46279 COND_USE_SOVERSION_0
=""
46282 COND_USE_SOVERSOLARIS_1
="#"
46283 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46284 COND_USE_SOVERSOLARIS_1
=""
46287 COND_USE_THREADS_0
="#"
46288 if test "x$USE_THREADS" = "x0" ; then
46289 COND_USE_THREADS_0
=""
46292 COND_USE_THREADS_1
="#"
46293 if test "x$USE_THREADS" = "x1" ; then
46294 COND_USE_THREADS_1
=""
46298 if test "x$USE_XRC" = "x1" ; then
46302 COND_WINDOWS_IMPLIB_1
="#"
46303 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46304 COND_WINDOWS_IMPLIB_1
=""
46307 COND_WITH_PLUGIN_SDL_1
="#"
46308 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46309 COND_WITH_PLUGIN_SDL_1
=""
46313 if test "x$WXUNIV" = "x0" ; then
46318 if test "x$WXUNIV" = "x1" ; then
46322 COND_WXUSE_EXPAT_BUILTIN
="#"
46323 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46324 COND_WXUSE_EXPAT_BUILTIN
=""
46327 COND_WXUSE_LIBJPEG_BUILTIN
="#"
46328 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46329 COND_WXUSE_LIBJPEG_BUILTIN
=""
46332 COND_WXUSE_LIBPNG_BUILTIN
="#"
46333 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46334 COND_WXUSE_LIBPNG_BUILTIN
=""
46337 COND_WXUSE_LIBTIFF_BUILTIN
="#"
46338 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46339 COND_WXUSE_LIBTIFF_BUILTIN
=""
46342 COND_WXUSE_ODBC_BUILTIN
="#"
46343 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46344 COND_WXUSE_ODBC_BUILTIN
=""
46347 COND_WXUSE_REGEX_BUILTIN
="#"
46348 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46349 COND_WXUSE_REGEX_BUILTIN
=""
46352 COND_WXUSE_ZLIB_BUILTIN
="#"
46353 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46354 COND_WXUSE_ZLIB_BUILTIN
=""
46359 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46360 { { 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
46361 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;}
46362 { (exit 1); exit 1; }; }
46365 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46366 { { 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
46367 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;}
46368 { (exit 1); exit 1; }; }
46372 if test "$wxUSE_SHARED" = "yes"; then
46374 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
46375 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
46378 *-pc-os2_emx | *-pc-os2-emx )
46379 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46380 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46381 cp -p ${srcdir}/src
/os
2/dllnames.sh .
46382 cp -p ${srcdir}/src
/os
2/dllar.sh .
46387 EXE_LINKER
="$CXX -o"
46390 if test "$wxUSE_OMF" = "yes"; then
46392 *-pc-os2_emx | *-pc-os2-emx )
46393 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
46394 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46395 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
46400 if test $GCC_PCH = 1 ; then
46401 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
46404 CPPFLAGS
="$CPPFLAGS $TOOLCHAIN_DEFS"
46406 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46470 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46471 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46472 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
46473 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46474 echo $ECHO_N "(cached) $ECHO_C" >&6
46476 cat >conftest.
make <<\_ACEOF
46478 @
echo 'ac_maketemp="$(MAKE)"'
46480 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46481 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46482 if test -n "$ac_maketemp"; then
46483 eval ac_cv_prog_make_
${ac_make}_set
=yes
46485 eval ac_cv_prog_make_
${ac_make}_set
=no
46487 rm -f conftest.
make
46489 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46490 echo "$as_me:$LINENO: result: yes" >&5
46491 echo "${ECHO_T}yes" >&6
46494 echo "$as_me:$LINENO: result: no" >&5
46495 echo "${ECHO_T}no" >&6
46496 SET_MAKE
="MAKE=${MAKE-make}"
46501 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46504 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46507 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46510 ac_config_files
="$ac_config_files version-script Makefile"
46513 ac_config_commands
="$ac_config_commands wx-config
46518 if test "$wxWITH_SUBDIRS" != "no"; then
46519 if test "$wxUSE_GUI" = "yes"; then
46520 SUBDIRS
="samples demos utils contrib"
46521 else SUBDIRS
="samples utils"
46526 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46527 if test "${with_cppunit_prefix+set}" = set; then
46528 withval
="$with_cppunit_prefix"
46529 cppunit_config_prefix
="$withval"
46531 cppunit_config_prefix
=""
46534 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46535 if test "${with_cppunit_exec_prefix+set}" = set; then
46536 withval
="$with_cppunit_exec_prefix"
46537 cppunit_config_exec_prefix
="$withval"
46539 cppunit_config_exec_prefix
=""
46542 if test x
$cppunit_config_exec_prefix != x
; then
46543 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46544 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46545 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
46548 if test x
$cppunit_config_prefix != x
; then
46549 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
46550 if test x
${CPPUNIT_CONFIG+set} != xset
; then
46551 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
46555 # Extract the first word of "cppunit-config", so it can be a program name with args.
46556 set dummy cppunit
-config; ac_word
=$2
46557 echo "$as_me:$LINENO: checking for $ac_word" >&5
46558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46559 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46560 echo $ECHO_N "(cached) $ECHO_C" >&6
46562 case $CPPUNIT_CONFIG in
46564 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46568 for as_dir
in $PATH
46571 test -z "$as_dir" && as_dir
=.
46572 for ac_exec_ext
in '' $ac_executable_extensions; do
46573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46574 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46581 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
46585 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
46587 if test -n "$CPPUNIT_CONFIG"; then
46588 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46589 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46591 echo "$as_me:$LINENO: result: no" >&5
46592 echo "${ECHO_T}no" >&6
46595 cppunit_version_min
=1.8.0
46597 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46598 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46600 if test "$CPPUNIT_CONFIG" = "no" ; then
46603 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
46604 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
46605 cppunit_version
=`$CPPUNIT_CONFIG --version`
46607 cppunit_major_version
=`echo $cppunit_version | \
46608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46609 cppunit_minor_version
=`echo $cppunit_version | \
46610 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46611 cppunit_micro_version
=`echo $cppunit_version | \
46612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46614 cppunit_major_min
=`echo $cppunit_version_min | \
46615 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46616 cppunit_minor_min
=`echo $cppunit_version_min | \
46617 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46618 cppunit_micro_min
=`echo $cppunit_version_min | \
46619 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46621 cppunit_version_proper
=`expr \
46622 $cppunit_major_version \> $cppunit_major_min \| \
46623 $cppunit_major_version \= $cppunit_major_min \& \
46624 $cppunit_minor_version \> $cppunit_minor_min \| \
46625 $cppunit_major_version \= $cppunit_major_min \& \
46626 $cppunit_minor_version \= $cppunit_minor_min \& \
46627 $cppunit_micro_version \>= $cppunit_micro_min `
46629 if test "$cppunit_version_proper" = "1" ; then
46630 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46631 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46633 echo "$as_me:$LINENO: result: no" >&5
46634 echo "${ECHO_T}no" >&6
46639 if test "x$no_cppunit" = x
; then
46640 SUBDIRS
="$SUBDIRS tests"
46651 for subdir
in `echo $SUBDIRS`; do
46652 if test -d ${srcdir}/${subdir} ; then
46653 if test "$wxUSE_GUI" = "yes"; then
46654 if test ${subdir} = "samples"; then
46655 makefiles
="samples/Makefile.in $makefiles"
46656 for sample
in `echo $SAMPLES_SUBDIRS`; do
46657 if test -d $srcdir/samples
/$sample; then
46658 makefiles
="samples/$sample/Makefile.in $makefiles"
46662 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
46663 eval "disabled=\$$disabled_var"
46664 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
46665 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46667 else if test ${subdir} = "samples"; then
46668 makefiles
="samples/Makefile.in samples/console/Makefile.in"
46669 elif test ${subdir} = "utils"; then
46671 for util
in HelpGen tex2rtf
; do
46672 if test -d $srcdir/utils
/$util ; then
46673 makefiles
="utils/$util/Makefile.in \
46674 utils/$util/src/Makefile.in \
46678 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
46682 for mkin
in $makefiles ; do
46683 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
46684 ac_config_files
="$ac_config_files $mk"
46690 cat >confcache
<<\_ACEOF
46691 # This file is a shell script that caches the results of configure
46692 # tests run on this system so they can be shared between configure
46693 # scripts and configure runs, see configure's option --config-cache.
46694 # It is not useful on other systems. If it contains results you don't
46695 # want to keep, you may remove or edit it.
46697 # config.status only pays attention to the cache file if you give it
46698 # the --recheck option to rerun configure.
46700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46702 # following values.
46706 # The following way of writing the cache mishandles newlines in values,
46707 # but we know of no workaround that is simple, portable, and efficient.
46708 # So, don't put newlines in cache variables' values.
46709 # Ultrix sh set writes to stderr and can't be redirected directly,
46710 # and sets the high bit in the cache file unless we assign to the vars.
46713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46715 # `set' does not quote correctly, so add quotes (double-quote
46716 # substitution turns \\\\ into \\, and sed turns \\ into \).
46719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46722 # `set' quotes correctly as required by POSIX, so do not add quotes.
46724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46735 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
46736 if test -w $cache_file; then
46737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46738 cat confcache
>$cache_file
46740 echo "not updating unwritable cache $cache_file"
46745 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
46746 # Let make expand exec_prefix.
46747 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
46749 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46750 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46751 # trailing colons and then remove the whole line if VPATH becomes empty
46752 # (actually we leave an empty line to preserve line numbers).
46753 if test "x$srcdir" = x.
; then
46754 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
46755 s/:*\$(srcdir):*/:/;
46756 s/:*\${srcdir}:*/:/;
46758 s/^\([^=]*=[ ]*\):*/\1/;
46764 DEFS
=-DHAVE_CONFIG_H
46768 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
46769 # 1. Remove the extension, and $U if already installed.
46770 ac_i
=`echo "$ac_i" |
46771 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46773 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
46774 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
46776 LIBOBJS
=$ac_libobjs
46778 LTLIBOBJS
=$ac_ltlibobjs
46782 : ${CONFIG_STATUS=./config.status}
46783 ac_clean_files_save
=$ac_clean_files
46784 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
46785 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46786 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46787 cat >$CONFIG_STATUS <<_ACEOF
46789 # Generated by $as_me.
46790 # Run this file to recreate the current configuration.
46791 # Compiler output produced by configure, useful for debugging
46792 # configure, is in config.log if it exists.
46795 ac_cs_recheck=false
46797 SHELL=\${CONFIG_SHELL-$SHELL}
46800 cat >>$CONFIG_STATUS <<\_ACEOF
46801 ## --------------------- ##
46802 ## M4sh Initialization. ##
46803 ## --------------------- ##
46805 # Be Bourne compatible
46806 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
46809 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46810 # is contrary to our usage. Disable this feature.
46811 alias -g '${1+"$@"}'='"$@"'
46812 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
46815 DUALCASE
=1; export DUALCASE
# for MKS sh
46817 # Support unset when possible.
46818 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
46825 # Work around bugs in pre-3.0 UWIN ksh.
46826 $as_unset ENV MAIL MAILPATH
46833 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46834 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46835 LC_TELEPHONE LC_TIME
46837 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46838 eval $as_var=C
; export $as_var
46844 # Required to use basename.
46845 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46851 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
46852 as_basename
=basename
46858 # Name of the executable.
46859 as_me
=`$as_basename "$0" ||
46860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46861 X"$0" : 'X\(//\)$' \| \
46862 X"$0" : 'X\(/\)$' \| \
46863 . : '\(.\)' 2>/dev/null ||
46865 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46866 /^X\/\(\/\/\)$/{ s//\1/; q; }
46867 /^X\/\(\/\).*/{ s//\1/; q; }
46871 # PATH needs CR, and LINENO needs CR and PATH.
46872 # Avoid depending upon Character Ranges.
46873 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
46874 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46875 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
46876 as_cr_digits
='0123456789'
46877 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46879 # The user is always right.
46880 if test "${PATH_SEPARATOR+set}" != set; then
46881 echo "#! /bin/sh" >conf$$.sh
46882 echo "exit 0" >>conf$$.sh
46884 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
46893 as_lineno_1
=$LINENO
46894 as_lineno_2
=$LINENO
46895 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
46896 test "x$as_lineno_1" != "x$as_lineno_2" &&
46897 test "x$as_lineno_3" = "x$as_lineno_2" || {
46898 # Find who we are. Look in the path if we contain no path at all
46901 *[\\/]* ) as_myself
=$0 ;;
46902 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46903 for as_dir
in $PATH
46906 test -z "$as_dir" && as_dir
=.
46907 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
46912 # We did not find ourselves, most probably we were run as `sh COMMAND'
46913 # in which case we are not to be found in the path.
46914 if test "x$as_myself" = x
; then
46917 if test ! -f "$as_myself"; then
46918 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46919 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46920 { (exit 1); exit 1; }; }
46922 case $CONFIG_SHELL in
46924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46925 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
46928 test -z "$as_dir" && as_dir
=.
46929 for as_base
in sh bash ksh sh5
; do
46932 if ("$as_dir/$as_base" -c '
46933 as_lineno_1=$LINENO
46934 as_lineno_2=$LINENO
46935 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46936 test "x$as_lineno_1" != "x$as_lineno_2" &&
46937 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
46938 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
46939 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
46940 CONFIG_SHELL
=$as_dir/$as_base
46941 export CONFIG_SHELL
46942 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46950 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46951 # uniformly replaced by the line number. The first 'sed' inserts a
46952 # line-number line before each line; the second 'sed' does the real
46953 # work. The second script uses 'N' to pair each line-number line
46954 # with the numbered line, and appends trailing '-' during
46955 # substitution so that $LINENO is not a special case at line end.
46956 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46957 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46958 sed '=' <$as_myself |
46963 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46966 s,^['$as_cr_digits']*\n,,
46967 ' >$as_me.lineno
&&
46968 chmod +x
$as_me.lineno
||
46969 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46970 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46971 { (exit 1); exit 1; }; }
46973 # Don't try to exec as it changes $[0], causing all sort of problems
46974 # (the dirname of $[0] is not the place where we might find the
46975 # original and so on. Autoconf is especially sensible to this).
46977 # Exit status is that of the last command.
46982 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46983 *c
*,-n*) ECHO_N
= ECHO_C
='
46985 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
46986 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
46989 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46995 rm -f conf$$ conf$$.exe conf$$.
file
46997 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
46998 # We could just check for DJGPP; but this test a) works b) is more generic
46999 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47000 if test -f conf$$.exe
; then
47001 # Don't use ln at all; we don't have any links
47006 elif ln conf$$.
file conf$$
2>/dev
/null
; then
47011 rm -f conf$$ conf$$.exe conf$$.
file
47013 if mkdir -p .
2>/dev
/null
; then
47016 test -d .
/-p && rmdir .
/-p
47020 as_executable_p
="test -f"
47022 # Sed expression to map a string onto a valid CPP name.
47023 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
47025 # Sed expression to map a string onto a valid variable name.
47026 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
47030 # We need space, tab and new line, in precisely that order.
47040 # Open the log real soon, to keep \$[0] and so on meaningful, and to
47041 # report actual input values of CONFIG_FILES etc. instead of their
47042 # values after options handling. Logging --version etc. is OK.
47046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47047 ## Running $as_me. ##
47052 This file was extended by wxWidgets $as_me 2.7.0, which was
47053 generated by GNU Autoconf 2.59. Invocation command line was
47055 CONFIG_FILES = $CONFIG_FILES
47056 CONFIG_HEADERS = $CONFIG_HEADERS
47057 CONFIG_LINKS = $CONFIG_LINKS
47058 CONFIG_COMMANDS = $CONFIG_COMMANDS
47062 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
47066 # Files that config.status was made for.
47067 if test -n "$ac_config_files"; then
47068 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
47071 if test -n "$ac_config_headers"; then
47072 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
47075 if test -n "$ac_config_links"; then
47076 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
47079 if test -n "$ac_config_commands"; then
47080 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
47083 cat >>$CONFIG_STATUS <<\_ACEOF
47086 \`$as_me' instantiates files from templates according to the
47087 current configuration.
47089 Usage: $0 [OPTIONS] [FILE]...
47091 -h, --help print this help, then exit
47092 -V, --version print version number, then exit
47093 -q, --quiet do not print progress messages
47094 -d, --debug don't remove temporary files
47095 --recheck update $as_me by reconfiguring in the same conditions
47096 --file=FILE[:TEMPLATE]
47097 instantiate the configuration file FILE
47098 --header=FILE[:TEMPLATE]
47099 instantiate the configuration header FILE
47101 Configuration files:
47104 Configuration headers:
47107 Configuration commands:
47110 Report bugs to <bug-autoconf@gnu.org>."
47113 cat >>$CONFIG_STATUS <<_ACEOF
47115 wxWidgets config.status 2.7.0
47116 configured by $0, generated by GNU Autoconf 2.59,
47117 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
47119 Copyright (C) 2003 Free Software Foundation, Inc.
47120 This config.status script is free software; the Free Software Foundation
47121 gives unlimited permission to copy, distribute and modify it."
47126 cat >>$CONFIG_STATUS <<\_ACEOF
47127 # If no file are specified by the user, then we need to provide default
47128 # value. By we need to know if files were specified by the user.
47134 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
47135 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
47143 *) # This is not an option, so the user has probably given explicit
47146 ac_need_defaults
=false
;;
47150 # Handling of the options.
47152 cat >>$CONFIG_STATUS <<\_ACEOF
47153 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47155 --version | --vers* | -V )
47156 echo "$ac_cs_version"; exit 0 ;;
47158 # Conflict between --help and --header
47159 { { echo "$as_me:$LINENO: error: ambiguous option: $1
47160 Try \`$0 --help' for more information." >&5
47161 echo "$as_me: error: ambiguous option: $1
47162 Try \`$0 --help' for more information." >&2;}
47163 { (exit 1); exit 1; }; };;
47164 --help | --hel | -h )
47165 echo "$ac_cs_usage"; exit 0 ;;
47166 --debug | --d* | -d )
47168 --file | --fil | --fi | --f )
47170 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
47171 ac_need_defaults
=false
;;
47172 --header | --heade | --head | --hea )
47174 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
47175 ac_need_defaults
=false
;;
47176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47177 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47180 # This is an error.
47181 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47182 Try \`$0 --help' for more information." >&5
47183 echo "$as_me: error: unrecognized option: $1
47184 Try \`$0 --help' for more information." >&2;}
47185 { (exit 1); exit 1; }; } ;;
47187 *) ac_config_targets
="$ac_config_targets $1" ;;
47193 ac_configure_extra_args
=
47195 if $ac_cs_silent; then
47197 ac_configure_extra_args
="$ac_configure_extra_args --silent"
47201 cat >>$CONFIG_STATUS <<_ACEOF
47202 if \$ac_cs_recheck; then
47203 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47204 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47209 cat >>$CONFIG_STATUS <<_ACEOF
47211 # INIT-COMMANDS section.
47214 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47215 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47216 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47224 cat >>$CONFIG_STATUS <<\_ACEOF
47225 for ac_config_target
in $ac_config_targets
47227 case "$ac_config_target" in
47228 # Handling of arguments.
47229 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47230 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47231 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
47232 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
47233 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
47234 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
47235 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47236 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47237 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47238 { (exit 1); exit 1; }; };;
47242 # If the user did not use the arguments to specify the items to instantiate,
47243 # then the envvar interface is used. Set only those that are not.
47244 # We use the long form for the default assignment because of an extremely
47245 # bizarre bug on SunOS 4.1.3.
47246 if $ac_need_defaults; then
47247 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
47248 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
47249 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
47252 # Have a temporary directory for convenience. Make it in the build tree
47253 # simply because there is no reason to put it here, and in addition,
47254 # creating and moving files from /tmp can sometimes cause problems.
47255 # Create a temporary directory, and hook for its removal unless debugging.
47258 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47259 trap '{ (exit 1); exit 1; }' 1 2 13 15
47262 # Create a (secure) tmp directory for tmp files.
47265 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47266 test -n "$tmp" && test -d "$tmp"
47269 tmp
=.
/confstat$$
-$RANDOM
47270 (umask 077 && mkdir $tmp)
47273 echo "$me: cannot create a temporary directory in ." >&2
47274 { (exit 1); exit 1; }
47279 cat >>$CONFIG_STATUS <<_ACEOF
47282 # CONFIG_FILES section.
47285 # No need to generate the scripts if there are no CONFIG_FILES.
47286 # This happens for instance when ./config.status config.h
47287 if test -n "\$CONFIG_FILES"; then
47288 # Protect against being on the right side of a sed subst in config.status.
47289 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47290 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47291 s,@SHELL@,$SHELL,;t t
47292 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47293 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47294 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47295 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47296 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47297 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47298 s,@exec_prefix@,$exec_prefix,;t t
47299 s,@prefix@,$prefix,;t t
47300 s,@program_transform_name@,$program_transform_name,;t t
47301 s,@bindir@,$bindir,;t t
47302 s,@sbindir@,$sbindir,;t t
47303 s,@libexecdir@,$libexecdir,;t t
47304 s,@datadir@,$datadir,;t t
47305 s,@sysconfdir@,$sysconfdir,;t t
47306 s,@sharedstatedir@,$sharedstatedir,;t t
47307 s,@localstatedir@,$localstatedir,;t t
47308 s,@libdir@,$libdir,;t t
47309 s,@includedir@,$includedir,;t t
47310 s,@oldincludedir@,$oldincludedir,;t t
47311 s,@infodir@,$infodir,;t t
47312 s,@mandir@,$mandir,;t t
47313 s,@build_alias@,$build_alias,;t t
47314 s,@host_alias@,$host_alias,;t t
47315 s,@target_alias@,$target_alias,;t t
47316 s,@DEFS@,$DEFS,;t t
47317 s,@ECHO_C@,$ECHO_C,;t t
47318 s,@ECHO_N@,$ECHO_N,;t t
47319 s,@ECHO_T@,$ECHO_T,;t t
47320 s,@LIBS@,$LIBS,;t t
47321 s,@build@,$build,;t t
47322 s,@build_cpu@,$build_cpu,;t t
47323 s,@build_vendor@,$build_vendor,;t t
47324 s,@build_os@,$build_os,;t t
47325 s,@host@,$host,;t t
47326 s,@host_cpu@,$host_cpu,;t t
47327 s,@host_vendor@,$host_vendor,;t t
47328 s,@host_os@,$host_os,;t t
47329 s,@target@,$target,;t t
47330 s,@target_cpu@,$target_cpu,;t t
47331 s,@target_vendor@,$target_vendor,;t t
47332 s,@target_os@,$target_os,;t t
47334 s,@CFLAGS@,$CFLAGS,;t t
47335 s,@LDFLAGS@,$LDFLAGS,;t t
47336 s,@CPPFLAGS@,$CPPFLAGS,;t t
47337 s,@ac_ct_CC@,$ac_ct_CC,;t t
47338 s,@EXEEXT@,$EXEEXT,;t t
47339 s,@OBJEXT@,$OBJEXT,;t t
47341 s,@EGREP@,$EGREP,;t t
47343 s,@CXXFLAGS@,$CXXFLAGS,;t t
47344 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47345 s,@RANLIB@,$RANLIB,;t t
47346 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47348 s,@ac_ct_AR@,$ac_ct_AR,;t t
47349 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47350 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47351 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47352 s,@STRIP@,$STRIP,;t t
47353 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47354 s,@RESCOMP@,$RESCOMP,;t t
47355 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47356 s,@DLLTOOL@,$DLLTOOL,;t t
47357 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47358 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47359 s,@LN_S@,$LN_S,;t t
47360 s,@CXXCPP@,$CXXCPP,;t t
47361 s,@subdirs@,$subdirs,;t t
47362 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47363 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47364 s,@GTK_LIBS@,$GTK_LIBS,;t t
47365 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47366 s,@X_CFLAGS@,$X_CFLAGS,;t t
47367 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47368 s,@X_LIBS@,$X_LIBS,;t t
47369 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47370 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47371 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47372 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47373 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47374 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47375 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47376 s,@DEREZ@,$DEREZ,;t t
47377 s,@SETFILE@,$SETFILE,;t t
47378 s,@LIBICONV@,$LIBICONV,;t t
47379 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47380 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47381 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47382 s,@SDL_LIBS@,$SDL_LIBS,;t t
47383 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47384 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47385 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47386 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47387 s,@GST_INSPECT@,$GST_INSPECT,;t t
47388 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47389 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47390 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47391 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47392 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47393 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47394 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47395 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47396 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47397 s,@VENDOR@,$VENDOR,;t t
47398 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47399 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47400 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47401 s,@WXUNIV@,$WXUNIV,;t t
47402 s,@MONOLITHIC@,$MONOLITHIC,;t t
47403 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47404 s,@EXTRALIBS@,$EXTRALIBS,;t t
47405 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47406 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47407 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47408 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47409 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47410 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47411 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47412 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47413 s,@UNICODE@,$UNICODE,;t t
47414 s,@BUILD@,$BUILD,;t t
47415 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47416 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47417 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47418 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47419 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47420 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47421 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47422 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47423 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47424 s,@SET_MAKE@,$SET_MAKE,;t t
47425 s,@MAKE_SET@,$MAKE_SET,;t t
47427 s,@ac_ct_NM@,$ac_ct_NM,;t t
47428 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47429 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47430 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47431 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47432 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47433 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47434 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47435 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47436 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47437 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47438 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47439 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47440 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47441 s,@LIBPREFIX@,$LIBPREFIX,;t t
47442 s,@LIBEXT@,$LIBEXT,;t t
47443 s,@DLLPREFIX@,$DLLPREFIX,;t t
47444 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47445 s,@dlldir@,$dlldir,;t t
47446 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47447 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47448 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47449 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47450 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47451 s,@PIC_FLAG@,$PIC_FLAG,;t t
47452 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47453 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47454 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47455 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47456 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47457 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47458 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47459 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47460 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47461 s,@GCC_PCH@,$GCC_PCH,;t t
47462 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47463 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47464 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47465 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47466 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47467 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47468 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47469 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47470 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47471 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47472 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47473 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47474 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47475 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47476 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47477 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47478 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47479 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47480 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
47481 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
47482 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
47483 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47484 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47485 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47486 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47487 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
47488 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
47489 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
47490 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47491 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47492 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47493 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47494 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47495 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47496 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47497 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47498 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47499 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47500 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47501 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47502 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47503 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47504 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47505 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47506 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
47507 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47508 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47509 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47510 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47511 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47512 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47513 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47514 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47515 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47516 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47517 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47518 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47519 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47520 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47521 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47522 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47523 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47524 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47525 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47526 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47527 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47528 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47529 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47530 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47531 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47532 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47533 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47534 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47535 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47536 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47537 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47538 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47539 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47540 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47541 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47542 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47543 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47544 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47545 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47546 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47547 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47548 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47549 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47550 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47551 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47552 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47553 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47554 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47555 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47556 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47557 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47558 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47559 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47560 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47561 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47562 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47563 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47564 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47565 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47566 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47567 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47568 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47569 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47570 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47571 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47572 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47573 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47574 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47575 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47576 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47577 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47578 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47579 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47580 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47581 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47582 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47583 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47584 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47585 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47586 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47587 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47588 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47589 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47590 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47591 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47592 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47593 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47594 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47595 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47596 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47597 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47598 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47599 s,@SHARED@,$SHARED,;t t
47600 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47601 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47602 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
47603 s,@USE_GUI@,$USE_GUI,;t t
47604 s,@AFMINSTALL@,$AFMINSTALL,;t t
47605 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47606 s,@TOOLKIT@,$TOOLKIT,;t t
47607 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47608 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47609 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47610 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
47611 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
47612 s,@cross_compiling@,$cross_compiling,;t t
47613 s,@WIDGET_SET@,$WIDGET_SET,;t t
47614 s,@WX_RELEASE@,$WX_RELEASE,;t t
47615 s,@WX_VERSION@,$WX_VERSION,;t t
47616 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47617 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47618 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47619 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
47620 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
47621 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47622 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47623 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
47624 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
47625 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
47626 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
47627 s,@EXE_LINKER@,$EXE_LINKER,;t t
47628 s,@GUIDIST@,$GUIDIST,;t t
47629 s,@DISTDIR@,$DISTDIR,;t t
47630 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47631 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47632 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47633 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47634 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47635 s,@RESFLAGS@,$RESFLAGS,;t t
47636 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47637 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47638 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47639 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47640 s,@MACRESCOMP@,$MACRESCOMP,;t t
47641 s,@MACSETFILE@,$MACSETFILE,;t t
47642 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47644 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47645 s,@LIBOBJS@,$LIBOBJS,;t t
47646 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47651 cat >>$CONFIG_STATUS <<\_ACEOF
47652 # Split the substitutions into bite-sized pieces for seds with
47653 # small command number limits, like on Digital OSF/1 and HP-UX.
47654 ac_max_sed_lines
=48
47655 ac_sed_frag
=1 # Number of current file.
47656 ac_beg
=1 # First line for current file.
47657 ac_end
=$ac_max_sed_lines # Line after last line for current file.
47660 while $ac_more_lines; do
47661 if test $ac_beg -gt 1; then
47662 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47664 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
47666 if test ! -s $tmp/subs.frag
; then
47667 ac_more_lines
=false
47669 # The purpose of the label and of the branching condition is to
47670 # speed up the sed processing (if there are no `@' at all, there
47671 # is no need to browse any of the substitutions).
47672 # These are the two extra sed commands mentioned above.
47674 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
47675 if test -z "$ac_sed_cmds"; then
47676 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
47678 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
47680 ac_sed_frag
=`expr $ac_sed_frag + 1`
47682 ac_end
=`expr $ac_end + $ac_max_sed_lines`
47685 if test -z "$ac_sed_cmds"; then
47688 fi # test -n "$CONFIG_FILES"
47691 cat >>$CONFIG_STATUS <<\_ACEOF
47692 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
47693 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47695 - | *:- | *:-:* ) # input from stdin
47697 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47698 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47699 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47700 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47701 * ) ac_file_in
=$ac_file.
in ;;
47704 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47705 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47706 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47707 X"$ac_file" : 'X\(//\)[^/]' \| \
47708 X"$ac_file" : 'X\(//\)$' \| \
47709 X"$ac_file" : 'X\(/\)' \| \
47710 . : '\(.\)' 2>/dev/null ||
47712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47714 /^X\(\/\/\)$/{ s//\1/; q; }
47715 /^X\(\/\).*/{ s//\1/; q; }
47717 { if $as_mkdir_p; then
47722 while test ! -d "$as_dir"; do
47723 as_dirs
="$as_dir $as_dirs"
47724 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47726 X"$as_dir" : 'X\(//\)[^/]' \| \
47727 X"$as_dir" : 'X\(//\)$' \| \
47728 X"$as_dir" : 'X\(/\)' \| \
47729 . : '\(.\)' 2>/dev/null ||
47731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47733 /^X\(\/\/\)$/{ s//\1/; q; }
47734 /^X\(\/\).*/{ s//\1/; q; }
47737 test ! -n "$as_dirs" || mkdir $as_dirs
47738 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47739 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47740 { (exit 1); exit 1; }; }; }
47744 if test "$ac_dir" != .
; then
47745 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47746 # A "../" for each directory in $ac_dir_suffix.
47747 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47749 ac_dir_suffix
= ac_top_builddir
=
47753 .
) # No --srcdir option. We are building in place.
47755 if test -z "$ac_top_builddir"; then
47758 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47760 [\\/]* | ?
:[\\/]* ) # Absolute path.
47761 ac_srcdir
=$srcdir$ac_dir_suffix;
47762 ac_top_srcdir
=$srcdir ;;
47763 *) # Relative path.
47764 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47765 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47768 # Do not use `cd foo && pwd` to compute absolute paths, because
47769 # the directories may not exist.
47771 .
) ac_abs_builddir
="$ac_dir";;
47774 .
) ac_abs_builddir
=`pwd`;;
47775 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47776 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47779 case $ac_abs_builddir in
47780 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47782 case ${ac_top_builddir}.
in
47783 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47784 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47785 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47788 case $ac_abs_builddir in
47789 .
) ac_abs_srcdir
=$ac_srcdir;;
47792 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47793 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47794 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47797 case $ac_abs_builddir in
47798 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47800 case $ac_top_srcdir in
47801 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47802 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47803 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47809 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
47810 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
47813 if test x
"$ac_file" != x
-; then
47814 { echo "$as_me:$LINENO: creating $ac_file" >&5
47815 echo "$as_me: creating $ac_file" >&6;}
47818 # Let's still pretend it is `configure' which instantiates (i.e., don't
47819 # use $as_me), people would be surprised to read:
47820 # /* config.h. Generated by config.status. */
47821 if test x
"$ac_file" = x
-; then
47824 configure_input
="$ac_file. "
47826 configure_input
=$configure_input"Generated from `echo $ac_file_in |
47827 sed 's,.*/,,'` by configure."
47829 # First look for the input files in the build tree, otherwise in the
47831 ac_file_inputs
=`IFS=:
47832 for f in $ac_file_in; do
47834 -) echo $tmp/stdin ;;
47836 # Absolute (can't be DOS-style, as IFS=:)
47837 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47838 echo "$as_me: error: cannot find input file: $f" >&2;}
47839 { (exit 1); exit 1; }; }
47842 if test -f "$f"; then
47845 elif test -f "$srcdir/$f"; then
47850 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47851 echo "$as_me: error: cannot find input file: $f" >&2;}
47852 { (exit 1); exit 1; }; }
47855 done` || { (exit 1); exit 1; }
47857 cat >>$CONFIG_STATUS <<_ACEOF
47861 cat >>$CONFIG_STATUS <<\_ACEOF
47863 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
47864 s
,@configure_input@
,$configure_input,;t t
47865 s
,@srcdir@
,$ac_srcdir,;t t
47866 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
47867 s
,@top_srcdir@
,$ac_top_srcdir,;t t
47868 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
47869 s
,@builddir@
,$ac_builddir,;t t
47870 s
,@abs_builddir@
,$ac_abs_builddir,;t t
47871 s
,@top_builddir@
,$ac_top_builddir,;t t
47872 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
47873 s
,@INSTALL@
,$ac_INSTALL,;t t
47874 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47876 if test x"$ac_file" != x-; then
47877 mv $tmp/out $ac_file
47883 # Run the commands associated with the file.
47885 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47886 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47890 cat >>$CONFIG_STATUS <<\_ACEOF
47893 # CONFIG_HEADER section.
47896 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
47897 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47899 # ac_d sets the value in "#define NAME VALUE" lines.
47900 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47901 ac_dB
='[ ].*$,\1#\2'
47904 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47905 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47906 ac_uB
='$,\1#\2define\3'
47910 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
47911 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47913 - | *:- | *:-:* ) # input from stdin
47915 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47916 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47917 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47918 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47919 * ) ac_file_in
=$ac_file.
in ;;
47922 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47923 echo "$as_me: creating $ac_file" >&6;}
47925 # First look for the input files in the build tree, otherwise in the
47927 ac_file_inputs
=`IFS=:
47928 for f in $ac_file_in; do
47930 -) echo $tmp/stdin ;;
47932 # Absolute (can't be DOS-style, as IFS=:)
47933 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47934 echo "$as_me: error: cannot find input file: $f" >&2;}
47935 { (exit 1); exit 1; }; }
47936 # Do quote $f, to prevent DOS paths from being IFS'd.
47939 if test -f "$f"; then
47942 elif test -f "$srcdir/$f"; then
47947 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47948 echo "$as_me: error: cannot find input file: $f" >&2;}
47949 { (exit 1); exit 1; }; }
47952 done` || { (exit 1); exit 1; }
47953 # Remove the trailing spaces.
47954 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47958 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47959 # `conftest.undefs', that substitutes the proper values into
47960 # config.h.in to produce config.h. The first handles `#define'
47961 # templates, and the second `#undef' templates.
47962 # And first: Protect against being on the right side of a sed subst in
47963 # config.status. Protect against being in an unquoted here document
47964 # in config.status.
47965 rm -f conftest.defines conftest.undefs
47966 # Using a here document instead of a string reduces the quoting nightmare.
47967 # Putting comments in sed scripts is not portable.
47969 # `end' is used to avoid that the second main sed command (meant for
47970 # 0-ary CPP macros) applies to n-ary macro definitions.
47971 # See the Autoconf documentation for `clear'.
47972 cat >confdef2sed.
sed <<\_ACEOF
47977 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47979 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47982 # If some macros were called several times there might be several times
47983 # the same #defines, which is useless. Nevertheless, we may not want to
47984 # sort them, since we want the *last* AC-DEFINE to be honored.
47985 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47986 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47987 rm -f confdef2sed.sed
47989 # This sed command replaces #undef with comments. This is necessary, for
47990 # example, in the case of _POSIX_SOURCE, which is predefined and required
47991 # on some systems where configure will not decide to define it.
47992 cat >>conftest.undefs <<\_ACEOF
47993 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47996 # Break up conftest.defines because some shells have a limit on the size
47997 # of here documents, and old seds have small limits too (100 cmds).
47998 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47999 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
48000 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
48001 echo ' :' >>$CONFIG_STATUS
48002 rm -f conftest.tail
48003 while grep . conftest.defines >/dev/null
48005 # Write a limited-size here document to $tmp/defines.sed.
48006 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
48007 # Speed up: don't consider the non `#define' lines.
48008 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
48009 # Work around the forget-to-reset-the-flag bug.
48010 echo 't clr' >>$CONFIG_STATUS
48011 echo ': clr' >>$CONFIG_STATUS
48012 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
48014 sed -f $tmp/defines.sed $tmp/in >$tmp/out
48016 mv $tmp/out $tmp/in
48018 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
48019 rm -f conftest.defines
48020 mv conftest.
tail conftest.defines
48022 rm -f conftest.defines
48023 echo ' fi # grep' >>$CONFIG_STATUS
48024 echo >>$CONFIG_STATUS
48026 # Break up conftest.undefs because some shells have a limit on the size
48027 # of here documents, and old seds have small limits too (100 cmds).
48028 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
48029 rm -f conftest.
tail
48030 while grep . conftest.undefs
>/dev
/null
48032 # Write a limited-size here document to $tmp/undefs.sed.
48033 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
48034 # Speed up: don't consider the non
`#undef'
48035 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
48036 # Work around the forget-to-reset-the-flag bug.
48037 echo 't clr' >>$CONFIG_STATUS
48038 echo ': clr' >>$CONFIG_STATUS
48039 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
48041 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
48043 mv $tmp/out $tmp/in
48045 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
48046 rm -f conftest.undefs
48047 mv conftest.tail conftest.undefs
48049 rm -f conftest.undefs
48051 cat >>$CONFIG_STATUS <<\_ACEOF
48052 # Let's still pretend it is `configure
' which instantiates (i.e., don't
48053 # use $as_me), people would be surprised to read:
48054 # /* config.h. Generated by config.status. */
48055 if test x
"$ac_file" = x
-; then
48056 echo "/* Generated by configure. */" >$tmp/config.h
48058 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
48060 cat $tmp/in >>$tmp/config.h
48062 if test x
"$ac_file" != x
-; then
48063 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
48064 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
48065 echo "$as_me: $ac_file is unchanged" >&6;}
48067 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
48068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48069 X"$ac_file" : 'X\(//\)[^/]' \| \
48070 X"$ac_file" : 'X\(//\)$' \| \
48071 X"$ac_file" : 'X\(/\)' \| \
48072 . : '\(.\)' 2>/dev/null ||
48074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48075 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48076 /^X\(\/\/\)$/{ s//\1/; q; }
48077 /^X\(\/\).*/{ s//\1/; q; }
48079 { if $as_mkdir_p; then
48084 while test ! -d "$as_dir"; do
48085 as_dirs
="$as_dir $as_dirs"
48086 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48088 X"$as_dir" : 'X\(//\)[^/]' \| \
48089 X"$as_dir" : 'X\(//\)$' \| \
48090 X"$as_dir" : 'X\(/\)' \| \
48091 . : '\(.\)' 2>/dev/null ||
48093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48095 /^X\(\/\/\)$/{ s//\1/; q; }
48096 /^X\(\/\).*/{ s//\1/; q; }
48099 test ! -n "$as_dirs" || mkdir $as_dirs
48100 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48101 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48102 { (exit 1); exit 1; }; }; }
48105 mv $tmp/config.h
$ac_file
48109 rm -f $tmp/config.h
48113 cat >>$CONFIG_STATUS <<\_ACEOF
48116 # CONFIG_COMMANDS section.
48118 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
48119 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
48120 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
48121 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
48122 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48123 X"$ac_dest" : 'X\(//\)[^/]' \| \
48124 X"$ac_dest" : 'X\(//\)$' \| \
48125 X"$ac_dest" : 'X\(/\)' \| \
48126 . : '\(.\)' 2>/dev/null ||
48128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48129 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48130 /^X\(\/\/\)$/{ s//\1/; q; }
48131 /^X\(\/\).*/{ s//\1/; q; }
48133 { if $as_mkdir_p; then
48138 while test ! -d "$as_dir"; do
48139 as_dirs
="$as_dir $as_dirs"
48140 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48141 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48142 X"$as_dir" : 'X\(//\)[^/]' \| \
48143 X"$as_dir" : 'X\(//\)$' \| \
48144 X"$as_dir" : 'X\(/\)' \| \
48145 . : '\(.\)' 2>/dev/null ||
48147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48148 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48149 /^X\(\/\/\)$/{ s//\1/; q; }
48150 /^X\(\/\).*/{ s//\1/; q; }
48153 test ! -n "$as_dirs" || mkdir $as_dirs
48154 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48155 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48156 { (exit 1); exit 1; }; }; }
48160 if test "$ac_dir" != .
; then
48161 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48162 # A "../" for each directory in $ac_dir_suffix.
48163 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48165 ac_dir_suffix
= ac_top_builddir
=
48169 .
) # No --srcdir option. We are building in place.
48171 if test -z "$ac_top_builddir"; then
48174 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48176 [\\/]* | ?
:[\\/]* ) # Absolute path.
48177 ac_srcdir
=$srcdir$ac_dir_suffix;
48178 ac_top_srcdir
=$srcdir ;;
48179 *) # Relative path.
48180 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48181 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48184 # Do not use `cd foo && pwd` to compute absolute paths, because
48185 # the directories may not exist.
48187 .
) ac_abs_builddir
="$ac_dir";;
48190 .
) ac_abs_builddir
=`pwd`;;
48191 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48192 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48195 case $ac_abs_builddir in
48196 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48198 case ${ac_top_builddir}.
in
48199 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48200 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48201 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48204 case $ac_abs_builddir in
48205 .
) ac_abs_srcdir
=$ac_srcdir;;
48208 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48209 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48210 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48213 case $ac_abs_builddir in
48214 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48216 case $ac_top_srcdir in
48217 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48218 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48219 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48224 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48225 echo "$as_me: executing $ac_dest commands" >&6;}
48227 wx
-config ) rm -f wx
-config
48228 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
48234 cat >>$CONFIG_STATUS <<\_ACEOF
48236 { (exit 0); exit 0; }
48238 chmod +x
$CONFIG_STATUS
48239 ac_clean_files
=$ac_clean_files_save
48242 # configure is writing to config.log, and then calls config.status.
48243 # config.status does its own redirection, appending to config.log.
48244 # Unfortunately, on DOS this fails, as config.log is still kept open
48245 # by configure, so config.status won't be able to write to it; its
48246 # output is simply discarded. So we exec the FD to /dev/null,
48247 # effectively closing config.log, so it can be properly (re)opened and
48248 # appended to by config.status. When coming back to configure, we
48249 # need to make the FD available again.
48250 if test "$no_create" != yes; then
48252 ac_config_status_args
=
48253 test "$silent" = yes &&
48254 ac_config_status_args
="$ac_config_status_args --quiet"
48256 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
48258 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48259 # would make configure fail if this is the last instruction.
48260 $ac_cs_success || { (exit 1); exit 1; }
48264 # CONFIG_SUBDIRS section.
48266 if test "$no_recursion" != yes; then
48268 # Remove --cache-file and --srcdir arguments so they do not pile up.
48269 ac_sub_configure_args
=
48271 for ac_arg
in $ac_configure_args; do
48272 if test -n "$ac_prev"; then
48277 -cache-file | --cache-file | --cache-fil | --cache-fi \
48278 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48279 ac_prev
=cache_file
;;
48280 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48281 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48284 --config-cache | -C)
48286 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48288 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48290 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48292 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48294 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
48298 # Always prepend --prefix to ensure using the same prefix
48299 # in subdir configurations.
48300 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
48303 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
48305 # Do not complain, so a configure script can configure whichever
48306 # parts of a large source tree are present.
48307 test -d $srcdir/$ac_dir || continue
48309 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48310 echo "$as_me: configuring in $ac_dir" >&6;}
48311 { if $as_mkdir_p; then
48316 while test ! -d "$as_dir"; do
48317 as_dirs
="$as_dir $as_dirs"
48318 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
48319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48320 X"$as_dir" : 'X\(//\)[^/]' \| \
48321 X"$as_dir" : 'X\(//\)$' \| \
48322 X"$as_dir" : 'X\(/\)' \| \
48323 . : '\(.\)' 2>/dev/null ||
48325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48327 /^X\(\/\/\)$/{ s//\1/; q; }
48328 /^X\(\/\).*/{ s//\1/; q; }
48331 test ! -n "$as_dirs" || mkdir $as_dirs
48332 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48333 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48334 { (exit 1); exit 1; }; }; }
48338 if test "$ac_dir" != .
; then
48339 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48340 # A "../" for each directory in $ac_dir_suffix.
48341 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48343 ac_dir_suffix
= ac_top_builddir
=
48347 .
) # No --srcdir option. We are building in place.
48349 if test -z "$ac_top_builddir"; then
48352 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
48354 [\\/]* | ?
:[\\/]* ) # Absolute path.
48355 ac_srcdir
=$srcdir$ac_dir_suffix;
48356 ac_top_srcdir
=$srcdir ;;
48357 *) # Relative path.
48358 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
48359 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
48362 # Do not use `cd foo && pwd` to compute absolute paths, because
48363 # the directories may not exist.
48365 .
) ac_abs_builddir
="$ac_dir";;
48368 .
) ac_abs_builddir
=`pwd`;;
48369 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
48370 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
48373 case $ac_abs_builddir in
48374 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48376 case ${ac_top_builddir}.
in
48377 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
48378 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
48379 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
48382 case $ac_abs_builddir in
48383 .
) ac_abs_srcdir
=$ac_srcdir;;
48386 .
) ac_abs_srcdir
=$ac_abs_builddir;;
48387 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
48388 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
48391 case $ac_abs_builddir in
48392 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
48394 case $ac_top_srcdir in
48395 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
48396 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
48397 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
48404 # Check for guested configure; otherwise get Cygnus style configure.
48405 if test -f $ac_srcdir/configure.gnu
; then
48406 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
48407 elif test -f $ac_srcdir/configure
; then
48408 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
48409 elif test -f $ac_srcdir/configure.
in; then
48410 ac_sub_configure
=$ac_configure
48412 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48413 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48417 # The recursion is here.
48418 if test -n "$ac_sub_configure"; then
48419 # Make the cache file name correct relative to the subdirectory.
48420 case $cache_file in
48421 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
48422 *) # Relative path.
48423 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
48426 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48427 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48428 # The eval makes quoting arguments work.
48429 eval $ac_sub_configure $ac_sub_configure_args \
48430 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48431 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48432 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48433 { (exit 1); exit 1; }; }
48442 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48444 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48445 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48447 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48448 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48449 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48451 echo " What level of wxWidgets compatibility should be enabled?"
48452 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
48453 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
48455 echo " Which libraries should wxWidgets use?"
48456 echo " jpeg ${wxUSE_LIBJPEG-none}"
48457 echo " png ${wxUSE_LIBPNG-none}"
48458 echo " regex ${wxUSE_REGEX}"
48459 echo " tiff ${wxUSE_LIBTIFF-none}"
48460 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48461 echo " xpm ${wxUSE_LIBXPM-none}"
48463 echo " zlib ${wxUSE_ZLIB}"
48464 echo " odbc ${wxUSE_ODBC}"
48465 echo " expat ${wxUSE_EXPAT}"
48466 echo " libmspack ${wxUSE_LIBMSPACK}"
48467 echo " sdl ${wxUSE_LIBSDL}"
48468 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"